From 1df41d4f91c842dfc911efdd5911937962937949 Mon Sep 17 00:00:00 2001 From: Liosha Date: Sun, 13 Sep 2026 15:58:54 +0200 Subject: [PATCH] demo-decoupled --- spring-angular-ui/.browserslistrc | 17 + spring-angular-ui/.editorconfig | 16 + spring-angular-ui/.gitignore | 45 + spring-angular-ui/_theme-colors.scss | 205 + spring-angular-ui/angular.json | 113 + spring-angular-ui/karma.conf.js | 44 + spring-angular-ui/package-lock.json | 15717 +++++++ spring-angular-ui/package.json | 48 + .../src/app/_shared/event-bus.service.spec.ts | 16 + .../src/app/_shared/event-bus.service.ts | 21 + .../src/app/_shared/event.class.ts | 9 + .../src/app/app-routing.module.ts | 32 + spring-angular-ui/src/app/app.component.html | 79 + spring-angular-ui/src/app/app.component.scss | 6 + .../src/app/app.component.spec.ts | 35 + spring-angular-ui/src/app/app.component.ts | 113 + spring-angular-ui/src/app/app.module.ts | 71 + .../add-tutorial/add-tutorial.component.html | 35 + .../add-tutorial/add-tutorial.component.scss | 4 + .../add-tutorial.component.spec.ts | 25 + .../add-tutorial/add-tutorial.component.ts | 50 + .../board-admin/board-admin.component.html | 51 + .../board-admin/board-admin.component.scss | 3 + .../board-admin/board-admin.component.spec.ts | 25 + .../board-admin/board-admin.component.ts | 124 + .../board-moderator.component.html | 1 + .../board-moderator.component.scss | 0 .../board-moderator.component.spec.ts | 25 + .../board-moderator.component.ts | 16 + .../board-user/board-user.component.html | 1 + .../board-user/board-user.component.scss | 0 .../board-user/board-user.component.spec.ts | 25 + .../board-user/board-user.component.ts | 16 + .../components/dialog/dialog.component.html | 29 + .../components/dialog/dialog.component.scss | 4 + .../dialog/dialog.component.spec.ts | 23 + .../app/components/dialog/dialog.component.ts | 47 + .../app/components/home/home.component.html | 5 + .../app/components/home/home.component.scss | 0 .../components/home/home.component.spec.ts | 25 + .../src/app/components/home/home.component.ts | 25 + .../app/components/login/login.component.html | 75 + .../app/components/login/login.component.scss | 1 + .../components/login/login.component.spec.ts | 25 + .../app/components/login/login.component.ts | 59 + .../components/profile/profile.component.html | 26 + .../components/profile/profile.component.scss | 0 .../profile/profile.component.spec.ts | 25 + .../components/profile/profile.component.ts | 18 + .../register/register.component.html | 89 + .../register/register.component.scss | 1 + .../register/register.component.spec.ts | 25 + .../components/register/register.component.ts | 40 + .../tutorial-details.component.html | 65 + .../tutorial-details.component.scss | 4 + .../tutorial-details.component.spec.ts | 25 + .../tutorial-details.component.ts | 89 + .../tutorials-list.component.html | 63 + .../tutorials-list.component.scss | 5 + .../tutorials-list.component.spec.ts | 25 + .../tutorials-list.component.ts | 73 + .../src/app/helpers/auth.interceptor.ts | 26 + spring-angular-ui/src/app/models/role.spec.ts | 7 + spring-angular-ui/src/app/models/role.ts | 4 + spring-angular-ui/src/app/models/setting.ts | 5 + .../src/app/models/tutorial.model.spec.ts | 7 + .../src/app/models/tutorial.model.ts | 6 + .../src/app/models/user.model.spec.ts | 7 + .../src/app/models/user.model.ts | 7 + .../src/app/services/auth.service.spec.ts | 16 + .../src/app/services/auth.service.ts | 35 + .../src/app/services/roles.service.spec.ts | 16 + .../src/app/services/roles.service.ts | 20 + .../services/token-storage.service.spec.ts | 16 + .../src/app/services/token-storage.service.ts | 51 + .../src/app/services/tutorial.service.spec.ts | 16 + .../src/app/services/tutorial.service.ts | 42 + .../src/app/services/user.service.spec.ts | 16 + .../src/app/services/user.service.ts | 31 + spring-angular-ui/src/assets/.gitkeep | 0 .../src/environments/environment.prod.ts | 3 + .../src/environments/environment.ts | 16 + spring-angular-ui/src/favicon.ico | Bin 0 -> 948 bytes spring-angular-ui/src/index.html | 20 + spring-angular-ui/src/main.ts | 12 + spring-angular-ui/src/polyfills.ts | 65 + spring-angular-ui/src/styles.scss | 28 + spring-angular-ui/src/test.ts | 25 + .../browser/add-tutorial.component.css.map | 7 + .../static/browser/app.component.css.map | 7 + .../static/browser/browser-L6TR647S.js | 4361 ++ .../static/browser/browser-L6TR647S.js.map | 1 + .../static/browser/chunk-7E6NIDIZ.js | 24722 ++++++++++ .../static/browser/chunk-7E6NIDIZ.js.map | 1 + .../static/browser/dialog.component.css.map | 7 + spring-angular-ui/static/browser/favicon.ico | Bin 0 -> 948 bytes spring-angular-ui/static/browser/index.html | 15 + spring-angular-ui/static/browser/main.js | 38446 ++++++++++++++++ spring-angular-ui/static/browser/main.js.map | 1 + spring-angular-ui/static/browser/polyfills.js | 2418 + .../static/browser/polyfills.js.map | 1 + spring-angular-ui/static/browser/styles.css | 111 + .../static/browser/styles.css.map | 7 + .../tutorial-details.component.css.map | 7 + .../browser/tutorials-list.component.css.map | 7 + .../static/prerendered-routes.json | 3 + spring-angular-ui/tsconfig.app.json | 15 + spring-angular-ui/tsconfig.json | 30 + spring-angular-ui/tsconfig.spec.json | 18 + 109 files changed, 88561 insertions(+) create mode 100644 spring-angular-ui/.browserslistrc create mode 100644 spring-angular-ui/.editorconfig create mode 100644 spring-angular-ui/.gitignore create mode 100644 spring-angular-ui/_theme-colors.scss create mode 100644 spring-angular-ui/angular.json create mode 100644 spring-angular-ui/karma.conf.js create mode 100644 spring-angular-ui/package-lock.json create mode 100644 spring-angular-ui/package.json create mode 100644 spring-angular-ui/src/app/_shared/event-bus.service.spec.ts create mode 100644 spring-angular-ui/src/app/_shared/event-bus.service.ts create mode 100644 spring-angular-ui/src/app/_shared/event.class.ts create mode 100644 spring-angular-ui/src/app/app-routing.module.ts create mode 100644 spring-angular-ui/src/app/app.component.html create mode 100644 spring-angular-ui/src/app/app.component.scss create mode 100644 spring-angular-ui/src/app/app.component.spec.ts create mode 100644 spring-angular-ui/src/app/app.component.ts create mode 100644 spring-angular-ui/src/app/app.module.ts create mode 100644 spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.html create mode 100644 spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.scss create mode 100644 spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.ts create mode 100644 spring-angular-ui/src/app/components/board-admin/board-admin.component.html create mode 100644 spring-angular-ui/src/app/components/board-admin/board-admin.component.scss create mode 100644 spring-angular-ui/src/app/components/board-admin/board-admin.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/board-admin/board-admin.component.ts create mode 100644 spring-angular-ui/src/app/components/board-moderator/board-moderator.component.html create mode 100644 spring-angular-ui/src/app/components/board-moderator/board-moderator.component.scss create mode 100644 spring-angular-ui/src/app/components/board-moderator/board-moderator.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/board-moderator/board-moderator.component.ts create mode 100644 spring-angular-ui/src/app/components/board-user/board-user.component.html create mode 100644 spring-angular-ui/src/app/components/board-user/board-user.component.scss create mode 100644 spring-angular-ui/src/app/components/board-user/board-user.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/board-user/board-user.component.ts create mode 100644 spring-angular-ui/src/app/components/dialog/dialog.component.html create mode 100644 spring-angular-ui/src/app/components/dialog/dialog.component.scss create mode 100644 spring-angular-ui/src/app/components/dialog/dialog.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/dialog/dialog.component.ts create mode 100644 spring-angular-ui/src/app/components/home/home.component.html create mode 100644 spring-angular-ui/src/app/components/home/home.component.scss create mode 100644 spring-angular-ui/src/app/components/home/home.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/home/home.component.ts create mode 100644 spring-angular-ui/src/app/components/login/login.component.html create mode 100644 spring-angular-ui/src/app/components/login/login.component.scss create mode 100644 spring-angular-ui/src/app/components/login/login.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/login/login.component.ts create mode 100644 spring-angular-ui/src/app/components/profile/profile.component.html create mode 100644 spring-angular-ui/src/app/components/profile/profile.component.scss create mode 100644 spring-angular-ui/src/app/components/profile/profile.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/profile/profile.component.ts create mode 100644 spring-angular-ui/src/app/components/register/register.component.html create mode 100644 spring-angular-ui/src/app/components/register/register.component.scss create mode 100644 spring-angular-ui/src/app/components/register/register.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/register/register.component.ts create mode 100644 spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.html create mode 100644 spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.scss create mode 100644 spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.ts create mode 100644 spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.html create mode 100644 spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.scss create mode 100644 spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.spec.ts create mode 100644 spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.ts create mode 100644 spring-angular-ui/src/app/helpers/auth.interceptor.ts create mode 100644 spring-angular-ui/src/app/models/role.spec.ts create mode 100644 spring-angular-ui/src/app/models/role.ts create mode 100644 spring-angular-ui/src/app/models/setting.ts create mode 100644 spring-angular-ui/src/app/models/tutorial.model.spec.ts create mode 100644 spring-angular-ui/src/app/models/tutorial.model.ts create mode 100644 spring-angular-ui/src/app/models/user.model.spec.ts create mode 100644 spring-angular-ui/src/app/models/user.model.ts create mode 100644 spring-angular-ui/src/app/services/auth.service.spec.ts create mode 100644 spring-angular-ui/src/app/services/auth.service.ts create mode 100644 spring-angular-ui/src/app/services/roles.service.spec.ts create mode 100644 spring-angular-ui/src/app/services/roles.service.ts create mode 100644 spring-angular-ui/src/app/services/token-storage.service.spec.ts create mode 100644 spring-angular-ui/src/app/services/token-storage.service.ts create mode 100644 spring-angular-ui/src/app/services/tutorial.service.spec.ts create mode 100644 spring-angular-ui/src/app/services/tutorial.service.ts create mode 100644 spring-angular-ui/src/app/services/user.service.spec.ts create mode 100644 spring-angular-ui/src/app/services/user.service.ts create mode 100644 spring-angular-ui/src/assets/.gitkeep create mode 100644 spring-angular-ui/src/environments/environment.prod.ts create mode 100644 spring-angular-ui/src/environments/environment.ts create mode 100644 spring-angular-ui/src/favicon.ico create mode 100644 spring-angular-ui/src/index.html create mode 100644 spring-angular-ui/src/main.ts create mode 100644 spring-angular-ui/src/polyfills.ts create mode 100644 spring-angular-ui/src/styles.scss create mode 100644 spring-angular-ui/src/test.ts create mode 100644 spring-angular-ui/static/browser/add-tutorial.component.css.map create mode 100644 spring-angular-ui/static/browser/app.component.css.map create mode 100644 spring-angular-ui/static/browser/browser-L6TR647S.js create mode 100644 spring-angular-ui/static/browser/browser-L6TR647S.js.map create mode 100644 spring-angular-ui/static/browser/chunk-7E6NIDIZ.js create mode 100644 spring-angular-ui/static/browser/chunk-7E6NIDIZ.js.map create mode 100644 spring-angular-ui/static/browser/dialog.component.css.map create mode 100644 spring-angular-ui/static/browser/favicon.ico create mode 100644 spring-angular-ui/static/browser/index.html create mode 100644 spring-angular-ui/static/browser/main.js create mode 100644 spring-angular-ui/static/browser/main.js.map create mode 100644 spring-angular-ui/static/browser/polyfills.js create mode 100644 spring-angular-ui/static/browser/polyfills.js.map create mode 100644 spring-angular-ui/static/browser/styles.css create mode 100644 spring-angular-ui/static/browser/styles.css.map create mode 100644 spring-angular-ui/static/browser/tutorial-details.component.css.map create mode 100644 spring-angular-ui/static/browser/tutorials-list.component.css.map create mode 100644 spring-angular-ui/static/prerendered-routes.json create mode 100644 spring-angular-ui/tsconfig.app.json create mode 100644 spring-angular-ui/tsconfig.json create mode 100644 spring-angular-ui/tsconfig.spec.json diff --git a/spring-angular-ui/.browserslistrc b/spring-angular-ui/.browserslistrc new file mode 100644 index 0000000..427441d --- /dev/null +++ b/spring-angular-ui/.browserslistrc @@ -0,0 +1,17 @@ +# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries + +# For the full list of supported browsers by the Angular framework, please see: +# https://angular.io/guide/browser-support + +# You can see what browsers were selected by your queries by running: +# npx browserslist + +last 1 Chrome version +last 1 Firefox version +last 2 Edge major versions +last 2 Safari major versions +last 2 iOS major versions +Firefox ESR +not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line. diff --git a/spring-angular-ui/.editorconfig b/spring-angular-ui/.editorconfig new file mode 100644 index 0000000..59d9a3a --- /dev/null +++ b/spring-angular-ui/.editorconfig @@ -0,0 +1,16 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +quote_type = single + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/spring-angular-ui/.gitignore b/spring-angular-ui/.gitignore new file mode 100644 index 0000000..de51f68 --- /dev/null +++ b/spring-angular-ui/.gitignore @@ -0,0 +1,45 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output +/dist +/tmp +/out-tsc +# Only exists if Bazel was run +/bazel-out + +# dependencies +/node_modules + +# profiling files +chrome-profiler-events*.json + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# misc +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +yarn-error.log +testem.log +/typings + +# System Files +.DS_Store +Thumbs.db diff --git a/spring-angular-ui/_theme-colors.scss b/spring-angular-ui/_theme-colors.scss new file mode 100644 index 0000000..9cbae6b --- /dev/null +++ b/spring-angular-ui/_theme-colors.scss @@ -0,0 +1,205 @@ +// This file was generated by running 'ng generate @angular/material:theme-color'. +// Proceed with caution if making changes to this file. + +@use 'sass:map'; +@use '@angular/material' as mat; + +// Note: Color palettes are generated from primary: #ffffff +$_palettes: ( + primary: ( + 0: #000000, + 10: #1a1c1c, + 20: #2f3131, + 25: #3a3c3c, + 30: #454747, + 35: #515353, + 40: #5d5f5f, + 50: #767777, + 60: #909191, + 70: #aaabab, + 80: #c6c6c7, + 90: #e2e2e2, + 95: #f0f1f1, + 98: #f9f9f9, + 99: #fcfcfc, + 100: #ffffff, + ), + secondary: ( + 0: #000000, + 10: #1b1c1c, + 20: #303030, + 25: #3b3b3b, + 30: #474747, + 35: #525252, + 40: #5e5e5e, + 50: #777777, + 60: #919090, + 70: #acabab, + 80: #c8c6c6, + 90: #e4e2e2, + 95: #f2f0f0, + 98: #fbf9f8, + 99: #fefcfb, + 100: #ffffff, + ), + tertiary: ( + 0: #000000, + 10: #1a1c1c, + 20: #2f3131, + 25: #3a3c3c, + 30: #454747, + 35: #515353, + 40: #5d5f5f, + 50: #767777, + 60: #909191, + 70: #aaabab, + 80: #c6c6c7, + 90: #e2e2e2, + 95: #f0f1f1, + 98: #f9f9f9, + 99: #fcfcfc, + 100: #ffffff, + ), + neutral: ( + 0: #000000, + 10: #1c1b1b, + 20: #313030, + 25: #3c3b3b, + 30: #474646, + 35: #535252, + 40: #5f5e5e, + 50: #787776, + 60: #929090, + 70: #adabaa, + 80: #c9c6c5, + 90: #e5e2e1, + 95: #f4f0ef, + 98: #fcf8f8, + 99: #f6feff, + 100: #ffffff, + 4: #0e0e0e, + 6: #141313, + 12: #201f1f, + 17: #2a2a2a, + 22: #353434, + 24: #3a3939, + 87: #ddd9d9, + 92: #ebe7e7, + 94: #f1edec, + 96: #f6f3f2, + ), + neutral-variant: ( + 0: #000000, + 10: #181c1d, + 20: #2d3132, + 25: #383c3d, + 30: #444748, + 35: #4f5354, + 40: #5b5f60, + 50: #747878, + 60: #8e9192, + 70: #a8acac, + 80: #c4c7c8, + 90: #e0e3e3, + 95: #eef1f2, + 98: #f7fafa, + 99: #fafdfd, + 100: #ffffff, + ), + error: ( + 0: #000000, + 10: #410002, + 20: #690005, + 25: #7e0007, + 30: #93000a, + 35: #a80710, + 40: #ba1a1a, + 50: #de3730, + 60: #ff5449, + 70: #ff897d, + 80: #ffb4ab, + 90: #ffdad6, + 95: #ffedea, + 98: #fff8f7, + 99: #fffbff, + 100: #ffffff, + ), +); + +$_rest: ( + secondary: map.get($_palettes, secondary), + neutral: map.get($_palettes, neutral), + neutral-variant: map.get($_palettes, neutral-variant), + error: map.get($_palettes, error), +); + +$primary-palette: map.merge(map.get($_palettes, primary), $_rest); +$tertiary-palette: map.merge(map.get($_palettes, tertiary), $_rest); + +@function _high-contrast-value($light, $dark, $theme-type) { + @if ($theme-type == light) { + @return $light; + } + @if ($theme-type == dark) { + @return $dark; + } + @if ($theme-type == color-scheme) { + @return light-dark(#{$light}, #{$dark}); + } + + @error 'Unknown theme-type #{$theme-type}. Expected light, dark, or color-scheme'; +} + +@mixin high-contrast-overrides($theme-type) { + @include mat.theme-overrides(( + primary: _high-contrast-value(#2a2c2d, #ffffff, $theme-type), + on-primary: _high-contrast-value(#ffffff, #000000, $theme-type), + primary-container: _high-contrast-value(#48494a, #e2e2e2, $theme-type), + on-primary-container: _high-contrast-value(#ffffff, #282a2b, $theme-type), + inverse-primary: _high-contrast-value(#c6c6c7, #464849, $theme-type), + primary-fixed: _high-contrast-value(#48494a, #e2e2e2, $theme-type), + primary-fixed-dim: _high-contrast-value(#313333, #c6c6c7, $theme-type), + on-primary-fixed: _high-contrast-value(#ffffff, #000000, $theme-type), + on-primary-fixed-variant: _high-contrast-value(#ffffff, #0f1112, $theme-type), + secondary: _high-contrast-value(#2c2c2c, #f2efef, $theme-type), + on-secondary: _high-contrast-value(#ffffff, #000000, $theme-type), + secondary-container: _high-contrast-value(#494949, #c4c2c2, $theme-type), + on-secondary-container: _high-contrast-value(#ffffff, #0b0b0b, $theme-type), + secondary-fixed: _high-contrast-value(#494949, #e4e2e2, $theme-type), + secondary-fixed-dim: _high-contrast-value(#323333, #c8c6c6, $theme-type), + on-secondary-fixed: _high-contrast-value(#ffffff, #000000, $theme-type), + on-secondary-fixed-variant: _high-contrast-value(#ffffff, #111111, $theme-type), + tertiary: _high-contrast-value(#2a2c2d, #ffffff, $theme-type), + on-tertiary: _high-contrast-value(#ffffff, #000000, $theme-type), + tertiary-container: _high-contrast-value(#48494a, #e2e2e2, $theme-type), + on-tertiary-container: _high-contrast-value(#ffffff, #282a2b, $theme-type), + tertiary-fixed: _high-contrast-value(#48494a, #e2e2e2, $theme-type), + tertiary-fixed-dim: _high-contrast-value(#313333, #c6c6c7, $theme-type), + on-tertiary-fixed: _high-contrast-value(#ffffff, #000000, $theme-type), + on-tertiary-fixed-variant: _high-contrast-value(#ffffff, #0f1112, $theme-type), + background: _high-contrast-value(#fcf8f8, #141313, $theme-type), + on-background: _high-contrast-value(#1c1b1b, #e5e2e1, $theme-type), + surface: _high-contrast-value(#fcf8f8, #141313, $theme-type), + surface-dim: _high-contrast-value(#bbb8b7, #141313, $theme-type), + surface-bright: _high-contrast-value(#fcf8f8, #51504f, $theme-type), + surface-container-low: _high-contrast-value(#f4f0ef, #201f1f, $theme-type), + surface-container-lowest: _high-contrast-value(#ffffff, #000000, $theme-type), + surface-container: _high-contrast-value(#e5e2e1, #313030, $theme-type), + surface-container-high: _high-contrast-value(#d7d4d3, #3c3b3b, $theme-type), + surface-container-highest: _high-contrast-value(#c9c6c5, #474646, $theme-type), + on-surface: _high-contrast-value(#000000, #ffffff, $theme-type), + shadow: _high-contrast-value(#000000, #000000, $theme-type), + scrim: _high-contrast-value(#000000, #000000, $theme-type), + surface-tint: _high-contrast-value(#5d5f5f, #c6c6c7, $theme-type), + inverse-surface: _high-contrast-value(#313030, #e5e2e1, $theme-type), + inverse-on-surface: _high-contrast-value(#ffffff, #000000, $theme-type), + outline: _high-contrast-value(#292d2d, #eef0f1, $theme-type), + outline-variant: _high-contrast-value(#464a4a, #c0c3c4, $theme-type), + error: _high-contrast-value(#600004, #ffece9, $theme-type), + on-error: _high-contrast-value(#ffffff, #000000, $theme-type), + error-container: _high-contrast-value(#98000a, #ffaea4, $theme-type), + on-error-container: _high-contrast-value(#ffffff, #220001, $theme-type), + surface-variant: _high-contrast-value(#e0e3e3, #444748, $theme-type), + on-surface-variant: _high-contrast-value(#000000, #ffffff, $theme-type), + )) + } diff --git a/spring-angular-ui/angular.json b/spring-angular-ui/angular.json new file mode 100644 index 0000000..d8daaae --- /dev/null +++ b/spring-angular-ui/angular.json @@ -0,0 +1,113 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "spring-angular-ui": { + "projectType": "application", + "schematics": { + "@schematics/angular:component": { + "style": "scss" + }, + "@schematics/angular:application": { + "strict": true + } + }, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:application", + "options": { + "outputPath": { + "base": "./static" + }, + "index": "src/index.html", + "polyfills": [ + "src/polyfills.ts" + ], + "tsConfig": "tsconfig.app.json", + "inlineStyleLanguage": "scss", + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.scss" + ], + "scripts": [], + "browser": "src/main.ts" + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ], + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "outputHashing": "all" + }, + "development": { + "optimization": false, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "configurations": { + "production": { + "buildTarget": "spring-angular-ui:build:production" + }, + "development": { + "buildTarget": "spring-angular-ui:build:development" + } + }, + "defaultConfiguration": "development" + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "buildTarget": "spring-angular-ui:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "tsconfig.spec.json", + "karmaConfig": "karma.conf.js", + "inlineStyleLanguage": "scss", + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.scss" + ], + "scripts": [] + } + } + } + } + }, + "defaultProject": "spring-angular-ui" +} diff --git a/spring-angular-ui/karma.conf.js b/spring-angular-ui/karma.conf.js new file mode 100644 index 0000000..bef2d16 --- /dev/null +++ b/spring-angular-ui/karma.conf.js @@ -0,0 +1,44 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + jasmine: { + // you can add configuration options for Jasmine here + // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html + // for example, you can disable the random execution with `random: false` + // or set a specific seed with `seed: 4321` + }, + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, + coverageReporter: { + dir: require('path').join(__dirname, './coverage/spring-angular-ui'), + subdir: '.', + reporters: [ + { type: 'html' }, + { type: 'text-summary' } + ] + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['Chrome'], + singleRun: false, + restartOnFileChange: true + }); +}; diff --git a/spring-angular-ui/package-lock.json b/spring-angular-ui/package-lock.json new file mode 100644 index 0000000..212dd00 --- /dev/null +++ b/spring-angular-ui/package-lock.json @@ -0,0 +1,15717 @@ +{ + "name": "spring-angular-ui", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "spring-angular-ui", + "version": "0.0.0", + "dependencies": { + "@angular/animations": "^19.2.11", + "@angular/cdk": "^19.2.16", + "@angular/common": "^19.2.11", + "@angular/compiler": "^19.2.11", + "@angular/core": "^19.2.11", + "@angular/forms": "^19.2.11", + "@angular/material": "^19.2.16", + "@angular/platform-browser": "^19.2.11", + "@angular/platform-browser-dynamic": "^19.2.11", + "@angular/router": "^19.2.11", + "@ng-bootstrap/ng-bootstrap": "^17.0.0", + "@popperjs/core": "^2.11.8", + "bootstrap": "^5.3.3", + "jquery": "^3.7.1", + "popper.js": "^1.16.1", + "rxjs": "~7.8.0", + "tslib": "^2.3.0", + "zone.js": "~0.15.0" + }, + "devDependencies": { + "@angular-devkit/build-angular": "^19.2.12", + "@angular/cli": "^19.2.12", + "@angular/compiler-cli": "~19.2.11", + "@types/jasmine": "~3.6.0", + "@types/node": "^12.11.1", + "jasmine-core": "~3.7.0", + "karma": "~6.3.0", + "karma-chrome-launcher": "~3.1.0", + "karma-coverage": "~2.0.3", + "karma-jasmine": "~4.0.0", + "karma-jasmine-html-reporter": "^1.5.0", + "typescript": "~5.8.3", + "webpack": "^5.93.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@angular-devkit/architect": { + "version": "0.1902.27", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1902.27.tgz", + "integrity": "sha512-I2YW4Zn1818toEGKPPcbv8qqglegNnWT4A4GM28LPRg4rOYwPkZzy3PAB7EIJEwZIDQgz2I+Oy0pc56BWcFVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.27", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular-devkit/architect/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@angular-devkit/build-angular": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-19.2.27.tgz", + "integrity": "sha512-63dLzZeRAZiDOWegZHDG1L3Su4m7tfh2n4uV4fXhJYQeyblAQIrmz/dsyjn2cwR021neDbteLCn7MeysKj47/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "2.3.0", + "@angular-devkit/architect": "0.1902.27", + "@angular-devkit/build-webpack": "0.1902.27", + "@angular-devkit/core": "19.2.27", + "@angular/build": "19.2.27", + "@babel/core": "7.26.10", + "@babel/generator": "7.26.10", + "@babel/helper-annotate-as-pure": "7.25.9", + "@babel/helper-split-export-declaration": "7.24.7", + "@babel/plugin-transform-async-generator-functions": "7.26.8", + "@babel/plugin-transform-async-to-generator": "7.25.9", + "@babel/plugin-transform-runtime": "7.26.10", + "@babel/preset-env": "7.26.9", + "@babel/runtime": "7.26.10", + "@discoveryjs/json-ext": "0.6.3", + "@ngtools/webpack": "19.2.27", + "@vitejs/plugin-basic-ssl": "1.2.0", + "ansi-colors": "4.1.3", + "autoprefixer": "10.4.20", + "babel-loader": "9.2.1", + "browserslist": "^4.21.5", + "copy-webpack-plugin": "12.0.2", + "css-loader": "7.1.2", + "esbuild-wasm": "0.28.0", + "fast-glob": "3.3.3", + "http-proxy-middleware": "3.0.5", + "istanbul-lib-instrument": "6.0.3", + "jsonc-parser": "3.3.1", + "karma-source-map-support": "1.4.0", + "less": "4.2.2", + "less-loader": "12.2.0", + "license-webpack-plugin": "4.0.2", + "loader-utils": "3.3.1", + "mini-css-extract-plugin": "2.9.2", + "open": "10.1.0", + "ora": "5.4.1", + "picomatch": "4.0.4", + "piscina": "4.8.0", + "postcss": "8.5.12", + "postcss-loader": "8.1.1", + "resolve-url-loader": "5.0.0", + "rxjs": "7.8.1", + "sass": "1.85.0", + "sass-loader": "16.0.5", + "semver": "7.7.1", + "source-map-loader": "5.0.0", + "source-map-support": "0.5.21", + "terser": "5.39.0", + "tree-kill": "1.2.2", + "tslib": "2.8.1", + "webpack": "5.105.0", + "webpack-dev-middleware": "7.4.2", + "webpack-dev-server": "5.2.2", + "webpack-merge": "6.0.1", + "webpack-subresource-integrity": "5.1.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "optionalDependencies": { + "esbuild": "0.28.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0", + "@angular/localize": "^19.0.0 || ^19.2.0-next.0", + "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0", + "@angular/service-worker": "^19.0.0 || ^19.2.0-next.0", + "@angular/ssr": "^19.2.27", + "@web/test-runner": "^0.20.0", + "browser-sync": "^3.0.2", + "jest": "^29.5.0", + "jest-environment-jsdom": "^29.5.0", + "karma": "^6.3.0", + "ng-packagr": "^19.0.0 || ^19.2.0-next.0", + "protractor": "^7.0.0", + "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", + "typescript": ">=5.5 <5.9" + }, + "peerDependenciesMeta": { + "@angular/localize": { + "optional": true + }, + "@angular/platform-server": { + "optional": true + }, + "@angular/service-worker": { + "optional": true + }, + "@angular/ssr": { + "optional": true + }, + "@web/test-runner": { + "optional": true + }, + "browser-sync": { + "optional": true + }, + "jest": { + "optional": true + }, + "jest-environment-jsdom": { + "optional": true + }, + "karma": { + "optional": true + }, + "ng-packagr": { + "optional": true + }, + "protractor": { + "optional": true + }, + "tailwindcss": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@angular-devkit/build-angular/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/watchpack": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.2.tgz", + "integrity": "sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/webpack": { + "version": "5.105.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.0.tgz", + "integrity": "sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.8", + "@types/json-schema": "^7.0.15", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.15.0", + "acorn-import-phases": "^1.0.3", + "browserslist": "^4.28.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.19.0", + "es-module-lexer": "^2.0.0", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.3.1", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.3", + "tapable": "^2.3.0", + "terser-webpack-plugin": "^5.3.16", + "watchpack": "^2.5.1", + "webpack-sources": "^3.3.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-webpack": { + "version": "0.1902.27", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1902.27.tgz", + "integrity": "sha512-O3v9/x2+yJrXJIBG0x7o/EMSjRjJqWcJb8u5lHFKut9qCpQJ6oDeoxqGM5SWXIk4RGr3qbAsOragkR2Lsq0cRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.1902.27", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "webpack": "^5.30.0", + "webpack-dev-server": "^5.0.2" + } + }, + "node_modules/@angular-devkit/build-webpack/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@angular-devkit/core": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-19.2.27.tgz", + "integrity": "sha512-3amNzoCVSKd7ah6l6lBQL4onwwJvqvam7FMoQBILrxtW5LB5ezh8gMSPuA4zJjKjoRzf9uoWdlzqv/84I52xZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "8.18.0", + "ajv-formats": "3.0.1", + "jsonc-parser": "3.3.1", + "picomatch": "4.0.4", + "rxjs": "7.8.1", + "source-map": "0.7.4" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^4.0.0" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/core/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@angular-devkit/schematics": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-19.2.27.tgz", + "integrity": "sha512-/PZmyAlb2NGWPikRRuiWLdfHQd8Wrx6lX4HqvTcaDhlU43M3T0ud4PH2T3QDp7BzHYY92xtD8iPxX2asg67G1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.27", + "jsonc-parser": "3.3.1", + "magic-string": "0.30.17", + "ora": "5.4.1", + "rxjs": "7.8.1" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular-devkit/schematics/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@angular/animations": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-19.2.25.tgz", + "integrity": "sha512-1IE7wuC3ecAumb7ZQHCugV1jsSl93j0omX7BAWwwmM8C7Xo//fZcO/ad/IFfn0zV/VCBAhOAFBUKUIVAGpsylw==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/common": "19.2.25", + "@angular/core": "19.2.25" + } + }, + "node_modules/@angular/build": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-19.2.27.tgz", + "integrity": "sha512-kMcuTUxDcnTa+JF9SaxdY+b6pkGjtefxGp/VYblSbvlzQ1rVX4wH4V9LHHyXsTOxRRNGqRJ01g0Enhq1iA19mQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "2.3.0", + "@angular-devkit/architect": "0.1902.27", + "@babel/core": "7.26.10", + "@babel/helper-annotate-as-pure": "7.25.9", + "@babel/helper-split-export-declaration": "7.24.7", + "@babel/plugin-syntax-import-attributes": "7.26.0", + "@inquirer/confirm": "5.1.6", + "@vitejs/plugin-basic-ssl": "1.2.0", + "beasties": "0.3.2", + "browserslist": "^4.23.0", + "esbuild": "0.28.0", + "fast-glob": "3.3.3", + "https-proxy-agent": "7.0.6", + "istanbul-lib-instrument": "6.0.3", + "listr2": "8.2.5", + "magic-string": "0.30.17", + "mrmime": "2.0.1", + "parse5-html-rewriting-stream": "7.0.0", + "picomatch": "4.0.4", + "piscina": "4.8.0", + "rollup": "4.59.0", + "sass": "1.85.0", + "semver": "7.7.1", + "source-map-support": "0.5.21", + "vite": "6.4.2", + "watchpack": "2.4.2" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "optionalDependencies": { + "lmdb": "3.2.6" + }, + "peerDependencies": { + "@angular/compiler": "^19.0.0 || ^19.2.0-next.0", + "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0", + "@angular/localize": "^19.0.0 || ^19.2.0-next.0", + "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0", + "@angular/service-worker": "^19.0.0 || ^19.2.0-next.0", + "@angular/ssr": "^19.2.27", + "karma": "^6.4.0", + "less": "^4.2.0", + "ng-packagr": "^19.0.0 || ^19.2.0-next.0", + "postcss": "^8.4.0", + "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", + "typescript": ">=5.5 <5.9" + }, + "peerDependenciesMeta": { + "@angular/localize": { + "optional": true + }, + "@angular/platform-server": { + "optional": true + }, + "@angular/service-worker": { + "optional": true + }, + "@angular/ssr": { + "optional": true + }, + "karma": { + "optional": true + }, + "less": { + "optional": true + }, + "ng-packagr": { + "optional": true + }, + "postcss": { + "optional": true + }, + "tailwindcss": { + "optional": true + } + } + }, + "node_modules/@angular/cdk": { + "version": "19.2.19", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-19.2.19.tgz", + "integrity": "sha512-PCpJagurPBqciqcq4Z8+3OtKLb7rSl4w/qBJoIMua8CgnrjvA1i+SWawhdtfI1zlY8FSwhzLwXV0CmWWfFzQPg==", + "license": "MIT", + "dependencies": { + "parse5": "^7.1.2", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": "^19.0.0 || ^20.0.0", + "@angular/core": "^19.0.0 || ^20.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/cli": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-19.2.27.tgz", + "integrity": "sha512-npqpoV7Y49ggwUysXbRUDDmFRmwQdZ92nljtxX1yjakmwR93WdEq7NwqHEGODOAXo5NtPoEeBNc3InPtrLmh5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.1902.27", + "@angular-devkit/core": "19.2.27", + "@angular-devkit/schematics": "19.2.27", + "@inquirer/prompts": "7.3.2", + "@listr2/prompt-adapter-inquirer": "2.0.18", + "@schematics/angular": "19.2.27", + "@yarnpkg/lockfile": "1.1.0", + "ini": "5.0.0", + "jsonc-parser": "3.3.1", + "listr2": "8.2.5", + "npm-package-arg": "12.0.2", + "npm-pick-manifest": "10.0.0", + "pacote": "20.0.0", + "resolve": "1.22.10", + "semver": "7.7.1", + "symbol-observable": "4.0.0", + "yargs": "17.7.2" + }, + "bin": { + "ng": "bin/ng.js" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular/common": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-19.2.25.tgz", + "integrity": "sha512-WteFLyfDPvilzpSGHk64bqowa4NnHdbjNl1xXeGr038fgTjp0l0NdiUPqeDtYT4pf5lWl6477pPoQN7o//NyyQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/core": "19.2.25", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/compiler": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-19.2.25.tgz", + "integrity": "sha512-GGEeTTd/DV71E07K0u5753bxXozc6Z7iWaCZJDW7xiA7hdHCwrYBMz1PVUJAtXcxf4wTdiXQR48kw8/YHYnDAw==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + } + }, + "node_modules/@angular/compiler-cli": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-19.2.25.tgz", + "integrity": "sha512-IBBKRz6ua+y6bdcaUIpOPq7G/S4biJfcT1TCMD7wi+48wiKKSXj4J/8BN5fSjt+UozlHwya3B8z0XqnwO2ywZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "7.26.9", + "@jridgewell/sourcemap-codec": "^1.4.14", + "chokidar": "^4.0.0", + "convert-source-map": "^1.5.1", + "reflect-metadata": "^0.2.0", + "semver": "^7.0.0", + "tslib": "^2.3.0", + "yargs": "^17.2.1" + }, + "bin": { + "ng-xi18n": "bundles/src/bin/ng_xi18n.js", + "ngc": "bundles/src/bin/ngc.js", + "ngcc": "bundles/ngcc/index.js" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/compiler": "19.2.25", + "typescript": ">=5.5 <5.9" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core": { + "version": "7.26.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.9.tgz", + "integrity": "sha512-lWBYIrF7qK5+GjY5Uy+/hEgp8OJWOD/rpy74GplYRhEauvbHDeFB8t5hPOZxCZ0Oxf4Cc36tK51/l3ymJysrKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.9", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.9", + "@babel/parser": "^7.26.9", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.9", + "@babel/types": "^7.26.9", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@angular/core": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-19.2.25.tgz", + "integrity": "sha512-j7/irbbdO4rmZfRXS+sphCerzgcRlpGFwxHc/76Ual+ckwJG0MPsNFkllz2SIEZzE1EZkmIunGrHbjeRBJjyvg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "rxjs": "^6.5.3 || ^7.4.0", + "zone.js": "~0.15.0" + } + }, + "node_modules/@angular/forms": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-19.2.25.tgz", + "integrity": "sha512-lbuhZiuNKy8vcIHFSP7sOW5kfHSVDiVsXh2/+rWjqGklscfUG5cTK9F9d+k60CH24OhK0NgRKoCHiAK5zPQi2g==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/common": "19.2.25", + "@angular/core": "19.2.25", + "@angular/platform-browser": "19.2.25", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/material": { + "version": "19.2.19", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-19.2.19.tgz", + "integrity": "sha512-auIE6JUzTIA3LyYklh9J/T7u64crmphxUBgAa0zcOMDog6SYfwbNe9YeLQqua5ek4OUAOdK/BHHfVl5W5iaUoQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/cdk": "19.2.19", + "@angular/common": "^19.0.0 || ^20.0.0", + "@angular/core": "^19.0.0 || ^20.0.0", + "@angular/forms": "^19.0.0 || ^20.0.0", + "@angular/platform-browser": "^19.0.0 || ^20.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/platform-browser": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-19.2.25.tgz", + "integrity": "sha512-UF7cyBnMF3puA/cGy3MXbiPB2Rlw0Umf78XH664Iwqsb37A+TxqzOPaByXsNTIbpV6/h28yO3dMvDVFT3aOvOA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/animations": "19.2.25", + "@angular/common": "19.2.25", + "@angular/core": "19.2.25" + }, + "peerDependenciesMeta": { + "@angular/animations": { + "optional": true + } + } + }, + "node_modules/@angular/platform-browser-dynamic": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-19.2.25.tgz", + "integrity": "sha512-T6LK+NH6VR0bNKepN6urSHPE86OxbIMvgm855W06YjXvK7cMotPCC+N10zv7M8zQRZtQ7WBkY0EGpC8qLrao0g==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/common": "19.2.25", + "@angular/compiler": "19.2.25", + "@angular/core": "19.2.25", + "@angular/platform-browser": "19.2.25" + } + }, + "node_modules/@angular/router": { + "version": "19.2.25", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-19.2.25.tgz", + "integrity": "sha512-IddC2vPiagB2jAsUrNuAr74p+OirWaroouvPkUjzPmyQ+12/0EsygHamsgUbsCVLXJKh72oqnD+xViN0AMguOA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + }, + "peerDependencies": { + "@angular/common": "19.2.25", + "@angular/core": "19.2.25", + "@angular/platform-browser": "19.2.25", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.10.tgz", + "integrity": "sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.10", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.10", + "@babel/parser": "^7.26.10", + "@babel/template": "^7.26.9", + "@babel/traverse": "^7.26.10", + "@babel/types": "^7.26.10", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.10.tgz", + "integrity": "sha512-rRHT8siFIXQrAYOYqZQVsAr8vJ+cBNqcVAY6m5V8/4QqzaPl+zDBe6cLEPRDuNOUf3ww8RfJVlOyQMoSI+5Ang==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.26.10", + "@babel/types": "^7.26.10", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz", + "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.29.7.tgz", + "integrity": "sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.29.7", + "@babel/helper-member-expression-to-functions": "^7.29.7", + "@babel/helper-optimise-call-expression": "^7.29.7", + "@babel/helper-replace-supers": "^7.29.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", + "@babel/traverse": "^7.29.7", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz", + "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.29.7.tgz", + "integrity": "sha512-907Uymvqgg1dwUA+7IGwFAOSYzQOuzPXKNJ1yxzwPffzkYFg2q2eHi1fIOs6sXkG9NbIUMunnUlkYsfRFNvomg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.29.7", + "regexpu-core": "^6.3.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz", + "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.8.tgz", + "integrity": "sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "debug": "^4.4.3", + "lodash.debounce": "^4.0.8", + "resolve": "^1.22.11" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/resolve": { + "version": "1.22.12", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", + "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "is-core-module": "^2.16.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.29.7.tgz", + "integrity": "sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.29.7.tgz", + "integrity": "sha512-+kmGVjcT9RGYzoDwdwEqEvGgKe3BYq+O1iGzjFubaNgZHwYHP6lsF2Yghf4kEuv9BV7tYDZ913aBW9am6YKong==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.29.7.tgz", + "integrity": "sha512-16AMiW26DbXWBbr3B8wNozKM0ydMLB892vaOaJW/fPJdnT8vJk5sdkQcU/isqUxyCE0cEoa8wZOcbgDuC4b6Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.29.7", + "@babel/helper-wrap-function": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz", + "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.29.7.tgz", + "integrity": "sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.29.7", + "@babel/helper-optimise-call-expression": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.29.7.tgz", + "integrity": "sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", + "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.29.7.tgz", + "integrity": "sha512-iES0Skag9ERIF68aXadpO6dbXa03mNWK3sEqJaMnLNs/eC3l0lkImdfoy6Y09/SfkpawdAB4RjQ7PVA7TcVGdw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.8.tgz", + "integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.29.7.tgz", + "integrity": "sha512-j8SrR0zLZrRsC09DlszEx8FpMiwukKffYXMK0d5LmOglO7vGG6sz/BR/20yHqWH+Lnn31JTt2PE3hIWNgM2J6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.29.7.tgz", + "integrity": "sha512-r8j8escF+U2FUHo0KOhPUdMzUO+jp9fInva6+ACVAF3Y97Ev+5iNZwiqTghmzNeWwDkOPlYuTcfb1vDaoZKmAQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.29.7.tgz", + "integrity": "sha512-GE1TFSiuFeGsCxmYXZl8HwoPrVlwe4rHPFE8weieGKZqnDORK+Ar3vgWMgW+AOxQ6/2TgLSKx9p6W7O4rC6qgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.29.7.tgz", + "integrity": "sha512-QQt9qKHZ2sg/kivaLr7lnQr8HVrQDdBNSfCsTjiDxRuX/K5ORyKq+Bu8Xr0cDE3Dfkv0cw28Ve0EKyKMvulkOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7", + "@babel/plugin-transform-optional-chaining": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.29.7.tgz", + "integrity": "sha512-pn6QacGLgvCcwc+syUhKE/qSjV2D1IHDB84RNxWYSt1mW3K/SCtjinZ2p0cETJxAWBjPy3K/1lHwG5BjjPxNlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", + "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.29.7.tgz", + "integrity": "sha512-/An1OCBN93thpBAGyfsK2pcf0jvju1SAtKkL2Ny++B5Sy6sqgzXDQH1cZxWbF96Wuk+bn41MDA9bLd4VVAw6rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", + "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", + "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.29.7.tgz", + "integrity": "sha512-N7zArUXWzAMzm+/N0uPBeVB3Fam5lMxtUwMmDK5f/IBBS7a7p1qeUoxd/6CckXoxUdgsntq1Dh8xNW06maZbDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.26.8.tgz", + "integrity": "sha512-He9Ej2X7tNf2zdKMAGOsmg2MrFc+hfoAhd3po4cWfo/NWjzEAKa0oQruj1ROVUdl0e6fb6/kE/G3SSxE0lRJOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.26.5", + "@babel/helper-remap-async-to-generator": "^7.25.9", + "@babel/traverse": "^7.26.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.9.tgz", + "integrity": "sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-remap-async-to-generator": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.29.7.tgz", + "integrity": "sha512-cUSmjh72N+rN4PrkFlN1dJwNCwjVp5d38/CQrEsFggkD10UiFlBFgdH3tv5dNsLuHY+3S8db2xCHjhZcv5WgvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.29.7.tgz", + "integrity": "sha512-ONyr4+AZhKh8yKWInVxU9AXA9EbsyeLcL6V0dJy6M2/62vuvpGm29zzuymbTpdc451GEpDIdAyPLP3r+P61yKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-properties": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.29.7.tgz", + "integrity": "sha512-GtcpjFvanPfzNQi3eTitsCqtRRmmqzpy/A+yhTR1HaZo1Ly3EA8ZXxlPyHdR8/IuRMYc3E4wdGBewB2QKQjAaA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.29.7.tgz", + "integrity": "sha512-kibJgmEdX2iMwsHY2tSZNDgj8PwIlCQz7FK9KuGKO8zsuoUwSEhoNnNVp/emKWrbY4HeO6kkXfdMqRKKKXBm2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.29.7.tgz", + "integrity": "sha512-qV0OGGBVacduzQHE649JyCneOFI/maT+YKsO+K4Yi3xv2wTPNjM/W2o2gdzMwEAZz7fXNTHAe0NcSg30bIN69g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-globals": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-replace-supers": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz", + "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.29.7.tgz", + "integrity": "sha512-RK7/IyU5phpuCdBAuig5VkzG/EnbDaui5SQGdU9BFrHdV+mV4cUjLMQ9lJDjLNtWHsqtiefpGZUXQP2BiTYMsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/template": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.29.7.tgz", + "integrity": "sha512-iPX8aD6H9zV5s7ZsqTdNocPN/MGQ5sSMnElKrktxjJRMnB2jN/1p2+R7GkfD6CAYoVFqy5A4XnSIUeGgJzIWpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.29.7.tgz", + "integrity": "sha512-3qc18hsD2RdZiyJNDNc7HQpv6xbncwh8FYtxNFFzclSyh/trPD9KkVR9BDECUjDLvb7yJVF15GfYUuC+LMkkiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.29.7.tgz", + "integrity": "sha512-6IvRRriEMqnBwD6chtxdLpMYCHWEzN+oL5cyQtjykya19UgzbmKhxmhZgKC/LHxS2nYr9Q/qYPZ5Lr6jOL9+yQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.29.7.tgz", + "integrity": "sha512-2wiIyo2BjtgU7HufSeDnL9L2O7zr8jmhFKuSr65VpRkUiRKRNpb0mdlk56+XPPKoIrfHqzbMuglDvZun0RISsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.29.7.tgz", + "integrity": "sha512-giOlEm/EFjfjr+te9NsdjkUo2v4f8rS/SXPumRVHAtbNcyNlvtREkU1dZzaIDclNpnaVhlCqRdFKhJBjBikzLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.29.7.tgz", + "integrity": "sha512-zFpMOTLZBdW5LfObqcSbL6kefg4R4eLdmvS0wbN9M6D5Mym/sKm9toOoWyVOa+xDjvCnuWcHls2YonXwHvH3CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.29.7.tgz", + "integrity": "sha512-24B2nOy2TeJSMheqwPD4DDQOV/elLSIlKxjZt4i05H5AgdPdWR3n18HnNrcJ+j76WJd9gbwb9jPjNYUy6RautA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.29.7.tgz", + "integrity": "sha512-zeSIHh0+E1Um1WJRXCFlHQYu2ieJNdivLLjlBEp+dIBu3S51n+SZZmIXjxnItw6pz56Cn+KvK68BIBVsxq2JiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.29.7.tgz", + "integrity": "sha512-otRWaHXE6fbAGkePvaj/kvs3HsqXfPhlnzwSOlnFgbqCPMd975dW+4wZ00WFBt+/YlBGcJwNrARQTOJOb4ZrIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-json-strings": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.29.7.tgz", + "integrity": "sha512-RRnE2+eon1rJAq8MnoF1b5kTpY1vU88twHcvcKMrsqP/jxIRqDVs9iJB5fqPuqyeFAW0wJo4MlUIPpQCq/aRsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.29.7.tgz", + "integrity": "sha512-DZ/oLP21ZuWx1vKqnoNv6/tvEK48AQOBRai40CX9dTjGluvT/YZCyY3rryDtyUqCEoyNroy5KKPwX2iQCiRvyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.29.7.tgz", + "integrity": "sha512-A0H91hh6W8MFRkp5TqJmMr39jzGD1A1E1Ysiv2O06Sfbhkapm+XyIzxWCEh5kqwOZ1/8QZ0dY3SeQ7XBqfJd5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.29.7.tgz", + "integrity": "sha512-hl1kwFZCCiDyfH25Xmco9jTrkPgnS9pmOzSG7W5I4SaGbLeqKv417hcU2RKmaxoPEgsoJh7ZPOrnPGq99bHoUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.29.7.tgz", + "integrity": "sha512-fxtQoH3m5ywUSIfaH0FGCzWu4McsYon5bD3K4XnskC7f+OyQMj7rsOMi4NvvmJ83WwBAg4UCe+ov4VZlqEvyew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.29.7.tgz", + "integrity": "sha512-j0vCldybPC5b5dwCQOJ21uKtHzt7hxLygJTg9eF1ScfaikEDNfzn94XoW5Fi+seBR0nCyL23xaBFFkq7dTM8XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.29.8.tgz", + "integrity": "sha512-6iSnEK0zlkLKU4heofK/AdmRD4e2SHVpJMtrwnTCzhnaM98ria4rTrOXBBi45BTTYnJtO8txnPsX4fChYXkmeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.29.7.tgz", + "integrity": "sha512-B4UkaTK3QpgCwJnrxKfMPKdo92CN7OKXAlpAAnM3UPu0Q0lCCk57ylA9AJbRy2v8dDKOPAAWcoR6CMyeoHwRCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.29.7.tgz", + "integrity": "sha512-vuFoLwr4qnv2xbZ16SQd6uPcH5FNrLHhk/Jzo++0XJFcaDsr4gjJVg6j398oMHiC+83k/GiBzviwF5KBJkPUtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.29.7.tgz", + "integrity": "sha512-fEo41GmsOUhOBlw8ioo6zvjX5Xc2Lqkzlyfqbpsk3eB6TReV18uhxZ0esfEokVbY2+PVJAQHNKxER6lGrzNd3A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.29.7.tgz", + "integrity": "sha512-idmp1dFaekP9GbcMvG24Kvw2BfhFZjHnNJCkV4WuIY4PskJzwI3f1N5OdgYke38T7rftO6ERulFRn2cFeZwRkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.29.7.tgz", + "integrity": "sha512-zR7fv/z14OjgHl4AgRtkDBvBMhIzCxqV/qN/2BCRC7LjFwvuzjYe7gDWxC4Wl/SNsLM6SE1IWvRPYMgSJaUvNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.29.7.tgz", + "integrity": "sha512-Ld98jn4c0smUywL57m7SgsHq3OpThOa6LqZJif3G6jYOovPleoFhVrBJ1WegRApSFB2wu4+RelAj9AC9G08Z4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/plugin-transform-destructuring": "^7.29.7", + "@babel/plugin-transform-parameters": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.29.7.tgz", + "integrity": "sha512-Ea/diGcw0twB5IlZPO5sgET6fJsLJqPABqTuFWIR+iMPGPZJkATEIWx0wa+aEQ5UY1CBQyP/gkAiLEqn1vBiQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-replace-supers": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.29.7.tgz", + "integrity": "sha512-sLsyndxK2VwX6yNUOakMb7Sh553ZTe/vVM1XJ+9Z5aW1ytsc8xOIwmyk05NNjN60vkc5/KqoTH6hB4V41LJhng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.29.7.tgz", + "integrity": "sha512-6GM1dhvK3gNODkXcEcMCOLEDCLSoZ/sBbro2Ax8HURyasQ4NshagQixkRFdh5niI6E4gmA/jYI/4aT7rRos3ZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.29.7.tgz", + "integrity": "sha512-ZDOBqV/qLYJI0YElr8DcENEyARsFQeESqWXH6gZlghYXuPPjvweuDhP4VyEi4BlUBlLRFZVjxoZDMjxhLW766g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-methods": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.29.7.tgz", + "integrity": "sha512-/6Rz4DK1ETDEM/bWHsPHcaEe7ZaT1EqSXjtSP/L0DijOYuaUhiRiOKcwpZ8P7zR4xXEHc2ITdiCgBm9Tpyv9ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.29.7.tgz", + "integrity": "sha512-+BNo06dnrzdNNqCm1X6YUaVv0DKk8Q+JYcoZfOkLhYWNCXzlwTSRq8zGWayT1csjcpNXV9CQTBRRbmTLZac5cA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.29.7", + "@babel/helper-create-class-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-property-in-object/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.29.7.tgz", + "integrity": "sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.29.7.tgz", + "integrity": "sha512-bOMRLQuI0A5ZqHq3OWJ89/rXpJ/NJrbVhXiP4zwPGMs6kpcVsuTUNjwoE30K0Qm3mf48a/TnRYYD6vPNqcg6jA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.29.8.tgz", + "integrity": "sha512-0UpIXPtdDtMXfnV2OJAVMLpj3H/92vmkA6lpSRakmycJvj3VUy6Xs1dM8tXRugupykr5WB+LpiVl0J8LMVg2mg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regexp-modifiers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.29.7.tgz", + "integrity": "sha512-mB5Fs0VWrJ42ZCmc8114v60qetdaUVNkj9PmSZRmanCZM3S9hm0CFRLjRmYIsuXav14l2jvZ+4T8iiCGnhj3nQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.29.7.tgz", + "integrity": "sha512-5+YhdpVgmfSmwZyLMftfaiffLRMHjzIRHFHHLdibcSyJm2pasMrKHrO3Ptrt2DRshjvpgjEJJ1zVW14WPq/6QA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime": { + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.26.10.tgz", + "integrity": "sha512-NWaL2qG6HRpONTnj4JvDU6th4jYeZOJgu3QhmFTCihib0ermtOJqktA5BduGm3suhhVe9EMP9c9+mfJ/I9slqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.26.5", + "babel-plugin-polyfill-corejs2": "^0.4.10", + "babel-plugin-polyfill-corejs3": "^0.11.0", + "babel-plugin-polyfill-regenerator": "^0.6.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-runtime/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.29.7.tgz", + "integrity": "sha512-I+WYbGBAiCn7nA6xBrlgPH+MB7HWb4u8pv5S0Pv7OtwNvIFvCCb24YlttKEeUFVurfBCEaOTnuhlqsb7f0Z5Dg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.29.8.tgz", + "integrity": "sha512-4S9ksMGVWUshvgK0mKfvZky7leuG5/uoFVwMpAomJ8bMoDJiNHRVmc1EglwW/CmGVSqqWpEbXm9FmbRit22qoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.29.7.tgz", + "integrity": "sha512-BCHzNYJGe9l7EpwwDBN/ztlL2NYFFq8hp9ddjtUEM9f2O7S7kKV/lL6Fwo7IF7NSkYhPK2vO+86nIGltA90MsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.29.7.tgz", + "integrity": "sha512-NCSEJ4sLFU2gqAub45HYh4fus2yQ36rr6ei6vpU7NdoJqCpxvEG8E6eJpscGyXP3VHD2Ny+fSXr04k1hoUrFqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.29.7.tgz", + "integrity": "sha512-223mNGoTkBiTEWFoK+Q6Go3tueMRclO8vxxxxquNCYuNI4jWOofFKJRRDu6SDrB8Sgo1UEGW9T4GAQ8ZyRso1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.29.7.tgz", + "integrity": "sha512-jCfXxSjf94lf4E0hKE0AByxF6F3/pVFqRdUUNkDJhsY0m1ZKjnN6ZYyMeHNpzflxb/0q5b7t3p+BE+SLF1WOtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.29.7.tgz", + "integrity": "sha512-OgZ+zoAJgZLUCunsTRQ5LAjOywDv5zzZ2/hQ5aMw1pGXyY2rtE8/chXYUmu3AlVHKpm10KEdG9aMwbI/K76ZGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.29.7.tgz", + "integrity": "sha512-7D/x/23/d/3VqZ0QA+LGbZMlGwZjztBygSWWWsfTPoQ1oQ6Q1P6Mr3d0kk42XabyUVw+fha3LqdRsFqeKqvCyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.29.7.tgz", + "integrity": "sha512-BLOhLht9DOJwIxlmp91wHvkXv1lguuHS3/FwUO8HL1H0u8s4hR1gASVFyilu9iGtcTRYqjTZmlsFFeQletntEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.29.7", + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.26.9", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.26.9.tgz", + "integrity": "sha512-vX3qPGE8sEKEAZCWk05k3cpTAE3/nOYca++JA+Rd0z2NCNzabmYvEiSShKzm10zdquOIAVXsy2Ei/DTW34KlKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.26.8", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-plugin-utils": "^7.26.5", + "@babel/helper-validator-option": "^7.25.9", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.9", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.9", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.9", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.9", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.9", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-import-assertions": "^7.26.0", + "@babel/plugin-syntax-import-attributes": "^7.26.0", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.25.9", + "@babel/plugin-transform-async-generator-functions": "^7.26.8", + "@babel/plugin-transform-async-to-generator": "^7.25.9", + "@babel/plugin-transform-block-scoped-functions": "^7.26.5", + "@babel/plugin-transform-block-scoping": "^7.25.9", + "@babel/plugin-transform-class-properties": "^7.25.9", + "@babel/plugin-transform-class-static-block": "^7.26.0", + "@babel/plugin-transform-classes": "^7.25.9", + "@babel/plugin-transform-computed-properties": "^7.25.9", + "@babel/plugin-transform-destructuring": "^7.25.9", + "@babel/plugin-transform-dotall-regex": "^7.25.9", + "@babel/plugin-transform-duplicate-keys": "^7.25.9", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.9", + "@babel/plugin-transform-dynamic-import": "^7.25.9", + "@babel/plugin-transform-exponentiation-operator": "^7.26.3", + "@babel/plugin-transform-export-namespace-from": "^7.25.9", + "@babel/plugin-transform-for-of": "^7.26.9", + "@babel/plugin-transform-function-name": "^7.25.9", + "@babel/plugin-transform-json-strings": "^7.25.9", + "@babel/plugin-transform-literals": "^7.25.9", + "@babel/plugin-transform-logical-assignment-operators": "^7.25.9", + "@babel/plugin-transform-member-expression-literals": "^7.25.9", + "@babel/plugin-transform-modules-amd": "^7.25.9", + "@babel/plugin-transform-modules-commonjs": "^7.26.3", + "@babel/plugin-transform-modules-systemjs": "^7.25.9", + "@babel/plugin-transform-modules-umd": "^7.25.9", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.25.9", + "@babel/plugin-transform-new-target": "^7.25.9", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.26.6", + "@babel/plugin-transform-numeric-separator": "^7.25.9", + "@babel/plugin-transform-object-rest-spread": "^7.25.9", + "@babel/plugin-transform-object-super": "^7.25.9", + "@babel/plugin-transform-optional-catch-binding": "^7.25.9", + "@babel/plugin-transform-optional-chaining": "^7.25.9", + "@babel/plugin-transform-parameters": "^7.25.9", + "@babel/plugin-transform-private-methods": "^7.25.9", + "@babel/plugin-transform-private-property-in-object": "^7.25.9", + "@babel/plugin-transform-property-literals": "^7.25.9", + "@babel/plugin-transform-regenerator": "^7.25.9", + "@babel/plugin-transform-regexp-modifiers": "^7.26.0", + "@babel/plugin-transform-reserved-words": "^7.25.9", + "@babel/plugin-transform-shorthand-properties": "^7.25.9", + "@babel/plugin-transform-spread": "^7.25.9", + "@babel/plugin-transform-sticky-regex": "^7.25.9", + "@babel/plugin-transform-template-literals": "^7.26.8", + "@babel/plugin-transform-typeof-symbol": "^7.26.7", + "@babel/plugin-transform-unicode-escapes": "^7.25.9", + "@babel/plugin-transform-unicode-property-regex": "^7.25.9", + "@babel/plugin-transform-unicode-regex": "^7.25.9", + "@babel/plugin-transform-unicode-sets-regex": "^7.25.9", + "@babel/preset-modules": "0.1.6-no-external-plugins", + "babel-plugin-polyfill-corejs2": "^0.4.10", + "babel-plugin-polyfill-corejs3": "^0.11.0", + "babel-plugin-polyfill-regenerator": "^0.6.1", + "core-js-compat": "^3.40.0", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-env/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.6-no-external-plugins", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz", + "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.26.10", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.10.tgz", + "integrity": "sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz", + "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.8", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.8", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/@babel/generator": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz", + "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@colors/colors": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", + "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.6.3.tgz", + "integrity": "sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.17.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.0.tgz", + "integrity": "sha512-lhRUCeuOyJQURhTxl4WkpFTjIsbDayJHih5kZC1giwE+MhIzAb7mEsQMqMf18rHLsrb5qI1tafG20mLxEWcWlA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.0.tgz", + "integrity": "sha512-wqh0ByljabXLKHeWXYLqoJ5jKC4XBaw6Hk08OfMrCRd2nP2ZQ5eleDZC41XHyCNgktBGYMbqnrJKq/K/lzPMSQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.0.tgz", + "integrity": "sha512-+WzIXQOSaGs33tLEgYPYe/yQHf0WTU0X42Jca3y8NWMbUVhp7rUnw+vAsRC/QiDrdD31IszMrZy+qwPOPjd+rw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.0.tgz", + "integrity": "sha512-+VJggoaKhk2VNNqVL7f6S189UzShHC/mR9EE8rDdSkdpN0KflSwWY/gWjDrNxxisg8Fp1ZCD9jLMo4m0OUfeUA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.0.tgz", + "integrity": "sha512-0T+A9WZm+bZ84nZBtk1ckYsOvyA3x7e2Acj1KdVfV4/2tdG4fzUp91YHx+GArWLtwqp77pBXVCPn2We7Letr0Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.0.tgz", + "integrity": "sha512-fyzLm/DLDl/84OCfp2f/XQ4flmORsjU7VKt8HLjvIXChJoFFOIL6pLJPH4Yhd1n1gGFF9mPwtlN5Wf82DZs+LQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.0.tgz", + "integrity": "sha512-l9GeW5UZBT9k9brBYI+0WDffcRxgHQD8ShN2Ur4xWq/NFzUKm3k5lsH4PdaRgb2w7mI9u61nr2gI2mLI27Nh3Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.0.tgz", + "integrity": "sha512-BXoQai/A0wPO6Es3yFJ7APCiKGc1tdAEOgeTNy3SsB491S3aHn4S4r3e976eUnPdU+NbdtmBuLncYir2tMU9Nw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.0.tgz", + "integrity": "sha512-CjaaREJagqJp7iTaNQjjidaNbCKYcd4IDkzbwwxtSvjI7NZm79qiHc8HqciMddQ6CKvJT6aBd8lO9kN/ZudLlw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.0.tgz", + "integrity": "sha512-RVyzfb3FWsGA55n6WY0MEIEPURL1FcbhFE6BffZEMEekfCzCIMtB5yyDcFnVbTnwk+CLAgTujmV/Lgvih56W+A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.0.tgz", + "integrity": "sha512-KBnSTt1kxl9x70q+ydterVdl+Cn0H18ngRMRCEQfrbqdUuntQQ0LoMZv47uB97NljZFzY6HcfqEZ2SAyIUTQBQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.0.tgz", + "integrity": "sha512-zpSlUce1mnxzgBADvxKXX5sl8aYQHo2ezvMNI8I0lbblJtp8V4odlm3Yzlj7gPyt3T8ReksE6bK+pT3WD+aJRg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.0.tgz", + "integrity": "sha512-2jIfP6mmjkdmeTlsX/9vmdmhBmKADrWqN7zcdtHIeNSCH1SqIoNI63cYsjQR8J+wGa4Y5izRcSHSm8K3QWmk3w==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.0.tgz", + "integrity": "sha512-bc0FE9wWeC0WBm49IQMPSPILRocGTQt3j5KPCA8os6VprfuJ7KD+5PzESSrJ6GmPIPJK965ZJHTUlSA6GNYEhg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.0.tgz", + "integrity": "sha512-SQPZOwoTTT/HXFXQJG/vBX8sOFagGqvZyXcgLA3NhIqcBv1BJU1d46c0rGcrij2B56Z2rNiSLaZOYW5cUk7yLQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.0.tgz", + "integrity": "sha512-SCfR0HN8CEEjnYnySJTd2cw0k9OHB/YFzt5zgJEwa+wL/T/raGWYMBqwDNAC6dqFKmJYZoQBRfHjgwLHGSrn3Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.0.tgz", + "integrity": "sha512-us0dSb9iFxIi8srnpl931Nvs65it/Jd2a2K3qs7fz2WfGPHqzfzZTfec7oxZJRNPXPnNYZtanmRc4AL/JwVzHQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.0.tgz", + "integrity": "sha512-CR/RYotgtCKwtftMwJlUU7xCVNg3lMYZ0RzTmAHSfLCXw3NtZtNpswLEj/Kkf6kEL3Gw+BpOekRX0BYCtklhUw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.0.tgz", + "integrity": "sha512-nU1yhmYutL+fQ71Kxnhg8uEOdC0pwEW9entHykTgEbna2pw2dkbFSMeqjjyHZoCmt8SBkOSvV+yNmm94aUrrqw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.0.tgz", + "integrity": "sha512-cXb5vApOsRsxsEl4mcZ1XY3D4DzcoMxR/nnc4IyqYs0rTI8ZKmW6kyyg+11Z8yvgMfAEldKzP7AdP64HnSC/6g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.0.tgz", + "integrity": "sha512-8wZM2qqtv9UP3mzy7HiGYNH/zjTA355mpeuA+859TyR+e+Tc08IHYpLJuMsfpDJwoLo1ikIJI8jC3GFjnRClzA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.0.tgz", + "integrity": "sha512-FLGfyizszcef5C3YtoyQDACyg95+dndv79i2EekILBofh5wpCa1KuBqOWKrEHZg3zrL3t5ouE5jgr94vA+Wb2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.0.tgz", + "integrity": "sha512-1ZgjUoEdHZZl/YlV76TSCz9Hqj9h9YmMGAgAPYd+q4SicWNX3G5GCyx9uhQWSLcbvPW8Ni7lj4gDa1T40akdlw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.0.tgz", + "integrity": "sha512-Q9StnDmQ/enxnpxCCLSg0oo4+34B9TdXpuyPeTedN/6+iXBJ4J+zwfQI28u/Jl40nOYAxGoNi7mFP40RUtkmUA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.0.tgz", + "integrity": "sha512-zF3ag/gfiCe6U2iczcRzSYJKH1DCI+ByzSENHlM2FcDbEeo5Zd2C86Aq0tKUYAJJ1obRP84ymxIAksZUcdztHA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.0.tgz", + "integrity": "sha512-pEl1bO9mfAmIC+tW5btTmrKaujg3zGtUmWNdCw/xs70FBjwAL3o9OEKNHvNmnyylD6ubxUERiEhdsL0xBQ9efw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/ansi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", + "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/checkbox": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.2.tgz", + "integrity": "sha512-VXukHf0RR1doGe6Sm4F0Em7SWYLTHSsbGfJdS9Ja2bX5/D5uwVOEjr07cncLROdBvmnvCATYEWlHqYmXv2IlQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/confirm": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.6.tgz", + "integrity": "sha512-6ZXYK3M1XmaVBZX6FCfChgtponnL0R6I7k8Nu+kaoNkT828FVZTcca1MqmWQipaW2oNREQl5AaPCUOOCVNdRMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.1.7", + "@inquirer/type": "^3.0.4" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/core": { + "version": "10.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", + "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/editor": { + "version": "4.2.23", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.23.tgz", + "integrity": "sha512-aLSROkEwirotxZ1pBaP8tugXRFCxW94gwrQLxXfrZsKkfjOYC1aRvAZuhpJOb5cu4IBTJdsCigUlf2iCOu4ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/expand": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.23.tgz", + "integrity": "sha512-nRzdOyFYnpeYTTR2qFwEVmIWypzdAx/sIkCMeTNTcflFOovfqUk+HcFhQQVBftAh9gmGrpFj6QcGEqrDMDOiew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/external-editor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/figures": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/@inquirer/input": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.1.tgz", + "integrity": "sha512-kN0pAM4yPrLjJ1XJBjDxyfDduXOuQHrBB8aLDMueuwUGn+vNpF7Gq7TvyVxx8u4SHlFFj4trmj+a2cbpG4Jn1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/number": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.23.tgz", + "integrity": "sha512-5Smv0OK7K0KUzUfYUXDXQc9jrf8OHo4ktlEayFlelCjwMXz0299Y8OrI+lj7i4gCBY15UObk76q0QtxjzFcFcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/password": { + "version": "4.0.23", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.23.tgz", + "integrity": "sha512-zREJHjhT5vJBMZX/IUbyI9zVtVfOLiTO66MrF/3GFZYZ7T4YILW5MSkEYHceSii/KtRk+4i3RE7E1CUXA2jHcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/prompts": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.3.2.tgz", + "integrity": "sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/checkbox": "^4.1.2", + "@inquirer/confirm": "^5.1.6", + "@inquirer/editor": "^4.2.7", + "@inquirer/expand": "^4.0.9", + "@inquirer/input": "^4.1.6", + "@inquirer/number": "^3.0.9", + "@inquirer/password": "^4.0.9", + "@inquirer/rawlist": "^4.0.9", + "@inquirer/search": "^3.0.9", + "@inquirer/select": "^4.0.9" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/rawlist": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.11.tgz", + "integrity": "sha512-+LLQB8XGr3I5LZN/GuAHo+GpDJegQwuPARLChlMICNdwW7OwV2izlCSCxN6cqpL0sMXmbKbFcItJgdQq5EBXTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/search": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.2.tgz", + "integrity": "sha512-p2bvRfENXCZdWF/U2BXvnSI9h+tuA8iNqtUKb9UWbmLYCRQxd8WkvwWvYn+3NgYaNwdUkHytJMGG4MMLucI1kA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/select": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.2.tgz", + "integrity": "sha512-l4xMuJo55MAe+N7Qr4rX90vypFwCajSakx59qe/tMaC1aEHWLyw68wF4o0A4SLAY4E0nd+Vt+EyskeDIqu1M6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@inquirer/type": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz", + "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz", + "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jsonjoy.com/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/buffers": { + "version": "17.67.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/buffers/-/buffers-17.67.0.tgz", + "integrity": "sha512-tfExRpYxBvi32vPs9ZHaTjSP4fHAfzSmcahOfNxtvGHcyJel+aibkPlGeBB+7AoC6hL7lXIE++8okecBxx7lcw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/codegen": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/codegen/-/codegen-1.0.0.tgz", + "integrity": "sha512-E8Oy+08cmCf0EK/NMxpaJZmOxPqM+6iSe2S4nlSBrPZOORoDJILxtbSUEDKQyTamm/BVAhIGllOBNU79/dwf0g==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-core": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-core/-/fs-core-4.75.0.tgz", + "integrity": "sha512-G0E9RxkI4VhrIFSn5Gy5hPhF4tPXbsjriSnL8TutVs4d5MAocTawlwRSyjcycUsO+DByzpNehI46vmI764YSkw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-node-builtins": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.75.0", + "thingies": "^2.5.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-fsa": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-fsa/-/fs-fsa-4.75.0.tgz", + "integrity": "sha512-IoMlNWjzcFK5NOUZnCx1hWGbYeUhrLg7cwWi0QTLgUCp5WbDCbzUR1ipqeFgyFsyPrUG+bFPgzS35gjlMT9Vyg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-core": "4.75.0", + "@jsonjoy.com/fs-node-builtins": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.75.0", + "thingies": "^2.5.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-node": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node/-/fs-node-4.75.0.tgz", + "integrity": "sha512-+6GrUqEOxnhpXcMHyK1YN48qJWxpA88o+oCvnyY0RlyyKz/hvIsW970GXnoDfGxX6Tt/RRN1lLN4yfZNINwhzQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-core": "4.75.0", + "@jsonjoy.com/fs-node-builtins": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.75.0", + "@jsonjoy.com/fs-print": "4.75.0", + "@jsonjoy.com/fs-snapshot": "4.75.0", + "glob-to-regex.js": "^1.0.0", + "thingies": "^2.5.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-node-builtins": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-builtins/-/fs-node-builtins-4.75.0.tgz", + "integrity": "sha512-ennOTWjGp8+1lC7Y2Py7cJIS+vR4wF74i/lIpxLMJM8FgkeYBXsgyhPpUgUreB6S9Qpp6CRAVyJp6kgPSFvUMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-node-to-fsa": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-to-fsa/-/fs-node-to-fsa-4.75.0.tgz", + "integrity": "sha512-RH5YQd3vAvTdZL0MV/LyM8tJnKphG8kJyGXaNLxNN5r7ENPUKI55ZkoSzohaHXQfAq6Ef9uxC8MzwFGTKRtYPQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-fsa": "4.75.0", + "@jsonjoy.com/fs-node-builtins": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.75.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-node-utils": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-utils/-/fs-node-utils-4.75.0.tgz", + "integrity": "sha512-gEAojafarixiyZYkoP5J+CeaV6y/SndvUPRz0/pdoa62koLP2D+SHnoWIpyVBBPW6NJ0FVrF+R1K0ZuXhNX2HQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-node-builtins": "4.75.0", + "glob-to-regex.js": "^1.0.1" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-print": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-print/-/fs-print-4.75.0.tgz", + "integrity": "sha512-bAyOYr2MRqch6INi34tArXPH4jtm0uEk8uswdmB0TPq7q2Jewwp3xHFaoOXUfCkI/Q7n4w6vccnWS3afmy9nxg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-node-utils": "4.75.0", + "tree-dump": "^1.1.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-snapshot": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-snapshot/-/fs-snapshot-4.75.0.tgz", + "integrity": "sha512-TQATJHVtL36otQQuYriOnKRRFOBduHGbY0eb4YYgONcPvxijG37+0vTVaDZj9zdDQb8rHHGVr43d3g3mwGw8VA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/buffers": "^17.65.0", + "@jsonjoy.com/fs-node-utils": "4.75.0", + "@jsonjoy.com/json-pack": "^17.65.0", + "@jsonjoy.com/util": "^17.65.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-snapshot/node_modules/@jsonjoy.com/base64": { + "version": "17.67.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/base64/-/base64-17.67.0.tgz", + "integrity": "sha512-5SEsJGsm15aP8TQGkDfJvz9axgPwAEm98S5DxOuYe8e1EbfajcDmgeXXzccEjh+mLnjqEKrkBdjHWS5vFNwDdw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-snapshot/node_modules/@jsonjoy.com/codegen": { + "version": "17.67.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/codegen/-/codegen-17.67.0.tgz", + "integrity": "sha512-idnkUplROpdBOV0HMcwhsCUS5TRUi9poagdGs70A6S4ux9+/aPuKbh8+UYRTLYQHtXvAdNfQWXDqZEx5k4Dj2Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-snapshot/node_modules/@jsonjoy.com/json-pack": { + "version": "17.67.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pack/-/json-pack-17.67.0.tgz", + "integrity": "sha512-t0ejURcGaZsn1ClbJ/3kFqSOjlryd92eQY465IYrezsXmPcfHPE/av4twRSxf6WE+TkZgLY+71vCZbiIiFKA/w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/base64": "17.67.0", + "@jsonjoy.com/buffers": "17.67.0", + "@jsonjoy.com/codegen": "17.67.0", + "@jsonjoy.com/json-pointer": "17.67.0", + "@jsonjoy.com/util": "17.67.0", + "hyperdyperid": "^1.2.0", + "thingies": "^2.5.0", + "tree-dump": "^1.1.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-snapshot/node_modules/@jsonjoy.com/json-pointer": { + "version": "17.67.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pointer/-/json-pointer-17.67.0.tgz", + "integrity": "sha512-+iqOFInH+QZGmSuaybBUNdh7yvNrXvqR+h3wjXm0N/3JK1EyyFAeGJvqnmQL61d1ARLlk/wJdFKSL+LHJ1eaUA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/util": "17.67.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/fs-snapshot/node_modules/@jsonjoy.com/util": { + "version": "17.67.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-17.67.0.tgz", + "integrity": "sha512-6+8xBaz1rLSohlGh68D1pdw3AwDi9xydm8QNlAFkvnavCJYSze+pxoW2VKP8p308jtlMRLs5NTHfPlZLd4w7ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/buffers": "17.67.0", + "@jsonjoy.com/codegen": "17.67.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/json-pack": { + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pack/-/json-pack-1.21.0.tgz", + "integrity": "sha512-+AKG+R2cfZMShzrF2uQw34v3zbeDYUqnQ+jg7ORic3BGtfw9p/+N6RJbq/kkV8JmYZaINknaEQ2m0/f693ZPpg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/base64": "^1.1.2", + "@jsonjoy.com/buffers": "^1.2.0", + "@jsonjoy.com/codegen": "^1.0.0", + "@jsonjoy.com/json-pointer": "^1.0.2", + "@jsonjoy.com/util": "^1.9.0", + "hyperdyperid": "^1.2.0", + "thingies": "^2.5.0", + "tree-dump": "^1.1.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/json-pack/node_modules/@jsonjoy.com/buffers": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/buffers/-/buffers-1.2.1.tgz", + "integrity": "sha512-12cdlDwX4RUM3QxmUbVJWqZ/mrK6dFQH4Zxq6+r1YXKXYBNgZXndx2qbCJwh3+WWkCSn67IjnlG3XYTvmvYtgA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/json-pointer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pointer/-/json-pointer-1.0.2.tgz", + "integrity": "sha512-Fsn6wM2zlDzY1U+v4Nc8bo3bVqgfNTGcn6dMgs6FjrEnt4ZCe60o6ByKRjOGlI2gow0aE/Q41QOigdTqkyK5fg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/codegen": "^1.0.0", + "@jsonjoy.com/util": "^1.9.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/util": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.9.0.tgz", + "integrity": "sha512-pLuQo+VPRnN8hfPqUTLTHk126wuYdXVxE6aDmjSeV4NCAgyxWbiOIeNJVtID3h1Vzpoi9m4jXezf73I6LgabgQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/buffers": "^1.0.0", + "@jsonjoy.com/codegen": "^1.0.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/util/node_modules/@jsonjoy.com/buffers": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/buffers/-/buffers-1.2.1.tgz", + "integrity": "sha512-12cdlDwX4RUM3QxmUbVJWqZ/mrK6dFQH4Zxq6+r1YXKXYBNgZXndx2qbCJwh3+WWkCSn67IjnlG3XYTvmvYtgA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@listr2/prompt-adapter-inquirer": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-2.0.18.tgz", + "integrity": "sha512-0hz44rAcrphyXcA8IS7EJ2SCoaBZD2u5goE8S/e+q/DL+dOGpqpcLidVOFeLG3VgML62SXmfRLAhWt0zL1oW4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/type": "^1.5.5" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@inquirer/prompts": ">= 3 < 8" + } + }, + "node_modules/@listr2/prompt-adapter-inquirer/node_modules/@inquirer/type": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.5.tgz", + "integrity": "sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mute-stream": "^1.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@listr2/prompt-adapter-inquirer/node_modules/mute-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@lmdb/lmdb-darwin-arm64": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.2.6.tgz", + "integrity": "sha512-yF/ih9EJJZc72psFQbwnn8mExIWfTnzWJg+N02hnpXtDPETYLmQswIMBn7+V88lfCaFrMozJsUvcEQIkEPU0Gg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lmdb/lmdb-darwin-x64": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.2.6.tgz", + "integrity": "sha512-5BbCumsFLbCi586Bb1lTWQFkekdQUw8/t8cy++Uq251cl3hbDIGEwD9HAwh8H6IS2F6QA9KdKmO136LmipRNkg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@lmdb/lmdb-linux-arm": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.2.6.tgz", + "integrity": "sha512-+6XgLpMb7HBoWxXj+bLbiiB4s0mRRcDPElnRS3LpWRzdYSe+gFk5MT/4RrVNqd2MESUDmb53NUXw1+BP69bjiQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lmdb/lmdb-linux-arm64": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.2.6.tgz", + "integrity": "sha512-l5VmJamJ3nyMmeD1ANBQCQqy7do1ESaJQfKPSm2IG9/ADZryptTyCj8N6QaYgIWewqNUrcbdMkJajRQAt5Qjfg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lmdb/lmdb-linux-x64": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.2.6.tgz", + "integrity": "sha512-nDYT8qN9si5+onHYYaI4DiauDMx24OAiuZAUsEqrDy+ja/3EbpXPX/VAkMV8AEaQhy3xc4dRC+KcYIvOFefJ4Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@lmdb/lmdb-win32-x64": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.2.6.tgz", + "integrity": "sha512-XlqVtILonQnG+9fH2N3Aytria7P/1fwDgDhl29rde96uH2sLB8CHORIf2PfuLVzFQJ7Uqp8py9AYwr3ZUCFfWg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.4.tgz", + "integrity": "sha512-LCkGo6JDfaBhgST7UpPWgNgLINpcpabaHfyz5OBx75nUYxBsaEPxjnyNjWpeb/xBup/682QnBfRBy2/LvPutZQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-darwin-x64": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.4.tgz", + "integrity": "sha512-zExlW9zUJKZH/tOtVMttwjKa4Xm/3KcNjnE3dPN92uCktwavMxpgCA3MoJK/DOnTWsQgo224OaST27/mPNAf+w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.4.tgz", + "integrity": "sha512-Tg3yX65f5GbtXLkrYEHE5oibZG9epyYWas7FogTTEJeDEF9JlXJzKgXaNhT3UXlTOeA+AfZpYZYZ0uPj7Cfquw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-linux-arm64": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.4.tgz", + "integrity": "sha512-dgX0P/9wGPJeHFBG+ZmhgE6bmtMt7NP5CRBGyyktpopdk/mW4POnrpQsSLtKI1dwpc+pPLuXHDh6vvskyQE/sw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-linux-x64": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.4.tgz", + "integrity": "sha512-8TNXMEjJc3QEy7R/x1INhgiU+XakDAFUzBhaz7+Rbrs8NH5UQeHQxxmzsSBJGyV6I1jW79undiQm8tOI+D+8FQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@msgpackr-extract/msgpackr-extract-win32-x64": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.4.tgz", + "integrity": "sha512-CmCXPQrkbwExx3j946/PtHWHbYJiCRBRDl4BlkRQcJB/YOwQxJRTpoo7aTsortjgoJ1x7opzTSxn7C+ASSLVjQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@napi-rs/nice": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice/-/nice-1.1.1.tgz", + "integrity": "sha512-xJIPs+bYuc9ASBl+cvGsKbGrJmS6fAKaSZCnT0lhahT5rhA2VVy9/EcIgd2JhtEuFOJNx7UHNn/qiTPTY4nrQw==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "optionalDependencies": { + "@napi-rs/nice-android-arm-eabi": "1.1.1", + "@napi-rs/nice-android-arm64": "1.1.1", + "@napi-rs/nice-darwin-arm64": "1.1.1", + "@napi-rs/nice-darwin-x64": "1.1.1", + "@napi-rs/nice-freebsd-x64": "1.1.1", + "@napi-rs/nice-linux-arm-gnueabihf": "1.1.1", + "@napi-rs/nice-linux-arm64-gnu": "1.1.1", + "@napi-rs/nice-linux-arm64-musl": "1.1.1", + "@napi-rs/nice-linux-ppc64-gnu": "1.1.1", + "@napi-rs/nice-linux-riscv64-gnu": "1.1.1", + "@napi-rs/nice-linux-s390x-gnu": "1.1.1", + "@napi-rs/nice-linux-x64-gnu": "1.1.1", + "@napi-rs/nice-linux-x64-musl": "1.1.1", + "@napi-rs/nice-openharmony-arm64": "1.1.1", + "@napi-rs/nice-win32-arm64-msvc": "1.1.1", + "@napi-rs/nice-win32-ia32-msvc": "1.1.1", + "@napi-rs/nice-win32-x64-msvc": "1.1.1" + } + }, + "node_modules/@napi-rs/nice-android-arm-eabi": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm-eabi/-/nice-android-arm-eabi-1.1.1.tgz", + "integrity": "sha512-kjirL3N6TnRPv5iuHw36wnucNqXAO46dzK9oPb0wj076R5Xm8PfUVA9nAFB5ZNMmfJQJVKACAPd/Z2KYMppthw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-android-arm64": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-android-arm64/-/nice-android-arm64-1.1.1.tgz", + "integrity": "sha512-blG0i7dXgbInN5urONoUCNf+DUEAavRffrO7fZSeoRMJc5qD+BJeNcpr54msPF6qfDD6kzs9AQJogZvT2KD5nw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-darwin-arm64": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-arm64/-/nice-darwin-arm64-1.1.1.tgz", + "integrity": "sha512-s/E7w45NaLqTGuOjC2p96pct4jRfo61xb9bU1unM/MJ/RFkKlJyJDx7OJI/O0ll/hrfpqKopuAFDV8yo0hfT7A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-darwin-x64": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-darwin-x64/-/nice-darwin-x64-1.1.1.tgz", + "integrity": "sha512-dGoEBnVpsdcC+oHHmW1LRK5eiyzLwdgNQq3BmZIav+9/5WTZwBYX7r5ZkQC07Nxd3KHOCkgbHSh4wPkH1N1LiQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-freebsd-x64": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-freebsd-x64/-/nice-freebsd-x64-1.1.1.tgz", + "integrity": "sha512-kHv4kEHAylMYmlNwcQcDtXjklYp4FCf0b05E+0h6nDHsZ+F0bDe04U/tXNOqrx5CmIAth4vwfkjjUmp4c4JktQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-arm-gnueabihf": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm-gnueabihf/-/nice-linux-arm-gnueabihf-1.1.1.tgz", + "integrity": "sha512-E1t7K0efyKXZDoZg1LzCOLxgolxV58HCkaEkEvIYQx12ht2pa8hoBo+4OB3qh7e+QiBlp1SRf+voWUZFxyhyqg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-arm64-gnu": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-gnu/-/nice-linux-arm64-gnu-1.1.1.tgz", + "integrity": "sha512-CIKLA12DTIZlmTaaKhQP88R3Xao+gyJxNWEn04wZwC2wmRapNnxCUZkVwggInMJvtVElA+D4ZzOU5sX4jV+SmQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-arm64-musl": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-arm64-musl/-/nice-linux-arm64-musl-1.1.1.tgz", + "integrity": "sha512-+2Rzdb3nTIYZ0YJF43qf2twhqOCkiSrHx2Pg6DJaCPYhhaxbLcdlV8hCRMHghQ+EtZQWGNcS2xF4KxBhSGeutg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-ppc64-gnu": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-ppc64-gnu/-/nice-linux-ppc64-gnu-1.1.1.tgz", + "integrity": "sha512-4FS8oc0GeHpwvv4tKciKkw3Y4jKsL7FRhaOeiPei0X9T4Jd619wHNe4xCLmN2EMgZoeGg+Q7GY7BsvwKpL22Tg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-riscv64-gnu": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-riscv64-gnu/-/nice-linux-riscv64-gnu-1.1.1.tgz", + "integrity": "sha512-HU0nw9uD4FO/oGCCk409tCi5IzIZpH2agE6nN4fqpwVlCn5BOq0MS1dXGjXaG17JaAvrlpV5ZeyZwSon10XOXw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-s390x-gnu": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-s390x-gnu/-/nice-linux-s390x-gnu-1.1.1.tgz", + "integrity": "sha512-2YqKJWWl24EwrX0DzCQgPLKQBxYDdBxOHot1KWEq7aY2uYeX+Uvtv4I8xFVVygJDgf6/92h9N3Y43WPx8+PAgQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-x64-gnu": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-gnu/-/nice-linux-x64-gnu-1.1.1.tgz", + "integrity": "sha512-/gaNz3R92t+dcrfCw/96pDopcmec7oCcAQ3l/M+Zxr82KT4DljD37CpgrnXV+pJC263JkW572pdbP3hP+KjcIg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-linux-x64-musl": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-linux-x64-musl/-/nice-linux-x64-musl-1.1.1.tgz", + "integrity": "sha512-xScCGnyj/oppsNPMnevsBe3pvNaoK7FGvMjT35riz9YdhB2WtTG47ZlbxtOLpjeO9SqqQ2J2igCmz6IJOD5JYw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-openharmony-arm64": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-openharmony-arm64/-/nice-openharmony-arm64-1.1.1.tgz", + "integrity": "sha512-6uJPRVwVCLDeoOaNyeiW0gp2kFIM4r7PL2MczdZQHkFi9gVlgm+Vn+V6nTWRcu856mJ2WjYJiumEajfSm7arPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-win32-arm64-msvc": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-arm64-msvc/-/nice-win32-arm64-msvc-1.1.1.tgz", + "integrity": "sha512-uoTb4eAvM5B2aj/z8j+Nv8OttPf2m+HVx3UjA5jcFxASvNhQriyCQF1OB1lHL43ZhW+VwZlgvjmP5qF3+59atA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-win32-ia32-msvc": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-ia32-msvc/-/nice-win32-ia32-msvc-1.1.1.tgz", + "integrity": "sha512-CNQqlQT9MwuCsg1Vd/oKXiuH+TcsSPJmlAFc5frFyX/KkOh0UpBLEj7aoY656d5UKZQMQFP7vJNa1DNUNORvug==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@napi-rs/nice-win32-x64-msvc": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@napi-rs/nice-win32-x64-msvc/-/nice-win32-x64-msvc-1.1.1.tgz", + "integrity": "sha512-vB+4G/jBQCAh0jelMTY3+kgFy00Hlx2f2/1zjMoH821IbplbWZOkLiTYXQkygNTzQJTq5cvwBDgn2ppHD+bglQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@ng-bootstrap/ng-bootstrap": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@ng-bootstrap/ng-bootstrap/-/ng-bootstrap-17.0.1.tgz", + "integrity": "sha512-utbm8OXIoqVVYGVzQkOS773ymbjc+UMkXv8lyi7hTqLhCQs0rZ0yA74peqVZRuOGXLHgcSTA7fnJhA80iQOblw==", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/common": "^18.0.0", + "@angular/core": "^18.0.0", + "@angular/forms": "^18.0.0", + "@angular/localize": "^18.0.0", + "@popperjs/core": "^2.11.8", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@ngtools/webpack": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-19.2.27.tgz", + "integrity": "sha512-nuKxH4WaRILjlje4143T8XeDWVi5AIDlCMu/SPSKsYtyGxX7AC3sEu0UatFG7rrJkS/SB+fZngtuydoprhvYkQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^19.0.0 || ^19.2.0-next.0", + "typescript": ">=5.5 <5.9", + "webpack": "^5.54.0" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@npmcli/agent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-3.0.0.tgz", + "integrity": "sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "agent-base": "^7.1.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.1", + "lru-cache": "^10.0.1", + "socks-proxy-agent": "^8.0.3" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/agent/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@npmcli/fs": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-4.0.0.tgz", + "integrity": "sha512-/xGlezI6xfGO9NwuJlnwz/K14qD1kCSAGtacBHnGzeAIuJGazcp45KP5NuyARXoKb7cwulAGWVsbeSxdG/cb0Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/git": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-6.0.3.tgz", + "integrity": "sha512-GUYESQlxZRAdhs3UhbB6pVRNUELQOHXwK9ruDkwmCv2aZ5y0SApQzUJCg02p3A7Ue2J5hxvlk1YI53c00NmRyQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^8.0.0", + "ini": "^5.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^10.0.0", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/git/node_modules/isexe": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz", + "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@npmcli/git/node_modules/which": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/installed-package-contents": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-3.0.0.tgz", + "integrity": "sha512-fkxoPuFGvxyrH+OQzyTkX2LUEamrF4jZSmxjAtPPHHGO0dqsQ8tTKjnIS8SAnPHdk2I03BDtSMR5K/4loKg79Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + }, + "bin": { + "installed-package-contents": "bin/index.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/node-gyp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-4.0.0.tgz", + "integrity": "sha512-+t5DZ6mO/QFh78PByMq1fGSAub/agLJZDRfJRMeOSNCt8s9YVlTjmGpIPwPhvXTGUIJk+WszlT0rQa1W33yzNA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/package-json": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-6.2.0.tgz", + "integrity": "sha512-rCNLSB/JzNvot0SEyXqWZ7tX2B5dD2a1br2Dp0vSYVo5jh8Z0EZ7lS9TsZ1UtziddB1UfNUaMCc538/HztnJGA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^6.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "proc-log": "^5.0.0", + "semver": "^7.5.3", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/brace-expansion": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/package-json/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-8.0.3.tgz", + "integrity": "sha512-Yb00SWaL4F8w+K8YGhQ55+xE4RUNdMHV43WZGsiTM92gS+lC0mGsn7I4hLug7pbao035S6bj3Y3w0cUNGLfmkg==", + "dev": true, + "license": "ISC", + "dependencies": { + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/isexe": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz", + "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/which": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/redact": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-3.2.2.tgz", + "integrity": "sha512-7VmYAmk4csGv08QzrDKScdzn11jHPFGyqJW39FyPgPuAp3zIaUmuCo1yxw9aGs+NEJuTGQ9Gwqpt93vtJubucg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/run-script": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-9.1.0.tgz", + "integrity": "sha512-aoNSbxtkePXUlbZB+anS1LqsJdctG5n3UVhfU47+CDdwMi6uNTBMF9gPcQRnqghQd2FGzcwwIFBruFMxjhBewg==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "node-gyp": "^11.0.0", + "proc-log": "^5.0.0", + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@npmcli/run-script/node_modules/isexe": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz", + "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/@npmcli/run-script/node_modules/which": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.6.0.tgz", + "integrity": "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.3", + "is-glob": "^4.0.3", + "node-addon-api": "^7.0.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.6.0", + "@parcel/watcher-darwin-arm64": "2.6.0", + "@parcel/watcher-darwin-x64": "2.6.0", + "@parcel/watcher-freebsd-x64": "2.6.0", + "@parcel/watcher-linux-arm-glibc": "2.6.0", + "@parcel/watcher-linux-arm-musl": "2.6.0", + "@parcel/watcher-linux-arm64-glibc": "2.6.0", + "@parcel/watcher-linux-arm64-musl": "2.6.0", + "@parcel/watcher-linux-x64-glibc": "2.6.0", + "@parcel/watcher-linux-x64-musl": "2.6.0", + "@parcel/watcher-win32-arm64": "2.6.0", + "@parcel/watcher-win32-x64": "2.6.0" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.6.0.tgz", + "integrity": "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.6.0.tgz", + "integrity": "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.6.0.tgz", + "integrity": "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.6.0.tgz", + "integrity": "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.6.0.tgz", + "integrity": "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.6.0.tgz", + "integrity": "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.6.0.tgz", + "integrity": "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.6.0.tgz", + "integrity": "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.6.0.tgz", + "integrity": "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.6.0.tgz", + "integrity": "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.6.0.tgz", + "integrity": "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.6.0.tgz", + "integrity": "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher/node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.59.0.tgz", + "integrity": "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.59.0.tgz", + "integrity": "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.59.0.tgz", + "integrity": "sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.59.0.tgz", + "integrity": "sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.59.0.tgz", + "integrity": "sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.59.0.tgz", + "integrity": "sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.59.0.tgz", + "integrity": "sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.59.0.tgz", + "integrity": "sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.59.0.tgz", + "integrity": "sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.59.0.tgz", + "integrity": "sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.59.0.tgz", + "integrity": "sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.59.0.tgz", + "integrity": "sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.59.0.tgz", + "integrity": "sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.59.0.tgz", + "integrity": "sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.59.0.tgz", + "integrity": "sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.59.0.tgz", + "integrity": "sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.59.0.tgz", + "integrity": "sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.59.0.tgz", + "integrity": "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.59.0.tgz", + "integrity": "sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.59.0.tgz", + "integrity": "sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.59.0.tgz", + "integrity": "sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.59.0.tgz", + "integrity": "sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.59.0.tgz", + "integrity": "sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.59.0.tgz", + "integrity": "sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.59.0.tgz", + "integrity": "sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@schematics/angular": { + "version": "19.2.27", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-19.2.27.tgz", + "integrity": "sha512-kJX5nyDjwo6iHQ+g/AJa+4SyHRSQyGgutpqXUIuYY2htGWVS1HUQlHfwAER5btjSNKe/iHgh4pzYGZfvJ2V6/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "19.2.27", + "@angular-devkit/schematics": "19.2.27", + "jsonc-parser": "3.3.1" + }, + "engines": { + "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@sigstore/bundle": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-3.1.0.tgz", + "integrity": "sha512-Mm1E3/CmDDCz3nDhFKTuYdB47EdRFRQMOE/EAbiG1MJW77/w1b3P7Qx7JSrVJs8PfwOLOVcKQCHErIwCTyPbag==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.4.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@sigstore/core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-2.0.0.tgz", + "integrity": "sha512-nYxaSb/MtlSI+JWcwTHQxyNmWeWrUXJJ/G4liLrGG7+tS4vAz6LF3xRXqLH6wPIVUoZQel2Fs4ddLx4NCpiIYg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@sigstore/protobuf-specs": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.4.3.tgz", + "integrity": "sha512-fk2zjD9117RL9BjqEwF7fwv7Q/P9yGsMV4MUJZ/DocaQJ6+3pKr+syBq1owU5Q5qGw5CUbXzm+4yJ2JVRDQeSA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@sigstore/sign": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-3.1.0.tgz", + "integrity": "sha512-knzjmaOHOov1Ur7N/z4B1oPqZ0QX5geUfhrVaqVlu+hl0EAoL4o+l0MSULINcD5GCWe3Z0+YJO8ues6vFlW0Yw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "make-fetch-happen": "^14.0.2", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@sigstore/tuf": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-3.1.1.tgz", + "integrity": "sha512-eFFvlcBIoGwVkkwmTi/vEQFSva3xs5Ot3WmBcjgjVdiaoelBLQaQ/ZBfhlG0MnG0cmTYScPpk7eDdGDWUcFUmg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.4.1", + "tuf-js": "^3.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@sigstore/verify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-2.1.1.tgz", + "integrity": "sha512-hVJD77oT67aowHxwT4+M6PGOp+E2LtLdTK3+FC0lBO9T7sYwItDMXZ7Z07IDCvR1M717a4axbIWckrW67KMP/w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@socket.io/component-emitter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", + "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tufjs/canonical-json": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", + "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-3.0.1.tgz", + "integrity": "sha512-UUYHISyhCU3ZgN8yaear3cGATHb3SMuKHsQ/nVbHXcmnBf+LzQ/cQfhNG+rfaSHgqGKNEm2cOCLVLELStUQ1JA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/@tufjs/models/node_modules/brace-expansion": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.6", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", + "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/bonjour": { + "version": "3.5.13", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz", + "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect-history-api-fallback": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz", + "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "node_modules/@types/cors": { + "version": "2.8.19", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.19.tgz", + "integrity": "sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/express": { + "version": "4.17.25", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.25.tgz", + "integrity": "sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "^1" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.19.9", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.9.tgz", + "integrity": "sha512-QP2ESEe/ImWY0HDwNAnK9PvEffUyhLTnWkk7KXzHfyeWAnlrDe1fN77bXl6ia8KT3wPlmA7t9/VPRpnf4Ex9sg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", + "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/http-proxy": { + "version": "1.17.17", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.17.tgz", + "integrity": "sha512-ED6LB+Z1AVylNTu7hdzuBqOgMnvG/ld6wGCG8wFnAzKX5uyW2K3WD52v0gnLCTK/VLpXtKckgWuyScYK6cSPaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/jasmine": { + "version": "3.6.11", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.6.11.tgz", + "integrity": "sha512-S6pvzQDvMZHrkBz2Mcn/8Du7cpr76PlRJBAoHnSDNbulULsH5dp0Gns+WRyNX5LHejz/ljxK4/vIHK/caHt6SQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node-forge": { + "version": "1.3.14", + "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.14.tgz", + "integrity": "sha512-mhVF2BnD4BO+jtOp7z1CdzaK4mbuK0LLQYAvdOLqHTavxFNq4zA1EmYkpnFjP8HOUzedfQkRnp0E2ulSAYSzAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/qs": { + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/retry": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz", + "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", + "integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/serve-index": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz", + "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/express": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.10.tgz", + "integrity": "sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*", + "@types/send": "<1" + } + }, + "node_modules/@types/serve-static/node_modules/@types/send": { + "version": "0.17.6", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.6.tgz", + "integrity": "sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/sockjs": { + "version": "0.3.36", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz", + "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/ws": { + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.2.0.tgz", + "integrity": "sha512-mkQnxTkcldAzIsomk1UuLfAu9n+kpQ3JbHcpCp7d2Oo6ITtji8pHS3QToOWjhPFvNQSnhlkAjmGbhv2QvwO/7Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.21.3" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", + "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/helper-numbers": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", + "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.13.2", + "@webassemblyjs/helper-api-error": "1.13.2", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", + "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/wasm-gen": "1.14.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", + "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", + "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", + "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/helper-wasm-section": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-opt": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1", + "@webassemblyjs/wast-printer": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", + "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", + "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", + "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-api-error": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", + "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@webassemblyjs/ast": "1.14.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/abbrev": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", + "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/accepts/node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-phases": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", + "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + }, + "peerDependencies": { + "acorn": "^8.14.0" + } + }, + "node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", + "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/adjust-sourcemap-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.3.0.tgz", + "integrity": "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "environment": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", + "dev": true, + "engines": [ + "node >= 0.8.0" + ], + "license": "Apache-2.0", + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "node_modules/ansi-regex": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/autoprefixer": { + "version": "10.4.20", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.20.tgz", + "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.23.3", + "caniuse-lite": "^1.0.30001646", + "fraction.js": "^4.3.7", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/babel-loader": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.2.1.tgz", + "integrity": "sha512-fqe8naHt46e0yIdkjUZYqddSXfej3AHajX+CSO5X7oy0EmPc6o5Xh+RClNoHjnieWz9AW4kZxW9yyFMhVB1QLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-cache-dir": "^4.0.0", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0", + "webpack": ">=5" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.17", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.17.tgz", + "integrity": "sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.28.6", + "@babel/helper-define-polyfill-provider": "^0.6.8", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.11.1.tgz", + "integrity": "sha512-yGCqvBT4rwMczo28xkH/noxJ6MZ4nJfkVYdoDaC/utLtWrXxv27HVrzAeSbqR8SxDsp46n0YF47EbHoixy6rXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.3", + "core-js-compat": "^3.40.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.8.tgz", + "integrity": "sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.8" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/base64id": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", + "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^4.5.0 || >= 5.9" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.22", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.22.tgz", + "integrity": "sha512-pWc4w51fBFd7mav43/zKRC+RI6f4yfzQoVlfvE8dECePyfkn1bzLp01Fj0QACcyCZyFhiEMyD2qScfKRWgWibA==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", + "dev": true, + "license": "MIT" + }, + "node_modules/beasties": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/beasties/-/beasties-0.3.2.tgz", + "integrity": "sha512-p4AF8uYzm9Fwu8m/hSVTCPXrRBPmB34hQpHsec2KOaR9CZmgoU8IOv4Cvwq4hgz2p4hLMNbsdNl5XeA6XbAQwA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "htmlparser2": "^10.0.0", + "picocolors": "^1.1.1", + "postcss": "^8.4.49", + "postcss-media-query-parser": "^0.2.3" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/body-parser": { + "version": "1.20.8", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.8.tgz", + "integrity": "sha512-JNcyFQ64OiijEkPzUBTCe+hyPXUD/3LEldGQ6iF5LR1w00mx9o7xtDWHXBY2iItjdCFGoilOLNQbH943ut7pHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.16.0", + "raw-body": "~2.5.3", + "type-is": "~1.6.18", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/bonjour-service": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.4.4.tgz", + "integrity": "sha512-jCZcVv7eoc4QesRscwEZtSROBen+6LpKAmBIsQYQrsAeVHLyMXWX/t6eIV5KiRZYNUBl8eVqImEEMQ8L5+c/Kw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" + } + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true, + "license": "ISC" + }, + "node_modules/bootstrap": { + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.8.tgz", + "integrity": "sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT", + "peerDependencies": { + "@popperjs/core": "^2.11.8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.18", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.18.tgz", + "integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.28.9", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.9.tgz", + "integrity": "sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.20", + "caniuse-lite": "^1.0.30001810", + "electron-to-chromium": "^1.5.420", + "node-releases": "^2.0.54", + "update-browserslist-db": "^1.3.2" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cacache": { + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-19.0.1.tgz", + "integrity": "sha512-hdsUxulXCi5STId78vRVYEtDAjq99ICAUktLTeTYsLoTE6Z8dS0c8pWNCxwdrk9YfJeobDZc2Y186hD/5ZQgFQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^4.0.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", + "minipass": "^7.0.3", + "minipass-collect": "^2.0.1", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^7.0.2", + "ssri": "^12.0.0", + "tar": "^7.4.3", + "unique-filename": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/cacache/node_modules/brace-expansion": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/cacache/node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/cacache/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/cacache/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/tar": { + "version": "7.5.22", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", + "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/cacache/node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001810", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz", + "integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chardet": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.2.0.tgz", + "integrity": "sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==", + "dev": true, + "license": "MIT" + }, + "node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0" + } + }, + "node_modules/cli-cursor": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", + "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", + "dev": true, + "license": "MIT", + "dependencies": { + "slice-ansi": "^5.0.0", + "string-width": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 12" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/clone-deep/node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/common-path-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", + "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", + "dev": true, + "license": "ISC" + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compression": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.8.2.tgz", + "integrity": "sha512-o8vI5RE5A6EVVOd9o41jKp41aJom+QTEO/Bx8MYNjexMo/Bv2WOjUfZr+aL0WnYSgymUy6zeguqLTsIhV0gMvQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "compressible": "~2.0.18", + "debug": "2.6.9", + "destroy": "1.2.0", + "negotiator": "~0.6.4", + "on-headers": "~1.1.0", + "safe-buffer": "5.2.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/compression/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/compression/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/compression/node_modules/negotiator": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", + "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/connect/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/connect/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "dev": true, + "license": "MIT" + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz", + "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==", + "dev": true, + "license": "MIT" + }, + "node_modules/copy-anything": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", + "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } + }, + "node_modules/copy-webpack-plugin": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-12.0.2.tgz", + "integrity": "sha512-SNwdBeHyII+rWvee/bTnAYyO8vfVdcSTud4EIb6jcZ8inLeWucJE0DnxXQBjlQ5zlteuuvooGQy3LIyGxhvlOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-glob": "^3.3.2", + "glob-parent": "^6.0.1", + "globby": "^14.0.0", + "normalize-path": "^3.0.0", + "schema-utils": "^4.2.0", + "serialize-javascript": "^6.0.2" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, + "node_modules/core-js-compat": { + "version": "3.50.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.50.0.tgz", + "integrity": "sha512-XGpFGbMLHwSt74YLTKho7Ib242qi6O8MSX+sRokV4oz7iKXvQWGYZthjIhjRGMxjzVkAubBO512dKGYcefmX3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "browserslist": "^4.28.7" + }, + "engines": { + "node": ">=6.4.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/cosmiconfig": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz", + "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-loader": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.2.tgz", + "integrity": "sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.27.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/css-select": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.2.2.tgz", + "integrity": "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.2.2.tgz", + "integrity": "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha512-GAj5FOq0Hd+RsCGVJxZuKaIDXDf3h6GQoNEjFgbLLI/trgtavwUbSnZ5pVfg27DVCaWjIohryS0JFwIJyT2cMg==", + "dev": true, + "license": "MIT" + }, + "node_modules/date-format": { + "version": "4.0.14", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz", + "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/default-browser": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz", + "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "dev": true, + "license": "MIT" + }, + "node_modules/di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha512-uJaamHkagcZtHPqCIHZxnFrXlunQXgBOsZSUOWwFw31QJCAbyTBoHMW75YOTur5ZNx8pIeAKgf6GWIgaqqiLhA==", + "dev": true, + "license": "MIT" + }, + "node_modules/dns-packet": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", + "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha512-Yra4DbvoW7/Z6LBN560ZwXMjoNOSAN2wRsKFGc4iBeso+mpIA6qj1vfdf9HpMaKAqG6wXTy+1SYEzmNpKXOSsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "custom-event": "~1.0.0", + "ent": "~2.2.0", + "extend": "^3.0.0", + "void-elements": "^2.0.0" + } + }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz", + "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true, + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.427", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.427.tgz", + "integrity": "sha512-n14zb3FdsChZ2BNobqNHAJMcP3ifFv4paox2LvCrfVAQcqGiSURgbJl+PfMpHVCNFkStnNc+RRVtPBTVW5PDgw==", + "dev": true, + "license": "ISC" + }, + "node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "dev": true, + "license": "MIT" + }, + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/engine.io": { + "version": "6.6.10", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.10.tgz", + "integrity": "sha512-9/lX2bdlizlCXMHRMOIm03VBQHQYC7VvydcxtTAUJRxNW1QzM/2PMFSmr6h/lCiMHcyCP6abK+t9Q+j4vekk8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "@types/ws": "^8.5.12", + "accepts": "~1.3.4", + "cookie": "~0.7.2", + "cors": "~2.8.5", + "debug": "~4.4.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.21.0" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/engine.io-parser": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", + "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.24.5", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.24.5.tgz", + "integrity": "sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/ent": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.2.tgz", + "integrity": "sha512-kKvD1tO6BM+oK9HzCPpUdRb4vKFQY/FPTFmurMvh6LlN68VMrdj77w8yp51/kDbpkFOS9J8w5W6zIzgM2H8/hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "punycode": "^1.4.1", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "dev": true, + "license": "MIT" + }, + "node_modules/errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz", + "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==", + "dev": true, + "license": "MIT" + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/esbuild": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.0.tgz", + "integrity": "sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.28.0", + "@esbuild/android-arm": "0.28.0", + "@esbuild/android-arm64": "0.28.0", + "@esbuild/android-x64": "0.28.0", + "@esbuild/darwin-arm64": "0.28.0", + "@esbuild/darwin-x64": "0.28.0", + "@esbuild/freebsd-arm64": "0.28.0", + "@esbuild/freebsd-x64": "0.28.0", + "@esbuild/linux-arm": "0.28.0", + "@esbuild/linux-arm64": "0.28.0", + "@esbuild/linux-ia32": "0.28.0", + "@esbuild/linux-loong64": "0.28.0", + "@esbuild/linux-mips64el": "0.28.0", + "@esbuild/linux-ppc64": "0.28.0", + "@esbuild/linux-riscv64": "0.28.0", + "@esbuild/linux-s390x": "0.28.0", + "@esbuild/linux-x64": "0.28.0", + "@esbuild/netbsd-arm64": "0.28.0", + "@esbuild/netbsd-x64": "0.28.0", + "@esbuild/openbsd-arm64": "0.28.0", + "@esbuild/openbsd-x64": "0.28.0", + "@esbuild/openharmony-arm64": "0.28.0", + "@esbuild/sunos-x64": "0.28.0", + "@esbuild/win32-arm64": "0.28.0", + "@esbuild/win32-ia32": "0.28.0", + "@esbuild/win32-x64": "0.28.0" + } + }, + "node_modules/esbuild-wasm": { + "version": "0.28.0", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.28.0.tgz", + "integrity": "sha512-5TRVKExcEmeMkccIZMzUq+Az6X2RoMAJyfl6SMMO1dMVhmvt0I2mx7gAb6zYi42n4d1ETcatFXazGKzA+aW7fg==", + "dev": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true, + "license": "MIT" + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true, + "license": "MIT" + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/exponential-backoff": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.3.tgz", + "integrity": "sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/express": { + "version": "4.22.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.2.tgz", + "integrity": "sha512-IuL+Elrou2ZvCFHs18/CIzy2Nzvo25nZ1/D2eIZlz7c+QUayAcYoiM2BthCjs+EBHVpjYjcuLDAiCWgeIX3X1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "~1.20.5", + "content-disposition": "~0.5.4", + "content-type": "~1.0.4", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "~0.1.12", + "proxy-addr": "~2.0.7", + "qs": "~6.15.1", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "~0.19.0", + "serve-static": "~1.16.2", + "setprototypeof": "1.2.0", + "statuses": "~2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/express/node_modules/finalhandler": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz", + "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "~2.4.1", + "parseurl": "~1.3.3", + "statuses": "~2.0.2", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/express/node_modules/qs": { + "version": "6.15.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz", + "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/express/node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-uri": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.7.tgz", + "integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/fastq": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", + "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/finalhandler/node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/find-cache-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-4.0.0.tgz", + "integrity": "sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "common-path-prefix": "^3.0.0", + "pkg-dir": "^7.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-up": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flatted": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/follow-redirects": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", + "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fraction.js": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz", + "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob-to-regex.js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/glob-to-regex.js/-/glob-to-regex.js-1.2.0.tgz", + "integrity": "sha512-QMwlOQKU/IzqMUOAZWubUOT8Qft+Y0KQWnX9nK3ch0CJg0tTp4TvGZsTfudYKv2NzoQSyPcnA6TYeIQ3jGichQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/globby": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.1.0.tgz", + "integrity": "sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.3", + "ignore": "^7.0.3", + "path-type": "^6.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.3.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/handle-thing": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", + "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", + "dev": true, + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hosted-git-info": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", + "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "node_modules/hpack.js/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/hpack.js/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/hpack.js/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/htmlparser2": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", + "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.2.2", + "entities": "^7.0.1" + } + }, + "node_modules/htmlparser2/node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/http-cache-semantics": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", + "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", + "dev": true, + "license": "MIT" + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/http-errors/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-parser-js": { + "version": "0.5.10", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.10.tgz", + "integrity": "sha512-Pysuw9XpUq5dVc/2SMHpuTY01RFl8fttgcyunjL7eEMhGM3cI4eOmiCycJDVCo/7O7ClfQD3SaI6ftDzqOXYMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/http-proxy-middleware": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.5.tgz", + "integrity": "sha512-GLZZm1X38BPY4lkXA01jhwxvDoOkkXqjgVyUzVxiEK4iuRu03PZoYHhHRwxnfhQMDuaxi3vVri0YgSro/1oWqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.15", + "debug": "^4.3.6", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.3", + "is-plain-object": "^5.0.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/hyperdyperid": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/hyperdyperid/-/hyperdyperid-1.2.0.tgz", + "integrity": "sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.18" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.9.tgz", + "integrity": "sha512-brTTsvFRt5C1gGHtPst/281UjPD5t9fBqbgoMPlVWy11ZLTPfu7HxK4ZYqO9H7o/yC9rSTCI85EaQ4OoY12qYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-walk": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-7.0.0.tgz", + "integrity": "sha512-T4gbf83A4NH95zvhVYZc+qWocBBGlpzUXLPGurJggw/WIOwicfXJChLDP/iBZnN5WqROSu5Bm3hhle4z8a8YGQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", + "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/immutable": { + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.9.tgz", + "integrity": "sha512-m8nVez3rwrgmWxtLMt1ZYXB2Lv7OKYn/disyxAlSDYAlKSlFoPPfIAmAM/M5xqL4m4C/wAPw7S2/CNaUii1Hxg==", + "dev": true, + "license": "MIT" + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ini": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-5.0.0.tgz", + "integrity": "sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/ip-address": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.0.tgz", + "integrity": "sha512-BGFsyJd5mpXp3rK6jIdADLNgpJUK1jnjzvYF8lK+VyDab9JAmqN0YOKDdP17HlgKb2+ehPgDc8EtnRLbGCAMhA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/ipaddr.js": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.5.0.tgz", + "integrity": "sha512-aq+t5NAc+cS6rZQQVWC2x98CPqGtKKTMDd4Gaodv0wShnItdKg/51djkGJ1hqH+Oy0ivDftCbSLCQob8zso01w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.2.tgz", + "integrity": "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-network-error": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.2.tgz", + "integrity": "sha512-PhBY86zaxNZUuWP6h13Vu5oFe0XY6/UlKzQnYFELzGVHygP3MxmvTfYSG7GN3aIab/iWudSMgjSnG9Dq+nHrgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-plain-object": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.1.0.tgz", + "integrity": "sha512-bUi/yjmtKYcRVUtWRGr0UA6xEFh2I6zWUwMrUXB3s7bmYCaZ8a+0ZsTRkrawh/mzlSD1Y0Ph8bp/U+TvBpWDNw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-regex": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-what": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", + "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-wsl": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", + "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/isbinaryfile": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", + "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/gjtorikian/" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-reports": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jasmine-core": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", + "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jiti": { + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/jquery": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", + "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==", + "license": "MIT" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-4.0.0.tgz", + "integrity": "sha512-lR4MXjGNgkJc7tkQ97kb2nuEMnNCyU//XYVH0MKTGcXEiSudQ5MKGKen3C5QubYy0vmq+JGitUg92uuywGEwIA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz", + "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ], + "license": "MIT" + }, + "node_modules/karma": { + "version": "6.3.20", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.3.20.tgz", + "integrity": "sha512-HRNQhMuKOwKpjYlWiJP0DUrJOh+QjaI/DTaD8b9rEm4Il3tJ8MijutVZH4ts10LuUFst/CedwTS6vieCN8yTSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@colors/colors": "1.5.0", + "body-parser": "^1.19.0", + "braces": "^3.0.2", + "chokidar": "^3.5.1", + "connect": "^3.7.0", + "di": "^0.0.1", + "dom-serialize": "^2.2.1", + "glob": "^7.1.7", + "graceful-fs": "^4.2.6", + "http-proxy": "^1.18.1", + "isbinaryfile": "^4.0.8", + "lodash": "^4.17.21", + "log4js": "^6.4.1", + "mime": "^2.5.2", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.5", + "qjobs": "^1.2.0", + "range-parser": "^1.2.1", + "rimraf": "^3.0.2", + "socket.io": "^4.4.1", + "source-map": "^0.6.1", + "tmp": "^0.2.1", + "ua-parser-js": "^0.7.30", + "yargs": "^16.1.1" + }, + "bin": { + "karma": "bin/karma" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/karma-chrome-launcher": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.1.tgz", + "integrity": "sha512-hsIglcq1vtboGPAN+DGCISCFOxW+ZVnIqhDQcCMqqCp+4dmJ0Qpq5QAjkbA0X2L9Mi6OBkHi2Srrbmm7pUKkzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "which": "^1.2.1" + } + }, + "node_modules/karma-coverage": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/karma-coverage/-/karma-coverage-2.0.3.tgz", + "integrity": "sha512-atDvLQqvPcLxhED0cmXYdsPMCQuh6Asa9FMZW1bhNqlVEhJoB9qyZ2BY1gu7D/rr5GLGb5QzYO4siQskxaWP/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^4.0.1", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.0", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/karma-coverage/node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/karma-coverage/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/karma-jasmine": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-4.0.2.tgz", + "integrity": "sha512-ggi84RMNQffSDmWSyyt4zxzh2CQGwsxvYYsprgyR1j8ikzIduEdOlcLvXjZGwXG/0j41KUXOWsUCBfbEHPWP9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "jasmine-core": "^3.6.0" + }, + "engines": { + "node": ">= 10" + }, + "peerDependencies": { + "karma": "*" + } + }, + "node_modules/karma-jasmine-html-reporter": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.7.0.tgz", + "integrity": "sha512-pzum1TL7j90DTE86eFt48/s12hqwQuiD+e5aXx2Dc9wDEn2LfGq6RoAxEZZjFiN0RDSCOnosEKRZWxbQ+iMpQQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "jasmine-core": ">=3.8", + "karma": ">=0.9", + "karma-jasmine": ">=1.1" + } + }, + "node_modules/karma-source-map-support": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz", + "integrity": "sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map-support": "^0.5.5" + } + }, + "node_modules/karma/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/karma/node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/karma/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/karma/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/karma/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/karma/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/karma/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/karma/node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/karma/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/karma/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/karma/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/karma/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/karma/node_modules/yargs": { + "version": "16.2.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.2.tgz", + "integrity": "sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/karma/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/launch-editor": { + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.14.1.tgz", + "integrity": "sha512-QWBrQsMpH7gPr965dsKD/3cKWiNoTjpATQf++Xq63N6sKRGMwlVXz41O1IZTMfZQgBctD/K5Zt06+/I6pP6+HA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picocolors": "^1.1.1", + "shell-quote": "^1.8.4" + } + }, + "node_modules/less": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/less/-/less-4.2.2.tgz", + "integrity": "sha512-tkuLHQlvWUTeQ3doAqnHbNn8T6WX1KA8yvbKG9x4VtKtIjHsVKQZCH11zRgAfbDAXC2UNIg/K9BYAAcEzUIrNg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "copy-anything": "^2.0.1", + "parse-node-version": "^1.0.1", + "tslib": "^2.3.0" + }, + "bin": { + "lessc": "bin/lessc" + }, + "engines": { + "node": ">=6" + }, + "optionalDependencies": { + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "make-dir": "^2.1.0", + "mime": "^1.4.1", + "needle": "^3.1.0", + "source-map": "~0.6.0" + } + }, + "node_modules/less-loader": { + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-12.2.0.tgz", + "integrity": "sha512-MYUxjSQSBUQmowc0l5nPieOYwMzGPUaTzB6inNW/bdPEG9zOL3eAAD1Qw5ZxSPk7we5dMojHwNODYMV1hq4EVg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "less": "^3.5.0 || ^4.0.0", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/less/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/less/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/less/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "optional": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/less/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/license-webpack-plugin": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz", + "integrity": "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw==", + "dev": true, + "license": "ISC", + "dependencies": { + "webpack-sources": "^3.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-sources": { + "optional": true + } + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/listr2": { + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.5.tgz", + "integrity": "sha512-iyAZCeyD+c1gPyE9qpFu8af0Y+MRtmKOncdGoA2S5EY8iFq99dmmvkNnHiWo+pj0s7yH7l3KPIgee77tKpXPWQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "cli-truncate": "^4.0.0", + "colorette": "^2.0.20", + "eventemitter3": "^5.0.1", + "log-update": "^6.1.0", + "rfdc": "^1.4.1", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/listr2/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/listr2/node_modules/eventemitter3": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", + "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/listr2/node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/lmdb": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.2.6.tgz", + "integrity": "sha512-SuHqzPl7mYStna8WRotY8XX/EUZBjjv3QyKIByeCLFfC9uXT/OIHByEcA07PzbMfQAM0KYJtLgtpMRlIe5dErQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "msgpackr": "^1.11.2", + "node-addon-api": "^6.1.0", + "node-gyp-build-optional-packages": "5.2.2", + "ordered-binary": "^1.5.3", + "weak-lru-cache": "^1.2.2" + }, + "bin": { + "download-lmdb-prebuilds": "bin/download-prebuilds.js" + }, + "optionalDependencies": { + "@lmdb/lmdb-darwin-arm64": "3.2.6", + "@lmdb/lmdb-darwin-x64": "3.2.6", + "@lmdb/lmdb-linux-arm": "3.2.6", + "@lmdb/lmdb-linux-arm64": "3.2.6", + "@lmdb/lmdb-linux-x64": "3.2.6", + "@lmdb/lmdb-win32-x64": "3.2.6" + } + }, + "node_modules/loader-runner": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.2.tgz", + "integrity": "sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.11.5" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/loader-utils": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.3.1.tgz", + "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12.13.0" + } + }, + "node_modules/locate-path": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.1.0.tgz", + "integrity": "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^7.0.0", + "cli-cursor": "^5.0.0", + "slice-ansi": "^7.1.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-update/node_modules/is-fullwidth-code-point": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", + "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.3.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", + "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/log4js": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", + "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "flatted": "^3.2.7", + "rfdc": "^1.3.0", + "streamroller": "^3.1.5" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/magic-string": { + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-fetch-happen": { + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-14.0.3.tgz", + "integrity": "sha512-QMjGbFTP0blj97EeidG5hk/QhKQ3T4ICckQGLgz38QF7Vgbk6e6FTARN8KhKxyBbWn8R0HU+bnw8aSoFPD4qtQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/agent": "^3.0.0", + "cacache": "^19.0.1", + "http-cache-semantics": "^4.1.1", + "minipass": "^7.0.2", + "minipass-fetch": "^4.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^1.0.0", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "ssri": "^12.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memfs": { + "version": "4.75.0", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.75.0.tgz", + "integrity": "sha512-ds3qQCghw0FsG9S+CSAR9F1n5nCwlA7Z5Mf8xgRec6iBAVPPwldmD5UxJhMstWhMhOVBwZ/FoBz09B46m3Le/g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jsonjoy.com/fs-core": "4.75.0", + "@jsonjoy.com/fs-fsa": "4.75.0", + "@jsonjoy.com/fs-node": "4.75.0", + "@jsonjoy.com/fs-node-builtins": "4.75.0", + "@jsonjoy.com/fs-node-to-fsa": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.75.0", + "@jsonjoy.com/fs-print": "4.75.0", + "@jsonjoy.com/fs-snapshot": "4.75.0", + "@jsonjoy.com/json-pack": "^1.11.0", + "@jsonjoy.com/util": "^1.9.0", + "glob-to-regex.js": "^1.0.1", + "thingies": "^2.5.0", + "tree-dump": "^1.0.3", + "tslib": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/micromatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/mimic-function": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mini-css-extract-plugin": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.2.tgz", + "integrity": "sha512-GJuACcS//jtq4kCtd5ii/M0SZf7OZRH+BxdqXZHaJfb8TJiVl+NgQRPwiYt2EuqeSkNydn/7vP+bcE27C5mb9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "schema-utils": "^4.0.0", + "tapable": "^2.2.1" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true, + "license": "ISC" + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minimizer-webpack-plugin": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/minimizer-webpack-plugin/-/minimizer-webpack-plugin-5.10.1.tgz", + "integrity": "sha512-+dsZEyTcy1lkq41lxdiOqvb26gXbYGgwY+30w37f9PqUVkuEBejBLDotsHOTjuga9xJyGLW2DqzKDUyJ4W/PMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.31", + "jest-worker": "^27.4.5", + "schema-utils": "^4.3.3", + "terser": "^5.51.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@minify-html/node": { + "optional": true + }, + "@napi-rs/image": { + "optional": true + }, + "@swc/core": { + "optional": true + }, + "@swc/css": { + "optional": true + }, + "@swc/html": { + "optional": true + }, + "clean-css": { + "optional": true + }, + "cssnano": { + "optional": true + }, + "csso": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "html-minifier-terser": { + "optional": true + }, + "imagemin": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "postcss": { + "optional": true + }, + "sharp": { + "optional": true + }, + "svgo": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/minimizer-webpack-plugin/node_modules/terser": { + "version": "5.51.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.51.2.tgz", + "integrity": "sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.15.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minipass-collect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", + "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minipass-fetch": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-4.0.1.tgz", + "integrity": "sha512-j7U11C5HXigVuutxebFadoYBbd7VSdZWggSe64NVdvWNBqGAiXPL2QVCehjmw7lY1oF9gOllYbORh+hiNgfPgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^3.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-flush": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.7.tgz", + "integrity": "sha512-TbqTz9cUwWyHS2Dy89P3ocAGUGxKjjLuR9z8w4WUTGAVgEj17/4nhgo2Du56i0Fm3Pm30g4iA8Lcqctc76jCzA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-flush/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-flush/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", + "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-pipeline/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-pipeline/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/minipass-sized": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", + "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/minizlib": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", + "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/mrmime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", + "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/msgpackr": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.12.1.tgz", + "integrity": "sha512-4EUH9tQHnMmEgzW/MdAP0KIfa1T9AF+htl0ffe2n5vb2EKn9y2co8ccpgWko6S52Jy1PQZKwRnx5/KkYjtd9MQ==", + "dev": true, + "license": "MIT", + "optional": true, + "optionalDependencies": { + "msgpackr-extract": "^3.0.2" + } + }, + "node_modules/msgpackr-extract": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-3.0.4.tgz", + "integrity": "sha512-4kmO/MdyUIkLIvTPr8VHLil4AtoKIoniWPIEk5+CDy0xnWC84azhSFmuJ7PxZdsYtiP5kEeQsORAVIeMgxT+Hw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "dependencies": { + "node-gyp-build-optional-packages": "5.2.2" + }, + "bin": { + "download-msgpackr-prebuilds": "bin/download-prebuilds.js" + }, + "optionalDependencies": { + "@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.4", + "@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.4", + "@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.4", + "@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.4", + "@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.4", + "@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.4" + } + }, + "node_modules/multicast-dns": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", + "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", + "dev": true, + "license": "MIT", + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "node_modules/mute-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.19", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz", + "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/needle": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-3.5.0.tgz", + "integrity": "sha512-jaQyPKKk2YokHrEg+vFDYxXIHTCBgiZwSHOoVx/8V3GIBS8/VN6NdVRmg8q1ERtPkMvmOvebsgga4sAj5hls/w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.3", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, + "node_modules/needle/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/negotiator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", + "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "content-type": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/negotiator/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-addon-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", + "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/node-forge": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.4.0.tgz", + "integrity": "sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==", + "dev": true, + "license": "(BSD-3-Clause OR GPL-2.0)", + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-gyp": { + "version": "11.5.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-11.5.0.tgz", + "integrity": "sha512-ra7Kvlhxn5V9Slyus0ygMa2h+UqExPqUIkfk7Pc8QTLT956JLSy51uWFwHtIYy0vI8cB4BDhc/S03+880My/LQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^14.0.3", + "nopt": "^8.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5", + "tar": "^7.4.3", + "tinyglobby": "^0.2.12", + "which": "^5.0.0" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/node-gyp-build-optional-packages": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz", + "integrity": "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "detect-libc": "^2.0.1" + }, + "bin": { + "node-gyp-build-optional-packages": "bin.js", + "node-gyp-build-optional-packages-optional": "optional.js", + "node-gyp-build-optional-packages-test": "build-test.js" + } + }, + "node_modules/node-gyp/node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/node-gyp/node_modules/isexe": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz", + "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/node-gyp/node_modules/tar": { + "version": "7.5.22", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz", + "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/node-gyp/node_modules/which": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/which/-/which-5.0.0.tgz", + "integrity": "sha512-JEdGzHwwkrbWoGOlIHqQ5gtprKGOenpDHpxE9zVR1bWbOtYRyPPHMe9FaP6x61CmNaTThSkb0DAJte5jD+DmzQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^3.1.1" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/node-gyp/node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/node-releases": { + "version": "2.0.55", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.55.tgz", + "integrity": "sha512-mIrE/Cw9y+9Au6dS5vDKDhQza9YvG6w+ZrS6X+ZzA7yFW/soAeaups4Qzn1bL6g5FVy8WtP79+0j82oPIbqRjQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/nopt": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", + "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", + "dev": true, + "license": "ISC", + "dependencies": { + "abbrev": "^3.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-bundled": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-4.0.0.tgz", + "integrity": "sha512-IxaQZDMsqfQ2Lz37VvyyEtKLe8FsRZuysmedy/N06TU1RyVppYKXrO4xIhR0F+7ubIBox6Q7nir6fQI3ej39iA==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-install-checks": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-7.1.2.tgz", + "integrity": "sha512-z9HJBCYw9Zr8BqXcllKIs5nI+QggAImbBdHphOzVYrz2CB4iQ6FzWyKmlqDZua+51nAu7FcemlbTc9VgQN5XDQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-normalize-package-bin": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz", + "integrity": "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-package-arg": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-12.0.2.tgz", + "integrity": "sha512-f1NpFjNI9O4VbKMOlA5QoBq/vSQPORHcTZ2feJpFkTHJ9eQkdlmZEKSjcAhxTGInC7RlEyScT9ui67NaOsjFWA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^8.0.0", + "proc-log": "^5.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^6.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-packlist": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-9.0.0.tgz", + "integrity": "sha512-8qSayfmHJQTx3nJWYbbUmflpyarbLMBc6LCAjYsiGtXxDB68HaZpb8re6zeaLGxZzDuMdhsg70jryJe+RrItVQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^7.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-pick-manifest": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-10.0.0.tgz", + "integrity": "sha512-r4fFa4FqYY8xaM7fHecQ9Z2nE9hgNfJR+EmoKv0+chvzWkBcORX3r0FpTByP+CbOVJDladMXnPQGVN8PBLGuTQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^7.1.0", + "npm-normalize-package-bin": "^4.0.0", + "npm-package-arg": "^12.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm-registry-fetch": { + "version": "18.0.2", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-18.0.2.tgz", + "integrity": "sha512-LeVMZBBVy+oQb5R6FDV9OlJCcWDU+al10oKpe+nsvcHnG24Z3uM3SvJYKfGJlfGjVU8v9liejCrUR/M5HO5NEQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/redact": "^3.0.0", + "jsonparse": "^1.3.1", + "make-fetch-happen": "^14.0.0", + "minipass": "^7.0.2", + "minipass-fetch": "^4.0.0", + "minizlib": "^3.0.1", + "npm-package-arg": "^12.0.0", + "proc-log": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true, + "license": "MIT" + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", + "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-function": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-10.1.0.tgz", + "integrity": "sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ora/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ordered-binary": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.6.1.tgz", + "integrity": "sha512-QkCdPooczexPLiXIrbVOPYkR3VO3T6v2OyKRkR1Xbhpy7/LAVXwahnRCgRp78Oe/Ehf0C/HATAxfSr6eA1oX+w==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/p-limit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map": { + "version": "7.0.7", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.7.tgz", + "integrity": "sha512-VaWRu2i4FJNRtiRWCuuQRgfQ1B7a6+gMSrO+3j0EQi/k0ULfS9kosRxGoiqwzIjZTDI02tGfk5mXXltLg6QtfQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-6.2.1.tgz", + "integrity": "sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/retry": "0.12.2", + "is-network-error": "^1.0.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/pacote": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.0.tgz", + "integrity": "sha512-pRjC5UFwZCgx9kUFDVM9YEahv4guZ1nSLqwmWiLUnDbGsjs+U5w7z6Uc8HNR1a6x8qnu5y9xtGE6D1uAuYz+0A==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^6.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "@npmcli/run-script": "^9.0.0", + "cacache": "^19.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^12.0.0", + "npm-packlist": "^9.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "sigstore": "^3.0.0", + "ssri": "^12.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "bin/index.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-json/node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/parse-node-version": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/parse5": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", + "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-html-rewriting-stream": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-7.0.0.tgz", + "integrity": "sha512-mazCyGWkmCRWDI15Zp+UiCqMp/0dgEmkZRvhlsqqKYr4SsVm/TvnSpD9fCvqCA2zoWJcfRym846ejWBBHRiYEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5-sax-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-7.0.0.tgz", + "integrity": "sha512-5A+v2SNsq8T6/mG3ahcz8ZtQ0OUFTatxPbeidoMB7tkJSGDY3tdfl4MHovtLQHkEn5CGxijNWRQHhRQ6IRpXKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse5": "^7.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/parse5/node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-exists": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/path-to-regexp": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz", + "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-type": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", + "integrity": "sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/piscina": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/piscina/-/piscina-4.8.0.tgz", + "integrity": "sha512-EZJb+ZxDrQf3dihsUL7p42pjNyrNIFJCrRHPMgxu/svsj+P3xS3fuEWp7k2+rfsavfl1N0G29b1HGs7J0m8rZA==", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "@napi-rs/nice": "^1.0.1" + } + }, + "node_modules/pkg-dir": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-7.0.0.tgz", + "integrity": "sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^6.3.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/popper.js": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", + "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", + "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/postcss": { + "version": "8.5.12", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.12.tgz", + "integrity": "sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-loader": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.1.1.tgz", + "integrity": "sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "cosmiconfig": "^9.0.0", + "jiti": "^1.20.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "postcss": "^7.0.0 || ^8.0.1", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/postcss-media-query-parser": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz", + "integrity": "sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==", + "dev": true, + "license": "MIT" + }, + "node_modules/postcss-modules-extract-imports": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", + "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.2.0.tgz", + "integrity": "sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==", + "dev": true, + "license": "MIT", + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^7.0.0", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-scope": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.1.tgz", + "integrity": "sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==", + "dev": true, + "license": "ISC", + "dependencies": { + "postcss-selector-parser": "^7.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", + "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/proc-log": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-5.0.0.tgz", + "integrity": "sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/promise-retry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", + "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/qjobs": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", + "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.9" + } + }, + "node_modules/qs": { + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", + "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz", + "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/raw-body": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/reflect-metadata": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true, + "license": "MIT" + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz", + "integrity": "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "dev": true, + "license": "MIT" + }, + "node_modules/regex-parser": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.3.1.tgz", + "integrity": "sha512-yXLRqatcCuKtVHsWrNg0JL3l1zGfdXeEvDa0bdu4tCDQw0RpMDZsqbkyRTUnKMR0tXF627V2oEWjBEaEdqTwtQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/regexpu-core": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.4.0.tgz", + "integrity": "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.2.2", + "regjsgen": "^0.8.0", + "regjsparser": "^0.13.0", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.2.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/regjsparser": { + "version": "0.13.2", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.2.tgz", + "integrity": "sha512-NgRBy2Nx/bE+9F27nVHnqcN5HjyLmecqsqx2PJHu3/IEtADD4WuxuXIVExD5PoSDFVrl78dOonfcOe5O+5nbzQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "jsesc": "~3.1.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/resolve": { + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.16.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-url-loader": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz", + "integrity": "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "adjust-sourcemap-loader": "^4.0.0", + "convert-source-map": "^1.7.0", + "loader-utils": "^2.0.0", + "postcss": "^8.2.14", + "source-map": "0.6.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/resolve-url-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/resolve-url-loader/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/restore-cursor": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rfdc": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", + "dev": true, + "license": "MIT" + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "4.59.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.59.0.tgz", + "integrity": "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.59.0", + "@rollup/rollup-android-arm64": "4.59.0", + "@rollup/rollup-darwin-arm64": "4.59.0", + "@rollup/rollup-darwin-x64": "4.59.0", + "@rollup/rollup-freebsd-arm64": "4.59.0", + "@rollup/rollup-freebsd-x64": "4.59.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.59.0", + "@rollup/rollup-linux-arm-musleabihf": "4.59.0", + "@rollup/rollup-linux-arm64-gnu": "4.59.0", + "@rollup/rollup-linux-arm64-musl": "4.59.0", + "@rollup/rollup-linux-loong64-gnu": "4.59.0", + "@rollup/rollup-linux-loong64-musl": "4.59.0", + "@rollup/rollup-linux-ppc64-gnu": "4.59.0", + "@rollup/rollup-linux-ppc64-musl": "4.59.0", + "@rollup/rollup-linux-riscv64-gnu": "4.59.0", + "@rollup/rollup-linux-riscv64-musl": "4.59.0", + "@rollup/rollup-linux-s390x-gnu": "4.59.0", + "@rollup/rollup-linux-x64-gnu": "4.59.0", + "@rollup/rollup-linux-x64-musl": "4.59.0", + "@rollup/rollup-openbsd-x64": "4.59.0", + "@rollup/rollup-openharmony-arm64": "4.59.0", + "@rollup/rollup-win32-arm64-msvc": "4.59.0", + "@rollup/rollup-win32-ia32-msvc": "4.59.0", + "@rollup/rollup-win32-x64-gnu": "4.59.0", + "@rollup/rollup-win32-x64-msvc": "4.59.0", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-applescript": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safe-regex-test": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-regex": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/sass": { + "version": "1.85.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.85.0.tgz", + "integrity": "sha512-3ToiC1xZ1Y8aU7+CkgCI/tqyuPXEmYGJXO7H4uqp0xkLXUqp88rQQ4j1HmP37xSJLbCJPaIiv+cT1y+grssrww==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^4.0.0", + "immutable": "^5.0.2", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + }, + "optionalDependencies": { + "@parcel/watcher": "^2.4.1" + } + }, + "node_modules/sass-loader": { + "version": "16.0.5", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.5.tgz", + "integrity": "sha512-oL+CMBXrj6BZ/zOq4os+UECPL+bWqt6OAC6DWS8Ln8GZRcMDjlJ4JC3FBDuHJdYaFWIdKNIBYmtZtK2MaMkNIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "neo-async": "^2.6.2" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", + "sass": "^1.3.0", + "sass-embedded": "*", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/sax": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.1.tgz", + "integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==", + "dev": true, + "license": "BlueOak-1.0.0", + "optional": true, + "engines": { + "node": ">=11.0.0" + } + }, + "node_modules/schema-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.4.0.tgz", + "integrity": "sha512-ZzWFVzFgyRHi/T2Ecxm37lL6J9+hZO0P9L7LCuLxAbC6XWxkvxcaQBCXhQxMGn/Tdt9nD7zIBk0ELwhMQ3UEDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.15", + "ajv": "^8.20.0", + "ajv-formats": "^3.0.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", + "dev": true, + "license": "MIT" + }, + "node_modules/selfsigned": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", + "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node-forge": "^1.3.0", + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", + "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.4.1", + "range-parser": "~1.2.1", + "statuses": "~2.0.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/send/node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/send/node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/send/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/serve-index": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.2.tgz", + "integrity": "sha512-KDj11HScOaLmrPxl70KYNW1PksP4Nb/CLL2yvC+Qd2kHMPEEpfc4Re2e4FOay+bC/+XQl/7zAcWON3JVo5v3KQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.8.0", + "mime-types": "~2.1.35", + "parseurl": "~1.3.3" + }, + "engines": { + "node": ">= 0.8.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/serve-index/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true, + "license": "MIT" + }, + "node_modules/serve-static": { + "version": "1.16.3", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz", + "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "~0.19.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/serve-static/node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true, + "license": "ISC" + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.10.0.tgz", + "integrity": "sha512-w1aiOKwKuRgtwAReIIj89puqg+I7GvX4IbLrvmhXbzQsj1+Zwi4VO3+fa6ZF91TWSjIxoEkKnMeHcLEODK5ZXA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz", + "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4", + "side-channel-list": "^1.0.1", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sigstore": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-3.1.0.tgz", + "integrity": "sha512-ZpzWAFHIFqyFE56dXqgX/DkDRZdz+rRcjoIk/RQU4IX0wiCv1l8S7ZrXDHcCc+uaf+6o7w3h2l3g6GYG5TKN9Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "@sigstore/sign": "^3.1.0", + "@sigstore/tuf": "^3.1.0", + "@sigstore/verify": "^2.1.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/slice-ansi": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socket.io": { + "version": "4.8.3", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.3.tgz", + "integrity": "sha512-2Dd78bqzzjE6KPkD5fHZmDAKRNe3J15q+YHDrIsy9WEkqttc7GY+kT9OBLSMaPbQaEd0x1BjcmtMtXkfpc+T5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "cors": "~2.8.5", + "debug": "~4.4.1", + "engine.io": "~6.6.0", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" + }, + "engines": { + "node": ">=10.2.0" + } + }, + "node_modules/socket.io-adapter": { + "version": "2.5.8", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.8.tgz", + "integrity": "sha512-6Oy52pbg+kvdCVvjcN+FnY7BvxZ7cIHNScbvztT/It5d0vbwoJoVZmF2gjJmnV0/4WlXRfG15zc45ySk9Ah8bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "~4.4.1", + "ws": "~8.21.0" + } + }, + "node_modules/socket.io-parser": { + "version": "4.2.7", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.7.tgz", + "integrity": "sha512-IH/iSeO9T6gz1KkFleGDWkG9N3dl4jXVYUtMhIqH10Md0ttMer8nUNWiP1DKuNrybD2xBrixLJdCC9J6ECoYkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.4.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/sockjs": { + "version": "0.3.24", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", + "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "node_modules/socks": { + "version": "2.8.10", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.10.tgz", + "integrity": "sha512-e0VyvkVTwVYViNovRkZ9aodhxVlyoMn7eJhVUPxZ+eK9P/7CBkxvvsBOHqFPEH416726W8tLXXXjKwqgTErrCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-address": "^10.1.1", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz", + "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 8" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-loader": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-5.0.0.tgz", + "integrity": "sha512-k2Dur7CbSLcAH73sBcIkV5xjPV4SzqO1NJ7+XaQl8if3VODDUj3FNchNGpqgJSKbvUfJuhVdv8K2Eu8/TNl2eA==", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.3", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.72.1" + } + }, + "node_modules/source-map-loader/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.23", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.23.tgz", + "integrity": "sha512-CWLcCCH7VLu13TgOH+r8p1O/Znwhqv/dbb6lqWy67G+pT1kHmeD/+V36AVb/vq8QMIQwVShJ6Ssl5FPh0fuSdw==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/spdy": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", + "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/spdy-transport": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", + "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "node_modules/ssri": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-12.0.0.tgz", + "integrity": "sha512-S7iGNosepx9RadX82oimUkvr0Ct7IjJbEbs4mJcTxst8um95J3sDYU1RBEOvdu6oL1Wek2ODI5i4MAw+dZ6cAQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/streamroller": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz", + "integrity": "sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "fs-extra": "^8.1.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/symbol-observable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", + "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/tapable": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/tar": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", + "deprecated": "Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/tar/node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tar/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/terser": { + "version": "5.39.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.39.0.tgz", + "integrity": "sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.6.1.tgz", + "integrity": "sha512-201R5j+sJpK8nFWwKVyNfZot8FaJbLZDq5evriVzbV1wDtSXDjRUDRfJzHpAaxFDMEhsZL1QkeqM61wgsS3KaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.25", + "jest-worker": "^27.4.5", + "schema-utils": "^4.3.0", + "terser": "^5.31.1" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@minify-html/node": { + "optional": true + }, + "@swc/core": { + "optional": true + }, + "@swc/css": { + "optional": true + }, + "@swc/html": { + "optional": true + }, + "clean-css": { + "optional": true + }, + "cssnano": { + "optional": true + }, + "csso": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "html-minifier-terser": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "postcss": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/thingies": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/thingies/-/thingies-2.6.1.tgz", + "integrity": "sha512-cV/CMGTK3M4MlnJ/0At6ismOw/A0EEniDNScajjz/Br3c1sqE72YD01rGpPTKwd27wAxI5Pr+6+0w8yofzFRYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "^2" + } + }, + "node_modules/thunky": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", + "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tmp": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.7.tgz", + "integrity": "sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tree-dump": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/tree-dump/-/tree-dump-1.1.0.tgz", + "integrity": "sha512-rMuvhU4MCDbcbnleZTFezWsaZXRFemSqAM+7jPnzUl1fo9w3YEKOxAeui0fz3OI4EU4hf23iyA7uQRVko+UaBA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tuf-js": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-3.1.0.tgz", + "integrity": "sha512-3T3T04WzowbwV2FDiGXBbr81t64g1MUGGJRgT4x5o97N+8ArdhVCAF9IxFrxuSJmM3E5Asn7nKHkao0ibcZXAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "3.0.1", + "debug": "^4.4.1", + "make-fetch-happen": "^14.0.3" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-assert": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/typed-assert/-/typed-assert-1.0.9.tgz", + "integrity": "sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg==", + "dev": true, + "license": "MIT" + }, + "node_modules/typescript": { + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/ua-parser-js": { + "version": "0.7.41", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.41.tgz", + "integrity": "sha512-O3oYyCMPYgNNHuO7Jjk3uacJWZF8loBgwrfd/5LE/HyZ3lUIOdniQ7DNXJcIgZbwioZxk0fLfI4EVnetdiX5jg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "license": "MIT", + "bin": { + "ua-parser-js": "script/cli.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz", + "integrity": "sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.2.0.tgz", + "integrity": "sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/unique-filename": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-4.0.0.tgz", + "integrity": "sha512-XSnEewXmQ+veP7xX2dS5Q4yZAvO40cBN2MWkJ7D/6sW4Dg6wYBNwM1Vrnz1FhH5AdeLIlUXRI9e28z1YZi71NQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/unique-slug": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-5.0.0.tgz", + "integrity": "sha512-9OdaqO5kwqR+1kVgHAhsp5vPNU0hnxRa26rBFNfNgM7M6pNtgzeBn3s/xbyCQL3dcjzOatcef6UUHpB/6MaETg==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz", + "integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validate-npm-package-name": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-6.0.2.tgz", + "integrity": "sha512-IUoow1YUtvoBBC06dXs8bR8B9vuA3aJfmQNKMoaPG/OFsPmoQvw8xh+6Ye25Gx9DQhoEom3Pcu9MKHerm/NpUQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vite": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", + "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/@esbuild/aix-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/android-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/android-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/android-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/darwin-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/darwin-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/freebsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-arm": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-loong64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-mips64el": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-ppc64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-riscv64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-s390x": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/netbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/openbsd-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/openharmony-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/sunos-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-arm64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-ia32": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-x64": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/vite/node_modules/esbuild": { + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" + } + }, + "node_modules/void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz", + "integrity": "sha512-qZKX4RnBzH2ugr8Lxa7x+0V6XD9Sb/ouARtiasEQCHB1EVU4NXtmHsDDrx1dO4ne5fc3J6EW05BP1Dl0z0iung==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/watchpack": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/weak-lru-cache": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz", + "integrity": "sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/webpack": { + "version": "5.110.3", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.110.3.tgz", + "integrity": "sha512-GuizBzRvo9YPpyoNMf3ag7AzxbaW85qrRSqTha345KyJbAFPt3/cMzBM0h+RWg7SK/7DdzRLINP3LvQ0hvr4hg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.8", + "@types/json-schema": "^7.0.15", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.16.0", + "browserslist": "^4.28.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.24.4", + "es-module-lexer": "^2.1.0", + "events": "^3.2.0", + "graceful-fs": "^4.2.11", + "mime-db": "^1.54.0", + "minimizer-webpack-plugin": "^5.7.0", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.3", + "tapable": "^2.3.0", + "watchpack": "^2.5.2", + "webpack-sources": "^3.5.1" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-dev-middleware": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-7.4.2.tgz", + "integrity": "sha512-xOO8n6eggxnwYpy1NlzUKpvrjfJTvae5/D6WOK0S2LSo7vjmo5gCM1DbLUmFqrMTJP+W/0YZNctm7jasWvLuBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^4.6.0", + "mime-types": "^2.1.31", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-5.2.2.tgz", + "integrity": "sha512-QcQ72gh8a+7JO63TAx/6XZf/CWhgMzu5m0QirvPfGvptOusAxG12w2+aua1Jkjr7hzaWDnJ2n6JFeexMHI+Zjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/bonjour": "^3.5.13", + "@types/connect-history-api-fallback": "^1.5.4", + "@types/express": "^4.17.21", + "@types/express-serve-static-core": "^4.17.21", + "@types/serve-index": "^1.9.4", + "@types/serve-static": "^1.15.5", + "@types/sockjs": "^0.3.36", + "@types/ws": "^8.5.10", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.2.1", + "chokidar": "^3.6.0", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^2.0.0", + "express": "^4.21.2", + "graceful-fs": "^4.2.6", + "http-proxy-middleware": "^2.0.9", + "ipaddr.js": "^2.1.0", + "launch-editor": "^2.6.1", + "open": "^10.0.3", + "p-retry": "^6.2.0", + "schema-utils": "^4.2.0", + "selfsigned": "^2.4.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.24", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^7.4.2", + "ws": "^8.18.0" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 18.12.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server/node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/webpack-dev-server/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/webpack-dev-server/node_modules/http-proxy-middleware": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.10.tgz", + "integrity": "sha512-RKzRWNPxUZqbuk3BC5mGVJbBnWgr+diEnjJexIOytFbBzDy88Fbh/YvBr3DsNrl1jYAfjWfpATEv0NO35FDuPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/webpack-dev-server/node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/webpack-merge": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-6.0.1.tgz", + "integrity": "sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "clone-deep": "^4.0.1", + "flat": "^5.0.2", + "wildcard": "^2.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.5.1.tgz", + "integrity": "sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack-subresource-integrity": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-5.1.0.tgz", + "integrity": "sha512-sacXoX+xd8r4WKsy9MvH/q/vBtEHr86cpImXwyg74pFIpERKt6FmB8cXpeuh0ZLgclOlHI4Wcll7+R5L02xk9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "typed-assert": "^1.0.8" + }, + "engines": { + "node": ">= 12" + }, + "peerDependencies": { + "html-webpack-plugin": ">= 5.0.0-beta.1 < 6", + "webpack": "^5.12.0" + }, + "peerDependenciesMeta": { + "html-webpack-plugin": { + "optional": true + } + } + }, + "node_modules/webpack/node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/webpack/node_modules/watchpack": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.2.tgz", + "integrity": "sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/websocket-driver": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.5.tgz", + "integrity": "sha512-ZL2+3c7kMBdIRCMz6l8jQMHyGVxj+UL+xVk74Ombiciboca8rHa15L86B19E5oh1pL9Ii/uj54gtsIrZGMo6zA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yocto-queue": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.2.tgz", + "integrity": "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoctocolors-cjs": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", + "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zone.js": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.15.1.tgz", + "integrity": "sha512-XE96n56IQpJM7NAoXswY3XRLcWFW83xe0BiAOeMD7K5k5xecOeul3Qcpx6GqEeeHNkW5DWL5zOyTbEfB4eti8w==", + "license": "MIT" + } + } +} diff --git a/spring-angular-ui/package.json b/spring-angular-ui/package.json new file mode 100644 index 0000000..3c10bcb --- /dev/null +++ b/spring-angular-ui/package.json @@ -0,0 +1,48 @@ +{ + "name": "spring-angular-ui", + "version": "0.0.0", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "build_dev": "ng build --configuration development", + "watch": "ng build --watch --configuration development", + "test": "ng test" + }, + "private": true, + "dependencies": { + "@angular/animations": "^19.2.11", + "@angular/cdk": "^19.2.16", + "@angular/common": "^19.2.11", + "@angular/compiler": "^19.2.11", + "@angular/core": "^19.2.11", + "@angular/forms": "^19.2.11", + "@angular/material": "^19.2.16", + "@angular/platform-browser": "^19.2.11", + "@angular/platform-browser-dynamic": "^19.2.11", + "@angular/router": "^19.2.11", + "@ng-bootstrap/ng-bootstrap": "^17.0.0", + "@popperjs/core": "^2.11.8", + "bootstrap": "^5.3.3", + "jquery": "^3.7.1", + "popper.js": "^1.16.1", + "rxjs": "~7.8.0", + "tslib": "^2.3.0", + "zone.js": "~0.15.0" + }, + "devDependencies": { + "@angular-devkit/build-angular": "^19.2.12", + "@angular/cli": "^19.2.12", + "@angular/compiler-cli": "~19.2.11", + "@types/jasmine": "~3.6.0", + "@types/node": "^12.11.1", + "jasmine-core": "~3.7.0", + "karma": "~6.3.0", + "karma-chrome-launcher": "~3.1.0", + "karma-coverage": "~2.0.3", + "karma-jasmine": "~4.0.0", + "karma-jasmine-html-reporter": "^1.5.0", + "typescript": "~5.8.3", + "webpack": "^5.93.0" + } +} diff --git a/spring-angular-ui/src/app/_shared/event-bus.service.spec.ts b/spring-angular-ui/src/app/_shared/event-bus.service.spec.ts new file mode 100644 index 0000000..574fc89 --- /dev/null +++ b/spring-angular-ui/src/app/_shared/event-bus.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { EventBusService } from './event-bus.service'; + +describe('EventBusService', () => { + let service: EventBusService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(EventBusService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/_shared/event-bus.service.ts b/spring-angular-ui/src/app/_shared/event-bus.service.ts new file mode 100644 index 0000000..f95b6f6 --- /dev/null +++ b/spring-angular-ui/src/app/_shared/event-bus.service.ts @@ -0,0 +1,21 @@ +import { Injectable } from '@angular/core'; +import { Subject, Subscription } from 'rxjs'; +import { filter, map } from 'rxjs/operators'; +import { EventData } from './event.class'; + +@Injectable({ + providedIn: 'root', +}) +export class EventBusService { + private subject$ = new Subject(); + + emit(event: EventData) { + this.subject$.next(event); + } + + on(eventName: string, action: any): Subscription { + return this.subject$.pipe( + filter((e: EventData) => e.name === eventName), + map((e: EventData) => e["value"])).subscribe(action); + } +} diff --git a/spring-angular-ui/src/app/_shared/event.class.ts b/spring-angular-ui/src/app/_shared/event.class.ts new file mode 100644 index 0000000..488e84c --- /dev/null +++ b/spring-angular-ui/src/app/_shared/event.class.ts @@ -0,0 +1,9 @@ +export class EventData { + name: string; + value: any; + + constructor(name: string, value: any) { + this.name = name; + this.value = value; + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/app-routing.module.ts b/spring-angular-ui/src/app/app-routing.module.ts new file mode 100644 index 0000000..42b4761 --- /dev/null +++ b/spring-angular-ui/src/app/app-routing.module.ts @@ -0,0 +1,32 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; +import { TutorialsListComponent } from './components/tutorials-list/tutorials-list.component'; +import { TutorialDetailsComponent } from './components/tutorial-details/tutorial-details.component'; +import { AddTutorialComponent } from './components/add-tutorial/add-tutorial.component'; +import { BoardAdminComponent } from './components/board-admin/board-admin.component'; +import { BoardModeratorComponent } from './components/board-moderator/board-moderator.component'; +import { BoardUserComponent } from './components/board-user/board-user.component'; +import { ProfileComponent } from './components/profile/profile.component'; +import { RegisterComponent } from './components/register/register.component'; +import { LoginComponent } from './components/login/login.component'; +import { HomeComponent } from './components/home/home.component'; + +const routes: Routes = [ + { path: 'home', component: HomeComponent }, + { path: 'login', component: LoginComponent }, + { path: 'register', component: RegisterComponent }, + { path: 'profile', component: ProfileComponent }, + { path: 'user', component: BoardUserComponent }, + { path: 'mod', component: BoardModeratorComponent }, + { path: 'admin', component: BoardAdminComponent }, + { path: '', redirectTo: 'home', pathMatch: 'full' }, + { path: 'tutorials', component: TutorialsListComponent }, + { path: 'tutorials/:id', component: TutorialDetailsComponent }, + { path: 'add', component: AddTutorialComponent } +]; + +@NgModule({ + imports: [RouterModule.forRoot(routes, {useHash: true})], + exports: [RouterModule] +}) +export class AppRoutingModule { } \ No newline at end of file diff --git a/spring-angular-ui/src/app/app.component.html b/spring-angular-ui/src/app/app.component.html new file mode 100644 index 0000000..3b04f43 --- /dev/null +++ b/spring-angular-ui/src/app/app.component.html @@ -0,0 +1,79 @@ +
+ + + + + My App + + + + + + + + + + + + + +
+ +
+
diff --git a/spring-angular-ui/src/app/app.component.scss b/spring-angular-ui/src/app/app.component.scss new file mode 100644 index 0000000..71f33cb --- /dev/null +++ b/spring-angular-ui/src/app/app.component.scss @@ -0,0 +1,6 @@ +//#header_panel{ +// background-color: #181d1f; +//} +.example-spacer { + flex: 1 1 auto; +} diff --git a/spring-angular-ui/src/app/app.component.spec.ts b/spring-angular-ui/src/app/app.component.spec.ts new file mode 100644 index 0000000..98d898f --- /dev/null +++ b/spring-angular-ui/src/app/app.component.spec.ts @@ -0,0 +1,35 @@ +import { TestBed } from '@angular/core/testing'; +import { RouterTestingModule } from '@angular/router/testing'; +import { AppComponent } from './app.component'; + +describe('AppComponent', () => { + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [ + RouterTestingModule + ], + declarations: [ + AppComponent + ], + }).compileComponents(); + }); + + it('should create the app', () => { + const fixture = TestBed.createComponent(AppComponent); + const app = fixture.componentInstance; + expect(app).toBeTruthy(); + }); + + // it(`should have as title 'spring-angular-ui'`, () => { + // const fixture = TestBed.createComponent(AppComponent); + // const app = fixture.componentInstance; + // expect(app.title).toEqual('spring-angular-ui'); + // }); + + it('should render title', () => { + const fixture = TestBed.createComponent(AppComponent); + fixture.detectChanges(); + const compiled = fixture.nativeElement; + expect(compiled.querySelector('.content span').textContent).toContain('spring-angular-ui app is running!'); + }); +}); diff --git a/spring-angular-ui/src/app/app.component.ts b/spring-angular-ui/src/app/app.component.ts new file mode 100644 index 0000000..819c3b1 --- /dev/null +++ b/spring-angular-ui/src/app/app.component.ts @@ -0,0 +1,113 @@ +import {Component, inject, OnInit} from '@angular/core'; +import { TokenStorageService } from './services/token-storage.service'; +import {MatDialog} from "@angular/material/dialog"; +import {DialogComponent} from "./components/dialog/dialog.component"; +import {AuthService} from "./services/auth.service"; +import {Subscription} from "rxjs"; +import {EventBusService} from "./_shared/event-bus.service"; + +@Component({ + selector: 'app-root', + templateUrl: './app.component.html', + styleUrls: ['./app.component.scss'], + standalone: false +}) +export class AppComponent implements OnInit { + readonly dialog = inject(MatDialog); + //private authService = new AuthService(provideHttpClient()) + public dialogData : DialogData = {password: "", username: ""}; + + private roles: string[] = []; + isLoggedIn = false; + showAdminBoard = false; + showModeratorBoard = false; + username?: string; + + eventBusSub?: Subscription; + private errorMessage: any; + private isLoginFailed: boolean = false; + + constructor( + private storageService: TokenStorageService, + private authService: AuthService, + private eventBusService: EventBusService + ) {} + + ngOnInit(): void { + this.isLoggedIn = this.storageService.isLoggedIn(); + + if (this.isLoggedIn) { + const user = this.storageService.getUser(); + this.roles = user.roles; + + this.showAdminBoard = true;//this.roles.includes('ROLE_ADMIN'); + this.showModeratorBoard = this.roles.includes('ROLE_MODERATOR'); + + this.username = user.username; + } + + this.eventBusSub = this.eventBusService.on('logout', () => { + this.logout(); + }); + } + + logout(): void { + this.authService.logout().subscribe({ + next: res => { + console.log(res); + this.storageService.clean(); + + window.location.reload(); + }, + error: err => { + console.log(err); + } + }); + } + + openDialog(enterAnimationDuration: string, exitAnimationDuration: string) { + + let dialogRef = this.dialog.open(DialogComponent, { + width: '350px', + enterAnimationDuration, + exitAnimationDuration, + data: {username: this.dialogData.username, password: this.dialogData.password} + }); + + dialogRef.afterClosed().subscribe(result => { + console.log('The dialog was closed'); + if(result== null){ + return; + } + this.dialogData = result; + + this.authService.login(this.dialogData.username, this.dialogData.password).subscribe( + data => { + this.storageService.saveToken(data.accessToken); + this.storageService.saveUser(data); + + this.isLoginFailed = false; + this.isLoggedIn = true; + let user = this.storageService.getUser(); + this.roles = user.roles; + //this.username = user.username; + this.reloadPage(); + }, + err => { + this.errorMessage = err.error.message; + this.isLoginFailed = true; + } + ); + }); + + } + reloadPage(): void { + window.location.reload(); + } + +} +export interface DialogData { + username: string; + password: string; +} + diff --git a/spring-angular-ui/src/app/app.module.ts b/spring-angular-ui/src/app/app.module.ts new file mode 100644 index 0000000..fd99601 --- /dev/null +++ b/spring-angular-ui/src/app/app.module.ts @@ -0,0 +1,71 @@ +import { NgModule } from '@angular/core'; +import { BrowserModule } from '@angular/platform-browser'; + +import { AppRoutingModule } from './app-routing.module'; +import {FormsModule, ReactiveFormsModule} from '@angular/forms'; + + +import { AppComponent } from './app.component'; +import { TutorialsListComponent } from './components/tutorials-list/tutorials-list.component'; +import { TutorialDetailsComponent } from './components/tutorial-details/tutorial-details.component'; +import { AddTutorialComponent } from './components/add-tutorial/add-tutorial.component'; +import { LoginComponent } from './components/login/login.component'; +import { RegisterComponent } from './components/register/register.component'; +import { HomeComponent } from './components/home/home.component'; +import { ProfileComponent } from './components/profile/profile.component'; +import { BoardAdminComponent } from './components/board-admin/board-admin.component'; +import { BoardModeratorComponent } from './components/board-moderator/board-moderator.component'; +import { BoardUserComponent } from './components/board-user/board-user.component'; + +import { authInterceptorProviders } from './helpers/auth.interceptor'; +import {provideHttpClient, withInterceptorsFromDi} from "@angular/common/http"; +import {provideAnimationsAsync} from "@angular/platform-browser/animations/async"; +import {MatToolbar} from "@angular/material/toolbar"; +import {MatAnchor, MatButton} from "@angular/material/button"; +import {MatIcon} from "@angular/material/icon"; +import {MatChipGrid, MatChipInput, MatChipListbox, MatChipOption, MatChipRow} from "@angular/material/chips"; +import {MatAutocomplete, MatAutocompleteTrigger, MatOption} from "@angular/material/autocomplete"; +import {MatFormField} from "@angular/material/form-field"; + + + +@NgModule({ + declarations: [ + AppComponent, + TutorialsListComponent, + TutorialDetailsComponent, + AddTutorialComponent, + + RegisterComponent, + HomeComponent, + ProfileComponent, + BoardAdminComponent, + BoardModeratorComponent, + BoardUserComponent + + ], + bootstrap: [AppComponent], + imports: [ + BrowserModule, + AppRoutingModule, + FormsModule, + LoginComponent, + MatToolbar, + MatButton, + MatIcon, + MatAnchor, + MatChipGrid, + MatChipRow, + MatChipInput, + MatAutocompleteTrigger, + MatAutocomplete, + MatOption, + MatFormField, + MatChipListbox, + MatChipOption, + ReactiveFormsModule + ], + providers: [authInterceptorProviders, provideHttpClient(withInterceptorsFromDi()), provideAnimationsAsync()] }) + + +export class AppModule { } diff --git a/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.html b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.html new file mode 100644 index 0000000..bbdb7a3 --- /dev/null +++ b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.html @@ -0,0 +1,35 @@ +
+
+
+
+ + +
+ +
+ + +
+ + +
+ +
+

Tutorial was submitted successfully!

+ +
+
+
\ No newline at end of file diff --git a/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.scss b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.scss new file mode 100644 index 0000000..2824850 --- /dev/null +++ b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.scss @@ -0,0 +1,4 @@ +.submit-form { + max-width: 400px; + margin: auto; +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.spec.ts b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.spec.ts new file mode 100644 index 0000000..b6a07c8 --- /dev/null +++ b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AddTutorialComponent } from './add-tutorial.component'; + +describe('AddTutorialComponent', () => { + let component: AddTutorialComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ AddTutorialComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(AddTutorialComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.ts b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.ts new file mode 100644 index 0000000..49a057e --- /dev/null +++ b/spring-angular-ui/src/app/components/add-tutorial/add-tutorial.component.ts @@ -0,0 +1,50 @@ +import { Component, OnInit } from '@angular/core'; +import { Tutorial } from 'src/app/models/tutorial.model'; +import { TutorialService } from 'src/app/services/tutorial.service'; + +@Component({ + selector: 'app-add-tutorial', + templateUrl: './add-tutorial.component.html', + styleUrls: ['./add-tutorial.component.scss'], + standalone: false +}) +export class AddTutorialComponent implements OnInit { + + tutorial: Tutorial = { + title: '', + description: '', + published: false + }; + submitted = false; + + constructor(private tutorialService: TutorialService) { } + + ngOnInit(): void { + } + + saveTutorial(): void { + const data = { + title: this.tutorial.title, + description: this.tutorial.description + }; + + this.tutorialService.create(data) + .subscribe( + response => { + console.log(response); + this.submitted = true; + }, + error => { + console.log(error); + }); + } + + newTutorial(): void { + this.submitted = false; + this.tutorial = { + title: '', + description: '', + published: false + }; + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/board-admin/board-admin.component.html b/spring-angular-ui/src/app/components/board-admin/board-admin.component.html new file mode 100644 index 0000000..c986337 --- /dev/null +++ b/spring-angular-ui/src/app/components/board-admin/board-admin.component.html @@ -0,0 +1,51 @@ +
+

Users List

+
    +
  • + {{ row.username }} + + {{ row.email}} + {{ row.password}} + +
    + + + @for (role of row.roles; track $index) { + + {{role.name}} + + + } + + + + @for (role of filteredRoles(row.roles); track role) { + {{role.name}} + } + + + +
    +
  • + +
+ +
+ diff --git a/spring-angular-ui/src/app/components/board-admin/board-admin.component.scss b/spring-angular-ui/src/app/components/board-admin/board-admin.component.scss new file mode 100644 index 0000000..fecda9c --- /dev/null +++ b/spring-angular-ui/src/app/components/board-admin/board-admin.component.scss @@ -0,0 +1,3 @@ +.example-chip-list { + width: 100%; +} diff --git a/spring-angular-ui/src/app/components/board-admin/board-admin.component.spec.ts b/spring-angular-ui/src/app/components/board-admin/board-admin.component.spec.ts new file mode 100644 index 0000000..ebd5d54 --- /dev/null +++ b/spring-angular-ui/src/app/components/board-admin/board-admin.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BoardAdminComponent } from './board-admin.component'; + +describe('BoardAdminComponent', () => { + let component: BoardAdminComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BoardAdminComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BoardAdminComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/board-admin/board-admin.component.ts b/spring-angular-ui/src/app/components/board-admin/board-admin.component.ts new file mode 100644 index 0000000..735ee56 --- /dev/null +++ b/spring-angular-ui/src/app/components/board-admin/board-admin.component.ts @@ -0,0 +1,124 @@ +import {Component, computed, model, OnInit} from '@angular/core'; +import { UserService } from 'src/app/services/user.service'; + +import {RolesService} from "src/app/services/roles.service"; +import { Role } from 'src/app/models/role'; +import {User} from "../../models/user.model"; +import {MatChipInputEvent} from "@angular/material/chips"; +import {MatAutocompleteSelectedEvent} from "@angular/material/autocomplete"; +import {COMMA, ENTER} from "@angular/cdk/keycodes"; +import {AsyncPipe} from "@angular/common"; +import {FormControl} from "@angular/forms"; +import {Observable, startWith} from "rxjs"; +import {map} from "rxjs/operators"; + + + +@Component({ + selector: 'app-board-admin', + templateUrl: './board-admin.component.html', + styleUrls: ['./board-admin.component.scss'], + standalone: false, + +}) +export class BoardAdminComponent implements OnInit { + private gridApi: any; + + readonly separatorKeysCodes: number[] = [ENTER, COMMA]; + rowData?: User[]; + allRoles: any; + + readonly currentRole = model(''); + + protected myControl = new FormControl(''); + protected ac = new FormControl(''); + + + constructor(private userService: UserService, private roleService: RolesService ) { + this.getAllRoles(); + } + + ngOnInit(): void { + + //this.myControl.valueChanges.pipe( + // startWith(''), + // map(value => this._filter(value || '')), + //); + + this.userService.getAdminBoard().subscribe( + (data : any) => { + this.rowData = data; + }, + (err : any)=> { + this.rowData = JSON.parse(err.error).message; + } + + ); + } + + filteredRoles(roles : Role[]):any { + return this.allRoles.filter( + (r:Role) => !roles.some((item) => item.id === r.id), + ); + + } + + // private _filter(value: string): string[] { + // const filterValue = value.toLowerCase(); + // this.ac. + // return this.options.filter(option => option.toLowerCase().includes(filterValue)); + //} + + getAllRoles():any{ + this.roleService.getAllRoles().subscribe( + (data : any) => { + this.allRoles = data; + }, + (err : any)=> { + this.allRoles = JSON.parse(err.error).message; + } + ); + } + + remove(role: string): void { + // this.fruits.update(fruits => { + // const index = fruits.indexOf(fruit); + // if (index < 0) { + // return fruits; + // } + + // fruits.splice(index, 1); + // this.announcer.announce(`Removed ${fruit}`); + // return [...fruits]; + + } + + + + add(event: MatChipInputEvent): void { + const value = (event.value || '').trim(); + + // Add our fruit + if (value) { + // this.fruits.update(fruits => [...fruits, value]); + } + + // Clear the input value + this.currentRole.set(''); + } + + selected(roles : Role[], event: MatAutocompleteSelectedEvent): void { + + roles.push(event.option.value); + this.currentRole.set(''); + event.option.deselect(); + } + + + change($event: Event, roles: Role[]) { + + roles.filter( + (r:Role) => !roles.some((item) => item.name?.toLowerCase() === r.id), + ) + } +} diff --git a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.html b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.html new file mode 100644 index 0000000..16287a2 --- /dev/null +++ b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.html @@ -0,0 +1 @@ +

board-moderator works!

diff --git a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.scss b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.spec.ts b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.spec.ts new file mode 100644 index 0000000..dff7faa --- /dev/null +++ b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BoardModeratorComponent } from './board-moderator.component'; + +describe('BoardModeratorComponent', () => { + let component: BoardModeratorComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BoardModeratorComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BoardModeratorComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.ts b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.ts new file mode 100644 index 0000000..daad28f --- /dev/null +++ b/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.ts @@ -0,0 +1,16 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-board-moderator', + templateUrl: './board-moderator.component.html', + styleUrls: ['./board-moderator.component.scss'], + standalone: false +}) +export class BoardModeratorComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/spring-angular-ui/src/app/components/board-user/board-user.component.html b/spring-angular-ui/src/app/components/board-user/board-user.component.html new file mode 100644 index 0000000..76c5fa7 --- /dev/null +++ b/spring-angular-ui/src/app/components/board-user/board-user.component.html @@ -0,0 +1 @@ +

board-user works!

diff --git a/spring-angular-ui/src/app/components/board-user/board-user.component.scss b/spring-angular-ui/src/app/components/board-user/board-user.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/spring-angular-ui/src/app/components/board-user/board-user.component.spec.ts b/spring-angular-ui/src/app/components/board-user/board-user.component.spec.ts new file mode 100644 index 0000000..23555bb --- /dev/null +++ b/spring-angular-ui/src/app/components/board-user/board-user.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { BoardUserComponent } from './board-user.component'; + +describe('BoardUserComponent', () => { + let component: BoardUserComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ BoardUserComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(BoardUserComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/board-user/board-user.component.ts b/spring-angular-ui/src/app/components/board-user/board-user.component.ts new file mode 100644 index 0000000..487eddf --- /dev/null +++ b/spring-angular-ui/src/app/components/board-user/board-user.component.ts @@ -0,0 +1,16 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-board-user', + templateUrl: './board-user.component.html', + styleUrls: ['./board-user.component.scss'], + standalone: false +}) +export class BoardUserComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/spring-angular-ui/src/app/components/dialog/dialog.component.html b/spring-angular-ui/src/app/components/dialog/dialog.component.html new file mode 100644 index 0000000..9464edd --- /dev/null +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.html @@ -0,0 +1,29 @@ +

Hi

+
+

User name

+ + + +

Password

+ + Enter your password + + + +
+ +
+ + +
diff --git a/spring-angular-ui/src/app/components/dialog/dialog.component.scss b/spring-angular-ui/src/app/components/dialog/dialog.component.scss new file mode 100644 index 0000000..292c1b2 --- /dev/null +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.scss @@ -0,0 +1,4 @@ + +.fillField{ + width: 100%; +}; diff --git a/spring-angular-ui/src/app/components/dialog/dialog.component.spec.ts b/spring-angular-ui/src/app/components/dialog/dialog.component.spec.ts new file mode 100644 index 0000000..8fd87c4 --- /dev/null +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DialogComponent } from './dialog.component'; + +describe('DialogComponent', () => { + let component: DialogComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [DialogComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(DialogComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/dialog/dialog.component.ts b/spring-angular-ui/src/app/components/dialog/dialog.component.ts new file mode 100644 index 0000000..ae8be84 --- /dev/null +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.ts @@ -0,0 +1,47 @@ +import {ChangeDetectionStrategy, Component, Inject, inject, signal} from '@angular/core'; +import {MatButtonModule} from "@angular/material/button"; +import { + MAT_DIALOG_DATA, + MatDialogActions, + MatDialogClose, + MatDialogContent, + MatDialogRef, + MatDialogTitle +} from "@angular/material/dialog"; + + +import {MatFormField, MatLabel, MatSuffix} from "@angular/material/form-field"; +import {MatInput} from "@angular/material/input"; +import {FormsModule} from "@angular/forms"; +import {MatIcon} from "@angular/material/icon"; +import {DialogData} from "../../app.component"; + + + +@Component({ + selector: 'app-dialog', + imports: [MatButtonModule, MatLabel, MatDialogActions, MatDialogClose, MatDialogTitle, MatDialogContent, MatFormField, MatInput, FormsModule, MatIcon, MatSuffix], + changeDetection: ChangeDetectionStrategy.OnPush, + templateUrl: './dialog.component.html', + styleUrl: './dialog.component.scss' +}) +export class DialogComponent { + readonly dialogRef = inject(MatDialogRef); + hide = signal(true); + + constructor( + @Inject(MAT_DIALOG_DATA) public data:DialogData) {} + + onNoClick() { + this.dialogRef.close(); + } + + + clickEvent(event: MouseEvent) { + this.hide.set(!this.hide()); + event.stopPropagation(); + } +} + + + diff --git a/spring-angular-ui/src/app/components/home/home.component.html b/spring-angular-ui/src/app/components/home/home.component.html new file mode 100644 index 0000000..df77501 --- /dev/null +++ b/spring-angular-ui/src/app/components/home/home.component.html @@ -0,0 +1,5 @@ +
+
+

{{ content }}

+
+
\ No newline at end of file diff --git a/spring-angular-ui/src/app/components/home/home.component.scss b/spring-angular-ui/src/app/components/home/home.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/spring-angular-ui/src/app/components/home/home.component.spec.ts b/spring-angular-ui/src/app/components/home/home.component.spec.ts new file mode 100644 index 0000000..2c5a172 --- /dev/null +++ b/spring-angular-ui/src/app/components/home/home.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HomeComponent } from './home.component'; + +describe('HomeComponent', () => { + let component: HomeComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ HomeComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(HomeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/home/home.component.ts b/spring-angular-ui/src/app/components/home/home.component.ts new file mode 100644 index 0000000..b428615 --- /dev/null +++ b/spring-angular-ui/src/app/components/home/home.component.ts @@ -0,0 +1,25 @@ +import { Component, OnInit } from '@angular/core'; +import { UserService } from 'src/app/services/user.service'; + +@Component({ + selector: 'app-home', + templateUrl: './home.component.html', + styleUrls: ['./home.component.scss'], + standalone: false +}) +export class HomeComponent implements OnInit { + content?: string; + + constructor(private userService: UserService) { } + + ngOnInit(): void { + // this.userService.getPublicContent().subscribe( + // (data : any) => { + // this.content = data; + // }, + // (err : any) => { + // this.content = JSON.parse(err.error).message; + // } + // ); + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/login/login.component.html b/spring-angular-ui/src/app/components/login/login.component.html new file mode 100644 index 0000000..94b4e7b --- /dev/null +++ b/spring-angular-ui/src/app/components/login/login.component.html @@ -0,0 +1,75 @@ +
+
+ +
+
+ + + +
+
+ + + +
+
+ +
+
+ +
+
+ +
+ Logged in as {{ roles }}. +
+
+
diff --git a/spring-angular-ui/src/app/components/login/login.component.scss b/spring-angular-ui/src/app/components/login/login.component.scss new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/spring-angular-ui/src/app/components/login/login.component.scss @@ -0,0 +1 @@ + diff --git a/spring-angular-ui/src/app/components/login/login.component.spec.ts b/spring-angular-ui/src/app/components/login/login.component.spec.ts new file mode 100644 index 0000000..d2c0e6c --- /dev/null +++ b/spring-angular-ui/src/app/components/login/login.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LoginComponent } from './login.component'; + +describe('LoginComponent', () => { + let component: LoginComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ LoginComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(LoginComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/login/login.component.ts b/spring-angular-ui/src/app/components/login/login.component.ts new file mode 100644 index 0000000..f228778 --- /dev/null +++ b/spring-angular-ui/src/app/components/login/login.component.ts @@ -0,0 +1,59 @@ +import { Component, OnInit } from '@angular/core'; +import { AuthService } from 'src/app/services/auth.service'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; +import {FormsModule} from "@angular/forms"; +import {NgIf} from "@angular/common"; + +@Component({ + selector: 'app-login', + templateUrl: './login.component.html', + imports: [ + FormsModule, + NgIf + ], + styleUrls: ['./login.component.scss'] +}) +export class LoginComponent implements OnInit { + + form: any = { + username: null, + password: null + }; + isLoggedIn = false; + isLoginFailed = false; + errorMessage = ''; + roles: string[] = []; + + constructor(private authService: AuthService, private tokenStorage: TokenStorageService) { } + + ngOnInit(): void { + if (this.tokenStorage.getToken()) { + this.isLoggedIn = true; + this.roles = this.tokenStorage.getUser().roles; + } + } + + onSubmit(): void { + const { username, password } = this.form; + + this.authService.login(username, password).subscribe( + data => { + this.tokenStorage.saveToken(data.accessToken); + this.tokenStorage.saveUser(data); + + this.isLoginFailed = false; + this.isLoggedIn = true; + this.roles = this.tokenStorage.getUser().roles; + this.reloadPage(); + }, + err => { + this.errorMessage = err.error.message; + this.isLoginFailed = true; + } + ); + } + + reloadPage(): void { + window.location.reload(); + } +} diff --git a/spring-angular-ui/src/app/components/profile/profile.component.html b/spring-angular-ui/src/app/components/profile/profile.component.html new file mode 100644 index 0000000..d6c4144 --- /dev/null +++ b/spring-angular-ui/src/app/components/profile/profile.component.html @@ -0,0 +1,26 @@ +
+
+

+ {{ currentUser.username }} Profile +

+
+

+ Token: + {{ currentUser.accessToken.substring(0, 20) }} ... + {{ currentUser.accessToken.substr(currentUser.accessToken.length - 20) }} +

+

+ Email: + {{ currentUser.email }} +

+ Roles: +
    +
  • + {{ role }} +
  • +
+
+ + + Please login. + \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/profile/profile.component.scss b/spring-angular-ui/src/app/components/profile/profile.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/spring-angular-ui/src/app/components/profile/profile.component.spec.ts b/spring-angular-ui/src/app/components/profile/profile.component.spec.ts new file mode 100644 index 0000000..e88012e --- /dev/null +++ b/spring-angular-ui/src/app/components/profile/profile.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ProfileComponent } from './profile.component'; + +describe('ProfileComponent', () => { + let component: ProfileComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ ProfileComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(ProfileComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/profile/profile.component.ts b/spring-angular-ui/src/app/components/profile/profile.component.ts new file mode 100644 index 0000000..3afee3a --- /dev/null +++ b/spring-angular-ui/src/app/components/profile/profile.component.ts @@ -0,0 +1,18 @@ +import { Component, OnInit } from '@angular/core'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; + +@Component({ + selector: 'app-profile', + templateUrl: './profile.component.html', + styleUrls: ['./profile.component.scss'], + standalone: false +}) +export class ProfileComponent implements OnInit { + currentUser: any; + + constructor(private token: TokenStorageService) { } + + ngOnInit(): void { + this.currentUser = this.token.getUser(); + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/register/register.component.html b/spring-angular-ui/src/app/components/register/register.component.html new file mode 100644 index 0000000..fae4055 --- /dev/null +++ b/spring-angular-ui/src/app/components/register/register.component.html @@ -0,0 +1,89 @@ +
+
+ +
+
+ + +
+
Username is required
+
+ Username must be at least 3 characters +
+
+ Username must be at most 20 characters +
+
+
+
+ + +
+
Email is required
+
+ Email must be a valid email address +
+
+
+
+ + +
+
Password is required
+
+ Password must be at least 6 characters +
+
+
+
+ +
+ +
+ Signup failed!
{{ errorMessage }} +
+
+ +
+ Your registration is successful! +
+
+
diff --git a/spring-angular-ui/src/app/components/register/register.component.scss b/spring-angular-ui/src/app/components/register/register.component.scss new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/spring-angular-ui/src/app/components/register/register.component.scss @@ -0,0 +1 @@ + diff --git a/spring-angular-ui/src/app/components/register/register.component.spec.ts b/spring-angular-ui/src/app/components/register/register.component.spec.ts new file mode 100644 index 0000000..f6db869 --- /dev/null +++ b/spring-angular-ui/src/app/components/register/register.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { RegisterComponent } from './register.component'; + +describe('RegisterComponent', () => { + let component: RegisterComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ RegisterComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(RegisterComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/register/register.component.ts b/spring-angular-ui/src/app/components/register/register.component.ts new file mode 100644 index 0000000..b509035 --- /dev/null +++ b/spring-angular-ui/src/app/components/register/register.component.ts @@ -0,0 +1,40 @@ +import { Component, OnInit } from '@angular/core'; +import { AuthService } from 'src/app/services/auth.service'; + +@Component({ + selector: 'app-register', + templateUrl: './register.component.html', + styleUrls: ['./register.component.scss'], + standalone: false +}) +export class RegisterComponent implements OnInit { + form: any = { + username: null, + email: null, + password: null + }; + isSuccessful = false; + isSignUpFailed = false; + errorMessage = ''; + + constructor(private authService: AuthService) { } + + ngOnInit(): void { + } + + onSubmit(): void { + const { username, email, password } = this.form; + + this.authService.register(username, email, password).subscribe( + data => { + console.log(data); + this.isSuccessful = true; + this.isSignUpFailed = false; + }, + err => { + this.errorMessage = err.error.message; + this.isSignUpFailed = true; + } + ); + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.html b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.html new file mode 100644 index 0000000..ef9cf6b --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.html @@ -0,0 +1,65 @@ +
+
+

Tutorial

+
+
+ + +
+
+ + +
+ +
+ + {{ currentTutorial.published ? "Published" : "Pending" }} +
+
+ + + + + + + +

{{ message }}

+
+ +
+
+

Cannot access this Tutorial...

+
+
\ No newline at end of file diff --git a/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.scss b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.scss new file mode 100644 index 0000000..0f56416 --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.scss @@ -0,0 +1,4 @@ +.edit-form { + max-width: 400px; + margin: auto; +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.spec.ts b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.spec.ts new file mode 100644 index 0000000..7bc4afd --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TutorialDetailsComponent } from './tutorial-details.component'; + +describe('TutorialDetailsComponent', () => { + let component: TutorialDetailsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ TutorialDetailsComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(TutorialDetailsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.ts b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.ts new file mode 100644 index 0000000..dc54456 --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorial-details/tutorial-details.component.ts @@ -0,0 +1,89 @@ +import { Component, OnInit } from '@angular/core'; +import { TutorialService } from 'src/app/services/tutorial.service'; +import { ActivatedRoute, Router } from '@angular/router'; +import { Tutorial } from 'src/app/models/tutorial.model'; + +@Component({ + selector: 'app-tutorial-details', + templateUrl: './tutorial-details.component.html', + styleUrls: ['./tutorial-details.component.scss'], + standalone: false +}) +export class TutorialDetailsComponent implements OnInit { + + currentTutorial: Tutorial = { + title: '', + description: '', + published: false + }; + message = ''; + + constructor( + private tutorialService: TutorialService, + private route: ActivatedRoute, + private router: Router) { } + + ngOnInit(): void { + this.message = ''; + this.getTutorial(this.route.snapshot.params.id); + } + + getTutorial(id: string): void { + this.tutorialService.get(id) + .subscribe( + data => { + this.currentTutorial = data; + console.log(data); + }, + error => { + console.log(error); + }); + } + + updatePublished(status: boolean): void { + const data = { + title: this.currentTutorial.title, + description: this.currentTutorial.description, + published: status + }; + + this.message = ''; + + this.tutorialService.update(this.currentTutorial.id, data) + .subscribe( + response => { + this.currentTutorial.published = status; + console.log(response); + this.message = response.message ? response.message : 'The status was updated successfully!'; + }, + error => { + console.log(error); + }); + } + + updateTutorial(): void { + this.message = ''; + + this.tutorialService.update(this.currentTutorial.id, this.currentTutorial) + .subscribe( + response => { + console.log(response); + this.message = response.message ? response.message : 'This tutorial was updated successfully!'; + }, + error => { + console.log(error); + }); + } + + deleteTutorial(): void { + this.tutorialService.delete(this.currentTutorial.id) + .subscribe( + response => { + console.log(response); + this.router.navigate(['/tutorials']); + }, + error => { + console.log(error); + }); + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.html b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.html new file mode 100644 index 0000000..a83a76a --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.html @@ -0,0 +1,63 @@ +
+
+
+ +
+ +
+
+
+
+

Tutorials List

+
    +
  • + {{ tutorial.title }} +
  • +
+ + +
+
+
+

Tutorial

+
+ {{ currentTutorial.title }} +
+
+ + {{ currentTutorial.description }} +
+
+ + {{ currentTutorial.published ? "Published" : "Pending" }} +
+ + + Edit + +
+ +
+
+

Please click on a Tutorial...

+
+
+
\ No newline at end of file diff --git a/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.scss b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.scss new file mode 100644 index 0000000..eace3fb --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.scss @@ -0,0 +1,5 @@ +.list { + text-align: left; + max-width: 750px; + margin: auto; +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.spec.ts b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.spec.ts new file mode 100644 index 0000000..a757a41 --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TutorialsListComponent } from './tutorials-list.component'; + +describe('TutorialsListComponent', () => { + let component: TutorialsListComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ TutorialsListComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(TutorialsListComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.ts b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.ts new file mode 100644 index 0000000..97be787 --- /dev/null +++ b/spring-angular-ui/src/app/components/tutorials-list/tutorials-list.component.ts @@ -0,0 +1,73 @@ +import { Component, OnInit } from '@angular/core'; +import { Tutorial } from 'src/app/models/tutorial.model'; +import { TutorialService } from 'src/app/services/tutorial.service'; + +@Component({ + selector: 'app-tutorials-list', + templateUrl: './tutorials-list.component.html', + styleUrls: ['./tutorials-list.component.scss'], + standalone: false +}) +export class TutorialsListComponent implements OnInit { + + tutorials?: Tutorial[]; + currentTutorial: Tutorial = {}; + currentIndex = -1; + title = ''; + + constructor(private tutorialService: TutorialService) { } + + ngOnInit(): void { + this.retrieveTutorials(); + } + + retrieveTutorials(): void { + this.tutorialService.getAll() + .subscribe( + data => { + this.tutorials = data; + console.log(data); + }, + error => { + console.log(error); + }); + } + + refreshList(): void { + this.retrieveTutorials(); + this.currentTutorial = {}; + this.currentIndex = -1; + } + + setActiveTutorial(tutorial: Tutorial, index: number): void { + this.currentTutorial = tutorial; + this.currentIndex = index; + } + + removeAllTutorials(): void { + this.tutorialService.deleteAll() + .subscribe( + response => { + console.log(response); + this.refreshList(); + }, + error => { + console.log(error); + }); + } + + searchTitle(): void { + this.currentTutorial = {}; + this.currentIndex = -1; + + this.tutorialService.findByTitle(this.title) + .subscribe( + data => { + this.tutorials = data; + console.log(data); + }, + error => { + console.log(error); + }); + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/helpers/auth.interceptor.ts b/spring-angular-ui/src/app/helpers/auth.interceptor.ts new file mode 100644 index 0000000..47204e7 --- /dev/null +++ b/spring-angular-ui/src/app/helpers/auth.interceptor.ts @@ -0,0 +1,26 @@ +import { HTTP_INTERCEPTORS, HttpEvent } from '@angular/common/http'; +import { Injectable } from '@angular/core'; +import { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http'; + +import { TokenStorageService } from '../services/token-storage.service'; +import { Observable } from 'rxjs'; + +const TOKEN_HEADER_KEY = 'Authorization'; // for Spring Boot back-end + +@Injectable() +export class AuthInterceptor implements HttpInterceptor { + constructor(private token: TokenStorageService) { } + + intercept(req: HttpRequest, next: HttpHandler): Observable> { + let authReq = req; + const token = this.token.getToken(); + if (token != null) { + authReq = req.clone({ headers: req.headers.set(TOKEN_HEADER_KEY, 'Bearer ' + token) }); + } + return next.handle(authReq); + } +} + +export const authInterceptorProviders = [ + { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true } +]; \ No newline at end of file diff --git a/spring-angular-ui/src/app/models/role.spec.ts b/spring-angular-ui/src/app/models/role.spec.ts new file mode 100644 index 0000000..fc63902 --- /dev/null +++ b/spring-angular-ui/src/app/models/role.spec.ts @@ -0,0 +1,7 @@ +import { Role } from './role'; + +describe('Role', () => { + it('should create an instance', () => { + expect(new Role()).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/models/role.ts b/spring-angular-ui/src/app/models/role.ts new file mode 100644 index 0000000..be13639 --- /dev/null +++ b/spring-angular-ui/src/app/models/role.ts @@ -0,0 +1,4 @@ +export class Role { + id?:any; + name?:string; +} diff --git a/spring-angular-ui/src/app/models/setting.ts b/spring-angular-ui/src/app/models/setting.ts new file mode 100644 index 0000000..d26db99 --- /dev/null +++ b/spring-angular-ui/src/app/models/setting.ts @@ -0,0 +1,5 @@ +export class Setting { + id?:any; + name?:string; + value?:boolean; +} diff --git a/spring-angular-ui/src/app/models/tutorial.model.spec.ts b/spring-angular-ui/src/app/models/tutorial.model.spec.ts new file mode 100644 index 0000000..2250024 --- /dev/null +++ b/spring-angular-ui/src/app/models/tutorial.model.spec.ts @@ -0,0 +1,7 @@ +import { Tutorial } from './tutorial.model'; + +describe('Tutorial', () => { + it('should create an instance', () => { + expect(new Tutorial()).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/models/tutorial.model.ts b/spring-angular-ui/src/app/models/tutorial.model.ts new file mode 100644 index 0000000..66c6ce3 --- /dev/null +++ b/spring-angular-ui/src/app/models/tutorial.model.ts @@ -0,0 +1,6 @@ +export class Tutorial { + id?: any; + title?: string; + description?: string; + published?: boolean; +} diff --git a/spring-angular-ui/src/app/models/user.model.spec.ts b/spring-angular-ui/src/app/models/user.model.spec.ts new file mode 100644 index 0000000..b98cb7e --- /dev/null +++ b/spring-angular-ui/src/app/models/user.model.spec.ts @@ -0,0 +1,7 @@ +import { User } from './user.model'; + +describe('User', () => { + it('should create an instance', () => { + expect(new User()).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/models/user.model.ts b/spring-angular-ui/src/app/models/user.model.ts new file mode 100644 index 0000000..86a49db --- /dev/null +++ b/spring-angular-ui/src/app/models/user.model.ts @@ -0,0 +1,7 @@ +export class User { + id?:any; + username?:string; + email?:string; + password?:string; + roles?:any; +} diff --git a/spring-angular-ui/src/app/services/auth.service.spec.ts b/spring-angular-ui/src/app/services/auth.service.spec.ts new file mode 100644 index 0000000..f1251ca --- /dev/null +++ b/spring-angular-ui/src/app/services/auth.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { AuthService } from './auth.service'; + +describe('AuthService', () => { + let service: AuthService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(AuthService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/services/auth.service.ts b/spring-angular-ui/src/app/services/auth.service.ts new file mode 100644 index 0000000..e02cd4a --- /dev/null +++ b/spring-angular-ui/src/app/services/auth.service.ts @@ -0,0 +1,35 @@ +import { Injectable } from '@angular/core'; +import { HttpClient, HttpHeaders } from '@angular/common/http'; +import { Observable } from 'rxjs'; + +const AUTH_API = 'http://localhost:8080/api/auth/'; + +const httpOptions = { + headers: new HttpHeaders({ 'Content-Type': 'application/json' }) +}; + +@Injectable({ + providedIn: 'root' +}) +export class AuthService { + constructor(private http: HttpClient) { } + + login(username: string, password: string): Observable { + return this.http.post(AUTH_API + 'signin', { + username, + password + }, httpOptions); + } + + register(username: string, email: string, password: string): Observable { + return this.http.post(AUTH_API + 'signup', { + username, + email, + password + }, httpOptions); + } + + logout(): Observable { + return this.http.post(AUTH_API + 'signout', { }, httpOptions); + } +} diff --git a/spring-angular-ui/src/app/services/roles.service.spec.ts b/spring-angular-ui/src/app/services/roles.service.spec.ts new file mode 100644 index 0000000..dc23ee7 --- /dev/null +++ b/spring-angular-ui/src/app/services/roles.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { RolesService } from './roles.service'; + +describe('RolesService', () => { + let service: RolesService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(RolesService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/services/roles.service.ts b/spring-angular-ui/src/app/services/roles.service.ts new file mode 100644 index 0000000..dbee6f9 --- /dev/null +++ b/spring-angular-ui/src/app/services/roles.service.ts @@ -0,0 +1,20 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import { Observable } from 'rxjs'; +import { Role } from '../models/role'; + +const API_URL = 'http://localhost:8080/api/roles'; + + +@Injectable({ + providedIn: 'root' +}) +export class RolesService { + + constructor(private http: HttpClient) {} + + getAllRoles(): Observable { + return this.http.get(API_URL); + } + +} diff --git a/spring-angular-ui/src/app/services/token-storage.service.spec.ts b/spring-angular-ui/src/app/services/token-storage.service.spec.ts new file mode 100644 index 0000000..f2b1cd7 --- /dev/null +++ b/spring-angular-ui/src/app/services/token-storage.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { TokenStorageService } from './token-storage.service'; + +describe('TokenStorageService', () => { + let service: TokenStorageService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(TokenStorageService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/services/token-storage.service.ts b/spring-angular-ui/src/app/services/token-storage.service.ts new file mode 100644 index 0000000..67fa073 --- /dev/null +++ b/spring-angular-ui/src/app/services/token-storage.service.ts @@ -0,0 +1,51 @@ +import { Injectable } from '@angular/core'; + +const TOKEN_KEY = 'auth-token'; +const USER_KEY = 'auth-user'; + +@Injectable({ + providedIn: 'root' +}) +export class TokenStorageService { + constructor() { } + + signOut(): void { + window.sessionStorage.clear(); + } + + public saveToken(token: string): void { + window.sessionStorage.removeItem(TOKEN_KEY); + window.sessionStorage.setItem(TOKEN_KEY, token); + } + + public getToken(): string | null { + return window.sessionStorage.getItem(TOKEN_KEY); + } + + public saveUser(user: any): void { + window.sessionStorage.removeItem(USER_KEY); + window.sessionStorage.setItem(USER_KEY, JSON.stringify(user)); + } + + public getUser(): any { + const user = window.sessionStorage.getItem(USER_KEY); + if (user) { + return JSON.parse(user); + } + + return {}; + } + + clean(): void { + window.sessionStorage.clear(); + } + + public isLoggedIn(): boolean { + const user = window.sessionStorage.getItem(USER_KEY); + if (user) { + return true; + } + + return false; + } +} diff --git a/spring-angular-ui/src/app/services/tutorial.service.spec.ts b/spring-angular-ui/src/app/services/tutorial.service.spec.ts new file mode 100644 index 0000000..2a5e71f --- /dev/null +++ b/spring-angular-ui/src/app/services/tutorial.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { TutorialService } from './tutorial.service'; + +describe('TutorialService', () => { + let service: TutorialService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(TutorialService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/services/tutorial.service.ts b/spring-angular-ui/src/app/services/tutorial.service.ts new file mode 100644 index 0000000..adbf3e4 --- /dev/null +++ b/spring-angular-ui/src/app/services/tutorial.service.ts @@ -0,0 +1,42 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import { Observable } from 'rxjs'; +import { Tutorial } from '../models/tutorial.model'; + +const baseUrl = 'http://localhost:8080/api/tutorials'; + +@Injectable({ + providedIn: 'root' +}) +export class TutorialService { + + constructor(private http: HttpClient) { } + + getAll(): Observable { + return this.http.get(baseUrl); + } + + get(id: any): Observable { + return this.http.get(`${baseUrl}/${id}`); + } + + create(data: any): Observable { + return this.http.post(baseUrl, data); + } + + update(id: any, data: any): Observable { + return this.http.put(`${baseUrl}/${id}`, data); + } + + delete(id: any): Observable { + return this.http.delete(`${baseUrl}/${id}`); + } + + deleteAll(): Observable { + return this.http.delete(baseUrl); + } + + findByTitle(title: any): Observable { + return this.http.get(`${baseUrl}?title=${title}`); + } +} \ No newline at end of file diff --git a/spring-angular-ui/src/app/services/user.service.spec.ts b/spring-angular-ui/src/app/services/user.service.spec.ts new file mode 100644 index 0000000..3f804c9 --- /dev/null +++ b/spring-angular-ui/src/app/services/user.service.spec.ts @@ -0,0 +1,16 @@ +import { TestBed } from '@angular/core/testing'; + +import { UserService } from './user.service'; + +describe('UserService', () => { + let service: UserService; + + beforeEach(() => { + TestBed.configureTestingModule({}); + service = TestBed.inject(UserService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); diff --git a/spring-angular-ui/src/app/services/user.service.ts b/spring-angular-ui/src/app/services/user.service.ts new file mode 100644 index 0000000..21d6fa1 --- /dev/null +++ b/spring-angular-ui/src/app/services/user.service.ts @@ -0,0 +1,31 @@ +import { Injectable } from '@angular/core'; +import { HttpClient } from '@angular/common/http'; +import { Observable } from 'rxjs'; +import {User} from "../models/user.model"; +import {Tutorial} from "../models/tutorial.model"; + +const API_URL = 'http://localhost:8080/api/users'; + +@Injectable({ + providedIn: 'root' +}) +export class UserService { + constructor(private http: HttpClient) { } + + getPublicContent(): Observable { + return this.http.get(API_URL + '/all', { responseType: 'text' }); + } + + getUserBoard(): Observable { + return this.http.get(API_URL + '/user', { responseType: 'text' }); + } + + getModeratorBoard(): Observable { + return this.http.get(API_URL + '/mod', { responseType: 'text' }); + } + + getAdminBoard(): Observable { + return this.http.get(API_URL); + } +} + diff --git a/spring-angular-ui/src/assets/.gitkeep b/spring-angular-ui/src/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/spring-angular-ui/src/environments/environment.prod.ts b/spring-angular-ui/src/environments/environment.prod.ts new file mode 100644 index 0000000..3612073 --- /dev/null +++ b/spring-angular-ui/src/environments/environment.prod.ts @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/spring-angular-ui/src/environments/environment.ts b/spring-angular-ui/src/environments/environment.ts new file mode 100644 index 0000000..f56ff47 --- /dev/null +++ b/spring-angular-ui/src/environments/environment.ts @@ -0,0 +1,16 @@ +// This file can be replaced during build by using the `fileReplacements` array. +// `ng build` replaces `environment.ts` with `environment.prod.ts`. +// The list of file replacements can be found in `angular.json`. + +export const environment = { + production: false +}; + +/* + * For easier debugging in development mode, you can import the following file + * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. + * + * This import should be commented out in production mode because it will have a negative impact + * on performance if an error is thrown. + */ +// import 'zone.js/plugins/zone-error'; // Included with Angular CLI. diff --git a/spring-angular-ui/src/favicon.ico b/spring-angular-ui/src/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..997406ad22c29aae95893fb3d666c30258a09537 GIT binary patch literal 948 zcmV;l155mgP)CBYU7IjCFmI-B}4sMJt3^s9NVg!P0 z6hDQy(L`XWMkB@zOLgN$4KYz;j0zZxq9KKdpZE#5@k0crP^5f9KO};h)ZDQ%ybhht z%t9#h|nu0K(bJ ztIkhEr!*UyrZWQ1k2+YkGqDi8Z<|mIN&$kzpKl{cNP=OQzXHz>vn+c)F)zO|Bou>E z2|-d_=qY#Y+yOu1a}XI?cU}%04)zz%anD(XZC{#~WreV!a$7k2Ug`?&CUEc0EtrkZ zL49MB)h!_K{H(*l_93D5tO0;BUnvYlo+;yss%n^&qjt6fZOa+}+FDO(~2>G z2dx@=JZ?DHP^;b7*Y1as5^uphBsh*s*z&MBd?e@I>-9kU>63PjP&^#5YTOb&x^6Cf z?674rmSHB5Fk!{Gv7rv!?qX#ei_L(XtwVqLX3L}$MI|kJ*w(rhx~tc&L&xP#?cQow zX_|gx$wMr3pRZIIr_;;O|8fAjd;1`nOeu5K(pCu7>^3E&D2OBBq?sYa(%S?GwG&_0-s%_v$L@R!5H_fc)lOb9ZoOO#p`Nn`KU z3LTTBtjwo`7(HA6 z7gmO$yTR!5L>Bsg!X8616{JUngg_@&85%>W=mChTR;x4`P=?PJ~oPuy5 zU-L`C@_!34D21{fD~Y8NVnR3t;aqZI3fIhmgmx}$oc-dKDC6Ap$Gy>a!`A*x2L1v0 WcZ@i?LyX}70000 + + + + SpringAngularUi + + + + + + + + + + diff --git a/spring-angular-ui/src/main.ts b/spring-angular-ui/src/main.ts new file mode 100644 index 0000000..c7b673c --- /dev/null +++ b/spring-angular-ui/src/main.ts @@ -0,0 +1,12 @@ +import { enableProdMode } from '@angular/core'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { AppModule } from './app/app.module'; +import { environment } from './environments/environment'; + +if (environment.production) { + enableProdMode(); +} + +platformBrowserDynamic().bootstrapModule(AppModule) + .catch(err => console.error(err)); diff --git a/spring-angular-ui/src/polyfills.ts b/spring-angular-ui/src/polyfills.ts new file mode 100644 index 0000000..373f538 --- /dev/null +++ b/spring-angular-ui/src/polyfills.ts @@ -0,0 +1,65 @@ +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), + * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. + * + * Learn more in https://angular.io/guide/browser-support + */ + +/*************************************************************************************************** + * BROWSER POLYFILLS + */ + +/** + * IE11 requires the following for NgClass support on SVG elements + */ +// import 'classlist.js'; // Run `npm install --save classlist.js`. + +/** + * Web Animations `@angular/platform-browser/animations` + * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. + * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). + */ +// import 'web-animations-js'; // Run `npm install --save web-animations-js`. + +/** + * By default, zone.js will patch all possible macroTask and DomEvents + * user can disable parts of macroTask/DomEvents patch by setting following flags + * because those flags need to be set before `zone.js` being loaded, and webpack + * will put import in the top of bundle, so user need to create a separate file + * in this directory (for example: zone-flags.ts), and put the following flags + * into that file, and then add the following code before importing zone.js. + * import './zone-flags'; + * + * The flags allowed in zone-flags.ts are listed here. + * + * The following flags will work for all browsers. + * + * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame + * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick + * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames + * + * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js + * with the following flag, it will bypass `zone.js` patch for IE/Edge + * + * (window as any).__Zone_enable_cross_context_check = true; + * + */ + +/*************************************************************************************************** + * Zone JS is required by default for Angular itself. + */ +import 'zone.js'; // Included with Angular CLI. + + +/*************************************************************************************************** + * APPLICATION IMPORTS + */ diff --git a/spring-angular-ui/src/styles.scss b/spring-angular-ui/src/styles.scss new file mode 100644 index 0000000..3dda4d9 --- /dev/null +++ b/spring-angular-ui/src/styles.scss @@ -0,0 +1,28 @@ +@use '@angular/material' as mat; + +@include mat.elevation-classes(); +@include mat.app-background(); +$theme: mat.define-theme(( + color: ( + theme-type: dark, + primary: mat.$violet-palette, + ), + typography: ( + brand-family: 'Comic Sans', + bold-weight: 900 + ), + density: ( + scale: -1 + ) +)); + + + +html { + color-scheme: light dark; + @include mat.theme(( + color: mat.$violet-palette, + typography: Roboto, + density: 0 + )); +} diff --git a/spring-angular-ui/src/test.ts b/spring-angular-ui/src/test.ts new file mode 100644 index 0000000..2042356 --- /dev/null +++ b/spring-angular-ui/src/test.ts @@ -0,0 +1,25 @@ +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/testing'; +import { getTestBed } from '@angular/core/testing'; +import { + BrowserDynamicTestingModule, + platformBrowserDynamicTesting +} from '@angular/platform-browser-dynamic/testing'; + +declare const require: { + context(path: string, deep?: boolean, filter?: RegExp): { + keys(): string[]; + (id: string): T; + }; +}; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment( + BrowserDynamicTestingModule, + platformBrowserDynamicTesting() +); +// Then we find all the tests. +const context = require.context('./', true, /\.spec\.ts$/); +// And load the modules. +context.keys().map(context); diff --git a/spring-angular-ui/static/browser/add-tutorial.component.css.map b/spring-angular-ui/static/browser/add-tutorial.component.css.map new file mode 100644 index 0000000..5e967b6 --- /dev/null +++ b/spring-angular-ui/static/browser/add-tutorial.component.css.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["src/app/components/add-tutorial/add-tutorial.component.scss"], + "sourcesContent": [".submit-form {\r\n max-width: 400px;\r\n margin: auto;\r\n}"], + "mappings": ";AAAA,CAAA;AACE,aAAA;AACA,UAAA;;", + "names": [] +} diff --git a/spring-angular-ui/static/browser/app.component.css.map b/spring-angular-ui/static/browser/app.component.css.map new file mode 100644 index 0000000..89d38d9 --- /dev/null +++ b/spring-angular-ui/static/browser/app.component.css.map @@ -0,0 +1,7 @@ +{ + "version": 3, + "sources": ["src/app/app.component.scss"], + "sourcesContent": ["//#header_panel{\r\n// background-color: #181d1f;\r\n//}\r\n.example-spacer {\r\n flex: 1 1 auto;\r\n}\r\n"], + "mappings": ";AAGA,CAAA;AACE,QAAA,EAAA,EAAA;;", + "names": [] +} diff --git a/spring-angular-ui/static/browser/browser-L6TR647S.js b/spring-angular-ui/static/browser/browser-L6TR647S.js new file mode 100644 index 0000000..f45c2bd --- /dev/null +++ b/spring-angular-ui/static/browser/browser-L6TR647S.js @@ -0,0 +1,4361 @@ +import { + Injectable, + RuntimeError, + __objRest, + __spreadValues, + setClassMetadata, + ɵɵdefineInjectable +} from "./chunk-7E6NIDIZ.js"; + +// node_modules/@angular/animations/fesm2022/private_export-faY_wCkZ.mjs +var AnimationMetadataType; +(function(AnimationMetadataType2) { + AnimationMetadataType2[AnimationMetadataType2["State"] = 0] = "State"; + AnimationMetadataType2[AnimationMetadataType2["Transition"] = 1] = "Transition"; + AnimationMetadataType2[AnimationMetadataType2["Sequence"] = 2] = "Sequence"; + AnimationMetadataType2[AnimationMetadataType2["Group"] = 3] = "Group"; + AnimationMetadataType2[AnimationMetadataType2["Animate"] = 4] = "Animate"; + AnimationMetadataType2[AnimationMetadataType2["Keyframes"] = 5] = "Keyframes"; + AnimationMetadataType2[AnimationMetadataType2["Style"] = 6] = "Style"; + AnimationMetadataType2[AnimationMetadataType2["Trigger"] = 7] = "Trigger"; + AnimationMetadataType2[AnimationMetadataType2["Reference"] = 8] = "Reference"; + AnimationMetadataType2[AnimationMetadataType2["AnimateChild"] = 9] = "AnimateChild"; + AnimationMetadataType2[AnimationMetadataType2["AnimateRef"] = 10] = "AnimateRef"; + AnimationMetadataType2[AnimationMetadataType2["Query"] = 11] = "Query"; + AnimationMetadataType2[AnimationMetadataType2["Stagger"] = 12] = "Stagger"; +})(AnimationMetadataType || (AnimationMetadataType = {})); +var AUTO_STYLE = "*"; +function sequence(steps, options = null) { + return { + type: AnimationMetadataType.Sequence, + steps, + options + }; +} +function style(tokens) { + return { + type: AnimationMetadataType.Style, + styles: tokens, + offset: null + }; +} +var NoopAnimationPlayer = class { + _onDoneFns = []; + _onStartFns = []; + _onDestroyFns = []; + _originalOnDoneFns = []; + _originalOnStartFns = []; + _started = false; + _destroyed = false; + _finished = false; + _position = 0; + parentPlayer = null; + totalTime; + constructor(duration = 0, delay = 0) { + this.totalTime = duration + delay; + } + _onFinish() { + if (!this._finished) { + this._finished = true; + this._onDoneFns.forEach((fn) => fn()); + this._onDoneFns = []; + } + } + onStart(fn) { + this._originalOnStartFns.push(fn); + this._onStartFns.push(fn); + } + onDone(fn) { + this._originalOnDoneFns.push(fn); + this._onDoneFns.push(fn); + } + onDestroy(fn) { + this._onDestroyFns.push(fn); + } + hasStarted() { + return this._started; + } + init() { + } + play() { + if (!this.hasStarted()) { + this._onStart(); + this.triggerMicrotask(); + } + this._started = true; + } + /** @internal */ + triggerMicrotask() { + queueMicrotask(() => this._onFinish()); + } + _onStart() { + this._onStartFns.forEach((fn) => fn()); + this._onStartFns = []; + } + pause() { + } + restart() { + } + finish() { + this._onFinish(); + } + destroy() { + if (!this._destroyed) { + this._destroyed = true; + if (!this.hasStarted()) { + this._onStart(); + } + this.finish(); + this._onDestroyFns.forEach((fn) => fn()); + this._onDestroyFns = []; + } + } + reset() { + this._started = false; + this._finished = false; + this._onStartFns = this._originalOnStartFns; + this._onDoneFns = this._originalOnDoneFns; + } + setPosition(position) { + this._position = this.totalTime ? position * this.totalTime : 1; + } + getPosition() { + return this.totalTime ? this._position / this.totalTime : 1; + } + /** @internal */ + triggerCallback(phaseName) { + const methods = phaseName == "start" ? this._onStartFns : this._onDoneFns; + methods.forEach((fn) => fn()); + methods.length = 0; + } +}; +var AnimationGroupPlayer = class { + _onDoneFns = []; + _onStartFns = []; + _finished = false; + _started = false; + _destroyed = false; + _onDestroyFns = []; + parentPlayer = null; + totalTime = 0; + players; + constructor(_players) { + this.players = _players; + let doneCount = 0; + let destroyCount = 0; + let startCount = 0; + const total = this.players.length; + if (total == 0) { + queueMicrotask(() => 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); + } + _onFinish() { + if (!this._finished) { + this._finished = true; + this._onDoneFns.forEach((fn) => fn()); + this._onDoneFns = []; + } + } + init() { + this.players.forEach((player) => player.init()); + } + onStart(fn) { + this._onStartFns.push(fn); + } + _onStart() { + if (!this.hasStarted()) { + this._started = true; + this._onStartFns.forEach((fn) => fn()); + this._onStartFns = []; + } + } + onDone(fn) { + this._onDoneFns.push(fn); + } + onDestroy(fn) { + this._onDestroyFns.push(fn); + } + hasStarted() { + return this._started; + } + play() { + if (!this.parentPlayer) { + this.init(); + } + this._onStart(); + this.players.forEach((player) => player.play()); + } + pause() { + this.players.forEach((player) => player.pause()); + } + restart() { + this.players.forEach((player) => player.restart()); + } + finish() { + this._onFinish(); + this.players.forEach((player) => player.finish()); + } + destroy() { + this._onDestroy(); + } + _onDestroy() { + if (!this._destroyed) { + this._destroyed = true; + this._onFinish(); + this.players.forEach((player) => player.destroy()); + this._onDestroyFns.forEach((fn) => fn()); + this._onDestroyFns = []; + } + } + reset() { + this.players.forEach((player) => player.reset()); + this._destroyed = false; + this._finished = false; + this._started = false; + } + setPosition(p) { + const timeAtPosition = p * this.totalTime; + this.players.forEach((player) => { + const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1; + player.setPosition(position); + }); + } + getPosition() { + const longestPlayer = this.players.reduce((longestSoFar, player) => { + const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime; + return newPlayerIsLongest ? player : longestSoFar; + }, null); + return longestPlayer != null ? longestPlayer.getPosition() : 0; + } + beforeDestroy() { + this.players.forEach((player) => { + if (player.beforeDestroy) { + player.beforeDestroy(); + } + }); + } + /** @internal */ + triggerCallback(phaseName) { + const methods = phaseName == "start" ? this._onStartFns : this._onDoneFns; + methods.forEach((fn) => fn()); + methods.length = 0; + } +}; +var \u0275PRE_STYLE = "!"; + +// node_modules/@angular/animations/fesm2022/util-D9FfmVnv.mjs +var LINE_START = "\n - "; +function invalidTimingValue(exp) { + return new RuntimeError(3e3, ngDevMode && `The provided timing value "${exp}" is invalid.`); +} +function negativeStepValue() { + return new RuntimeError(3100, ngDevMode && "Duration values below 0 are not allowed for this animation step."); +} +function negativeDelayValue() { + return new RuntimeError(3101, ngDevMode && "Delay values below 0 are not allowed for this animation step."); +} +function invalidStyleParams(varName) { + return new RuntimeError(3001, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`); +} +function invalidParamValue(varName) { + return new RuntimeError(3003, ngDevMode && `Please provide a value for the animation param ${varName}`); +} +function invalidNodeType(nodeType) { + return new RuntimeError(3004, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`); +} +function invalidCssUnitValue(userProvidedProperty, value) { + return new RuntimeError(3005, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`); +} +function invalidTrigger() { + return new RuntimeError(3006, ngDevMode && "animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"); +} +function invalidDefinition() { + return new RuntimeError(3007, ngDevMode && "only state() and transition() definitions can sit inside of a trigger()"); +} +function invalidState(metadataName, missingSubs) { + return new RuntimeError(3008, ngDevMode && `state("${metadataName}", ...) must define default values for all the following style substitutions: ${missingSubs.join(", ")}`); +} +function invalidStyleValue(value) { + return new RuntimeError(3002, ngDevMode && `The provided style string value ${value} is not allowed.`); +} +function invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) { + return new RuntimeError(3010, 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"`); +} +function invalidKeyframes() { + return new RuntimeError(3011, ngDevMode && `keyframes() must be placed inside of a call to animate()`); +} +function invalidOffset() { + return new RuntimeError(3012, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`); +} +function keyframeOffsetsOutOfOrder() { + return new RuntimeError(3200, ngDevMode && `Please ensure that all keyframe offsets are in order`); +} +function keyframesMissingOffsets() { + return new RuntimeError(3202, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`); +} +function invalidStagger() { + return new RuntimeError(3013, ngDevMode && `stagger() can only be used inside of query()`); +} +function invalidQuery(selector) { + return new RuntimeError(3014, ngDevMode && `\`query("${selector}")\` returned zero elements. (Use \`query("${selector}", { optional: true })\` if you wish to allow this.)`); +} +function invalidExpression(expr) { + return new RuntimeError(3015, ngDevMode && `The provided transition expression "${expr}" is not supported`); +} +function invalidTransitionAlias(alias) { + return new RuntimeError(3016, ngDevMode && `The transition alias value "${alias}" is not supported`); +} +function validationFailed(errors) { + return new RuntimeError(3500, ngDevMode && `animation validation failed: +${errors.map((err) => err.message).join("\n")}`); +} +function buildingFailed(errors) { + return new RuntimeError(3501, ngDevMode && `animation building failed: +${errors.map((err) => err.message).join("\n")}`); +} +function triggerBuildFailed(name, errors) { + return new RuntimeError(3404, ngDevMode && `The animation trigger "${name}" has failed to build due to the following errors: + - ${errors.map((err) => err.message).join("\n - ")}`); +} +function animationFailed(errors) { + return new RuntimeError(3502, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${errors.map((err) => err.message).join(LINE_START)}`); +} +function registerFailed(errors) { + return new RuntimeError(3503, ngDevMode && `Unable to build the animation due to the following errors: ${errors.map((err) => err.message).join("\n")}`); +} +function missingOrDestroyedAnimation() { + return new RuntimeError(3300, ngDevMode && "The requested animation doesn't exist or has already been destroyed"); +} +function createAnimationFailed(errors) { + return new RuntimeError(3504, ngDevMode && `Unable to create the animation due to the following errors:${errors.map((err) => err.message).join("\n")}`); +} +function missingPlayer(id) { + return new RuntimeError(3301, ngDevMode && `Unable to find the timeline player referenced by ${id}`); +} +function missingTrigger(phase, name) { + return new RuntimeError(3302, ngDevMode && `Unable to listen on the animation trigger event "${phase}" because the animation trigger "${name}" doesn't exist!`); +} +function missingEvent(name) { + return new RuntimeError(3303, ngDevMode && `Unable to listen on the animation trigger "${name}" because the provided event is undefined!`); +} +function unsupportedTriggerEvent(phase, name) { + return new RuntimeError(3400, ngDevMode && `The provided animation trigger event "${phase}" for the animation trigger "${name}" is not supported!`); +} +function unregisteredTrigger(name) { + return new RuntimeError(3401, ngDevMode && `The provided animation trigger "${name}" has not been registered!`); +} +function triggerTransitionsFailed(errors) { + return new RuntimeError(3402, ngDevMode && `Unable to process animations due to the following failed trigger transitions + ${errors.map((err) => err.message).join("\n")}`); +} +function transitionFailed(name, errors) { + return new RuntimeError(3505, ngDevMode && `@${name} has failed due to: + ${errors.map((err) => err.message).join("\n- ")}`); +} +var ANIMATABLE_PROP_SET = /* @__PURE__ */ 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"]); +function optimizeGroupPlayer(players) { + switch (players.length) { + case 0: + return new NoopAnimationPlayer(); + case 1: + return players[0]; + default: + return new AnimationGroupPlayer(players); + } +} +function normalizeKeyframes$1(normalizer, keyframes, preStyles = /* @__PURE__ */ new Map(), postStyles = /* @__PURE__ */ new Map()) { + const errors = []; + const normalizedKeyframes = []; + let previousOffset = -1; + let previousKeyframe = null; + keyframes.forEach((kf) => { + const offset = kf.get("offset"); + const isSameOffset = offset == previousOffset; + const normalizedKeyframe = isSameOffset && previousKeyframe || /* @__PURE__ */ new Map(); + kf.forEach((val, prop) => { + let normalizedProp = prop; + let normalizedValue = val; + if (prop !== "offset") { + normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors); + switch (normalizedValue) { + case \u0275PRE_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; +} +function listenOnPlayer(player, eventName, event, callback) { + 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; + } +} +function copyAnimationEvent(e, phaseName, player) { + const totalTime = player.totalTime; + const disabled = player.disabled ? true : false; + const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == void 0 ? e.totalTime : totalTime, disabled); + const data = e["_data"]; + if (data != null) { + event["_data"] = data; + } + return event; +} +function makeAnimationEvent(element, triggerName, fromState, toState, phaseName = "", totalTime = 0, disabled) { + return { + element, + triggerName, + fromState, + toState, + phaseName, + totalTime, + disabled: !!disabled + }; +} +function getOrSetDefaultValue(map, key, defaultValue) { + let value = map.get(key); + if (!value) { + map.set(key, value = defaultValue); + } + return value; +} +function parseTimelineCommand(command) { + const separatorPos = command.indexOf(":"); + const id = command.substring(1, separatorPos); + const action = command.slice(separatorPos + 1); + return [id, action]; +} +var documentElement = /* @__PURE__ */ (() => typeof document === "undefined" ? null : document.documentElement)(); +function getParentElement(element) { + const parent = element.parentNode || element.host || null; + if (parent === documentElement) { + return null; + } + return parent; +} +function containsVendorPrefix(prop) { + return prop.substring(1, 6) == "ebkit"; +} +var _CACHED_BODY = null; +var _IS_WEBKIT = false; +function validateStyleProperty(prop) { + 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; +} +function validateWebAnimatableStyleProperty(prop) { + return ANIMATABLE_PROP_SET.has(prop); +} +function getBodyNode() { + if (typeof document != "undefined") { + return document.body; + } + return null; +} +function containsElement(elm1, elm2) { + while (elm2) { + if (elm2 === elm1) { + return true; + } + elm2 = getParentElement(elm2); + } + return false; +} +function invokeQuery(element, selector, multi) { + if (multi) { + return Array.from(element.querySelectorAll(selector)); + } + const elem = element.querySelector(selector); + return elem ? [elem] : []; +} +var ONE_SECOND = 1e3; +var SUBSTITUTION_EXPR_START = "{{"; +var SUBSTITUTION_EXPR_END = "}}"; +var ENTER_CLASSNAME = "ng-enter"; +var LEAVE_CLASSNAME = "ng-leave"; +var NG_TRIGGER_CLASSNAME = "ng-trigger"; +var NG_TRIGGER_SELECTOR = ".ng-trigger"; +var NG_ANIMATING_CLASSNAME = "ng-animating"; +var NG_ANIMATING_SELECTOR = ".ng-animating"; +function resolveTimingValue(value) { + 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, unit) { + switch (unit) { + case "s": + return value * ONE_SECOND; + default: + return value; + } +} +function resolveTiming(timings, errors, allowNegativeValues) { + return timings.hasOwnProperty("duration") ? timings : parseTimeExpression(timings, errors, allowNegativeValues); +} +function parseTimeExpression(exp, errors, allowNegativeValues) { + const regex = /^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i; + let duration; + let delay = 0; + let easing = ""; + 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 + }; +} +function normalizeKeyframes(keyframes) { + if (!keyframes.length) { + return []; + } + if (keyframes[0] instanceof Map) { + return keyframes; + } + return keyframes.map((kf) => new Map(Object.entries(kf))); +} +function normalizeStyles(styles) { + return Array.isArray(styles) ? new Map(...styles) : new Map(styles); +} +function setStyles(element, styles, formerStyles) { + styles.forEach((val, prop) => { + const camelProp = dashCaseToCamelCase(prop); + if (formerStyles && !formerStyles.has(prop)) { + formerStyles.set(prop, element.style[camelProp]); + } + element.style[camelProp] = val; + }); +} +function eraseStyles(element, styles) { + styles.forEach((_, prop) => { + const camelProp = dashCaseToCamelCase(prop); + element.style[camelProp] = ""; + }); +} +function normalizeAnimationEntry(steps) { + if (Array.isArray(steps)) { + if (steps.length == 1) return steps[0]; + return sequence(steps); + } + return steps; +} +function validateStyleParams(value, options, errors) { + const params = options.params || {}; + const matches = extractStyleParams(value); + if (matches.length) { + matches.forEach((varName) => { + if (!params.hasOwnProperty(varName)) { + errors.push(invalidStyleParams(varName)); + } + }); + } +} +var PARAM_REGEX = /* @__PURE__ */ new RegExp(`${SUBSTITUTION_EXPR_START}\\s*(.+?)\\s*${SUBSTITUTION_EXPR_END}`, "g"); +function extractStyleParams(value) { + let params = []; + if (typeof value === "string") { + let match; + while (match = PARAM_REGEX.exec(value)) { + params.push(match[1]); + } + PARAM_REGEX.lastIndex = 0; + } + return params; +} +function interpolateParams(value, params, errors) { + const original = `${value}`; + const str = original.replace(PARAM_REGEX, (_, varName) => { + let localVal = params[varName]; + if (localVal == null) { + errors.push(invalidParamValue(varName)); + localVal = ""; + } + return localVal.toString(); + }); + return str == original ? value : str; +} +var DASH_CASE_REGEXP = /-+([a-z0-9])/g; +function dashCaseToCamelCase(input) { + return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase()); +} +function camelCaseToDashCase(input) { + return input.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); +} +function allowPreviousPlayerStylesMerge(duration, delay) { + return duration === 0 || delay === 0; +} +function balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) { + if (previousStyles.size && keyframes.length) { + let startingKeyframe = keyframes[0]; + let missingStyleProps = []; + 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; +} +function visitDslNode(visitor, node, context) { + 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); + } +} +function computeStyle(element, prop) { + return window.getComputedStyle(element)[prop]; +} + +// node_modules/@angular/animations/fesm2022/browser.mjs +var NoopAnimationDriver = class _NoopAnimationDriver { + /** + * @returns Whether `prop` is a valid CSS property + */ + validateStyleProperty(prop) { + return validateStyleProperty(prop); + } + /** + * + * @returns Whether elm1 contains elm2. + */ + containsElement(elm1, elm2) { + return containsElement(elm1, elm2); + } + /** + * @returns Rhe parent of the given element or `null` if the element is the `document` + */ + getParentElement(element) { + return getParentElement(element); + } + /** + * @returns The result of the query selector on the element. The array will contain up to 1 item + * if `multi` is `false`. + */ + query(element, selector, multi) { + return invokeQuery(element, selector, multi); + } + /** + * @returns The `defaultValue` or empty string + */ + computeStyle(element, prop, defaultValue) { + return defaultValue || ""; + } + /** + * @returns An `NoopAnimationPlayer` + */ + animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) { + return new NoopAnimationPlayer(duration, delay); + } + static \u0275fac = function NoopAnimationDriver_Factory(__ngFactoryType__) { + return new (__ngFactoryType__ || _NoopAnimationDriver)(); + }; + static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _NoopAnimationDriver, + factory: _NoopAnimationDriver.\u0275fac + }); +}; +(() => { + (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NoopAnimationDriver, [{ + type: Injectable + }], null, null); +})(); +var AnimationDriver = class { + /** + * @deprecated Use the NoopAnimationDriver class. + */ + static NOOP = new NoopAnimationDriver(); +}; +var AnimationStyleNormalizer = class { +}; +var NoopAnimationStyleNormalizer = class { + normalizePropertyName(propertyName, errors) { + return propertyName; + } + normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) { + return value; + } +}; +var DIMENSIONAL_PROP_SET = /* @__PURE__ */ 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"]); +var WebAnimationsStyleNormalizer = class extends AnimationStyleNormalizer { + normalizePropertyName(propertyName, errors) { + return dashCaseToCamelCase(propertyName); + } + normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) { + let unit = ""; + 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; + } +}; +function createListOfWarnings(warnings) { + const LINE_START2 = "\n - "; + return `${LINE_START2}${warnings.filter(Boolean).map((warning) => warning).join(LINE_START2)}`; +} +function warnValidation(warnings) { + console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`); +} +function warnTriggerBuild(name, warnings) { + console.warn(`The animation trigger "${name}" has built with the following warnings:${createListOfWarnings(warnings)}`); +} +function warnRegister(warnings) { + console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`); +} +function pushUnrecognizedPropertiesWarning(warnings, props) { + if (props.length) { + warnings.push(`The following provided properties are not recognized: ${props.join(", ")}`); + } +} +var ANY_STATE = "*"; +function parseTransitionExpr(transitionValue, errors) { + const expressions = []; + if (typeof transitionValue == "string") { + transitionValue.split(/\s*,\s*/).forEach((str) => parseInnerTransitionStr(str, expressions, errors)); + } else { + expressions.push(transitionValue); + } + return expressions; +} +function parseInnerTransitionStr(eventStr, expressions, errors) { + 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)); + } + return; +} +function parseAnimationAlias(alias, errors) { + switch (alias) { + case ":enter": + return "void => *"; + case ":leave": + return "* => void"; + case ":increment": + return (fromState, toState) => parseFloat(toState) > parseFloat(fromState); + case ":decrement": + return (fromState, toState) => parseFloat(toState) < parseFloat(fromState); + default: + errors.push(invalidTransitionAlias(alias)); + return "* => *"; + } +} +var TRUE_BOOLEAN_VALUES = /* @__PURE__ */ new Set(["true", "1"]); +var FALSE_BOOLEAN_VALUES = /* @__PURE__ */ new Set(["false", "0"]); +function makeLambdaFromStates(lhs, rhs) { + 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, toState) => { + 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; + }; +} +var SELF_TOKEN = ":self"; +var SELF_TOKEN_REGEX = /* @__PURE__ */ new RegExp(`s*${SELF_TOKEN}s*,?`, "g"); +function buildAnimationAst(driver, metadata, errors, warnings) { + return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings); +} +var ROOT_SELECTOR = ""; +var AnimationAstBuilderVisitor = class { + _driver; + constructor(_driver) { + this._driver = _driver; + } + build(metadata, errors, warnings) { + 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; + } + _resetContextStyleTimingState(context) { + context.currentQuerySelector = ROOT_SELECTOR; + context.collectedStyles = /* @__PURE__ */ new Map(); + context.collectedStyles.set(ROOT_SELECTOR, /* @__PURE__ */ new Map()); + context.currentTime = 0; + } + visitTrigger(metadata, context) { + let queryCount = context.queryCount = 0; + let depCount = context.depCount = 0; + const states = []; + const transitions = []; + if (metadata.name.charAt(0) == "@") { + context.errors.push(invalidTrigger()); + } + metadata.definitions.forEach((def) => { + this._resetContextStyleTimingState(context); + if (def.type == AnimationMetadataType.State) { + const stateDef = def; + 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, 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, context) { + const styleAst = this.visitStyle(metadata.styles, context); + const astParams = metadata.options && metadata.options.params || null; + if (styleAst.containsDynamicStyles) { + const missingSubs = /* @__PURE__ */ new Set(); + const params = astParams || {}; + styleAst.styles.forEach((style2) => { + if (style2 instanceof Map) { + style2.forEach((value) => { + extractStyleParams(value).forEach((sub) => { + if (!params.hasOwnProperty(sub)) { + missingSubs.add(sub); + } + }); + }); + } + }); + if (missingSubs.size) { + context.errors.push(invalidState(metadata.name, [...missingSubs.values()])); + } + } + return { + type: AnimationMetadataType.State, + name: metadata.name, + style: styleAst, + options: astParams ? { + params: astParams + } : null + }; + } + visitTransition(metadata, context) { + 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, context) { + return { + type: AnimationMetadataType.Sequence, + steps: metadata.steps.map((s) => visitDslNode(this, s, context)), + options: normalizeAnimationOptions(metadata.options) + }; + } + visitGroup(metadata, context) { + 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, context) { + const timingAst = constructTimingAst(metadata.timings, context.errors); + context.currentAnimateTimings = timingAst; + let styleAst; + let styleMetadata = metadata.styles ? metadata.styles : style({}); + if (styleMetadata.type == AnimationMetadataType.Keyframes) { + styleAst = this.visitKeyframes(styleMetadata, context); + } else { + let styleMetadata2 = metadata.styles; + let isEmpty = false; + if (!styleMetadata2) { + isEmpty = true; + const newStyleData = {}; + if (timingAst.easing) { + newStyleData["easing"] = timingAst.easing; + } + styleMetadata2 = style(newStyleData); + } + context.currentTime += timingAst.duration + timingAst.delay; + const _styleAst = this.visitStyle(styleMetadata2, context); + _styleAst.isEmptyStep = isEmpty; + styleAst = _styleAst; + } + context.currentAnimateTimings = null; + return { + type: AnimationMetadataType.Animate, + timings: timingAst, + style: styleAst, + options: null + }; + } + visitStyle(metadata, context) { + const ast = this._makeStyleAst(metadata, context); + this._validateStyleAst(ast, context); + return ast; + } + _makeStyleAst(metadata, context) { + const styles = []; + 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(new Map(Object.entries(styleTuple))); + } + } + let containsDynamicStyles = false; + let collectedEasing = null; + styles.forEach((styleData) => { + if (styleData instanceof Map) { + if (styleData.has("easing")) { + collectedEasing = styleData.get("easing"); + 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 + }; + } + _validateStyleAst(ast, context) { + 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; + } + } + 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; + } + startTime = collectedEntry.startTime; + } + if (updateCollectedStyle) { + collectedStyles.set(prop, { + startTime, + endTime + }); + } + if (context.options) { + validateStyleParams(value, context.options, context.errors); + } + }); + }); + } + visitKeyframes(metadata, context) { + const ast = { + 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 = []; + let offsetsOutOfOrder = false; + let keyframesOutOfRange = false; + let previousOffset = 0; + const keyframes = metadata.steps.map((styles) => { + const style2 = this._makeStyleAst(styles, context); + let offsetVal = style2.offset != null ? style2.offset : consumeOffset(style2.styles); + let offset = 0; + if (offsetVal != null) { + totalKeyframesWithOffsets++; + offset = style2.offset = offsetVal; + } + keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1; + offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset; + previousOffset = offset; + offsets.push(offset); + return style2; + }); + 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, context) { + return { + type: AnimationMetadataType.Reference, + animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context), + options: normalizeAnimationOptions(metadata.options) + }; + } + visitAnimateChild(metadata, context) { + context.depCount++; + return { + type: AnimationMetadataType.AnimateChild, + options: normalizeAnimationOptions(metadata.options) + }; + } + visitAnimateRef(metadata, context) { + return { + type: AnimationMetadataType.AnimateRef, + animation: this.visitReference(metadata.animation, context), + options: normalizeAnimationOptions(metadata.options) + }; + } + visitQuery(metadata, context) { + const parentSelector = context.currentQuerySelector; + const options = metadata.options || {}; + context.queryCount++; + context.currentQuery = metadata; + const [selector, includeSelf] = normalizeSelector(metadata.selector); + context.currentQuerySelector = parentSelector.length ? parentSelector + " " + selector : selector; + getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, /* @__PURE__ */ 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, context) { + 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) { + const hasAmpersand = selector.split(/\s*,\s*/).find((token) => token == SELF_TOKEN) ? true : false; + if (hasAmpersand) { + selector = selector.replace(SELF_TOKEN_REGEX, ""); + } + 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) { + return obj ? __spreadValues({}, obj) : null; +} +var AnimationAstBuilderContext = class { + errors; + queryCount = 0; + depCount = 0; + currentTransition = null; + currentQuery = null; + currentQuerySelector = null; + currentAnimateTimings = null; + currentTime = 0; + collectedStyles = /* @__PURE__ */ new Map(); + options = null; + unsupportedCSSPropertiesFound = /* @__PURE__ */ new Set(); + constructor(errors) { + this.errors = errors; + } +}; +function consumeOffset(styles) { + if (typeof styles == "string") return null; + let offset = null; + if (Array.isArray(styles)) { + styles.forEach((styleTuple) => { + if (styleTuple instanceof Map && styleTuple.has("offset")) { + const obj = styleTuple; + offset = parseFloat(obj.get("offset")); + obj.delete("offset"); + } + }); + } else if (styles instanceof Map && styles.has("offset")) { + const obj = styles; + offset = parseFloat(obj.get("offset")); + obj.delete("offset"); + } + return offset; +} +function constructTimingAst(value, errors) { + if (value.hasOwnProperty("duration")) { + return value; + } + if (typeof value == "number") { + const duration = resolveTiming(value, errors).duration; + return makeTimingAst(duration, 0, ""); + } + const strValue = value; + const isDynamic = strValue.split(/\s+/).some((v) => v.charAt(0) == "{" && v.charAt(1) == "{"); + if (isDynamic) { + const ast = makeTimingAst(0, 0, ""); + ast.dynamic = true; + ast.strValue = strValue; + return ast; + } + const timings = resolveTiming(strValue, errors); + return makeTimingAst(timings.duration, timings.delay, timings.easing); +} +function normalizeAnimationOptions(options) { + if (options) { + options = __spreadValues({}, options); + if (options["params"]) { + options["params"] = normalizeParams(options["params"]); + } + } else { + options = {}; + } + return options; +} +function makeTimingAst(duration, delay, easing) { + return { + duration, + delay, + easing + }; +} +function createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) { + return { + type: 1, + element, + keyframes, + preStyleProps, + postStyleProps, + duration, + delay, + totalTime: duration + delay, + easing, + subTimeline + }; +} +var ElementInstructionMap = class { + _map = /* @__PURE__ */ new Map(); + get(element) { + return this._map.get(element) || []; + } + append(element, instructions) { + let existingInstructions = this._map.get(element); + if (!existingInstructions) { + this._map.set(element, existingInstructions = []); + } + existingInstructions.push(...instructions); + } + has(element) { + return this._map.has(element); + } + clear() { + this._map.clear(); + } +}; +var ONE_FRAME_IN_MILLISECONDS = 1; +var ENTER_TOKEN = ":enter"; +var ENTER_TOKEN_REGEX = /* @__PURE__ */ new RegExp(ENTER_TOKEN, "g"); +var LEAVE_TOKEN = ":leave"; +var LEAVE_TOKEN_REGEX = /* @__PURE__ */ new RegExp(LEAVE_TOKEN, "g"); +function buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = /* @__PURE__ */ new Map(), finalStyles = /* @__PURE__ */ new Map(), options, subInstructions, errors = []) { + return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors); +} +var AnimationTimelineBuilderVisitor = class { + buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) { + 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); + const timelines = context.timelines.filter((timeline) => timeline.containsAnimation()); + if (timelines.length && finalStyles.size) { + let lastRootTimeline; + 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, context) { + } + visitState(ast, context) { + } + visitTransition(ast, context) { + } + visitAnimateChild(ast, context) { + 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); + if (startTime != endTime) { + context.transformIntoNewTimeline(endTime); + } + } + context.previousNode = ast; + } + visitAnimateRef(ast, context) { + 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; + } + _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) { + 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); + } + } + } + _visitSubInstructions(instructions, context, options) { + const startTime = context.currentTimeline.currentTime; + let furthestTime = startTime; + 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, context) { + context.updateOptions(ast.options, true); + visitDslNode(this, ast.animation, context); + context.previousNode = ast; + } + visitSequence(ast, context) { + 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)); + ctx.currentTimeline.applyStylesToKeyframe(); + if (ctx.subContextCount > subContextCount) { + ctx.transformIntoNewTimeline(); + } + } + context.previousNode = ast; + } + visitGroup(ast, context) { + const innerTimelines = []; + 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); + }); + innerTimelines.forEach((timeline) => context.currentTimeline.mergeTimelineCollectedStyles(timeline)); + context.transformIntoNewTimeline(furthestTime); + context.previousNode = ast; + } + _visitTiming(ast, context) { + if (ast.dynamic) { + const strValue = ast.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, context) { + const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context); + const timeline = context.currentTimeline; + if (timings.delay) { + context.incrementTime(timings.delay); + timeline.snapshotCurrentStyles(); + } + const style2 = ast.style; + if (style2.type == AnimationMetadataType.Keyframes) { + this.visitKeyframes(style2, context); + } else { + context.incrementTime(timings.duration); + this.visitStyle(style2, context); + timeline.applyStylesToKeyframe(); + } + context.currentAnimateTimings = null; + context.previousNode = ast; + } + visitStyle(ast, context) { + const timeline = context.currentTimeline; + const timings = context.currentAnimateTimings; + 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, context) { + 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 = step.offset || 0; + innerTimeline.forwardTime(offset * duration); + innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options); + innerTimeline.applyStylesToKeyframe(); + }); + context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline); + context.transformIntoNewTimeline(startTime + duration); + context.previousNode = ast; + } + visitQuery(ast, context) { + const startTime = context.currentTimeline.currentTime; + const options = ast.options || {}; + 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 = 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); + 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, context) { + 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; + parentContext.currentStaggerTime = tl.currentTime - startingTime + (tl.startTime - parentContext.currentTimeline.startTime); + } +}; +var DEFAULT_NOOP_PREVIOUS_NODE = {}; +var AnimationTimelineContext = class _AnimationTimelineContext { + _driver; + element; + subInstructions; + _enterClassName; + _leaveClassName; + errors; + timelines; + parentContext = null; + currentTimeline; + currentAnimateTimings = null; + previousNode = DEFAULT_NOOP_PREVIOUS_NODE; + subContextCount = 0; + options = {}; + currentQueryIndex = 0; + currentQueryTotal = 0; + currentStaggerTime = 0; + constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) { + this._driver = _driver; + this.element = element; + this.subInstructions = subInstructions; + this._enterClassName = _enterClassName; + this._leaveClassName = _leaveClassName; + this.errors = errors; + this.timelines = timelines; + this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0); + timelines.push(this.currentTimeline); + } + get params() { + return this.options.params; + } + updateOptions(options, skipIfExists) { + if (!options) return; + const newOptions = options; + let optionsToUpdate = this.options; + if (newOptions.duration != null) { + optionsToUpdate.duration = resolveTimingValue(newOptions.duration); + } + if (newOptions.delay != null) { + optionsToUpdate.delay = resolveTimingValue(newOptions.delay); + } + const newParams = newOptions.params; + if (newParams) { + let paramsToUpdate = 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); + } + }); + } + } + _copyOptions() { + const options = {}; + if (this.options) { + const oldParams = this.options.params; + if (oldParams) { + const params = options["params"] = {}; + Object.keys(oldParams).forEach((name) => { + params[name] = oldParams[name]; + }); + } + } + return options; + } + createSubContext(options = null, element, newTime) { + 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) { + this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; + this.currentTimeline = this.currentTimeline.fork(this.element, newTime); + this.timelines.push(this.currentTimeline); + return this.currentTimeline; + } + appendInstructionToTimeline(instruction, duration, delay) { + const updatedTimings = { + 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) { + this.currentTimeline.forwardTime(this.currentTimeline.duration + time); + } + delayNextStep(delay) { + if (delay > 0) { + this.currentTimeline.delayNextStep(delay); + } + } + invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) { + let results = []; + if (includeSelf) { + results.push(this.element); + } + if (selector.length > 0) { + 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; + } +}; +var TimelineBuilder = class _TimelineBuilder { + _driver; + element; + startTime; + _elementTimelineStylesLookup; + duration = 0; + easing = null; + _previousKeyframe = /* @__PURE__ */ new Map(); + _currentKeyframe = /* @__PURE__ */ new Map(); + _keyframes = /* @__PURE__ */ new Map(); + _styleSummary = /* @__PURE__ */ new Map(); + _localTimelineStyles = /* @__PURE__ */ new Map(); + _globalTimelineStyles; + _pendingStyles = /* @__PURE__ */ new Map(); + _backFill = /* @__PURE__ */ new Map(); + _currentEmptyStepKeyframe = null; + constructor(_driver, element, startTime, _elementTimelineStylesLookup) { + this._driver = _driver; + this.element = element; + this.startTime = startTime; + this._elementTimelineStylesLookup = _elementTimelineStylesLookup; + if (!this._elementTimelineStylesLookup) { + this._elementTimelineStylesLookup = /* @__PURE__ */ new Map(); + } + this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element); + if (!this._globalTimelineStyles) { + this._globalTimelineStyles = this._localTimelineStyles; + this._elementTimelineStylesLookup.set(element, this._localTimelineStyles); + } + this._loadKeyframe(); + } + containsAnimation() { + switch (this._keyframes.size) { + case 0: + return false; + case 1: + return this.hasCurrentStyleProperties(); + default: + return true; + } + } + hasCurrentStyleProperties() { + return this._currentKeyframe.size > 0; + } + get currentTime() { + return this.startTime + this.duration; + } + delayNextStep(delay) { + 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, currentTime) { + this.applyStylesToKeyframe(); + return new _TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup); + } + _loadKeyframe() { + if (this._currentKeyframe) { + this._previousKeyframe = this._currentKeyframe; + } + this._currentKeyframe = this._keyframes.get(this.duration); + if (!this._currentKeyframe) { + this._currentKeyframe = /* @__PURE__ */ new Map(); + this._keyframes.set(this.duration, this._currentKeyframe); + } + } + forwardFrame() { + this.duration += ONE_FRAME_IN_MILLISECONDS; + this._loadKeyframe(); + } + forwardTime(time) { + this.applyStylesToKeyframe(); + this.duration = time; + this._loadKeyframe(); + } + _updateStyle(prop, value) { + 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) { + if (easing) { + this._previousKeyframe.set("easing", easing); + } + 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, easing, errors, options) { + 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 = []; + for (let prop in this._currentKeyframe) { + properties.push(prop); + } + return properties; + } + mergeTimelineCollectedStyles(timeline) { + timeline._styleSummary.forEach((details1, prop) => { + const details0 = this._styleSummary.get(prop); + if (!details0 || details1.time > details0.time) { + this._updateStyle(prop, details1.value); + } + }); + } + buildKeyframes() { + this.applyStylesToKeyframe(); + const preStyleProps = /* @__PURE__ */ new Set(); + const postStyleProps = /* @__PURE__ */ new Set(); + const isEmpty = this._keyframes.size === 1 && this.duration === 0; + let finalKeyframes = []; + this._keyframes.forEach((keyframe, time) => { + const finalKeyframe = new Map([...this._backFill, ...keyframe]); + finalKeyframe.forEach((value, prop) => { + if (value === \u0275PRE_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 = [...preStyleProps.values()]; + const postProps = [...postStyleProps.values()]; + 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); + } +}; +var SubTimelineBuilder = class extends TimelineBuilder { + keyframes; + preStyleProps; + postStyleProps; + _stretchStartingKeyframe; + timings; + constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) { + super(driver, element, timings.delay); + this.keyframes = keyframes; + this.preStyleProps = preStyleProps; + this.postStyleProps = postStyleProps; + this._stretchStartingKeyframe = _stretchStartingKeyframe; + this.timings = { + duration: timings.duration, + delay: timings.delay, + easing: timings.easing + }; + } + containsAnimation() { + return this.keyframes.length > 1; + } + buildKeyframes() { + let keyframes = this.keyframes; + let { + delay, + duration, + easing + } = this.timings; + if (this._stretchStartingKeyframe && delay) { + const newKeyframes = []; + const totalTime = duration + delay; + const startingGap = delay / totalTime; + const newFirstKeyframe = new Map(keyframes[0]); + newFirstKeyframe.set("offset", 0); + newKeyframes.push(newFirstKeyframe); + const oldFirstKeyframe = new Map(keyframes[0]); + oldFirstKeyframe.set("offset", roundOffset(startingGap)); + newKeyframes.push(oldFirstKeyframe); + const limit = keyframes.length - 1; + for (let i = 1; i <= limit; i++) { + let kf = new Map(keyframes[i]); + const oldOffset = kf.get("offset"); + const timeAtKeyframe = delay + oldOffset * duration; + kf.set("offset", roundOffset(timeAtKeyframe / totalTime)); + newKeyframes.push(kf); + } + duration = totalTime; + delay = 0; + easing = ""; + keyframes = newKeyframes; + } + return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true); + } +}; +function roundOffset(offset, decimalPoints = 3) { + const mult = Math.pow(10, decimalPoints - 1); + return Math.round(offset * mult) / mult; +} +function flattenStyles(input, allStyles) { + const styles = /* @__PURE__ */ new Map(); + let allProperties; + input.forEach((token) => { + if (token === "*") { + allProperties ??= allStyles.keys(); + for (let prop of allProperties) { + styles.set(prop, AUTO_STYLE); + } + } else { + for (let [prop, val] of token) { + styles.set(prop, val); + } + } + }); + return styles; +} +function createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) { + return { + type: 0, + element, + triggerName, + isRemovalTransition, + fromState, + fromStyles, + toState, + toStyles, + timelines, + queriedElements, + preStyleProps, + postStyleProps, + totalTime, + errors + }; +} +var EMPTY_OBJECT = {}; +var AnimationTransitionFactory = class { + _triggerName; + ast; + _stateStyles; + constructor(_triggerName, ast, _stateStyles) { + this._triggerName = _triggerName; + this.ast = ast; + this._stateStyles = _stateStyles; + } + match(currentState, nextState, element, params) { + return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params); + } + buildStyles(stateName, params, errors) { + let styler = this._stateStyles.get("*"); + if (stateName !== void 0) { + styler = this._stateStyles.get(stateName?.toString()) || styler; + } + return styler ? styler.buildStyles(params, errors) : /* @__PURE__ */ new Map(); + } + build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) { + const errors = []; + 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 = /* @__PURE__ */ new Set(); + const preStyleMap = /* @__PURE__ */ new Map(); + const postStyleMap = /* @__PURE__ */ new Map(); + const isRemoval = nextState === "void"; + const 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, /* @__PURE__ */ new Set()); + tl.preStyleProps.forEach((prop) => preProps.add(prop)); + const postProps = getOrSetDefaultValue(postStyleMap, elm, /* @__PURE__ */ 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); + } + return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, [...queriedElements.values()], preStyleMap, postStyleMap, totalTime); + } +}; +function checkNonAnimatableInTimelines(timelines, triggerName, driver) { + if (!driver.validateAnimatableStyleProperty) { + return; + } + const allowedNonAnimatableProps = /* @__PURE__ */ 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 = /* @__PURE__ */ new Set(); + timelines.forEach(({ + keyframes + }) => { + const nonAnimatablePropsInitialValues = /* @__PURE__ */ 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(", ") + "\n(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)"); + } +} +function oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) { + return matchFns.some((fn) => fn(currentState, nextState, element, params)); +} +function applyParamDefaults(userParams, defaults) { + const result = __spreadValues({}, defaults); + Object.entries(userParams).forEach(([key, value]) => { + if (value != null) { + result[key] = value; + } + }); + return result; +} +var AnimationStateStyles = class { + styles; + defaultParams; + normalizer; + constructor(styles, defaultParams, normalizer) { + this.styles = styles; + this.defaultParams = defaultParams; + this.normalizer = normalizer; + } + buildStyles(params, errors) { + const finalStyles = /* @__PURE__ */ new Map(); + const combinedParams = applyParamDefaults(params, this.defaultParams); + 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; + } +}; +function buildTrigger(name, ast, normalizer) { + return new AnimationTrigger(name, ast, normalizer); +} +var AnimationTrigger = class { + name; + ast; + _normalizer; + transitionFactories = []; + fallbackTransition; + states = /* @__PURE__ */ new Map(); + constructor(name, ast, _normalizer) { + this.name = name; + this.ast = ast; + this._normalizer = _normalizer; + ast.states.forEach((ast2) => { + const defaultParams = ast2.options && ast2.options.params || {}; + this.states.set(ast2.name, new AnimationStateStyles(ast2.style, defaultParams, _normalizer)); + }); + balanceProperties(this.states, "true", "1"); + balanceProperties(this.states, "false", "0"); + ast.transitions.forEach((ast2) => { + this.transitionFactories.push(new AnimationTransitionFactory(name, ast2, this.states)); + }); + this.fallbackTransition = createFallbackTransition(name, this.states); + } + get containsQueries() { + return this.ast.queryCount > 0; + } + matchTransition(currentState, nextState, element, params) { + const entry = this.transitionFactories.find((f) => f.match(currentState, nextState, element, params)); + return entry || null; + } + matchStyles(currentState, params, errors) { + return this.fallbackTransition.buildStyles(currentState, params, errors); + } +}; +function createFallbackTransition(triggerName, states, normalizer) { + const matchers = [(fromState, toState) => true]; + const animation = { + type: AnimationMetadataType.Sequence, + steps: [], + options: null + }; + const transition = { + type: AnimationMetadataType.Transition, + animation, + matchers, + options: null, + queryCount: 0, + depCount: 0 + }; + return new AnimationTransitionFactory(triggerName, transition, states); +} +function balanceProperties(stateMap, key1, key2) { + 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)); + } +} +var EMPTY_INSTRUCTION_MAP = new ElementInstructionMap(); +var TimelineAnimationEngine = class { + bodyNode; + _driver; + _normalizer; + _animations = /* @__PURE__ */ new Map(); + _playersById = /* @__PURE__ */ new Map(); + players = []; + constructor(bodyNode, _driver, _normalizer) { + this.bodyNode = bodyNode; + this._driver = _driver; + this._normalizer = _normalizer; + } + register(id, metadata) { + const errors = []; + const warnings = []; + const ast = buildAnimationAst(this._driver, metadata, errors, warnings); + if (errors.length) { + throw registerFailed(errors); + } else { + if (typeof ngDevMode === "undefined" || ngDevMode) { + if (warnings.length) { + warnRegister(warnings); + } + } + this._animations.set(id, ast); + } + } + _buildPlayer(i, preStyles, postStyles) { + const element = i.element; + const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles); + return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true); + } + create(id, element, options = {}) { + const errors = []; + const ast = this._animations.get(id); + let instructions; + const autoStylesMap = /* @__PURE__ */ new Map(); + if (ast) { + instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, /* @__PURE__ */ new Map(), /* @__PURE__ */ new Map(), options, EMPTY_INSTRUCTION_MAP, errors); + instructions.forEach((inst) => { + const styles = getOrSetDefaultValue(autoStylesMap, inst.element, /* @__PURE__ */ new Map()); + inst.postStyleProps.forEach((prop) => styles.set(prop, null)); + }); + } else { + errors.push(missingOrDestroyedAnimation()); + instructions = []; + } + if (errors.length) { + throw createAnimationFailed(errors); + } + autoStylesMap.forEach((styles, element2) => { + styles.forEach((_, prop) => { + styles.set(prop, this._driver.computeStyle(element2, prop, AUTO_STYLE)); + }); + }); + const players = instructions.map((i) => { + const styles = autoStylesMap.get(i.element); + return this._buildPlayer(i, /* @__PURE__ */ 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) { + 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); + } + } + _getPlayer(id) { + const player = this._playersById.get(id); + if (!player) { + throw missingPlayer(id); + } + return player; + } + listen(id, element, eventName, callback) { + const baseEvent = makeAnimationEvent(element, "", "", ""); + listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback); + return () => { + }; + } + command(id, element, command, args) { + if (command == "register") { + this.register(id, args[0]); + return; + } + if (command == "create") { + const options = args[0] || {}; + 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])); + break; + case "destroy": + this.destroy(id); + break; + } + } +}; +var QUEUED_CLASSNAME = "ng-animate-queued"; +var QUEUED_SELECTOR = ".ng-animate-queued"; +var DISABLED_CLASSNAME = "ng-animate-disabled"; +var DISABLED_SELECTOR = ".ng-animate-disabled"; +var STAR_CLASSNAME = "ng-star-inserted"; +var STAR_SELECTOR = ".ng-star-inserted"; +var EMPTY_PLAYER_ARRAY = []; +var NULL_REMOVAL_STATE = { + namespaceId: "", + setForRemoval: false, + setForMove: false, + hasAnimation: false, + removedBeforeQueried: false +}; +var NULL_REMOVED_QUERIED_STATE = { + namespaceId: "", + setForMove: false, + setForRemoval: false, + hasAnimation: false, + removedBeforeQueried: true +}; +var REMOVAL_FLAG = "__ng_removed"; +var StateValue = class { + namespaceId; + value; + options; + get params() { + return this.options.params; + } + constructor(input, namespaceId = "") { + this.namespaceId = namespaceId; + const isObj = input && input.hasOwnProperty("value"); + const value = isObj ? input["value"] : input; + this.value = normalizeTriggerValue(value); + if (isObj) { + const _a = input, { + value: value2 + } = _a, options = __objRest(_a, [ + "value" + ]); + this.options = options; + } else { + this.options = {}; + } + if (!this.options.params) { + this.options.params = {}; + } + } + absorbOptions(options) { + const newParams = options.params; + if (newParams) { + const oldParams = this.options.params; + Object.keys(newParams).forEach((prop) => { + if (oldParams[prop] == null) { + oldParams[prop] = newParams[prop]; + } + }); + } + } +}; +var VOID_VALUE = "void"; +var DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE); +var AnimationTransitionNamespace = class { + id; + hostElement; + _engine; + players = []; + _triggers = /* @__PURE__ */ new Map(); + _queue = []; + _elementListeners = /* @__PURE__ */ new Map(); + _hostClassName; + constructor(id, hostElement, _engine) { + this.id = id; + this.hostElement = hostElement; + this._engine = _engine; + this._hostClassName = "ng-tns-" + id; + addClass(hostElement, this._hostClassName); + } + listen(element, name, phase, callback) { + 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, /* @__PURE__ */ new Map()); + if (!triggersWithStates.has(name)) { + addClass(element, NG_TRIGGER_CLASSNAME); + addClass(element, NG_TRIGGER_CLASSNAME + "-" + name); + triggersWithStates.set(name, DEFAULT_STATE_VALUE); + } + return () => { + 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, ast) { + if (this._triggers.has(name)) { + return false; + } else { + this._triggers.set(name, ast); + return true; + } + } + _getTrigger(name) { + const trigger = this._triggers.get(name); + if (!trigger) { + throw unregisteredTrigger(name); + } + return trigger; + } + trigger(element, triggerName, value, defaultToFallback = true) { + 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 = /* @__PURE__ */ 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; + if (!isRemoval && fromState.value === toState.value) { + if (!objEquals(fromState.params, toState.params)) { + const errors = []; + 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 = getOrSetDefaultValue(this._engine.playersByElement, element, []); + playersOnElement.forEach((player2) => { + if (player2.namespaceId == this.id && player2.triggerName == triggerName && player2.queued) { + player2.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 index2 = players.indexOf(player); + if (index2 >= 0) { + players.splice(index2, 1); + } + } + }); + this.players.push(player); + playersOnElement.push(player); + return player; + } + deregister(name) { + 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) { + 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); + } + } + _signalRemovalForInnerTriggers(rootElement, context) { + const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true); + elements.forEach((elm) => { + 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); + } + }); + this._engine.afterFlushAnimationsDone(() => elements.forEach((elm) => this.clearElementCache(elm))); + } + triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) { + const triggerStates = this._engine.statesByElement.get(element); + const previousTriggersValues = /* @__PURE__ */ new Map(); + if (triggerStates) { + const players = []; + triggerStates.forEach((state, triggerName) => { + previousTriggersValues.set(triggerName, state.value); + 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) { + const listeners = this._elementListeners.get(element); + const elementStates = this._engine.statesByElement.get(element); + if (listeners && elementStates) { + const visitedTriggers = /* @__PURE__ */ 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, context) { + const engine = this._engine; + if (element.childElementCount) { + this._signalRemovalForInnerTriggers(element, context); + } + if (this.triggerLeaveAnimation(element, context, true)) return; + let containsPotentialParentTransition = false; + if (engine.totalAnimations) { + const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : []; + 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; + } + } + } + } + this.prepareLeaveAnimationListeners(element); + if (containsPotentialParentTransition) { + engine.markElementAsRemoved(this.id, element, false, context); + } else { + const removalFlag = element[REMOVAL_FLAG]; + if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) { + engine.afterFlush(() => this.clearElementCache(element)); + engine.destroyInnerAnimations(element); + engine._onRemovalComplete(element, context); + } + } + } + insertNode(element, parent) { + addClass(element, this._hostClassName); + } + drainQueuedTransitions(microtaskId) { + const instructions = []; + 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) => { + if (listener.name == entry.triggerName) { + const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value); + baseEvent["_data"] = microtaskId; + listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback); + } + }); + } + if (player.markedForDestroy) { + this._engine.afterFlush(() => { + player.destroy(); + }); + } else { + instructions.push(entry); + } + }); + this._queue = []; + return instructions.sort((a, b) => { + 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) { + this.players.forEach((p) => p.destroy()); + this._signalRemovalForInnerTriggers(this.hostElement, context); + } +}; +var TransitionAnimationEngine = class { + bodyNode; + driver; + _normalizer; + players = []; + newHostElements = /* @__PURE__ */ new Map(); + playersByElement = /* @__PURE__ */ new Map(); + playersByQueriedElement = /* @__PURE__ */ new Map(); + statesByElement = /* @__PURE__ */ new Map(); + disabledNodes = /* @__PURE__ */ new Set(); + totalAnimations = 0; + totalQueuedPlayers = 0; + _namespaceLookup = {}; + _namespaceList = []; + _flushFns = []; + _whenQuietFns = []; + namespacesByHostElement = /* @__PURE__ */ new Map(); + collectedEnterElements = []; + collectedLeaveElements = []; + // this method is designed to be overridden by the code that uses this engine + onRemovalComplete = (element, context) => { + }; + /** @internal */ + _onRemovalComplete(element, context) { + this.onRemovalComplete(element, context); + } + constructor(bodyNode, driver, _normalizer) { + this.bodyNode = bodyNode; + this.driver = driver; + this._normalizer = _normalizer; + } + get queuedPlayers() { + const players = []; + this._namespaceList.forEach((ns) => { + ns.players.forEach((player) => { + if (player.queued) { + players.push(player); + } + }); + }); + return players; + } + createNamespace(namespaceId, hostElement) { + const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this); + if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) { + this._balanceNamespaceList(ns, hostElement); + } else { + this.newHostElements.set(hostElement, ns); + this.collectEnterElement(hostElement); + } + return this._namespaceLookup[namespaceId] = ns; + } + _balanceNamespaceList(ns, hostElement) { + const namespaceList = this._namespaceList; + const namespacesByHostElement = this.namespacesByHostElement; + const limit = namespaceList.length - 1; + if (limit >= 0) { + let found = false; + let ancestor = this.driver.getParentElement(hostElement); + while (ancestor) { + const ancestorNs = namespacesByHostElement.get(ancestor); + if (ancestorNs) { + const index = namespaceList.indexOf(ancestorNs); + namespaceList.splice(index + 1, 0, ns); + found = true; + break; + } + ancestor = this.driver.getParentElement(ancestor); + } + if (!found) { + namespaceList.unshift(ns); + } + } else { + namespaceList.push(ns); + } + namespacesByHostElement.set(hostElement, ns); + return ns; + } + register(namespaceId, hostElement) { + let ns = this._namespaceLookup[namespaceId]; + if (!ns) { + ns = this.createNamespace(namespaceId, hostElement); + } + return ns; + } + registerTrigger(namespaceId, name, trigger) { + let ns = this._namespaceLookup[namespaceId]; + if (ns && ns.register(name, trigger)) { + this.totalAnimations++; + } + } + destroy(namespaceId, context) { + if (!namespaceId) return; + this.afterFlush(() => { + }); + this.afterFlushAnimationsDone(() => { + const ns = this._fetchNamespace(namespaceId); + this.namespacesByHostElement.delete(ns.hostElement); + const index = this._namespaceList.indexOf(ns); + if (index >= 0) { + this._namespaceList.splice(index, 1); + } + ns.destroy(context); + delete this._namespaceLookup[namespaceId]; + }); + } + _fetchNamespace(id) { + return this._namespaceLookup[id]; + } + fetchNamespacesByElement(element) { + const namespaces = /* @__PURE__ */ 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, element, name, value) { + if (isElementNode(element)) { + const ns = this._fetchNamespace(namespaceId); + if (ns) { + ns.trigger(element, name, value); + return true; + } + } + return false; + } + insertNode(namespaceId, element, parent, insertBefore) { + if (!isElementNode(element)) return; + const details = element[REMOVAL_FLAG]; + if (details && details.setForRemoval) { + details.setForRemoval = false; + details.setForMove = true; + const index = this.collectedLeaveElements.indexOf(element); + if (index >= 0) { + this.collectedLeaveElements.splice(index, 1); + } + } + if (namespaceId) { + const ns = this._fetchNamespace(namespaceId); + if (ns) { + ns.insertNode(element, parent); + } + } + if (insertBefore) { + this.collectEnterElement(element); + } + } + collectEnterElement(element) { + this.collectedEnterElements.push(element); + } + markElementAsDisabled(element, value) { + 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, element, context) { + if (isElementNode(element)) { + const ns = namespaceId ? this._fetchNamespace(namespaceId) : null; + if (ns) { + ns.removeNode(element, context); + } else { + this.markElementAsRemoved(namespaceId, element, false, context); + } + const hostNS = this.namespacesByHostElement.get(element); + if (hostNS && hostNS.id !== namespaceId) { + hostNS.removeNode(element, context); + } + } else { + this._onRemovalComplete(element, context); + } + } + markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) { + this.collectedLeaveElements.push(element); + element[REMOVAL_FLAG] = { + namespaceId, + setForRemoval: context, + hasAnimation, + removedBeforeQueried: false, + previousTriggersValues + }; + } + listen(namespaceId, element, name, phase, callback) { + if (isElementNode(element)) { + return this._fetchNamespace(namespaceId).listen(element, name, phase, callback); + } + return () => { + }; + } + _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) { + 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) { + 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) { + const players = this.playersByElement.get(element); + if (players) { + players.forEach((player) => { + if (player.queued) { + player.markedForDestroy = true; + } else { + player.destroy(); + } + }); + } + } + finishActiveQueriedAnimationOnElement(element) { + const players = this.playersByQueriedElement.get(element); + if (players) { + players.forEach((player) => player.finish()); + } + } + whenRenderingDone() { + return new Promise((resolve) => { + if (this.players.length) { + return optimizeGroupPlayer(this.players).onDone(() => resolve()); + } else { + resolve(); + } + }); + } + processLeaveNode(element) { + const details = element[REMOVAL_FLAG]; + if (details && details.setForRemoval) { + 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 = -1) { + let players = []; + 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 = []; + 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) { + const quietFns = this._whenQuietFns; + this._whenQuietFns = []; + if (players.length) { + optimizeGroupPlayer(players).onDone(() => { + quietFns.forEach((fn) => fn()); + }); + } else { + quietFns.forEach((fn) => fn()); + } + } + } + reportError(errors) { + throw triggerTransitionsFailed(errors); + } + _flushAnimations(cleanupFns, microtaskId) { + const subTimelines = new ElementInstructionMap(); + const skippedPlayers = []; + const skippedPlayersMap = /* @__PURE__ */ new Map(); + const queuedInstructions = []; + const queriedElements = /* @__PURE__ */ new Map(); + const allPreStyleElements = /* @__PURE__ */ new Map(); + const allPostStyleElements = /* @__PURE__ */ new Map(); + const disabledElementsSet = /* @__PURE__ */ new Set(); + this.disabledNodes.forEach((node) => { + disabledElementsSet.add(node); + const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true); + for (let i2 = 0; i2 < nodesThatAreDisabled.length; i2++) { + disabledElementsSet.add(nodesThatAreDisabled[i2]); + } + }); + const bodyNode = this.bodyNode; + const allTriggerElements = Array.from(this.statesByElement.keys()); + const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements); + const enterNodeMapIds = /* @__PURE__ */ 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 = []; + const mergedLeaveNodes = /* @__PURE__ */ new Set(); + const leaveNodesWithoutAnimations = /* @__PURE__ */ new Set(); + for (let i2 = 0; i2 < this.collectedLeaveElements.length; i2++) { + const element = this.collectedLeaveElements[i2]; + const details = element[REMOVAL_FLAG]; + 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 = /* @__PURE__ */ 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 = []; + const erroneousTransitions = []; + for (let i2 = this._namespaceList.length - 1; i2 >= 0; i2--) { + const ns = this._namespaceList[i2]; + 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]; + if (details && details.setForMove) { + if (details.previousTriggersValues && details.previousTriggersValues.has(entry.triggerName)) { + const previousValue = details.previousTriggersValues.get(entry.triggerName); + 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; + } + if (nodeIsOrphaned) { + player.onStart(() => eraseStyles(element, instruction.fromStyles)); + player.onDestroy(() => setStyles(element, instruction.toStyles)); + skippedPlayers.push(player); + return; + } + if (entry.isFallbackTransition) { + player.onStart(() => eraseStyles(element, instruction.fromStyles)); + player.onDestroy(() => setStyles(element, instruction.toStyles)); + skippedPlayers.push(player); + return; + } + const timelines = []; + 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((element2) => getOrSetDefaultValue(queriedElements, element2, []).push(player)); + instruction.preStyleProps.forEach((stringMap, element2) => { + if (stringMap.size) { + let setVal = allPreStyleElements.get(element2); + if (!setVal) { + allPreStyleElements.set(element2, setVal = /* @__PURE__ */ new Set()); + } + stringMap.forEach((_, prop) => setVal.add(prop)); + } + }); + instruction.postStyleProps.forEach((stringMap, element2) => { + let setVal = allPostStyleElements.get(element2); + if (!setVal) { + allPostStyleElements.set(element2, setVal = /* @__PURE__ */ new Set()); + } + stringMap.forEach((_, prop) => setVal.add(prop)); + }); + }); + } + if (erroneousTransitions.length) { + const errors = []; + erroneousTransitions.forEach((instruction) => { + errors.push(transitionFailed(instruction.triggerName, instruction.errors)); + }); + allPlayers.forEach((player) => player.destroy()); + this.reportError(errors); + } + const allPreviousPlayersMap = /* @__PURE__ */ new Map(); + const animationElementMap = /* @__PURE__ */ 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(); + }); + }); + const replaceNodes = allLeaveNodes.filter((node) => { + return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements); + }); + const postStylesMap = /* @__PURE__ */ new Map(); + const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE); + allLeaveQueriedNodes.forEach((node) => { + if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) { + replaceNodes.push(node); + } + }); + const preStylesMap = /* @__PURE__ */ new Map(); + enterNodeMap.forEach((nodes, root) => { + cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, \u0275PRE_STYLE); + }); + replaceNodes.forEach((node) => { + const post = postStylesMap.get(node); + const pre = preStylesMap.get(node); + postStylesMap.set(node, new Map([...post?.entries() ?? [], ...pre?.entries() ?? []])); + }); + const rootPlayers = []; + const subPlayers = []; + const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {}; + queuedInstructions.forEach((entry) => { + const { + element, + player, + instruction + } = entry; + 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; + } + let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED; + if (animationElementMap.size > 1) { + let elm = element; + const parentsToAdd = []; + 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)); + subPlayers.push(player); + if (disabledElementsSet.has(element)) { + skippedPlayers.push(player); + } + } + }); + subPlayers.forEach((player) => { + const playersForElement = skippedPlayersMap.get(player.element); + if (playersForElement && playersForElement.length) { + const innerPlayer = optimizeGroupPlayer(playersForElement); + player.setRealPlayer(innerPlayer); + } + }); + skippedPlayers.forEach((player) => { + if (player.parentPlayer) { + player.syncPlayerEvents(player.parentPlayer); + } else { + player.destroy(); + } + }); + for (let i2 = 0; i2 < allLeaveNodes.length; i2++) { + const element = allLeaveNodes[i2]; + const details = element[REMOVAL_FLAG]; + removeClass(element, LEAVE_CLASSNAME); + if (details && details.hasAnimation) continue; + let players = []; + 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); + } + } + 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; + } + afterFlush(callback) { + this._flushFns.push(callback); + } + afterFlushAnimationsDone(callback) { + this._whenQuietFns.push(callback); + } + _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) { + let players = []; + 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; + } + _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) { + const triggerName = instruction.triggerName; + const rootElement = instruction.element; + const targetNameSpaceId = instruction.isRemovalTransition ? void 0 : namespaceId; + const targetTriggerName = instruction.isRemovalTransition ? void 0 : 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.getRealPlayer(); + if (realPlayer.beforeDestroy) { + realPlayer.beforeDestroy(); + } + player.destroy(); + players.push(player); + }); + } + eraseStyles(rootElement, instruction.fromStyles); + } + _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) { + const triggerName = instruction.triggerName; + const rootElement = instruction.element; + const allQueriedPlayers = []; + const allConsumedElements = /* @__PURE__ */ new Set(); + const allSubElements = /* @__PURE__ */ new Set(); + const allNewPlayers = instruction.timelines.map((timelineInstruction) => { + const element = timelineInstruction.element; + allConsumedElements.add(element); + 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) => { + const pp = p; + return pp.element ? pp.element === element : false; + }); + const preStyles = preStylesMap.get(element); + const postStyles = postStylesMap.get(element); + const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles); + const player2 = this._buildPlayer(timelineInstruction, keyframes, previousPlayers); + if (timelineInstruction.subTimeline && skippedPlayersMap) { + allSubElements.add(element); + } + if (isQueriedElement) { + const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element); + wrappedPlayer.setRealPlayer(player2); + allQueriedPlayers.push(wrappedPlayer); + } + return player2; + }); + allQueriedPlayers.forEach((player2) => { + getOrSetDefaultValue(this.playersByQueriedElement, player2.element, []).push(player2); + player2.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player2.element, player2)); + }); + 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); + }); + allSubElements.forEach((element) => { + getOrSetDefaultValue(skippedPlayersMap, element, []).push(player); + }); + return player; + } + _buildPlayer(instruction, keyframes, previousPlayers) { + if (keyframes.length > 0) { + return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers); + } + return new NoopAnimationPlayer(instruction.duration, instruction.delay); + } +}; +var TransitionAnimationPlayer = class { + namespaceId; + triggerName; + element; + _player = new NoopAnimationPlayer(); + _containsRealPlayer = false; + _queuedCallbacks = /* @__PURE__ */ new Map(); + destroyed = false; + parentPlayer = null; + markedForDestroy = false; + disabled = false; + queued = true; + totalTime = 0; + constructor(namespaceId, triggerName, element) { + this.namespaceId = namespaceId; + this.triggerName = triggerName; + this.element = element; + } + setRealPlayer(player) { + if (this._containsRealPlayer) return; + this._player = player; + this._queuedCallbacks.forEach((callbacks, phase) => { + callbacks.forEach((callback) => listenOnPlayer(player, phase, void 0, callback)); + }); + this._queuedCallbacks.clear(); + this._containsRealPlayer = true; + this.overrideTotalTime(player.totalTime); + this.queued = false; + } + getRealPlayer() { + return this._player; + } + overrideTotalTime(totalTime) { + this.totalTime = totalTime; + } + syncPlayerEvents(player) { + const p = this._player; + if (p.triggerCallback) { + player.onStart(() => p.triggerCallback("start")); + } + player.onDone(() => this.finish()); + player.onDestroy(() => this.destroy()); + } + _queueEvent(name, callback) { + getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback); + } + onDone(fn) { + if (this.queued) { + this._queueEvent("done", fn); + } + this._player.onDone(fn); + } + onStart(fn) { + if (this.queued) { + this._queueEvent("start", fn); + } + this._player.onStart(fn); + } + onDestroy(fn) { + if (this.queued) { + this._queueEvent("destroy", fn); + } + this._player.onDestroy(fn); + } + init() { + this._player.init(); + } + hasStarted() { + return this.queued ? false : this._player.hasStarted(); + } + play() { + !this.queued && this._player.play(); + } + pause() { + !this.queued && this._player.pause(); + } + restart() { + !this.queued && this._player.restart(); + } + finish() { + this._player.finish(); + } + destroy() { + this.destroyed = true; + this._player.destroy(); + } + reset() { + !this.queued && this._player.reset(); + } + setPosition(p) { + if (!this.queued) { + this._player.setPosition(p); + } + } + getPosition() { + return this.queued ? 0 : this._player.getPosition(); + } + /** @internal */ + triggerCallback(phaseName) { + const p = this._player; + if (p.triggerCallback) { + p.triggerCallback(phaseName); + } + } +}; +function deleteOrUnsetInMap(map, key, value) { + 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) { + return value != null ? value : null; +} +function isElementNode(node) { + return node && node["nodeType"] === 1; +} +function isTriggerEventValid(eventName) { + return eventName == "start" || eventName == "done"; +} +function cloakElement(element, value) { + const oldValue = element.style.display; + element.style.display = value != null ? value : "none"; + return oldValue; +} +function cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) { + const cloakVals = []; + elements.forEach((element) => cloakVals.push(cloakElement(element))); + const failedElements = []; + elementPropsMap.forEach((props, element) => { + const styles = /* @__PURE__ */ new Map(); + props.forEach((prop) => { + const value = driver.computeStyle(element, prop, defaultStyle); + styles.set(prop, value); + if (!value || value.length == 0) { + element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE; + failedElements.push(element); + } + }); + valuesMap.set(element, styles); + }); + let i = 0; + elements.forEach((element) => cloakElement(element, cloakVals[i++])); + return failedElements; +} +function buildRootMap(roots, nodes) { + const rootMap = /* @__PURE__ */ 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 = /* @__PURE__ */ new Map(); + function getRoot(node) { + if (!node) return NULL_NODE; + let root = localRootMap.get(node); + if (root) return root; + const parent = node.parentNode; + if (rootMap.has(parent)) { + root = parent; + } else if (nodeSet.has(parent)) { + root = NULL_NODE; + } else { + 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, className) { + element.classList?.add(className); +} +function removeClass(element, className) { + element.classList?.remove(className); +} +function removeNodesAfterAnimationDone(engine, element, players) { + optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element)); +} +function flattenGroupPlayers(players) { + const finalPlayers = []; + _flattenGroupPlayersRecur(players, finalPlayers); + return finalPlayers; +} +function _flattenGroupPlayersRecur(players, finalPlayers) { + 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, b) { + 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, allPreStyleElements, allPostStyleElements) { + 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; +} +var AnimationEngine = class { + _driver; + _normalizer; + _transitionEngine; + _timelineEngine; + _triggerCache = {}; + // this method is designed to be overridden by the code that uses this engine + onRemovalComplete = (element, context) => { + }; + constructor(doc, _driver, _normalizer) { + this._driver = _driver; + this._normalizer = _normalizer; + this._transitionEngine = new TransitionAnimationEngine(doc.body, _driver, _normalizer); + this._timelineEngine = new TimelineAnimationEngine(doc.body, _driver, _normalizer); + this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context); + } + registerTrigger(componentId, namespaceId, hostElement, name, metadata) { + const cacheKey = componentId + "-" + name; + let trigger = this._triggerCache[cacheKey]; + if (!trigger) { + const errors = []; + const warnings = []; + const ast = buildAnimationAst(this._driver, metadata, errors, warnings); + if (errors.length) { + throw triggerBuildFailed(name, errors); + } + if (typeof ngDevMode === "undefined" || ngDevMode) { + if (warnings.length) { + warnTriggerBuild(name, warnings); + } + } + trigger = buildTrigger(name, ast, this._normalizer); + this._triggerCache[cacheKey] = trigger; + } + this._transitionEngine.registerTrigger(namespaceId, name, trigger); + } + register(namespaceId, hostElement) { + this._transitionEngine.register(namespaceId, hostElement); + } + destroy(namespaceId, context) { + this._transitionEngine.destroy(namespaceId, context); + } + onInsert(namespaceId, element, parent, insertBefore) { + this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore); + } + onRemove(namespaceId, element, context) { + this._transitionEngine.removeNode(namespaceId, element, context); + } + disableAnimations(element, disable) { + this._transitionEngine.markElementAsDisabled(element, disable); + } + process(namespaceId, element, property, value) { + if (property.charAt(0) == "@") { + const [id, action] = parseTimelineCommand(property); + const args = value; + this._timelineEngine.command(id, element, action, args); + } else { + this._transitionEngine.trigger(namespaceId, element, property, value); + } + } + listen(namespaceId, element, eventName, eventPhase, callback) { + 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 = -1) { + this._transitionEngine.flush(microtaskId); + } + get players() { + return [...this._transitionEngine.players, ...this._timelineEngine.players]; + } + whenRenderingDone() { + return this._transitionEngine.whenRenderingDone(); + } + afterFlushAnimationsDone(cb) { + this._transitionEngine.afterFlushAnimationsDone(cb); + } +}; +function packageNonAnimatableStyles(element, styles) { + let startStyles = null; + let endStyles = 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; +} +var SpecialCasedStyles = class _SpecialCasedStyles { + _element; + _startStyles; + _endStyles; + static initialStylesByElement = /* @__PURE__ */ new WeakMap(); + _state = 0; + _initialStyles; + constructor(_element, _startStyles, _endStyles) { + this._element = _element; + this._startStyles = _startStyles; + this._endStyles = _endStyles; + let initialStyles = _SpecialCasedStyles.initialStylesByElement.get(_element); + if (!initialStyles) { + _SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = /* @__PURE__ */ new Map()); + } + this._initialStyles = initialStyles; + } + start() { + if (this._state < 1) { + if (this._startStyles) { + setStyles(this._element, this._startStyles, this._initialStyles); + } + this._state = 1; + } + } + finish() { + this.start(); + if (this._state < 2) { + setStyles(this._element, this._initialStyles); + if (this._endStyles) { + setStyles(this._element, this._endStyles); + this._endStyles = null; + } + this._state = 1; + } + } + destroy() { + this.finish(); + if (this._state < 3) { + _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 = 3; + } + } +}; +function filterNonAnimatableStyles(styles) { + let result = null; + styles.forEach((val, prop) => { + if (isNonAnimatableStyle(prop)) { + result = result || /* @__PURE__ */ new Map(); + result.set(prop, val); + } + }); + return result; +} +function isNonAnimatableStyle(prop) { + return prop === "display" || prop === "position"; +} +var WebAnimationsPlayer = class { + element; + keyframes; + options; + _specialStyles; + _onDoneFns = []; + _onStartFns = []; + _onDestroyFns = []; + _duration; + _delay; + _initialized = false; + _finished = false; + _started = false; + _destroyed = false; + _finalKeyframe; + // 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) + _originalOnDoneFns = []; + _originalOnStartFns = []; + // using non-null assertion because it's re(set) by init(); + domPlayer; + time = 0; + parentPlayer = null; + currentSnapshot = /* @__PURE__ */ new Map(); + constructor(element, keyframes, options, _specialStyles) { + this.element = element; + this.keyframes = keyframes; + this.options = options; + this._specialStyles = _specialStyles; + this._duration = options["duration"]; + this._delay = options["delay"] || 0; + this.time = this._duration + this._delay; + } + _onFinish() { + if (!this._finished) { + this._finished = true; + this._onDoneFns.forEach((fn) => fn()); + this._onDoneFns = []; + } + } + init() { + this._buildPlayer(); + this._preparePlayerBeforeStart(); + } + _buildPlayer() { + if (this._initialized) return; + this._initialized = true; + const keyframes = this.keyframes; + this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options); + this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : /* @__PURE__ */ new Map(); + const onFinish = () => this._onFinish(); + this.domPlayer.addEventListener("finish", onFinish); + this.onDestroy(() => { + this.domPlayer.removeEventListener("finish", onFinish); + }); + } + _preparePlayerBeforeStart() { + if (this._delay) { + this._resetDomPlayerState(); + } else { + this.domPlayer.pause(); + } + } + _convertKeyframesToObject(keyframes) { + const kfs = []; + keyframes.forEach((frame) => { + kfs.push(Object.fromEntries(frame)); + }); + return kfs; + } + /** @internal */ + _triggerWebAnimation(element, keyframes, options) { + return element.animate(this._convertKeyframesToObject(keyframes), options); + } + onStart(fn) { + this._originalOnStartFns.push(fn); + this._onStartFns.push(fn); + } + onDone(fn) { + this._originalOnDoneFns.push(fn); + this._onDoneFns.push(fn); + } + onDestroy(fn) { + this._onDestroyFns.push(fn); + } + play() { + 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() { + this.init(); + this.domPlayer.pause(); + } + finish() { + this.init(); + if (this._specialStyles) { + this._specialStyles.finish(); + } + this._onFinish(); + this.domPlayer.finish(); + } + reset() { + this._resetDomPlayerState(); + this._destroyed = false; + this._finished = false; + this._started = false; + this._onStartFns = this._originalOnStartFns; + this._onDoneFns = this._originalOnDoneFns; + } + _resetDomPlayerState() { + if (this.domPlayer) { + this.domPlayer.cancel(); + } + } + restart() { + this.reset(); + this.play(); + } + hasStarted() { + return this._started; + } + destroy() { + 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) { + if (this.domPlayer === void 0) { + this.init(); + } + this.domPlayer.currentTime = p * this.time; + } + getPosition() { + return +(this.domPlayer.currentTime ?? 0) / this.time; + } + get totalTime() { + return this._delay + this._duration; + } + beforeDestroy() { + const styles = /* @__PURE__ */ new Map(); + if (this.hasStarted()) { + 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) { + const methods = phaseName === "start" ? this._onStartFns : this._onDoneFns; + methods.forEach((fn) => fn()); + methods.length = 0; + } +}; +var WebAnimationsDriver = class { + validateStyleProperty(prop) { + if (typeof ngDevMode === "undefined" || ngDevMode) { + return validateStyleProperty(prop); + } + return true; + } + validateAnimatableStyleProperty(prop) { + if (typeof ngDevMode === "undefined" || ngDevMode) { + const cssProp = camelCaseToDashCase(prop); + return validateWebAnimatableStyleProperty(cssProp); + } + return true; + } + containsElement(elm1, elm2) { + return containsElement(elm1, elm2); + } + getParentElement(element) { + return getParentElement(element); + } + query(element, selector, multi) { + return invokeQuery(element, selector, multi); + } + computeStyle(element, prop, defaultValue) { + return computeStyle(element, prop); + } + animate(element, keyframes, duration, delay, easing, previousPlayers = []) { + const fill = delay == 0 ? "both" : "forwards"; + const playerOptions = { + duration, + delay, + fill + }; + if (easing) { + playerOptions["easing"] = easing; + } + const previousStyles = /* @__PURE__ */ 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) => new Map(styles)); + _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles); + const specialStyles = packageNonAnimatableStyles(element, _keyframes); + return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles); + } +}; +function createEngine(type, doc) { + if (type === "noop") { + return new AnimationEngine(doc, new NoopAnimationDriver(), new NoopAnimationStyleNormalizer()); + } + return new AnimationEngine(doc, new WebAnimationsDriver(), new WebAnimationsStyleNormalizer()); +} +var Animation = class { + _driver; + _animationAst; + constructor(_driver, input) { + this._driver = _driver; + const errors = []; + const warnings = []; + const ast = buildAnimationAst(_driver, input, errors, warnings); + if (errors.length) { + throw validationFailed(errors); + } + if (typeof ngDevMode === "undefined" || ngDevMode) { + if (warnings.length) { + warnValidation(warnings); + } + } + this._animationAst = ast; + } + buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) { + const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) : startingStyles; + const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) : destinationStyles; + const errors = []; + 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; + } +}; +var ANIMATION_PREFIX = "@"; +var DISABLE_ANIMATIONS_FLAG = "@.disabled"; +var BaseAnimationRenderer = class { + namespaceId; + delegate; + engine; + _onDestroy; + // We need to explicitly type this property because of an api-extractor bug + // See https://github.com/microsoft/rushstack/issues/4390 + \u0275type = 0; + constructor(namespaceId, delegate, engine, _onDestroy) { + this.namespaceId = namespaceId; + this.delegate = delegate; + this.engine = engine; + this._onDestroy = _onDestroy; + } + get data() { + return this.delegate.data; + } + destroyNode(node) { + this.delegate.destroyNode?.(node); + } + destroy() { + this.engine.destroy(this.namespaceId, this.delegate); + this.engine.afterFlushAnimationsDone(() => { + queueMicrotask(() => { + this.delegate.destroy(); + }); + }); + this._onDestroy?.(); + } + createElement(name, namespace) { + return this.delegate.createElement(name, namespace); + } + createComment(value) { + return this.delegate.createComment(value); + } + createText(value) { + return this.delegate.createText(value); + } + appendChild(parent, newChild) { + this.delegate.appendChild(parent, newChild); + this.engine.onInsert(this.namespaceId, newChild, parent, false); + } + insertBefore(parent, newChild, refChild, isMove = true) { + this.delegate.insertBefore(parent, newChild, refChild); + this.engine.onInsert(this.namespaceId, newChild, parent, isMove); + } + removeChild(parent, oldChild, isHostElement) { + if (this.parentNode(oldChild)) { + this.engine.onRemove(this.namespaceId, oldChild, this.delegate); + } + } + selectRootElement(selectorOrNode, preserveContent) { + return this.delegate.selectRootElement(selectorOrNode, preserveContent); + } + parentNode(node) { + return this.delegate.parentNode(node); + } + nextSibling(node) { + return this.delegate.nextSibling(node); + } + setAttribute(el, name, value, namespace) { + this.delegate.setAttribute(el, name, value, namespace); + } + removeAttribute(el, name, namespace) { + this.delegate.removeAttribute(el, name, namespace); + } + addClass(el, name) { + this.delegate.addClass(el, name); + } + removeClass(el, name) { + this.delegate.removeClass(el, name); + } + setStyle(el, style2, value, flags) { + this.delegate.setStyle(el, style2, value, flags); + } + removeStyle(el, style2, flags) { + this.delegate.removeStyle(el, style2, flags); + } + setProperty(el, name, value) { + if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) { + this.disableAnimations(el, !!value); + } else { + this.delegate.setProperty(el, name, value); + } + } + setValue(node, value) { + this.delegate.setValue(node, value); + } + listen(target, eventName, callback, options) { + return this.delegate.listen(target, eventName, callback, options); + } + disableAnimations(element, value) { + this.engine.disableAnimations(element, value); + } +}; +var AnimationRenderer = class extends BaseAnimationRenderer { + factory; + constructor(factory, namespaceId, delegate, engine, onDestroy) { + super(namespaceId, delegate, engine, onDestroy); + this.factory = factory; + this.namespaceId = namespaceId; + } + setProperty(el, name, value) { + if (name.charAt(0) == ANIMATION_PREFIX) { + if (name.charAt(1) == "." && name == DISABLE_ANIMATIONS_FLAG) { + value = value === void 0 ? true : !!value; + this.disableAnimations(el, value); + } else { + this.engine.process(this.namespaceId, el, name.slice(1), value); + } + } else { + this.delegate.setProperty(el, name, value); + } + } + listen(target, eventName, callback, options) { + if (eventName.charAt(0) == ANIMATION_PREFIX) { + const element = resolveElementFromTarget(target); + let name = eventName.slice(1); + let phase = ""; + if (name.charAt(0) != ANIMATION_PREFIX) { + [name, phase] = parseTriggerCallbackName(name); + } + return this.engine.listen(this.namespaceId, element, name, phase, (event) => { + const countId = event["_data"] || -1; + this.factory.scheduleListenerCallback(countId, callback, event); + }); + } + return this.delegate.listen(target, eventName, callback, options); + } +}; +function resolveElementFromTarget(target) { + switch (target) { + case "body": + return document.body; + case "document": + return document; + case "window": + return window; + default: + return target; + } +} +function parseTriggerCallbackName(triggerName) { + const dotIndex = triggerName.indexOf("."); + const trigger = triggerName.substring(0, dotIndex); + const phase = triggerName.slice(dotIndex + 1); + return [trigger, phase]; +} +var AnimationRendererFactory = class { + delegate; + engine; + _zone; + _currentId = 0; + _microtaskId = 1; + _animationCallbacksBuffer = []; + _rendererCache = /* @__PURE__ */ new Map(); + _cdRecurDepth = 0; + constructor(delegate, engine, _zone) { + this.delegate = delegate; + this.engine = engine; + this._zone = _zone; + engine.onRemovalComplete = (element, delegate2) => { + delegate2?.removeChild(null, element); + }; + } + createRenderer(hostElement, type) { + const EMPTY_NAMESPACE_ID = ""; + const delegate = this.delegate.createRenderer(hostElement, type); + if (!hostElement || !type?.data?.["animation"]) { + const cache = this._rendererCache; + let renderer = cache.get(delegate); + if (!renderer) { + const onRendererDestroy = () => cache.delete(delegate); + renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy); + cache.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) => { + if (Array.isArray(trigger)) { + trigger.forEach(registerTrigger); + } else { + this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger); + } + }; + const animationTriggers = type.data["animation"]; + animationTriggers.forEach(registerTrigger); + return new AnimationRenderer(this, namespaceId, delegate, this.engine); + } + begin() { + this._cdRecurDepth++; + if (this.delegate.begin) { + this.delegate.begin(); + } + } + _scheduleCountTask() { + queueMicrotask(() => { + this._microtaskId++; + }); + } + /** @internal */ + scheduleListenerCallback(count, fn, data) { + if (count >= 0 && count < this._microtaskId) { + this._zone.run(() => fn(data)); + return; + } + const animationCallbacksBuffer = this._animationCallbacksBuffer; + if (animationCallbacksBuffer.length == 0) { + queueMicrotask(() => { + this._zone.run(() => { + animationCallbacksBuffer.forEach((tuple) => { + const [fn2, data2] = tuple; + fn2(data2); + }); + this._animationCallbacksBuffer = []; + }); + }); + } + animationCallbacksBuffer.push([fn, data]); + } + end() { + this._cdRecurDepth--; + if (this._cdRecurDepth == 0) { + this._zone.runOutsideAngular(() => { + this._scheduleCountTask(); + this.engine.flush(this._microtaskId); + }); + } + if (this.delegate.end) { + this.delegate.end(); + } + } + whenRenderingDone() { + return this.engine.whenRenderingDone(); + } + /** + * Used during HMR to clear any cached data about a component. + * @param componentId ID of the component that is being replaced. + */ + componentReplaced(componentId) { + this.engine.flush(); + this.delegate.componentReplaced?.(componentId); + } +}; +export { + AnimationDriver, + NoopAnimationDriver, + Animation as \u0275Animation, + AnimationEngine as \u0275AnimationEngine, + AnimationRenderer as \u0275AnimationRenderer, + AnimationRendererFactory as \u0275AnimationRendererFactory, + AnimationStyleNormalizer as \u0275AnimationStyleNormalizer, + BaseAnimationRenderer as \u0275BaseAnimationRenderer, + NoopAnimationStyleNormalizer as \u0275NoopAnimationStyleNormalizer, + WebAnimationsDriver as \u0275WebAnimationsDriver, + WebAnimationsPlayer as \u0275WebAnimationsPlayer, + WebAnimationsStyleNormalizer as \u0275WebAnimationsStyleNormalizer, + allowPreviousPlayerStylesMerge as \u0275allowPreviousPlayerStylesMerge, + camelCaseToDashCase as \u0275camelCaseToDashCase, + containsElement as \u0275containsElement, + createEngine as \u0275createEngine, + getParentElement as \u0275getParentElement, + invokeQuery as \u0275invokeQuery, + normalizeKeyframes as \u0275normalizeKeyframes, + validateStyleProperty as \u0275validateStyleProperty, + validateWebAnimatableStyleProperty as \u0275validateWebAnimatableStyleProperty +}; +/*! Bundled license information: + +@angular/animations/fesm2022/private_export-faY_wCkZ.mjs: +@angular/animations/fesm2022/util-D9FfmVnv.mjs: +@angular/animations/fesm2022/browser.mjs: + (** + * @license Angular v19.2.11 + * (c) 2010-2025 Google LLC. https://angular.io/ + * License: MIT + *) +*/ +//# sourceMappingURL=browser-L6TR647S.js.map diff --git a/spring-angular-ui/static/browser/browser-L6TR647S.js.map b/spring-angular-ui/static/browser/browser-L6TR647S.js.map new file mode 100644 index 0000000..077dddf --- /dev/null +++ b/spring-angular-ui/static/browser/browser-L6TR647S.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/@angular/animations/fesm2022/private_export-faY_wCkZ.mjs","node_modules/@angular/animations/fesm2022/util-D9FfmVnv.mjs","node_modules/@angular/animations/fesm2022/browser.mjs"],"sourcesContent":["/**\n * @license Angular v19.2.11\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * @description Constants for the categories of parameters that can be defined for animations.\n *\n * A corresponding function defines a set of parameters for each category, and\n * collects them into a corresponding `AnimationMetadata` object.\n *\n * @publicApi\n */\nvar AnimationMetadataType;\n(function (AnimationMetadataType) {\n /**\n * Associates a named animation state with a set of CSS styles.\n * See [`state()`](api/animations/state)\n */\n AnimationMetadataType[AnimationMetadataType[\"State\"] = 0] = \"State\";\n /**\n * Data for a transition from one animation state to another.\n * See `transition()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Transition\"] = 1] = \"Transition\";\n /**\n * Contains a set of animation steps.\n * See `sequence()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Sequence\"] = 2] = \"Sequence\";\n /**\n * Contains a set of animation steps.\n * See `group()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Group\"] = 3] = \"Group\";\n /**\n * Contains an animation step.\n * See `animate()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Animate\"] = 4] = \"Animate\";\n /**\n * Contains a set of animation steps.\n * See `keyframes()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Keyframes\"] = 5] = \"Keyframes\";\n /**\n * Contains a set of CSS property-value pairs into a named style.\n * See `style()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Style\"] = 6] = \"Style\";\n /**\n * Associates an animation with an entry trigger that can be attached to an element.\n * See `trigger()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Trigger\"] = 7] = \"Trigger\";\n /**\n * Contains a re-usable animation.\n * See `animation()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Reference\"] = 8] = \"Reference\";\n /**\n * Contains data to use in executing child animations returned by a query.\n * See `animateChild()`\n */\n AnimationMetadataType[AnimationMetadataType[\"AnimateChild\"] = 9] = \"AnimateChild\";\n /**\n * Contains animation parameters for a re-usable animation.\n * See `useAnimation()`\n */\n AnimationMetadataType[AnimationMetadataType[\"AnimateRef\"] = 10] = \"AnimateRef\";\n /**\n * Contains child-animation query data.\n * See `query()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Query\"] = 11] = \"Query\";\n /**\n * Contains data for staggering an animation sequence.\n * See `stagger()`\n */\n AnimationMetadataType[AnimationMetadataType[\"Stagger\"] = 12] = \"Stagger\";\n})(AnimationMetadataType || (AnimationMetadataType = {}));\n/**\n * Specifies automatic styling.\n *\n * @publicApi\n */\nconst AUTO_STYLE = '*';\n/**\n * Creates a named animation trigger, containing a list of [`state()`](api/animations/state)\n * and `transition()` entries to be evaluated when the expression\n * bound to the trigger changes.\n *\n * @param name An identifying string.\n * @param definitions An animation definition object, containing an array of\n * [`state()`](api/animations/state) and `transition()` declarations.\n *\n * @return An object that encapsulates the trigger data.\n *\n * @usageNotes\n * Define an animation trigger in the `animations` section of `@Component` metadata.\n * In the template, reference the trigger by name and bind it to a trigger expression that\n * evaluates to a defined animation state, using the following format:\n *\n * `[@triggerName]=\"expression\"`\n *\n * Animation trigger bindings convert all values to strings, and then match the\n * previous and current values against any linked transitions.\n * Booleans can be specified as `1` or `true` and `0` or `false`.\n *\n * ### Usage Example\n *\n * The following example creates an animation trigger reference based on the provided\n * name value.\n * The provided animation value is expected to be an array consisting of state and\n * transition declarations.\n *\n * ```ts\n * @Component({\n * selector: \"my-component\",\n * templateUrl: \"my-component-tpl.html\",\n * animations: [\n * trigger(\"myAnimationTrigger\", [\n * state(...),\n * state(...),\n * transition(...),\n * transition(...)\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"something\";\n * }\n * ```\n *\n * The template associated with this component makes use of the defined trigger\n * by binding to an element within its template code.\n *\n * ```html\n * \n *
...
\n * ```\n *\n * ### Using an inline function\n * The `transition` animation method also supports reading an inline function which can decide\n * if its associated animation should be run.\n *\n * ```ts\n * // this method is run each time the `myAnimationTrigger` trigger value changes.\n * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key:\n string]: any}): boolean {\n * // notice that `element` and `params` are also available here\n * return toState == 'yes-please-animate';\n * }\n *\n * @Component({\n * selector: 'my-component',\n * templateUrl: 'my-component-tpl.html',\n * animations: [\n * trigger('myAnimationTrigger', [\n * transition(myInlineMatcherFn, [\n * // the animation sequence code\n * ]),\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"yes-please-animate\";\n * }\n * ```\n *\n * ### Disabling Animations\n * When true, the special animation control binding `@.disabled` binding prevents\n * all animations from rendering.\n * Place the `@.disabled` binding on an element to disable\n * animations on the element itself, as well as any inner animation triggers\n * within the element.\n *\n * The following example shows how to use this feature:\n *\n * ```angular-ts\n * @Component({\n * selector: 'my-component',\n * template: `\n *
\n *
\n *
\n * `,\n * animations: [\n * trigger(\"childAnimation\", [\n * // ...\n * ])\n * ]\n * })\n * class MyComponent {\n * isDisabled = true;\n * exp = '...';\n * }\n * ```\n *\n * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating,\n * along with any inner animations.\n *\n * ### Disable animations application-wide\n * When an area of the template is set to have animations disabled,\n * **all** inner components have their animations disabled as well.\n * This means that you can disable all animations for an app\n * by placing a host binding set on `@.disabled` on the topmost Angular component.\n *\n * ```ts\n * import {Component, HostBinding} from '@angular/core';\n *\n * @Component({\n * selector: 'app-component',\n * templateUrl: 'app.component.html',\n * })\n * class AppComponent {\n * @HostBinding('@.disabled')\n * public animationsDisabled = true;\n * }\n * ```\n *\n * ### Overriding disablement of inner animations\n * Despite inner animations being disabled, a parent animation can `query()`\n * for inner elements located in disabled areas of the template and still animate\n * them if needed. This is also the case for when a sub animation is\n * queried by a parent and then later animated using `animateChild()`.\n *\n * ### Detecting when an animation is disabled\n * If a region of the DOM (or the entire application) has its animations disabled, the animation\n * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides\n * an instance of an `AnimationEvent`. If animations are disabled,\n * the `.disabled` flag on the event is true.\n *\n * @publicApi\n */\nfunction trigger(name, definitions) {\n return {\n type: AnimationMetadataType.Trigger,\n name,\n definitions,\n options: {}\n };\n}\n/**\n * Defines an animation step that combines styling information with timing information.\n *\n * @param timings Sets `AnimateTimings` for the parent animation.\n * A string in the format \"duration [delay] [easing]\".\n * - Duration and delay are expressed as a number and optional time unit,\n * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively.\n * The default unit is milliseconds.\n * - The easing value controls how the animation accelerates and decelerates\n * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`,\n * `ease-in-out`, or a `cubic-bezier()` function call.\n * If not supplied, no easing is applied.\n *\n * For example, the string \"1s 100ms ease-out\" specifies a duration of\n * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style,\n * which decelerates near the end of the duration.\n * @param styles Sets AnimationStyles for the parent animation.\n * A function call to either `style()` or `keyframes()`\n * that returns a collection of CSS style entries to be applied to the parent animation.\n * When null, uses the styles from the destination state.\n * This is useful when describing an animation step that will complete an animation;\n * see \"Animating to the final state\" in `transitions()`.\n * @returns An object that encapsulates the animation step.\n *\n * @usageNotes\n * Call within an animation `sequence()`, {@link /api/animations/group group()}, or\n * `transition()` call to specify an animation step\n * that applies given style data to the parent animation for a given amount of time.\n *\n * ### Syntax Examples\n * **Timing examples**\n *\n * The following examples show various `timings` specifications.\n * - `animate(500)` : Duration is 500 milliseconds.\n * - `animate(\"1s\")` : Duration is 1000 milliseconds.\n * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds.\n * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in.\n * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10\n * milliseconds, easing according to a bezier curve.\n *\n * **Style examples**\n *\n * The following example calls `style()` to set a single CSS style.\n * ```ts\n * animate(500, style({ background: \"red\" }))\n * ```\n * The following example calls `keyframes()` to set a CSS style\n * to different values for successive keyframes.\n * ```ts\n * animate(500, keyframes(\n * [\n * style({ background: \"blue\" }),\n * style({ background: \"red\" })\n * ])\n * ```\n *\n * @publicApi\n */\nfunction animate(timings, styles = null) {\n return {\n type: AnimationMetadataType.Animate,\n styles,\n timings\n };\n}\n/**\n * @description Defines a list of animation steps to be run in parallel.\n *\n * @param steps An array of animation step objects.\n * - When steps are defined by `style()` or `animate()`\n * function calls, each call within the group is executed instantly.\n * - To specify offset styles to be applied at a later time, define steps with\n * `keyframes()`, or use `animate()` calls with a delay value.\n * For example:\n *\n * ```ts\n * group([\n * animate(\"1s\", style({ background: \"black\" })),\n * animate(\"2s\", style({ color: \"white\" }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the group data.\n *\n * @usageNotes\n * Grouped animations are useful when a series of styles must be\n * animated at different starting times and closed off at different ending times.\n *\n * When called within a `sequence()` or a\n * `transition()` call, does not continue to the next\n * instruction until all of the inner animation steps have completed.\n *\n * @publicApi\n */\nfunction group(steps, options = null) {\n return {\n type: AnimationMetadataType.Group,\n steps,\n options\n };\n}\n/**\n * Defines a list of animation steps to be run sequentially, one by one.\n *\n * @param steps An array of animation step objects.\n * - Steps defined by `style()` calls apply the styling data immediately.\n * - Steps defined by `animate()` calls apply the styling data over time\n * as specified by the timing data.\n *\n * ```ts\n * sequence([\n * style({ opacity: 0 }),\n * animate(\"1s\", style({ opacity: 1 }))\n * ])\n * ```\n *\n * @param options An options object containing a delay and\n * developer-defined parameters that provide styling defaults and\n * can be overridden on invocation.\n *\n * @return An object that encapsulates the sequence data.\n *\n * @usageNotes\n * When you pass an array of steps to a\n * `transition()` call, the steps run sequentially by default.\n * Compare this to the {@link /api/animations/group group()} call, which runs animation steps in\n *parallel.\n *\n * When a sequence is used within a {@link /api/animations/group group()} or a `transition()` call,\n * execution continues to the next instruction only after each of the inner animation\n * steps have completed.\n *\n * @publicApi\n **/\nfunction sequence(steps, options = null) {\n return {\n type: AnimationMetadataType.Sequence,\n steps,\n options\n };\n}\n/**\n * Declares a key/value object containing CSS properties/styles that\n * can then be used for an animation [`state`](api/animations/state), within an animation\n *`sequence`, or as styling data for calls to `animate()` and `keyframes()`.\n *\n * @param tokens A set of CSS styles or HTML styles associated with an animation state.\n * The value can be any of the following:\n * - A key-value style pair associating a CSS property with a value.\n * - An array of key-value style pairs.\n * - An asterisk (*), to use auto-styling, where styles are derived from the element\n * being animated and applied to the animation when it starts.\n *\n * Auto-styling can be used to define a state that depends on layout or other\n * environmental factors.\n *\n * @return An object that encapsulates the style data.\n *\n * @usageNotes\n * The following examples create animation styles that collect a set of\n * CSS property values:\n *\n * ```ts\n * // string values for CSS properties\n * style({ background: \"red\", color: \"blue\" })\n *\n * // numerical pixel values\n * style({ width: 100, height: 0 })\n * ```\n *\n * The following example uses auto-styling to allow an element to animate from\n * a height of 0 up to its full height:\n *\n * ```ts\n * style({ height: 0 }),\n * animate(\"1s\", style({ height: \"*\" }))\n * ```\n *\n * @publicApi\n **/\nfunction style(tokens) {\n return {\n type: AnimationMetadataType.Style,\n styles: tokens,\n offset: null\n };\n}\n/**\n * Declares an animation state within a trigger attached to an element.\n *\n * @param name One or more names for the defined state in a comma-separated string.\n * The following reserved state names can be supplied to define a style for specific use\n * cases:\n *\n * - `void` You can associate styles with this name to be used when\n * the element is detached from the application. For example, when an `ngIf` evaluates\n * to false, the state of the associated element is void.\n * - `*` (asterisk) Indicates the default state. You can associate styles with this name\n * to be used as the fallback when the state that is being animated is not declared\n * within the trigger.\n *\n * @param styles A set of CSS styles associated with this state, created using the\n * `style()` function.\n * This set of styles persists on the element once the state has been reached.\n * @param options Parameters that can be passed to the state when it is invoked.\n * 0 or more key-value pairs.\n * @return An object that encapsulates the new state data.\n *\n * @usageNotes\n * Use the `trigger()` function to register states to an animation trigger.\n * Use the `transition()` function to animate between states.\n * When a state is active within a component, its associated styles persist on the element,\n * even when the animation ends.\n *\n * @publicApi\n **/\nfunction state(name, styles, options) {\n return {\n type: AnimationMetadataType.State,\n name,\n styles,\n options\n };\n}\n/**\n * Defines a set of animation styles, associating each style with an optional `offset` value.\n *\n * @param steps A set of animation styles with optional offset data.\n * The optional `offset` value for a style specifies a percentage of the total animation\n * time at which that style is applied.\n * @returns An object that encapsulates the keyframes data.\n *\n * @usageNotes\n * Use with the `animate()` call. Instead of applying animations\n * from the current state\n * to the destination state, keyframes describe how each style entry is applied and at what point\n * within the animation arc.\n * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp).\n *\n * ### Usage\n *\n * In the following example, the offset values describe\n * when each `backgroundColor` value is applied. The color is red at the start, and changes to\n * blue when 20% of the total time has elapsed.\n *\n * ```ts\n * // the provided offset values\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\", offset: 0 }),\n * style({ backgroundColor: \"blue\", offset: 0.2 }),\n * style({ backgroundColor: \"orange\", offset: 0.3 }),\n * style({ backgroundColor: \"black\", offset: 1 })\n * ]))\n * ```\n *\n * If there are no `offset` values specified in the style entries, the offsets\n * are calculated automatically.\n *\n * ```ts\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\" }) // offset = 0\n * style({ backgroundColor: \"blue\" }) // offset = 0.33\n * style({ backgroundColor: \"orange\" }) // offset = 0.66\n * style({ backgroundColor: \"black\" }) // offset = 1\n * ]))\n *```\n\n * @publicApi\n */\nfunction keyframes(steps) {\n return {\n type: AnimationMetadataType.Keyframes,\n steps\n };\n}\n/**\n * Declares an animation transition which is played when a certain specified condition is met.\n *\n * @param stateChangeExpr A string with a specific format or a function that specifies when the\n * animation transition should occur (see [State Change Expression](#state-change-expression)).\n *\n * @param steps One or more animation objects that represent the animation's instructions.\n *\n * @param options An options object that can be used to specify a delay for the animation or provide\n * custom parameters for it.\n *\n * @returns An object that encapsulates the transition data.\n *\n * @usageNotes\n *\n * ### State Change Expression\n *\n * The State Change Expression instructs Angular when to run the transition's animations, it can\n *either be\n * - a string with a specific syntax\n * - or a function that compares the previous and current state (value of the expression bound to\n * the element's trigger) and returns `true` if the transition should occur or `false` otherwise\n *\n * The string format can be:\n * - `fromState => toState`, which indicates that the transition's animations should occur then the\n * expression bound to the trigger's element goes from `fromState` to `toState`\n *\n * _Example:_\n * ```ts\n * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) ))\n * ```\n *\n * - `fromState <=> toState`, which indicates that the transition's animations should occur then\n * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa\n *\n * _Example:_\n * ```ts\n * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)'))\n * ```\n *\n * - `:enter`/`:leave`, which indicates that the transition's animations should occur when the\n * element enters or exists the DOM\n *\n * _Example:_\n * ```ts\n * transition(':enter', [\n * style({ opacity: 0 }),\n * animate('500ms', style({ opacity: 1 }))\n * ])\n * ```\n *\n * - `:increment`/`:decrement`, which indicates that the transition's animations should occur when\n * the numerical expression bound to the trigger's element has increased in value or decreased\n *\n * _Example:_\n * ```ts\n * transition(':increment', query('@counter', animateChild()))\n * ```\n *\n * - a sequence of any of the above divided by commas, which indicates that transition's animations\n * should occur whenever one of the state change expressions matches\n *\n * _Example:_\n * ```ts\n * transition(':increment, * => enabled, :enter', animate('1s ease', keyframes([\n * style({ transform: 'scale(1)', offset: 0}),\n * style({ transform: 'scale(1.1)', offset: 0.7}),\n * style({ transform: 'scale(1)', offset: 1})\n * ]))),\n * ```\n *\n * Also note that in such context:\n * - `void` can be used to indicate the absence of the element\n * - asterisks can be used as wildcards that match any state\n * - (as a consequence of the above, `void => *` is equivalent to `:enter` and `* => void` is\n * equivalent to `:leave`)\n * - `true` and `false` also match expression values of `1` and `0` respectively (but do not match\n * _truthy_ and _falsy_ values)\n *\n *
\n *\n * Be careful about entering end leaving elements as their transitions present a common\n * pitfall for developers.\n *\n * Note that when an element with a trigger enters the DOM its `:enter` transition always\n * gets executed, but its `:leave` transition will not be executed if the element is removed\n * alongside its parent (as it will be removed \"without warning\" before its transition has\n * a chance to be executed, the only way that such transition can occur is if the element\n * is exiting the DOM on its own).\n *\n *\n *
\n *\n * ### Animating to a Final State\n *\n * If the final step in a transition is a call to `animate()` that uses a timing value\n * with no `style` data, that step is automatically considered the final animation arc,\n * for the element to reach the final state, in such case Angular automatically adds or removes\n * CSS styles to ensure that the element is in the correct final state.\n *\n *\n * ### Usage Examples\n *\n * - Transition animations applied based on\n * the trigger's expression value\n *\n * ```html\n *
\n * ...\n *
\n * ```\n *\n * ```ts\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\"on => off, open => closed\", animate(500)),\n * transition(\"* <=> error\", query('.indicator', animateChild()))\n * ])\n * ```\n *\n * - Transition animations applied based on custom logic dependent\n * on the trigger's expression value and provided parameters\n *\n * ```html\n *
\n * ...\n *
\n * ```\n *\n * ```ts\n * trigger(\"myAnimationTrigger\", [\n * ..., // states\n * transition(\n * (fromState, toState, _element, params) =>\n * ['firststep', 'laststep'].includes(fromState.toLowerCase())\n * && toState === params?.['target'],\n * animate('1s')\n * )\n * ])\n * ```\n *\n * @publicApi\n **/\nfunction transition(stateChangeExpr, steps, options = null) {\n return {\n type: AnimationMetadataType.Transition,\n expr: stateChangeExpr,\n animation: steps,\n options\n };\n}\n/**\n * Produces a reusable animation that can be invoked in another animation or sequence,\n * by calling the `useAnimation()` function.\n *\n * @param steps One or more animation objects, as returned by the `animate()`\n * or `sequence()` function, that form a transformation from one state to another.\n * A sequence is used by default when you pass an array.\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional developer-defined parameters.\n * Provided values for additional parameters are used as defaults,\n * and override values can be passed to the caller on invocation.\n * @returns An object that encapsulates the animation data.\n *\n * @usageNotes\n * The following example defines a reusable animation, providing some default parameter\n * values.\n *\n * ```ts\n * var fadeAnimation = animation([\n * style({ opacity: '{{ start }}' }),\n * animate('{{ time }}',\n * style({ opacity: '{{ end }}'}))\n * ],\n * { params: { time: '1000ms', start: 0, end: 1 }});\n * ```\n *\n * The following invokes the defined animation with a call to `useAnimation()`,\n * passing in override parameter values.\n *\n * ```js\n * useAnimation(fadeAnimation, {\n * params: {\n * time: '2s',\n * start: 1,\n * end: 0\n * }\n * })\n * ```\n *\n * If any of the passed-in parameter values are missing from this call,\n * the default values are used. If one or more parameter values are missing before a step is\n * animated, `useAnimation()` throws an error.\n *\n * @publicApi\n */\nfunction animation(steps, options = null) {\n return {\n type: AnimationMetadataType.Reference,\n animation: steps,\n options\n };\n}\n/**\n * Executes a queried inner animation element within an animation sequence.\n *\n * @param options An options object that can contain a delay value for the start of the\n * animation, and additional override values for developer-defined parameters.\n * @return An object that encapsulates the child animation data.\n *\n * @usageNotes\n * Each time an animation is triggered in Angular, the parent animation\n * has priority and any child animations are blocked. In order\n * for a child animation to run, the parent animation must query each of the elements\n * containing child animations, and run them using this function.\n *\n * Note that this feature is designed to be used with `query()` and it will only work\n * with animations that are assigned using the Angular animation library. CSS keyframes\n * and transitions are not handled by this API.\n *\n * @publicApi\n */\nfunction animateChild(options = null) {\n return {\n type: AnimationMetadataType.AnimateChild,\n options\n };\n}\n/**\n * Starts a reusable animation that is created using the `animation()` function.\n *\n * @param animation The reusable animation to start.\n * @param options An options object that can contain a delay value for the start of\n * the animation, and additional override values for developer-defined parameters.\n * @return An object that contains the animation parameters.\n *\n * @publicApi\n */\nfunction useAnimation(animation, options = null) {\n return {\n type: AnimationMetadataType.AnimateRef,\n animation,\n options\n };\n}\n/**\n * Finds one or more inner elements within the current element that is\n * being animated within a sequence. Use with `animate()`.\n *\n * @param selector The element to query, or a set of elements that contain Angular-specific\n * characteristics, specified with one or more of the following tokens.\n * - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements (not\n * all elements can be queried via these tokens, see\n * [Entering and Leaving Elements](#entering-and-leaving-elements))\n * - `query(\":animating\")` : Query all currently animating elements.\n * - `query(\"@triggerName\")` : Query elements that contain an animation trigger.\n * - `query(\"@*\")` : Query all elements that contain an animation triggers.\n * - `query(\":self\")` : Include the current element into the animation sequence.\n *\n * @param animation One or more animation steps to apply to the queried element or elements.\n * An array is treated as an animation sequence.\n * @param options An options object. Use the 'limit' field to limit the total number of\n * items to collect.\n * @return An object that encapsulates the query data.\n *\n * @usageNotes\n *\n * ### Multiple Tokens\n *\n * Tokens can be merged into a combined query selector string. For example:\n *\n * ```ts\n * query(':self, .record:enter, .record:leave, @subTrigger', [...])\n * ```\n *\n * The `query()` function collects multiple elements and works internally by using\n * `element.querySelectorAll`. Use the `limit` field of an options object to limit\n * the total number of items to be collected. For example:\n *\n * ```js\n * query('div', [\n * animate(...),\n * animate(...)\n * ], { limit: 1 })\n * ```\n *\n * By default, throws an error when zero items are found. Set the\n * `optional` flag to ignore this error. For example:\n *\n * ```js\n * query('.some-element-that-may-not-be-there', [\n * animate(...),\n * animate(...)\n * ], { optional: true })\n * ```\n *\n * ### Entering and Leaving Elements\n *\n * Not all elements can be queried via the `:enter` and `:leave` tokens, the only ones\n * that can are those that Angular assumes can enter/leave based on their own logic\n * (if their insertion/removal is simply a consequence of that of their parent they\n * should be queried via a different token in their parent's `:enter`/`:leave` transitions).\n *\n * The only elements Angular assumes can enter/leave based on their own logic (thus the only\n * ones that can be queried via the `:enter` and `:leave` tokens) are:\n * - Those inserted dynamically (via `ViewContainerRef`)\n * - Those that have a structural directive (which, under the hood, are a subset of the above ones)\n *\n *
\n *\n * Note that elements will be successfully queried via `:enter`/`:leave` even if their\n * insertion/removal is not done manually via `ViewContainerRef`or caused by their structural\n * directive (e.g. they enter/exit alongside their parent).\n *\n *
\n *\n *
\n *\n * There is an exception to what previously mentioned, besides elements entering/leaving based on\n * their own logic, elements with an animation trigger can always be queried via `:leave` when\n * their parent is also leaving.\n *\n *
\n *\n * ### Usage Example\n *\n * The following example queries for inner elements and animates them\n * individually using `animate()`.\n *\n * ```angular-ts\n * @Component({\n * selector: 'inner',\n * template: `\n *
\n *

Title

\n *
\n * Blah blah blah\n *
\n *
\n * `,\n * animations: [\n * trigger('queryAnimation', [\n * transition('* => goAnimate', [\n * // hide the inner elements\n * query('h1', style({ opacity: 0 })),\n * query('.content', style({ opacity: 0 })),\n *\n * // animate the inner elements in, one by one\n * query('h1', animate(1000, style({ opacity: 1 }))),\n * query('.content', animate(1000, style({ opacity: 1 }))),\n * ])\n * ])\n * ]\n * })\n * class Cmp {\n * exp = '';\n *\n * goAnimate() {\n * this.exp = 'goAnimate';\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction query(selector, animation, options = null) {\n return {\n type: AnimationMetadataType.Query,\n selector,\n animation,\n options\n };\n}\n/**\n * Use within an animation `query()` call to issue a timing gap after\n * each queried item is animated.\n *\n * @param timings A delay value.\n * @param animation One ore more animation steps.\n * @returns An object that encapsulates the stagger data.\n *\n * @usageNotes\n * In the following example, a container element wraps a list of items stamped out\n * by an `ngFor`. The container element contains an animation trigger that will later be set\n * to query for each of the inner items.\n *\n * Each time items are added, the opacity fade-in animation runs,\n * and each removed item is faded out.\n * When either of these animations occur, the stagger effect is\n * applied after each item's animation is started.\n *\n * ```html\n * \n * \n *
\n *
\n *
\n * {{ item }}\n *
\n *
\n * ```\n *\n * Here is the component code:\n *\n * ```ts\n * import {trigger, transition, style, animate, query, stagger} from '@angular/animations';\n * @Component({\n * templateUrl: 'list.component.html',\n * animations: [\n * trigger('listAnimation', [\n * ...\n * ])\n * ]\n * })\n * class ListComponent {\n * items = [];\n *\n * showItems() {\n * this.items = [0,1,2,3,4];\n * }\n *\n * hideItems() {\n * this.items = [];\n * }\n *\n * toggle() {\n * this.items.length ? this.hideItems() : this.showItems();\n * }\n * }\n * ```\n *\n * Here is the animation trigger code:\n *\n * ```ts\n * trigger('listAnimation', [\n * transition('* => *', [ // each time the binding value changes\n * query(':leave', [\n * stagger(100, [\n * animate('0.5s', style({ opacity: 0 }))\n * ])\n * ]),\n * query(':enter', [\n * style({ opacity: 0 }),\n * stagger(100, [\n * animate('0.5s', style({ opacity: 1 }))\n * ])\n * ])\n * ])\n * ])\n * ```\n *\n * @publicApi\n */\nfunction stagger(timings, animation) {\n return {\n type: AnimationMetadataType.Stagger,\n timings,\n animation\n };\n}\n\n/**\n * An empty programmatic controller for reusable animations.\n * Used internally when animations are disabled, to avoid\n * checking for the null case when an animation player is expected.\n *\n * @see {@link animate}\n * @see {@link AnimationPlayer}\n *\n * @publicApi\n */\nclass NoopAnimationPlayer {\n _onDoneFns = [];\n _onStartFns = [];\n _onDestroyFns = [];\n _originalOnDoneFns = [];\n _originalOnStartFns = [];\n _started = false;\n _destroyed = false;\n _finished = false;\n _position = 0;\n parentPlayer = null;\n totalTime;\n constructor(duration = 0, delay = 0) {\n this.totalTime = duration + delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n init() {}\n play() {\n if (!this.hasStarted()) {\n this._onStart();\n this.triggerMicrotask();\n }\n this._started = true;\n }\n /** @internal */\n triggerMicrotask() {\n queueMicrotask(() => this._onFinish());\n }\n _onStart() {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n }\n pause() {}\n restart() {}\n finish() {\n this._onFinish();\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n if (!this.hasStarted()) {\n this._onStart();\n }\n this.finish();\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this._started = false;\n this._finished = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n setPosition(position) {\n this._position = this.totalTime ? position * this.totalTime : 1;\n }\n getPosition() {\n return this.totalTime ? this._position / this.totalTime : 1;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\n\n/**\n * A programmatic controller for a group of reusable animations.\n * Used internally to control animations.\n *\n * @see {@link AnimationPlayer}\n * @see {@link animations/group group}\n *\n */\nclass AnimationGroupPlayer {\n _onDoneFns = [];\n _onStartFns = [];\n _finished = false;\n _started = false;\n _destroyed = false;\n _onDestroyFns = [];\n parentPlayer = null;\n totalTime = 0;\n players;\n constructor(_players) {\n this.players = _players;\n let doneCount = 0;\n let destroyCount = 0;\n let startCount = 0;\n const total = this.players.length;\n if (total == 0) {\n queueMicrotask(() => this._onFinish());\n } else {\n this.players.forEach(player => {\n player.onDone(() => {\n if (++doneCount == total) {\n this._onFinish();\n }\n });\n player.onDestroy(() => {\n if (++destroyCount == total) {\n this._onDestroy();\n }\n });\n player.onStart(() => {\n if (++startCount == total) {\n this._onStart();\n }\n });\n });\n }\n this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0);\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this.players.forEach(player => player.init());\n }\n onStart(fn) {\n this._onStartFns.push(fn);\n }\n _onStart() {\n if (!this.hasStarted()) {\n this._started = true;\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n }\n }\n onDone(fn) {\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n hasStarted() {\n return this._started;\n }\n play() {\n if (!this.parentPlayer) {\n this.init();\n }\n this._onStart();\n this.players.forEach(player => player.play());\n }\n pause() {\n this.players.forEach(player => player.pause());\n }\n restart() {\n this.players.forEach(player => player.restart());\n }\n finish() {\n this._onFinish();\n this.players.forEach(player => player.finish());\n }\n destroy() {\n this._onDestroy();\n }\n _onDestroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._onFinish();\n this.players.forEach(player => player.destroy());\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n reset() {\n this.players.forEach(player => player.reset());\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n }\n setPosition(p) {\n const timeAtPosition = p * this.totalTime;\n this.players.forEach(player => {\n const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1;\n player.setPosition(position);\n });\n }\n getPosition() {\n const longestPlayer = this.players.reduce((longestSoFar, player) => {\n const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime;\n return newPlayerIsLongest ? player : longestSoFar;\n }, null);\n return longestPlayer != null ? longestPlayer.getPosition() : 0;\n }\n beforeDestroy() {\n this.players.forEach(player => {\n if (player.beforeDestroy) {\n player.beforeDestroy();\n }\n });\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\nconst ɵPRE_STYLE = '!';\nexport { AUTO_STYLE, AnimationGroupPlayer, AnimationMetadataType, NoopAnimationPlayer, animate, animateChild, animation, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, ɵPRE_STYLE };\n","/**\n * @license Angular v19.2.11\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { AnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE as _PRE_STYLE, AnimationMetadataType, sequence } from './private_export-faY_wCkZ.mjs';\nimport { ɵRuntimeError as _RuntimeError } from '@angular/core';\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new _RuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new _RuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new _RuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new _RuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new _RuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new _RuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new _RuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new _RuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode && \"animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))\");\n}\nfunction invalidDefinition() {\n return new _RuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new _RuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode && `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new _RuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new _RuntimeError(3010 /* 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\"`);\n}\nfunction invalidKeyframes() {\n return new _RuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new _RuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new _RuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new _RuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new _RuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new _RuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode && `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new _RuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new _RuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new _RuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new _RuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new _RuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode && `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.map(err => err.message).join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new _RuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new _RuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode && `Unable to build the animation due to the following errors: ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new _RuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && \"The requested animation doesn't exist or has already been destroyed\");\n}\nfunction createAnimationFailed(errors) {\n return new _RuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode && `Unable to create the animation due to the following errors:${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new _RuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new _RuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode && `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new _RuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode && `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new _RuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode && `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new _RuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new _RuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode && `Unable to process animations due to the following failed trigger transitions\\n ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction transitionFailed(name, errors) {\n return new _RuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map(err => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst 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']);\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new AnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach(kf => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = isSameOffset && previousKeyframe || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case _PRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return {\n element,\n triggerName,\n fromState,\n toState,\n phaseName,\n totalTime,\n disabled: !!disabled\n };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = /* @__PURE__ */(() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? 'WebkitAppearance' in _CACHED_BODY.style : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number') return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2) return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default:\n // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ? timings : parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return {\n duration: 0,\n delay: 0,\n easing: ''\n };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n } else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return {\n duration,\n delay,\n easing\n };\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map(kf => new Map(Object.entries(kf)));\n}\nfunction normalizeStyles(styles) {\n return Array.isArray(styles) ? new Map(...styles) : new Map(styles);\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1) return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach(varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = /* @__PURE__ */new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = `${value}`;\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case AnimationMetadataType.Trigger:\n return visitor.visitTrigger(node, context);\n case AnimationMetadataType.State:\n return visitor.visitState(node, context);\n case AnimationMetadataType.Transition:\n return visitor.visitTransition(node, context);\n case AnimationMetadataType.Sequence:\n return visitor.visitSequence(node, context);\n case AnimationMetadataType.Group:\n return visitor.visitGroup(node, context);\n case AnimationMetadataType.Animate:\n return visitor.visitAnimate(node, context);\n case AnimationMetadataType.Keyframes:\n return visitor.visitKeyframes(node, context);\n case AnimationMetadataType.Style:\n return visitor.visitStyle(node, context);\n case AnimationMetadataType.Reference:\n return visitor.visitReference(node, context);\n case AnimationMetadataType.AnimateChild:\n return visitor.visitAnimateChild(node, context);\n case AnimationMetadataType.AnimateRef:\n return visitor.visitAnimateRef(node, context);\n case AnimationMetadataType.Query:\n return visitor.visitQuery(node, context);\n case AnimationMetadataType.Stagger:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\nexport { ENTER_CLASSNAME, LEAVE_CLASSNAME, NG_ANIMATING_CLASSNAME, NG_ANIMATING_SELECTOR, NG_TRIGGER_CLASSNAME, NG_TRIGGER_SELECTOR, SUBSTITUTION_EXPR_START, allowPreviousPlayerStylesMerge, balancePreviousStylesIntoKeyframes, buildingFailed, camelCaseToDashCase, computeStyle, containsElement, createAnimationFailed, dashCaseToCamelCase, eraseStyles, extractStyleParams, getOrSetDefaultValue, getParentElement, interpolateParams, invalidCssUnitValue, invalidDefinition, invalidExpression, invalidKeyframes, invalidOffset, invalidParallelAnimation, invalidQuery, invalidStagger, invalidState, invalidStyleValue, invalidTransitionAlias, invalidTrigger, invokeQuery, keyframeOffsetsOutOfOrder, keyframesMissingOffsets, listenOnPlayer, makeAnimationEvent, missingEvent, missingOrDestroyedAnimation, missingPlayer, missingTrigger, normalizeAnimationEntry, normalizeKeyframes$1 as normalizeKeyframes, normalizeKeyframes as normalizeKeyframes$1, normalizeStyles, optimizeGroupPlayer, parseTimelineCommand, registerFailed, resolveTiming, resolveTimingValue, setStyles, transitionFailed, triggerBuildFailed, triggerTransitionsFailed, unregisteredTrigger, unsupportedTriggerEvent, validateStyleParams, validateStyleProperty, validateWebAnimatableStyleProperty, validationFailed, visitDslNode };\n","/**\n * @license Angular v19.2.11\n * (c) 2010-2025 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable } from '@angular/core';\nimport { validateStyleProperty, containsElement, getParentElement, invokeQuery, dashCaseToCamelCase, invalidCssUnitValue, invalidExpression, invalidTransitionAlias, visitDslNode, invalidTrigger, invalidDefinition, extractStyleParams, invalidState, invalidStyleValue, SUBSTITUTION_EXPR_START, invalidParallelAnimation, validateStyleParams, invalidKeyframes, invalidOffset, keyframeOffsetsOutOfOrder, keyframesMissingOffsets, getOrSetDefaultValue, invalidStagger, resolveTiming, normalizeAnimationEntry, NG_TRIGGER_SELECTOR, NG_ANIMATING_SELECTOR, resolveTimingValue, interpolateParams, invalidQuery, registerFailed, normalizeKeyframes, LEAVE_CLASSNAME, ENTER_CLASSNAME, missingOrDestroyedAnimation, createAnimationFailed, optimizeGroupPlayer, missingPlayer, listenOnPlayer, makeAnimationEvent, triggerTransitionsFailed, eraseStyles, setStyles, transitionFailed, missingTrigger, missingEvent, unsupportedTriggerEvent, unregisteredTrigger, NG_TRIGGER_CLASSNAME, NG_ANIMATING_CLASSNAME, triggerBuildFailed, parseTimelineCommand, computeStyle, camelCaseToDashCase, validateWebAnimatableStyleProperty, allowPreviousPlayerStylesMerge, normalizeKeyframes$1, balancePreviousStylesIntoKeyframes, validationFailed, normalizeStyles, buildingFailed } from './util-D9FfmVnv.mjs';\nimport { NoopAnimationPlayer, AnimationMetadataType, style, AUTO_STYLE, ɵPRE_STYLE as _PRE_STYLE, AnimationGroupPlayer } from './private_export-faY_wCkZ.mjs';\n\n/**\n * @publicApi\n *\n * `AnimationDriver` implentation for Noop animations\n */\nclass NoopAnimationDriver {\n /**\n * @returns Whether `prop` is a valid CSS property\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n *\n * @returns Whether elm1 contains elm2.\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @returns Rhe parent of the given element or `null` if the element is the `document`\n */\n getParentElement(element) {\n return getParentElement(element);\n }\n /**\n * @returns The result of the query selector on the element. The array will contain up to 1 item\n * if `multi` is `false`.\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @returns The `defaultValue` or empty string\n */\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n /**\n * @returns An `NoopAnimationPlayer`\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static ɵfac = function NoopAnimationDriver_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NoopAnimationDriver)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NoopAnimationDriver,\n factory: NoopAnimationDriver.ɵfac\n });\n}\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NoopAnimationDriver, [{\n type: Injectable\n }], null, null);\n})();\n/**\n * @publicApi\n */\nclass AnimationDriver {\n /**\n * @deprecated Use the NoopAnimationDriver class.\n */\n static NOOP = new NoopAnimationDriver();\n}\nclass AnimationStyleNormalizer {}\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\nconst 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']);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n } else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach(str => parseInnerTransitionStr(str, expressions, errors));\n } else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n return;\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = /* @__PURE__ */new RegExp(`s*${SELF_TOKEN}s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n _driver;\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = visitDslNode(this, normalizeAnimationEntry(metadata), context);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [...context.unsupportedCSSPropertiesFound.keys()]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = context.queryCount = 0;\n let depCount = context.depCount = 0;\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach(def => {\n this._resetContextStyleTimingState(context);\n if (def.type == AnimationMetadataType.State) {\n const stateDef = def;\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach(n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n } else if (def.type == AnimationMetadataType.Transition) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n } else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: AnimationMetadataType.Trigger,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = metadata.options && metadata.options.params || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach(style => {\n if (style instanceof Map) {\n style.forEach(value => {\n extractStyleParams(value).forEach(sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n context.errors.push(invalidState(metadata.name, [...missingSubs.values()]));\n }\n }\n return {\n type: AnimationMetadataType.State,\n name: metadata.name,\n style: styleAst,\n options: astParams ? {\n params: astParams\n } : null\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: AnimationMetadataType.Transition,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitSequence(metadata, context) {\n return {\n type: AnimationMetadataType.Sequence,\n steps: metadata.steps.map(s => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map(step => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: AnimationMetadataType.Group,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == AnimationMetadataType.Keyframes) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n } else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: AnimationMetadataType.Animate,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n } else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n } else {\n styles.push(new Map(Object.entries(styleTuple)));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach(styleData => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: AnimationMetadataType.Style,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach(tuple => {\n if (typeof tuple === 'string') return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime && endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, {\n startTime,\n endTime\n });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = {\n type: AnimationMetadataType.Keyframes,\n styles: [],\n options: null\n };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map(styles => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n } else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? i == limit ? 1 : generatedOffset * i : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: AnimationMetadataType.Reference,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: AnimationMetadataType.AnimateChild,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: AnimationMetadataType.AnimateRef,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = metadata.options || {};\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector = parentSelector.length ? parentSelector + ' ' + selector : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: AnimationMetadataType.Query,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full' ? {\n duration: 0,\n delay: 0,\n easing: 'full'\n } : resolveTiming(metadata.timings, context.errors, true);\n return {\n type: AnimationMetadataType.Stagger,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR).replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1)).replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? {\n ...obj\n } : null;\n}\nclass AnimationAstBuilderContext {\n errors;\n queryCount = 0;\n depCount = 0;\n currentTransition = null;\n currentQuery = null;\n currentQuerySelector = null;\n currentAnimateTimings = null;\n currentTime = 0;\n collectedStyles = new Map();\n options = null;\n unsupportedCSSPropertiesFound = new Set();\n constructor(errors) {\n this.errors = errors;\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string') return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach(styleTuple => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n } else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = {\n ...options\n };\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n } else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return {\n duration,\n delay,\n easing\n };\n}\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\nclass ElementInstructionMap {\n _map = new Map();\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = /* @__PURE__ */new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = /* @__PURE__ */new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```ts\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```ts\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```ts\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter(timeline => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ? timelines.map(timeline => timeline.buildKeyframes()) : [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number' ? animationDelay : resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach(instruction => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == AnimationMetadataType.Style) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach(s => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach(s => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach(timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n } else {\n return {\n duration: ast.duration,\n delay: ast.delay,\n easing: ast.easing\n };\n }\n }\n visitAnimate(ast, context) {\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == AnimationMetadataType.Keyframes) {\n this.visitKeyframes(style, context);\n } else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = timings && timings.easing || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n } else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = context.currentTimeline.duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach(step => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = ast.options || {};\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay && (context.previousNode.type === AnimationMetadataType.Style || startTime == 0 && context.currentTimeline.hasCurrentStyleProperties())) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime = tl.currentTime - startingTime + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n _driver;\n element;\n subInstructions;\n _enterClassName;\n _leaveClassName;\n errors;\n timelines;\n parentContext = null;\n currentTimeline;\n currentAnimateTimings = null;\n previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n subContextCount = 0;\n options = {};\n currentQueryIndex = 0;\n currentQueryTotal = 0;\n currentStaggerTime = 0;\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options) return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach(name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = options['params'] = {};\n Object.keys(oldParams).forEach(name => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) {\n // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) : elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n _driver;\n element;\n startTime;\n _elementTimelineStylesLookup;\n duration = 0;\n easing = null;\n _previousKeyframe = new Map();\n _currentKeyframe = new Map();\n _keyframes = new Map();\n _styleSummary = new Map();\n _localTimelineStyles = new Map();\n _globalTimelineStyles;\n _pendingStyles = new Map();\n _backFill = new Map();\n _currentEmptyStepKeyframe = null;\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n } else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, {\n time: this.currentTime,\n value\n });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = options && options.params || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0) return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = new Map([...this._backFill, ...keyframe]);\n finalKeyframe.forEach((value, prop) => {\n if (value === _PRE_STYLE) {\n preStyleProps.add(prop);\n } else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = [...preStyleProps.values()];\n const postProps = [...postStyleProps.values()];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n keyframes;\n preStyleProps;\n postStyleProps;\n _stretchStartingKeyframe;\n timings;\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = {\n duration: timings.duration,\n delay: timings.delay,\n easing: timings.easing\n };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let {\n delay,\n duration,\n easing\n } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = new Map(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = new Map(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n delay=1000, duration=1000, keyframes = 0 .5 1\n turns into\n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = new Map(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach(token => {\n if (token === '*') {\n allProperties ??= allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n } else {\n for (let [prop, val] of token) {\n styles.set(prop, val);\n }\n }\n });\n return styles;\n}\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n _triggerName;\n ast;\n _stateStyles;\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay\n };\n const timelines = skipAstBuild ? [] : buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach(tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach(tl => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach(prop => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach(prop => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, [...queriedElements.values()], preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing']);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({\n keyframes\n }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach(keyframe => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n } else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` + ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\\n' + '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some(fn => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = {\n ...defaults\n };\n Object.entries(userParams).forEach(([key, value]) => {\n if (value != null) {\n result[key] = value;\n }\n });\n return result;\n}\nclass AnimationStateStyles {\n styles;\n defaultParams;\n normalizer;\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = applyParamDefaults(params, this.defaultParams);\n this.styles.styles.forEach(value => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n name;\n ast;\n _normalizer;\n transitionFactories = [];\n fallbackTransition;\n states = new Map();\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n ast.states.forEach(ast => {\n const defaultParams = ast.options && ast.options.params || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach(ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = {\n type: AnimationMetadataType.Sequence,\n steps: [],\n options: null\n };\n const transition = {\n type: AnimationMetadataType.Transition,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n } else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\nconst EMPTY_INSTRUCTION_MAP = new ElementInstructionMap();\nclass TimelineAnimationEngine {\n bodyNode;\n _driver;\n _normalizer;\n _animations = new Map();\n _playersById = new Map();\n players = [];\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n } else {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (warnings.length) {\n warnRegister(warnings);\n }\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach(inst => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach(prop => styles.set(prop, null));\n });\n } else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map(i => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => {};\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = args[0] || {};\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n namespaceId;\n value;\n options;\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n // we drop the value property from options.\n const {\n value,\n ...options\n } = input;\n this.options = options;\n } else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach(prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n id;\n hostElement;\n _engine;\n players = [];\n _triggers = new Map();\n _queue = [];\n _elementListeners = new Map();\n _hostClassName;\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = {\n name,\n phase,\n callback\n };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n } else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = new Map());\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n } else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach(player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback) return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition\n });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach(stateMap => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter(entry => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach(player => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach(elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG]) return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true));\n } else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach(elm => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach(listener => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName)) return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true)) return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n } else {\n let parent = element;\n while (parent = parent.parentNode) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n } else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach(entry => {\n const player = entry.player;\n if (player.destroyed) return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach(listener => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n } else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach(p => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n}\nclass TransitionAnimationEngine {\n bodyNode;\n driver;\n _normalizer;\n players = [];\n newHostElements = new Map();\n playersByElement = new Map();\n playersByQueriedElement = new Map();\n statesByElement = new Map();\n disabledNodes = new Set();\n totalAnimations = 0;\n totalQueuedPlayers = 0;\n _namespaceLookup = {};\n _namespaceList = [];\n _flushFns = [];\n _whenQuietFns = [];\n namespacesByHostElement = new Map();\n collectedEnterElements = [];\n collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n onRemovalComplete = (element, context) => {};\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach(ns => {\n ns.players.forEach(player => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n } else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n } else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId) return;\n this.afterFlush(() => {});\n this.afterFlushAnimationsDone(() => {\n const ns = this._fetchNamespace(namespaceId);\n this.namespacesByHostElement.delete(ns.hostElement);\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n ns.destroy(context);\n delete this._namespaceLookup[namespaceId];\n });\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element)) return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n } else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n } else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n } else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => {};\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach(element => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0) return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach(player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n } else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach(player => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise(resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n } else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length && (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n } finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n } else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach(fn => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach(fn => fn());\n });\n } else {\n quietFns.forEach(fn => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach(node => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm));\n } else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n allLeaveNodes.forEach(element => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach(entry => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues && details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach(tl => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = {\n instruction,\n player,\n element\n };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach(element => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach(instruction => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach(player => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach(entry => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach(player => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach(prevPlayer => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter(node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach(node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, _PRE_STYLE);\n });\n replaceNodes.forEach(node => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach(entry => {\n const {\n element,\n player,\n instruction\n } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n } else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n } else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach(player => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach(player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n } else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation) continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter(p => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n } else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach(player => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n } else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach(player => {\n if (player.queued) return;\n if (!isRemovalAnimation && player.triggerName != triggerName) return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter(player => {\n if (namespaceId && namespaceId != player.namespaceId) return false;\n if (triggerName && triggerName != player.triggerName) return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach(player => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map(timelineInstruction => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried) return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY).map(p => p.getRealPlayer())).filter(p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach(player => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach(element => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n namespaceId;\n triggerName;\n element;\n _player = new NoopAnimationPlayer();\n _containsRealPlayer = false;\n _queuedCallbacks = new Map();\n destroyed = false;\n parentPlayer = null;\n markedForDestroy = false;\n disabled = false;\n queued = true;\n totalTime = 0;\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer) return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach(element => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach(prop => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach(element => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach(root => rootMap.set(root, []));\n if (nodes.length == 0) return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node) return NULL_NODE;\n let root = localRootMap.get(node);\n if (root) return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) {\n // ngIf inside @trigger\n root = parent;\n } else if (nodeSet.has(parent)) {\n // ngIf inside ngIf\n root = NULL_NODE;\n } else {\n // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach(node => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof AnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n } else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length) return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop]) return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry) return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach(data => preEntry.add(data));\n } else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\nclass AnimationEngine {\n _driver;\n _normalizer;\n _transitionEngine;\n _timelineEngine;\n _triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n onRemovalComplete = (element, context) => {};\n constructor(doc, _driver, _normalizer) {\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._transitionEngine = new TransitionAnimationEngine(doc.body, _driver, _normalizer);\n this._timelineEngine = new TimelineAnimationEngine(doc.body, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n } else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return [...this._transitionEngine.players, ...this._timelineEngine.players];\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n afterFlushAnimationsDone(cb) {\n this._transitionEngine.afterFlushAnimationsDone(cb);\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n } else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return startStyles || endStyles ? new SpecialCasedStyles(element, startStyles, endStyles) : null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nclass SpecialCasedStyles {\n _element;\n _startStyles;\n _endStyles;\n static initialStylesByElement = /* @__PURE__ */new WeakMap();\n _state = 0 /* SpecialCasedStylesState.Pending */;\n _initialStyles;\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map());\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n}\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\nclass WebAnimationsPlayer {\n element;\n keyframes;\n options;\n _specialStyles;\n _onDoneFns = [];\n _onStartFns = [];\n _onDestroyFns = [];\n _duration;\n _delay;\n _initialized = false;\n _finished = false;\n _started = false;\n _destroyed = false;\n _finalKeyframe;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n _originalOnDoneFns = [];\n _originalOnStartFns = [];\n // using non-null assertion because it's re(set) by init();\n domPlayer;\n time = 0;\n parentPlayer = null;\n currentSnapshot = new Map();\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized) return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n const onFinish = () => this._onFinish();\n this.domPlayer.addEventListener('finish', onFinish);\n this.onDestroy(() => {\n // We must remove the `finish` event listener once an animation has completed all its\n // iterations. This action is necessary to prevent a memory leak since the listener captures\n // `this`, creating a closure that prevents `this` from being garbage collected.\n this.domPlayer.removeEventListener('finish', onFinish);\n });\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n } else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach(frame => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n return element.animate(this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n // tsc is complaining with TS2362 without the conversion to number\n return +(this.domPlayer.currentTime ?? 0) / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return computeStyle(element, prop);\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = {\n duration,\n delay,\n fill\n };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = previousPlayers.filter(player => player instanceof WebAnimationsPlayer);\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach(player => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes$1(keyframes).map(styles => new Map(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\nfunction createEngine(type, doc) {\n // TODO: find a way to make this tree shakable.\n if (type === 'noop') {\n return new AnimationEngine(doc, new NoopAnimationDriver(), new NoopAnimationStyleNormalizer());\n }\n return new AnimationEngine(doc, new WebAnimationsDriver(), new WebAnimationsStyleNormalizer());\n}\nclass Animation {\n _driver;\n _animationAst;\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (warnings.length) {\n warnValidation(warnings);\n }\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) : startingStyles;\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) : destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\nconst ANIMATION_PREFIX = '@';\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass BaseAnimationRenderer {\n namespaceId;\n delegate;\n engine;\n _onDestroy;\n // We need to explicitly type this property because of an api-extractor bug\n // See https://github.com/microsoft/rushstack/issues/4390\n ɵtype = 0 /* AnimationRendererType.Regular */;\n constructor(namespaceId, delegate, engine, _onDestroy) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this._onDestroy = _onDestroy;\n }\n get data() {\n return this.delegate.data;\n }\n destroyNode(node) {\n this.delegate.destroyNode?.(node);\n }\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.engine.afterFlushAnimationsDone(() => {\n // Call the renderer destroy method after the animations has finished as otherwise\n // styles will be removed too early which will cause an unstyled animation.\n queueMicrotask(() => {\n this.delegate.destroy();\n });\n });\n this._onDestroy?.();\n }\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n createComment(value) {\n return this.delegate.createComment(value);\n }\n createText(value) {\n return this.delegate.createText(value);\n }\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n insertBefore(parent, newChild, refChild, isMove = true) {\n this.delegate.insertBefore(parent, newChild, refChild);\n // If `isMove` true than we should animate this insert.\n this.engine.onInsert(this.namespaceId, newChild, parent, isMove);\n }\n removeChild(parent, oldChild, isHostElement) {\n // Prior to the changes in #57203, this method wasn't being called at all by `core` if the child\n // doesn't have a parent. There appears to be some animation-specific downstream logic that\n // depends on the null check happening before the animation engine. This check keeps the old\n // behavior while allowing `core` to not have to check for the parent element anymore.\n if (this.parentNode(oldChild)) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate);\n }\n }\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n } else {\n this.delegate.setProperty(el, name, value);\n }\n }\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n listen(target, eventName, callback, options) {\n return this.delegate.listen(target, eventName, callback, options);\n }\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n factory;\n constructor(factory, namespaceId, delegate, engine, onDestroy) {\n super(namespaceId, delegate, engine, onDestroy);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, value);\n } else {\n this.engine.process(this.namespaceId, el, name.slice(1), value);\n }\n } else {\n this.delegate.setProperty(el, name, value);\n }\n }\n listen(target, eventName, callback, options) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n const element = resolveElementFromTarget(target);\n let name = eventName.slice(1);\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, event => {\n const countId = event['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n });\n }\n return this.delegate.listen(target, eventName, callback, options);\n }\n}\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\nfunction parseTriggerCallbackName(triggerName) {\n const dotIndex = triggerName.indexOf('.');\n const trigger = triggerName.substring(0, dotIndex);\n const phase = triggerName.slice(dotIndex + 1);\n return [trigger, phase];\n}\nclass AnimationRendererFactory {\n delegate;\n engine;\n _zone;\n _currentId = 0;\n _microtaskId = 1;\n _animationCallbacksBuffer = [];\n _rendererCache = new Map();\n _cdRecurDepth = 0;\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n engine.onRemovalComplete = (element, delegate) => {\n delegate?.removeChild(null, element);\n };\n }\n createRenderer(hostElement, type) {\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type?.data?.['animation']) {\n const cache = this._rendererCache;\n let renderer = cache.get(delegate);\n if (!renderer) {\n // Ensure that the renderer is removed from the cache on destroy\n // since it may contain references to detached DOM nodes.\n const onRendererDestroy = () => cache.delete(delegate);\n renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy);\n // only cache this result when the base renderer is used\n cache.set(delegate, renderer);\n }\n return renderer;\n }\n const componentId = type.id;\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n const registerTrigger = trigger => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n } else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n };\n const animationTriggers = type.data['animation'];\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n _scheduleCountTask() {\n queueMicrotask(() => {\n this._microtaskId++;\n });\n }\n /** @internal */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run(() => fn(data));\n return;\n }\n const animationCallbacksBuffer = this._animationCallbacksBuffer;\n if (animationCallbacksBuffer.length == 0) {\n queueMicrotask(() => {\n this._zone.run(() => {\n animationCallbacksBuffer.forEach(tuple => {\n const [fn, data] = tuple;\n fn(data);\n });\n this._animationCallbacksBuffer = [];\n });\n });\n }\n animationCallbacksBuffer.push([fn, data]);\n }\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular(() => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n });\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n /**\n * Used during HMR to clear any cached data about a component.\n * @param componentId ID of the component that is being replaced.\n */\n componentReplaced(componentId) {\n // Flush the engine since the renderer destruction waits for animations to be done.\n this.engine.flush();\n this.delegate.componentReplaced?.(componentId);\n }\n}\nexport { AnimationDriver, NoopAnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, BaseAnimationRenderer as ɵBaseAnimationRenderer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, camelCaseToDashCase as ɵcamelCaseToDashCase, containsElement as ɵcontainsElement, createEngine as ɵcreateEngine, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes$1 as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty, validateWebAnimatableStyleProperty as ɵvalidateWebAnimatableStyleProperty };\n"],"mappings":";;;;;;;;;;AAcA,IAAI;AAAA,CACH,SAAUA,wBAAuB;AAKhC,EAAAA,uBAAsBA,uBAAsB,OAAO,IAAI,CAAC,IAAI;AAK5D,EAAAA,uBAAsBA,uBAAsB,YAAY,IAAI,CAAC,IAAI;AAKjE,EAAAA,uBAAsBA,uBAAsB,UAAU,IAAI,CAAC,IAAI;AAK/D,EAAAA,uBAAsBA,uBAAsB,OAAO,IAAI,CAAC,IAAI;AAK5D,EAAAA,uBAAsBA,uBAAsB,SAAS,IAAI,CAAC,IAAI;AAK9D,EAAAA,uBAAsBA,uBAAsB,WAAW,IAAI,CAAC,IAAI;AAKhE,EAAAA,uBAAsBA,uBAAsB,OAAO,IAAI,CAAC,IAAI;AAK5D,EAAAA,uBAAsBA,uBAAsB,SAAS,IAAI,CAAC,IAAI;AAK9D,EAAAA,uBAAsBA,uBAAsB,WAAW,IAAI,CAAC,IAAI;AAKhE,EAAAA,uBAAsBA,uBAAsB,cAAc,IAAI,CAAC,IAAI;AAKnE,EAAAA,uBAAsBA,uBAAsB,YAAY,IAAI,EAAE,IAAI;AAKlE,EAAAA,uBAAsBA,uBAAsB,OAAO,IAAI,EAAE,IAAI;AAK7D,EAAAA,uBAAsBA,uBAAsB,SAAS,IAAI,EAAE,IAAI;AACjE,GAAG,0BAA0B,wBAAwB,CAAC,EAAE;AAMxD,IAAM,aAAa;AAuSnB,SAAS,SAAS,OAAO,UAAU,MAAM;AACvC,SAAO;AAAA,IACL,MAAM,sBAAsB;AAAA,IAC5B;AAAA,IACA;AAAA,EACF;AACF;AAwCA,SAAS,MAAM,QAAQ;AACrB,SAAO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,WAAK,SAAS,MAAM;AAAA,IACtB;AAAA,EACF;AAAA,EACA,qBAAqB;AACnB,mBAAe,MAAM;AACnB,WAAK;AAAA,IACP,CAAC;AAAA,EACH;AAAA;AAAA,EAEA,yBAAyB,OAAO,IAAI,MAAM;AACxC,QAAI,SAAS,KAAK,QAAQ,KAAK,cAAc;AAC3C,WAAK,MAAM,IAAI,MAAM,GAAG,IAAI,CAAC;AAC7B;AAAA,IACF;AACA,UAAM,2BAA2B,KAAK;AACtC,QAAI,yBAAyB,UAAU,GAAG;AACxC,qBAAe,MAAM;AACnB,aAAK,MAAM,IAAI,MAAM;AACnB,mCAAyB,QAAQ,WAAS;AACxC,kBAAM,CAACC,KAAIC,KAAI,IAAI;AACnB,YAAAD,IAAGC,KAAI;AAAA,UACT,CAAC;AACD,eAAK,4BAA4B,CAAC;AAAA,QACpC,CAAC;AAAA,MACH,CAAC;AAAA,IACH;AACA,6BAAyB,KAAK,CAAC,IAAI,IAAI,CAAC;AAAA,EAC1C;AAAA,EACA,MAAM;AACJ,SAAK;AAGL,QAAI,KAAK,iBAAiB,GAAG;AAC3B,WAAK,MAAM,kBAAkB,MAAM;AACjC,aAAK,mBAAmB;AACxB,aAAK,OAAO,MAAM,KAAK,YAAY;AAAA,MACrC,CAAC;AAAA,IACH;AACA,QAAI,KAAK,SAAS,KAAK;AACrB,WAAK,SAAS,IAAI;AAAA,IACpB;AAAA,EACF;AAAA,EACA,oBAAoB;AAClB,WAAO,KAAK,OAAO,kBAAkB;AAAA,EACvC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,kBAAkB,aAAa;AAE7B,SAAK,OAAO,MAAM;AAClB,SAAK,SAAS,oBAAoB,WAAW;AAAA,EAC/C;AACF;","names":["AnimationMetadataType","LINE_START","style","styleMetadata","ast","element","value","player","index","i","delegate","fn","data"],"x_google_ignoreList":[0,1,2]} \ No newline at end of file diff --git a/spring-angular-ui/static/browser/chunk-7E6NIDIZ.js b/spring-angular-ui/static/browser/chunk-7E6NIDIZ.js new file mode 100644 index 0000000..35ed6f8 --- /dev/null +++ b/spring-angular-ui/static/browser/chunk-7E6NIDIZ.js @@ -0,0 +1,24722 @@ +var __defProp = Object.defineProperty; +var __defProps = Object.defineProperties; +var __getOwnPropDescs = Object.getOwnPropertyDescriptors; +var __getOwnPropSymbols = Object.getOwnPropertySymbols; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __propIsEnum = Object.prototype.propertyIsEnumerable; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __spreadValues = (a, b) => { + for (var prop in b ||= {}) + if (__hasOwnProp.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + if (__getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(b)) { + if (__propIsEnum.call(b, prop)) + __defNormalProp(a, prop, b[prop]); + } + return a; +}; +var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); +var __objRest = (source, exclude) => { + var target = {}; + for (var prop in source) + if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) + target[prop] = source[prop]; + if (source != null && __getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(source)) { + if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) + target[prop] = source[prop]; + } + return target; +}; +var __async = (__this, __arguments, generator) => { + return new Promise((resolve, reject) => { + var fulfilled = (value) => { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } + }; + var rejected = (value) => { + try { + step(generator.throw(value)); + } catch (e) { + reject(e); + } + }; + var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); + step((generator = generator.apply(__this, __arguments)).next()); + }); +}; + +// node_modules/@angular/core/fesm2022/untracked-BKcld_ew.mjs +function defaultEquals(a, b) { + return Object.is(a, b); +} +var activeConsumer = null; +var inNotificationPhase = false; +var epoch = 1; +var SIGNAL = /* @__PURE__ */ Symbol("SIGNAL"); +function setActiveConsumer(consumer) { + const prev = activeConsumer; + activeConsumer = consumer; + return prev; +} +function getActiveConsumer() { + return activeConsumer; +} +function isInNotificationPhase() { + return inNotificationPhase; +} +var REACTIVE_NODE = { + version: 0, + lastCleanEpoch: 0, + dirty: false, + producerNode: void 0, + producerLastReadVersion: void 0, + producerIndexOfThis: void 0, + nextProducerIndex: 0, + liveConsumerNode: void 0, + liveConsumerIndexOfThis: void 0, + consumerAllowSignalWrites: false, + consumerIsAlwaysLive: false, + kind: "unknown", + producerMustRecompute: () => false, + producerRecomputeValue: () => { + }, + consumerMarkedDirty: () => { + }, + consumerOnSignalRead: () => { + } +}; +function producerAccessed(node) { + if (inNotificationPhase) { + throw new Error(typeof ngDevMode !== "undefined" && ngDevMode ? `Assertion error: signal read during notification phase` : ""); + } + if (activeConsumer === null) { + return; + } + activeConsumer.consumerOnSignalRead(node); + const idx = activeConsumer.nextProducerIndex++; + assertConsumerNode(activeConsumer); + if (idx < activeConsumer.producerNode.length && activeConsumer.producerNode[idx] !== node) { + if (consumerIsLive(activeConsumer)) { + const staleProducer = activeConsumer.producerNode[idx]; + producerRemoveLiveConsumerAtIndex(staleProducer, activeConsumer.producerIndexOfThis[idx]); + } + } + if (activeConsumer.producerNode[idx] !== node) { + activeConsumer.producerNode[idx] = node; + activeConsumer.producerIndexOfThis[idx] = consumerIsLive(activeConsumer) ? producerAddLiveConsumer(node, activeConsumer, idx) : 0; + } + activeConsumer.producerLastReadVersion[idx] = node.version; +} +function producerIncrementEpoch() { + epoch++; +} +function producerUpdateValueVersion(node) { + if (consumerIsLive(node) && !node.dirty) { + return; + } + if (!node.dirty && node.lastCleanEpoch === epoch) { + return; + } + if (!node.producerMustRecompute(node) && !consumerPollProducersForChange(node)) { + producerMarkClean(node); + return; + } + node.producerRecomputeValue(node); + producerMarkClean(node); +} +function producerNotifyConsumers(node) { + if (node.liveConsumerNode === void 0) { + return; + } + const prev = inNotificationPhase; + inNotificationPhase = true; + try { + for (const consumer of node.liveConsumerNode) { + if (!consumer.dirty) { + consumerMarkDirty(consumer); + } + } + } finally { + inNotificationPhase = prev; + } +} +function producerUpdatesAllowed() { + return activeConsumer?.consumerAllowSignalWrites !== false; +} +function consumerMarkDirty(node) { + node.dirty = true; + producerNotifyConsumers(node); + node.consumerMarkedDirty?.(node); +} +function producerMarkClean(node) { + node.dirty = false; + node.lastCleanEpoch = epoch; +} +function consumerBeforeComputation(node) { + node && (node.nextProducerIndex = 0); + return setActiveConsumer(node); +} +function consumerAfterComputation(node, prevConsumer) { + setActiveConsumer(prevConsumer); + if (!node || node.producerNode === void 0 || node.producerIndexOfThis === void 0 || node.producerLastReadVersion === void 0) { + return; + } + if (consumerIsLive(node)) { + for (let i = node.nextProducerIndex; i < node.producerNode.length; i++) { + producerRemoveLiveConsumerAtIndex(node.producerNode[i], node.producerIndexOfThis[i]); + } + } + while (node.producerNode.length > node.nextProducerIndex) { + node.producerNode.pop(); + node.producerLastReadVersion.pop(); + node.producerIndexOfThis.pop(); + } +} +function consumerPollProducersForChange(node) { + assertConsumerNode(node); + for (let i = 0; i < node.producerNode.length; i++) { + const producer = node.producerNode[i]; + const seenVersion = node.producerLastReadVersion[i]; + if (seenVersion !== producer.version) { + return true; + } + producerUpdateValueVersion(producer); + if (seenVersion !== producer.version) { + return true; + } + } + return false; +} +function consumerDestroy(node) { + assertConsumerNode(node); + if (consumerIsLive(node)) { + for (let i = 0; i < node.producerNode.length; i++) { + producerRemoveLiveConsumerAtIndex(node.producerNode[i], node.producerIndexOfThis[i]); + } + } + node.producerNode.length = node.producerLastReadVersion.length = node.producerIndexOfThis.length = 0; + if (node.liveConsumerNode) { + node.liveConsumerNode.length = node.liveConsumerIndexOfThis.length = 0; + } +} +function producerAddLiveConsumer(node, consumer, indexOfThis) { + assertProducerNode(node); + if (node.liveConsumerNode.length === 0 && isConsumerNode(node)) { + for (let i = 0; i < node.producerNode.length; i++) { + node.producerIndexOfThis[i] = producerAddLiveConsumer(node.producerNode[i], node, i); + } + } + node.liveConsumerIndexOfThis.push(indexOfThis); + return node.liveConsumerNode.push(consumer) - 1; +} +function producerRemoveLiveConsumerAtIndex(node, idx) { + assertProducerNode(node); + if (typeof ngDevMode !== "undefined" && ngDevMode && idx >= node.liveConsumerNode.length) { + throw new Error(`Assertion error: active consumer index ${idx} is out of bounds of ${node.liveConsumerNode.length} consumers)`); + } + if (node.liveConsumerNode.length === 1 && isConsumerNode(node)) { + for (let i = 0; i < node.producerNode.length; i++) { + producerRemoveLiveConsumerAtIndex(node.producerNode[i], node.producerIndexOfThis[i]); + } + } + const lastIdx = node.liveConsumerNode.length - 1; + node.liveConsumerNode[idx] = node.liveConsumerNode[lastIdx]; + node.liveConsumerIndexOfThis[idx] = node.liveConsumerIndexOfThis[lastIdx]; + node.liveConsumerNode.length--; + node.liveConsumerIndexOfThis.length--; + if (idx < node.liveConsumerNode.length) { + const idxProducer = node.liveConsumerIndexOfThis[idx]; + const consumer = node.liveConsumerNode[idx]; + assertConsumerNode(consumer); + consumer.producerIndexOfThis[idxProducer] = idx; + } +} +function consumerIsLive(node) { + return node.consumerIsAlwaysLive || (node?.liveConsumerNode?.length ?? 0) > 0; +} +function assertConsumerNode(node) { + node.producerNode ??= []; + node.producerIndexOfThis ??= []; + node.producerLastReadVersion ??= []; +} +function assertProducerNode(node) { + node.liveConsumerNode ??= []; + node.liveConsumerIndexOfThis ??= []; +} +function isConsumerNode(node) { + return node.producerNode !== void 0; +} +function createComputed(computation, equal) { + const node = Object.create(COMPUTED_NODE); + node.computation = computation; + if (equal !== void 0) { + node.equal = equal; + } + const computed2 = () => { + producerUpdateValueVersion(node); + producerAccessed(node); + if (node.value === ERRORED) { + throw node.error; + } + return node.value; + }; + computed2[SIGNAL] = node; + return computed2; +} +var UNSET = /* @__PURE__ */ Symbol("UNSET"); +var COMPUTING = /* @__PURE__ */ Symbol("COMPUTING"); +var ERRORED = /* @__PURE__ */ Symbol("ERRORED"); +var COMPUTED_NODE = /* @__PURE__ */ (() => { + return __spreadProps(__spreadValues({}, REACTIVE_NODE), { + value: UNSET, + dirty: true, + error: null, + equal: defaultEquals, + kind: "computed", + producerMustRecompute(node) { + return node.value === UNSET || node.value === COMPUTING; + }, + producerRecomputeValue(node) { + if (node.value === COMPUTING) { + throw new Error("Detected cycle in computations."); + } + const oldValue = node.value; + node.value = COMPUTING; + const prevConsumer = consumerBeforeComputation(node); + let newValue; + let wasEqual = false; + try { + newValue = node.computation(); + setActiveConsumer(null); + wasEqual = oldValue !== UNSET && oldValue !== ERRORED && newValue !== ERRORED && node.equal(oldValue, newValue); + } catch (err) { + newValue = ERRORED; + node.error = err; + } finally { + consumerAfterComputation(node, prevConsumer); + } + if (wasEqual) { + node.value = oldValue; + return; + } + node.value = newValue; + node.version++; + } + }); +})(); +function defaultThrowError() { + throw new Error(); +} +var throwInvalidWriteToSignalErrorFn = defaultThrowError; +function throwInvalidWriteToSignalError(node) { + throwInvalidWriteToSignalErrorFn(node); +} +function setThrowInvalidWriteToSignalError(fn) { + throwInvalidWriteToSignalErrorFn = fn; +} +var postSignalSetFn = null; +function createSignal(initialValue, equal) { + const node = Object.create(SIGNAL_NODE); + node.value = initialValue; + if (equal !== void 0) { + node.equal = equal; + } + const getter = () => { + producerAccessed(node); + return node.value; + }; + getter[SIGNAL] = node; + return getter; +} +function signalSetFn(node, newValue) { + if (!producerUpdatesAllowed()) { + throwInvalidWriteToSignalError(node); + } + if (!node.equal(node.value, newValue)) { + node.value = newValue; + signalValueChanged(node); + } +} +function signalUpdateFn(node, updater) { + if (!producerUpdatesAllowed()) { + throwInvalidWriteToSignalError(node); + } + signalSetFn(node, updater(node.value)); +} +var SIGNAL_NODE = /* @__PURE__ */ (() => { + return __spreadProps(__spreadValues({}, REACTIVE_NODE), { + equal: defaultEquals, + value: void 0, + kind: "signal" + }); +})(); +function signalValueChanged(node) { + node.version++; + producerIncrementEpoch(); + producerNotifyConsumers(node); + postSignalSetFn?.(); +} +function createLinkedSignal(sourceFn, computationFn, equalityFn) { + const node = Object.create(LINKED_SIGNAL_NODE); + node.source = sourceFn; + node.computation = computationFn; + if (equalityFn != void 0) { + node.equal = equalityFn; + } + const linkedSignalGetter = () => { + producerUpdateValueVersion(node); + producerAccessed(node); + if (node.value === ERRORED) { + throw node.error; + } + return node.value; + }; + const getter = linkedSignalGetter; + getter[SIGNAL] = node; + return getter; +} +function linkedSignalSetFn(node, newValue) { + producerUpdateValueVersion(node); + signalSetFn(node, newValue); + producerMarkClean(node); +} +function linkedSignalUpdateFn(node, updater) { + producerUpdateValueVersion(node); + signalUpdateFn(node, updater); + producerMarkClean(node); +} +var LINKED_SIGNAL_NODE = /* @__PURE__ */ (() => { + return __spreadProps(__spreadValues({}, REACTIVE_NODE), { + value: UNSET, + dirty: true, + error: null, + equal: defaultEquals, + kind: "linkedSignal", + producerMustRecompute(node) { + return node.value === UNSET || node.value === COMPUTING; + }, + producerRecomputeValue(node) { + if (node.value === COMPUTING) { + throw new Error("Detected cycle in computations."); + } + const oldValue = node.value; + node.value = COMPUTING; + const prevConsumer = consumerBeforeComputation(node); + let newValue; + try { + const newSourceValue = node.source(); + const prev = oldValue === UNSET || oldValue === ERRORED ? void 0 : { + source: node.sourceValue, + value: oldValue + }; + newValue = node.computation(newSourceValue, prev); + node.sourceValue = newSourceValue; + } catch (err) { + newValue = ERRORED; + node.error = err; + } finally { + consumerAfterComputation(node, prevConsumer); + } + if (oldValue !== UNSET && newValue !== ERRORED && node.equal(oldValue, newValue)) { + node.value = oldValue; + return; + } + node.value = newValue; + node.version++; + } + }); +})(); +function untracked(nonReactiveReadsFn) { + const prevConsumer = setActiveConsumer(null); + try { + return nonReactiveReadsFn(); + } finally { + setActiveConsumer(prevConsumer); + } +} + +// node_modules/@angular/core/fesm2022/primitives/di.mjs +var _currentInjector = void 0; +function getCurrentInjector() { + return _currentInjector; +} +function setCurrentInjector(injector) { + const former = _currentInjector; + _currentInjector = injector; + return former; +} +var NOT_FOUND = Symbol("NotFound"); + +// node_modules/rxjs/dist/esm/internal/util/isFunction.js +function isFunction(value) { + return typeof value === "function"; +} + +// node_modules/rxjs/dist/esm/internal/util/createErrorClass.js +function createErrorClass(createImpl) { + const _super = (instance) => { + Error.call(instance); + instance.stack = new Error().stack; + }; + const ctorFunc = createImpl(_super); + ctorFunc.prototype = Object.create(Error.prototype); + ctorFunc.prototype.constructor = ctorFunc; + return ctorFunc; +} + +// node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js +var UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) { + _super(this); + this.message = errors ? `${errors.length} errors occurred during unsubscription: +${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join("\n ")}` : ""; + this.name = "UnsubscriptionError"; + this.errors = errors; +}); + +// node_modules/rxjs/dist/esm/internal/util/arrRemove.js +function arrRemove(arr, item) { + if (arr) { + const index = arr.indexOf(item); + 0 <= index && arr.splice(index, 1); + } +} + +// node_modules/rxjs/dist/esm/internal/Subscription.js +var Subscription = class _Subscription { + constructor(initialTeardown) { + this.initialTeardown = initialTeardown; + this.closed = false; + this._parentage = null; + this._finalizers = null; + } + unsubscribe() { + let errors; + if (!this.closed) { + this.closed = true; + const { + _parentage + } = this; + if (_parentage) { + this._parentage = null; + if (Array.isArray(_parentage)) { + for (const parent of _parentage) { + parent.remove(this); + } + } else { + _parentage.remove(this); + } + } + const { + initialTeardown: initialFinalizer + } = this; + if (isFunction(initialFinalizer)) { + try { + initialFinalizer(); + } catch (e) { + errors = e instanceof UnsubscriptionError ? e.errors : [e]; + } + } + const { + _finalizers + } = this; + if (_finalizers) { + this._finalizers = null; + for (const finalizer of _finalizers) { + try { + execFinalizer(finalizer); + } catch (err) { + errors = errors !== null && errors !== void 0 ? errors : []; + if (err instanceof UnsubscriptionError) { + errors = [...errors, ...err.errors]; + } else { + errors.push(err); + } + } + } + } + if (errors) { + throw new UnsubscriptionError(errors); + } + } + } + add(teardown) { + var _a; + if (teardown && teardown !== this) { + if (this.closed) { + execFinalizer(teardown); + } else { + if (teardown instanceof _Subscription) { + if (teardown.closed || teardown._hasParent(this)) { + return; + } + teardown._addParent(this); + } + (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown); + } + } + } + _hasParent(parent) { + const { + _parentage + } = this; + return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent); + } + _addParent(parent) { + const { + _parentage + } = this; + this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent; + } + _removeParent(parent) { + const { + _parentage + } = this; + if (_parentage === parent) { + this._parentage = null; + } else if (Array.isArray(_parentage)) { + arrRemove(_parentage, parent); + } + } + remove(teardown) { + const { + _finalizers + } = this; + _finalizers && arrRemove(_finalizers, teardown); + if (teardown instanceof _Subscription) { + teardown._removeParent(this); + } + } +}; +Subscription.EMPTY = (() => { + const empty = new Subscription(); + empty.closed = true; + return empty; +})(); +var EMPTY_SUBSCRIPTION = Subscription.EMPTY; +function isSubscription(value) { + return value instanceof Subscription || value && "closed" in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe); +} +function execFinalizer(finalizer) { + if (isFunction(finalizer)) { + finalizer(); + } else { + finalizer.unsubscribe(); + } +} + +// node_modules/rxjs/dist/esm/internal/config.js +var config = { + onUnhandledError: null, + onStoppedNotification: null, + Promise: void 0, + useDeprecatedSynchronousErrorHandling: false, + useDeprecatedNextContext: false +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js +var timeoutProvider = { + setTimeout(handler, timeout, ...args) { + const { + delegate + } = timeoutProvider; + if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) { + return delegate.setTimeout(handler, timeout, ...args); + } + return setTimeout(handler, timeout, ...args); + }, + clearTimeout(handle) { + const { + delegate + } = timeoutProvider; + return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle); + }, + delegate: void 0 +}; + +// node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js +function reportUnhandledError(err) { + timeoutProvider.setTimeout(() => { + const { + onUnhandledError + } = config; + if (onUnhandledError) { + onUnhandledError(err); + } else { + throw err; + } + }); +} + +// node_modules/rxjs/dist/esm/internal/util/noop.js +function noop() { +} + +// node_modules/rxjs/dist/esm/internal/NotificationFactories.js +var COMPLETE_NOTIFICATION = (() => createNotification("C", void 0, void 0))(); +function errorNotification(error) { + return createNotification("E", void 0, error); +} +function nextNotification(value) { + return createNotification("N", value, void 0); +} +function createNotification(kind, value, error) { + return { + kind, + value, + error + }; +} + +// node_modules/rxjs/dist/esm/internal/util/errorContext.js +var context = null; +function errorContext(cb) { + if (config.useDeprecatedSynchronousErrorHandling) { + const isRoot = !context; + if (isRoot) { + context = { + errorThrown: false, + error: null + }; + } + cb(); + if (isRoot) { + const { + errorThrown, + error + } = context; + context = null; + if (errorThrown) { + throw error; + } + } + } else { + cb(); + } +} +function captureError(err) { + if (config.useDeprecatedSynchronousErrorHandling && context) { + context.errorThrown = true; + context.error = err; + } +} + +// node_modules/rxjs/dist/esm/internal/Subscriber.js +var Subscriber = class extends Subscription { + constructor(destination) { + super(); + this.isStopped = false; + if (destination) { + this.destination = destination; + if (isSubscription(destination)) { + destination.add(this); + } + } else { + this.destination = EMPTY_OBSERVER; + } + } + static create(next, error, complete) { + return new SafeSubscriber(next, error, complete); + } + next(value) { + if (this.isStopped) { + handleStoppedNotification(nextNotification(value), this); + } else { + this._next(value); + } + } + error(err) { + if (this.isStopped) { + handleStoppedNotification(errorNotification(err), this); + } else { + this.isStopped = true; + this._error(err); + } + } + complete() { + if (this.isStopped) { + handleStoppedNotification(COMPLETE_NOTIFICATION, this); + } else { + this.isStopped = true; + this._complete(); + } + } + unsubscribe() { + if (!this.closed) { + this.isStopped = true; + super.unsubscribe(); + this.destination = null; + } + } + _next(value) { + this.destination.next(value); + } + _error(err) { + try { + this.destination.error(err); + } finally { + this.unsubscribe(); + } + } + _complete() { + try { + this.destination.complete(); + } finally { + this.unsubscribe(); + } + } +}; +var _bind = Function.prototype.bind; +function bind(fn, thisArg) { + return _bind.call(fn, thisArg); +} +var ConsumerObserver = class { + constructor(partialObserver) { + this.partialObserver = partialObserver; + } + next(value) { + const { + partialObserver + } = this; + if (partialObserver.next) { + try { + partialObserver.next(value); + } catch (error) { + handleUnhandledError(error); + } + } + } + error(err) { + const { + partialObserver + } = this; + if (partialObserver.error) { + try { + partialObserver.error(err); + } catch (error) { + handleUnhandledError(error); + } + } else { + handleUnhandledError(err); + } + } + complete() { + const { + partialObserver + } = this; + if (partialObserver.complete) { + try { + partialObserver.complete(); + } catch (error) { + handleUnhandledError(error); + } + } + } +}; +var SafeSubscriber = class extends Subscriber { + constructor(observerOrNext, error, complete) { + super(); + let partialObserver; + if (isFunction(observerOrNext) || !observerOrNext) { + partialObserver = { + next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : void 0, + error: error !== null && error !== void 0 ? error : void 0, + complete: complete !== null && complete !== void 0 ? complete : void 0 + }; + } else { + let context2; + if (this && config.useDeprecatedNextContext) { + context2 = Object.create(observerOrNext); + context2.unsubscribe = () => this.unsubscribe(); + partialObserver = { + next: observerOrNext.next && bind(observerOrNext.next, context2), + error: observerOrNext.error && bind(observerOrNext.error, context2), + complete: observerOrNext.complete && bind(observerOrNext.complete, context2) + }; + } else { + partialObserver = observerOrNext; + } + } + this.destination = new ConsumerObserver(partialObserver); + } +}; +function handleUnhandledError(error) { + if (config.useDeprecatedSynchronousErrorHandling) { + captureError(error); + } else { + reportUnhandledError(error); + } +} +function defaultErrorHandler(err) { + throw err; +} +function handleStoppedNotification(notification, subscriber) { + const { + onStoppedNotification + } = config; + onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber)); +} +var EMPTY_OBSERVER = { + closed: true, + next: noop, + error: defaultErrorHandler, + complete: noop +}; + +// node_modules/rxjs/dist/esm/internal/symbol/observable.js +var observable = (() => typeof Symbol === "function" && Symbol.observable || "@@observable")(); + +// node_modules/rxjs/dist/esm/internal/util/identity.js +function identity(x) { + return x; +} + +// node_modules/rxjs/dist/esm/internal/util/pipe.js +function pipe(...fns) { + return pipeFromArray(fns); +} +function pipeFromArray(fns) { + if (fns.length === 0) { + return identity; + } + if (fns.length === 1) { + return fns[0]; + } + return function piped(input2) { + return fns.reduce((prev, fn) => fn(prev), input2); + }; +} + +// node_modules/rxjs/dist/esm/internal/Observable.js +var Observable = class _Observable { + constructor(subscribe) { + if (subscribe) { + this._subscribe = subscribe; + } + } + lift(operator) { + const observable2 = new _Observable(); + observable2.source = this; + observable2.operator = operator; + return observable2; + } + subscribe(observerOrNext, error, complete) { + const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete); + errorContext(() => { + const { + operator, + source + } = this; + subscriber.add(operator ? operator.call(subscriber, source) : source ? this._subscribe(subscriber) : this._trySubscribe(subscriber)); + }); + return subscriber; + } + _trySubscribe(sink) { + try { + return this._subscribe(sink); + } catch (err) { + sink.error(err); + } + } + forEach(next, promiseCtor) { + promiseCtor = getPromiseCtor(promiseCtor); + return new promiseCtor((resolve, reject) => { + const subscriber = new SafeSubscriber({ + next: (value) => { + try { + next(value); + } catch (err) { + reject(err); + subscriber.unsubscribe(); + } + }, + error: reject, + complete: resolve + }); + this.subscribe(subscriber); + }); + } + _subscribe(subscriber) { + var _a; + return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber); + } + [observable]() { + return this; + } + pipe(...operations) { + return pipeFromArray(operations)(this); + } + toPromise(promiseCtor) { + promiseCtor = getPromiseCtor(promiseCtor); + return new promiseCtor((resolve, reject) => { + let value; + this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value)); + }); + } +}; +Observable.create = (subscribe) => { + return new Observable(subscribe); +}; +function getPromiseCtor(promiseCtor) { + var _a; + return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise; +} +function isObserver(value) { + return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete); +} +function isSubscriber(value) { + return value && value instanceof Subscriber || isObserver(value) && isSubscription(value); +} + +// node_modules/rxjs/dist/esm/internal/util/lift.js +function hasLift(source) { + return isFunction(source === null || source === void 0 ? void 0 : source.lift); +} +function operate(init) { + return (source) => { + if (hasLift(source)) { + return source.lift(function(liftedSource) { + try { + return init(liftedSource, this); + } catch (err) { + this.error(err); + } + }); + } + throw new TypeError("Unable to lift unknown Observable type"); + }; +} + +// node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js +function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) { + return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize); +} +var OperatorSubscriber = class extends Subscriber { + constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) { + super(destination); + this.onFinalize = onFinalize; + this.shouldUnsubscribe = shouldUnsubscribe; + this._next = onNext ? function(value) { + try { + onNext(value); + } catch (err) { + destination.error(err); + } + } : super._next; + this._error = onError ? function(err) { + try { + onError(err); + } catch (err2) { + destination.error(err2); + } finally { + this.unsubscribe(); + } + } : super._error; + this._complete = onComplete ? function() { + try { + onComplete(); + } catch (err) { + destination.error(err); + } finally { + this.unsubscribe(); + } + } : super._complete; + } + unsubscribe() { + var _a; + if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) { + const { + closed + } = this; + super.unsubscribe(); + !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this)); + } + } +}; + +// node_modules/rxjs/dist/esm/internal/operators/refCount.js +function refCount() { + return operate((source, subscriber) => { + let connection = null; + source._refCount++; + const refCounter = createOperatorSubscriber(subscriber, void 0, void 0, void 0, () => { + if (!source || source._refCount <= 0 || 0 < --source._refCount) { + connection = null; + return; + } + const sharedConnection = source._connection; + const conn = connection; + connection = null; + if (sharedConnection && (!conn || sharedConnection === conn)) { + sharedConnection.unsubscribe(); + } + subscriber.unsubscribe(); + }); + source.subscribe(refCounter); + if (!refCounter.closed) { + connection = source.connect(); + } + }); +} + +// node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js +var ConnectableObservable = class extends Observable { + constructor(source, subjectFactory) { + super(); + this.source = source; + this.subjectFactory = subjectFactory; + this._subject = null; + this._refCount = 0; + this._connection = null; + if (hasLift(source)) { + this.lift = source.lift; + } + } + _subscribe(subscriber) { + return this.getSubject().subscribe(subscriber); + } + getSubject() { + const subject = this._subject; + if (!subject || subject.isStopped) { + this._subject = this.subjectFactory(); + } + return this._subject; + } + _teardown() { + this._refCount = 0; + const { + _connection + } = this; + this._subject = this._connection = null; + _connection === null || _connection === void 0 ? void 0 : _connection.unsubscribe(); + } + connect() { + let connection = this._connection; + if (!connection) { + connection = this._connection = new Subscription(); + const subject = this.getSubject(); + connection.add(this.source.subscribe(createOperatorSubscriber(subject, void 0, () => { + this._teardown(); + subject.complete(); + }, (err) => { + this._teardown(); + subject.error(err); + }, () => this._teardown()))); + if (connection.closed) { + this._connection = null; + connection = Subscription.EMPTY; + } + } + return connection; + } + refCount() { + return refCount()(this); + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/animationFrameProvider.js +var animationFrameProvider = { + schedule(callback) { + let request = requestAnimationFrame; + let cancel = cancelAnimationFrame; + const { + delegate + } = animationFrameProvider; + if (delegate) { + request = delegate.requestAnimationFrame; + cancel = delegate.cancelAnimationFrame; + } + const handle = request((timestamp) => { + cancel = void 0; + callback(timestamp); + }); + return new Subscription(() => cancel === null || cancel === void 0 ? void 0 : cancel(handle)); + }, + requestAnimationFrame(...args) { + const { + delegate + } = animationFrameProvider; + return ((delegate === null || delegate === void 0 ? void 0 : delegate.requestAnimationFrame) || requestAnimationFrame)(...args); + }, + cancelAnimationFrame(...args) { + const { + delegate + } = animationFrameProvider; + return ((delegate === null || delegate === void 0 ? void 0 : delegate.cancelAnimationFrame) || cancelAnimationFrame)(...args); + }, + delegate: void 0 +}; + +// node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js +var ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() { + _super(this); + this.name = "ObjectUnsubscribedError"; + this.message = "object unsubscribed"; +}); + +// node_modules/rxjs/dist/esm/internal/Subject.js +var Subject = class extends Observable { + constructor() { + super(); + this.closed = false; + this.currentObservers = null; + this.observers = []; + this.isStopped = false; + this.hasError = false; + this.thrownError = null; + } + lift(operator) { + const subject = new AnonymousSubject(this, this); + subject.operator = operator; + return subject; + } + _throwIfClosed() { + if (this.closed) { + throw new ObjectUnsubscribedError(); + } + } + next(value) { + errorContext(() => { + this._throwIfClosed(); + if (!this.isStopped) { + if (!this.currentObservers) { + this.currentObservers = Array.from(this.observers); + } + for (const observer of this.currentObservers) { + observer.next(value); + } + } + }); + } + error(err) { + errorContext(() => { + this._throwIfClosed(); + if (!this.isStopped) { + this.hasError = this.isStopped = true; + this.thrownError = err; + const { + observers + } = this; + while (observers.length) { + observers.shift().error(err); + } + } + }); + } + complete() { + errorContext(() => { + this._throwIfClosed(); + if (!this.isStopped) { + this.isStopped = true; + const { + observers + } = this; + while (observers.length) { + observers.shift().complete(); + } + } + }); + } + unsubscribe() { + this.isStopped = this.closed = true; + this.observers = this.currentObservers = null; + } + get observed() { + var _a; + return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0; + } + _trySubscribe(subscriber) { + this._throwIfClosed(); + return super._trySubscribe(subscriber); + } + _subscribe(subscriber) { + this._throwIfClosed(); + this._checkFinalizedStatuses(subscriber); + return this._innerSubscribe(subscriber); + } + _innerSubscribe(subscriber) { + const { + hasError, + isStopped, + observers + } = this; + if (hasError || isStopped) { + return EMPTY_SUBSCRIPTION; + } + this.currentObservers = null; + observers.push(subscriber); + return new Subscription(() => { + this.currentObservers = null; + arrRemove(observers, subscriber); + }); + } + _checkFinalizedStatuses(subscriber) { + const { + hasError, + thrownError, + isStopped + } = this; + if (hasError) { + subscriber.error(thrownError); + } else if (isStopped) { + subscriber.complete(); + } + } + asObservable() { + const observable2 = new Observable(); + observable2.source = this; + return observable2; + } +}; +Subject.create = (destination, source) => { + return new AnonymousSubject(destination, source); +}; +var AnonymousSubject = class extends Subject { + constructor(destination, source) { + super(); + this.destination = destination; + this.source = source; + } + next(value) { + var _a, _b; + (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value); + } + error(err) { + var _a, _b; + (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err); + } + complete() { + var _a, _b; + (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a); + } + _subscribe(subscriber) { + var _a, _b; + return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION; + } +}; + +// node_modules/rxjs/dist/esm/internal/BehaviorSubject.js +var BehaviorSubject = class extends Subject { + constructor(_value) { + super(); + this._value = _value; + } + get value() { + return this.getValue(); + } + _subscribe(subscriber) { + const subscription = super._subscribe(subscriber); + !subscription.closed && subscriber.next(this._value); + return subscription; + } + getValue() { + const { + hasError, + thrownError, + _value + } = this; + if (hasError) { + throw thrownError; + } + this._throwIfClosed(); + return _value; + } + next(value) { + super.next(this._value = value); + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js +var dateTimestampProvider = { + now() { + return (dateTimestampProvider.delegate || Date).now(); + }, + delegate: void 0 +}; + +// node_modules/rxjs/dist/esm/internal/ReplaySubject.js +var ReplaySubject = class extends Subject { + constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) { + super(); + this._bufferSize = _bufferSize; + this._windowTime = _windowTime; + this._timestampProvider = _timestampProvider; + this._buffer = []; + this._infiniteTimeWindow = true; + this._infiniteTimeWindow = _windowTime === Infinity; + this._bufferSize = Math.max(1, _bufferSize); + this._windowTime = Math.max(1, _windowTime); + } + next(value) { + const { + isStopped, + _buffer, + _infiniteTimeWindow, + _timestampProvider, + _windowTime + } = this; + if (!isStopped) { + _buffer.push(value); + !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime); + } + this._trimBuffer(); + super.next(value); + } + _subscribe(subscriber) { + this._throwIfClosed(); + this._trimBuffer(); + const subscription = this._innerSubscribe(subscriber); + const { + _infiniteTimeWindow, + _buffer + } = this; + const copy = _buffer.slice(); + for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) { + subscriber.next(copy[i]); + } + this._checkFinalizedStatuses(subscriber); + return subscription; + } + _trimBuffer() { + const { + _bufferSize, + _timestampProvider, + _buffer, + _infiniteTimeWindow + } = this; + const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize; + _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize); + if (!_infiniteTimeWindow) { + const now = _timestampProvider.now(); + let last3 = 0; + for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) { + last3 = i; + } + last3 && _buffer.splice(0, last3 + 1); + } + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/Action.js +var Action = class extends Subscription { + constructor(scheduler, work) { + super(); + } + schedule(state, delay = 0) { + return this; + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js +var intervalProvider = { + setInterval(handler, timeout, ...args) { + const { + delegate + } = intervalProvider; + if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) { + return delegate.setInterval(handler, timeout, ...args); + } + return setInterval(handler, timeout, ...args); + }, + clearInterval(handle) { + const { + delegate + } = intervalProvider; + return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle); + }, + delegate: void 0 +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js +var AsyncAction = class extends Action { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + this.pending = false; + } + schedule(state, delay = 0) { + var _a; + if (this.closed) { + return this; + } + this.state = state; + const id = this.id; + const scheduler = this.scheduler; + if (id != null) { + this.id = this.recycleAsyncId(scheduler, id, delay); + } + this.pending = true; + this.delay = delay; + this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay); + return this; + } + requestAsyncId(scheduler, _id, delay = 0) { + return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay); + } + recycleAsyncId(_scheduler, id, delay = 0) { + if (delay != null && this.delay === delay && this.pending === false) { + return id; + } + if (id != null) { + intervalProvider.clearInterval(id); + } + return void 0; + } + execute(state, delay) { + if (this.closed) { + return new Error("executing a cancelled action"); + } + this.pending = false; + const error = this._execute(state, delay); + if (error) { + return error; + } else if (this.pending === false && this.id != null) { + this.id = this.recycleAsyncId(this.scheduler, this.id, null); + } + } + _execute(state, _delay) { + let errored = false; + let errorValue; + try { + this.work(state); + } catch (e) { + errored = true; + errorValue = e ? e : new Error("Scheduled action threw falsy error"); + } + if (errored) { + this.unsubscribe(); + return errorValue; + } + } + unsubscribe() { + if (!this.closed) { + const { + id, + scheduler + } = this; + const { + actions + } = scheduler; + this.work = this.state = this.scheduler = null; + this.pending = false; + arrRemove(actions, this); + if (id != null) { + this.id = this.recycleAsyncId(scheduler, id, null); + } + this.delay = null; + super.unsubscribe(); + } + } +}; + +// node_modules/rxjs/dist/esm/internal/util/Immediate.js +var nextHandle = 1; +var resolved; +var activeHandles = {}; +function findAndClearHandle(handle) { + if (handle in activeHandles) { + delete activeHandles[handle]; + return true; + } + return false; +} +var Immediate = { + setImmediate(cb) { + const handle = nextHandle++; + activeHandles[handle] = true; + if (!resolved) { + resolved = Promise.resolve(); + } + resolved.then(() => findAndClearHandle(handle) && cb()); + return handle; + }, + clearImmediate(handle) { + findAndClearHandle(handle); + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js +var { + setImmediate, + clearImmediate +} = Immediate; +var immediateProvider = { + setImmediate(...args) { + const { + delegate + } = immediateProvider; + return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate)(...args); + }, + clearImmediate(handle) { + const { + delegate + } = immediateProvider; + return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle); + }, + delegate: void 0 +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/AsapAction.js +var AsapAction = class extends AsyncAction { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + } + requestAsyncId(scheduler, id, delay = 0) { + if (delay !== null && delay > 0) { + return super.requestAsyncId(scheduler, id, delay); + } + scheduler.actions.push(this); + return scheduler._scheduled || (scheduler._scheduled = immediateProvider.setImmediate(scheduler.flush.bind(scheduler, void 0))); + } + recycleAsyncId(scheduler, id, delay = 0) { + var _a; + if (delay != null ? delay > 0 : this.delay > 0) { + return super.recycleAsyncId(scheduler, id, delay); + } + const { + actions + } = scheduler; + if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) { + immediateProvider.clearImmediate(id); + if (scheduler._scheduled === id) { + scheduler._scheduled = void 0; + } + } + return void 0; + } +}; + +// node_modules/rxjs/dist/esm/internal/Scheduler.js +var Scheduler = class _Scheduler { + constructor(schedulerActionCtor, now = _Scheduler.now) { + this.schedulerActionCtor = schedulerActionCtor; + this.now = now; + } + schedule(work, delay = 0, state) { + return new this.schedulerActionCtor(this, work).schedule(state, delay); + } +}; +Scheduler.now = dateTimestampProvider.now; + +// node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js +var AsyncScheduler = class extends Scheduler { + constructor(SchedulerAction, now = Scheduler.now) { + super(SchedulerAction, now); + this.actions = []; + this._active = false; + } + flush(action) { + const { + actions + } = this; + if (this._active) { + actions.push(action); + return; + } + let error; + this._active = true; + do { + if (error = action.execute(action.state, action.delay)) { + break; + } + } while (action = actions.shift()); + this._active = false; + if (error) { + while (action = actions.shift()) { + action.unsubscribe(); + } + throw error; + } + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/AsapScheduler.js +var AsapScheduler = class extends AsyncScheduler { + flush(action) { + this._active = true; + const flushId = this._scheduled; + this._scheduled = void 0; + const { + actions + } = this; + let error; + action = action || actions.shift(); + do { + if (error = action.execute(action.state, action.delay)) { + break; + } + } while ((action = actions[0]) && action.id === flushId && actions.shift()); + this._active = false; + if (error) { + while ((action = actions[0]) && action.id === flushId && actions.shift()) { + action.unsubscribe(); + } + throw error; + } + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/asap.js +var asapScheduler = new AsapScheduler(AsapAction); + +// node_modules/rxjs/dist/esm/internal/scheduler/async.js +var asyncScheduler = new AsyncScheduler(AsyncAction); +var async = asyncScheduler; + +// node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameAction.js +var AnimationFrameAction = class extends AsyncAction { + constructor(scheduler, work) { + super(scheduler, work); + this.scheduler = scheduler; + this.work = work; + } + requestAsyncId(scheduler, id, delay = 0) { + if (delay !== null && delay > 0) { + return super.requestAsyncId(scheduler, id, delay); + } + scheduler.actions.push(this); + return scheduler._scheduled || (scheduler._scheduled = animationFrameProvider.requestAnimationFrame(() => scheduler.flush(void 0))); + } + recycleAsyncId(scheduler, id, delay = 0) { + var _a; + if (delay != null ? delay > 0 : this.delay > 0) { + return super.recycleAsyncId(scheduler, id, delay); + } + const { + actions + } = scheduler; + if (id != null && id === scheduler._scheduled && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) { + animationFrameProvider.cancelAnimationFrame(id); + scheduler._scheduled = void 0; + } + return void 0; + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/AnimationFrameScheduler.js +var AnimationFrameScheduler = class extends AsyncScheduler { + flush(action) { + this._active = true; + let flushId; + if (action) { + flushId = action.id; + } else { + flushId = this._scheduled; + this._scheduled = void 0; + } + const { + actions + } = this; + let error; + action = action || actions.shift(); + do { + if (error = action.execute(action.state, action.delay)) { + break; + } + } while ((action = actions[0]) && action.id === flushId && actions.shift()); + this._active = false; + if (error) { + while ((action = actions[0]) && action.id === flushId && actions.shift()) { + action.unsubscribe(); + } + throw error; + } + } +}; + +// node_modules/rxjs/dist/esm/internal/scheduler/animationFrame.js +var animationFrameScheduler = new AnimationFrameScheduler(AnimationFrameAction); + +// node_modules/rxjs/dist/esm/internal/observable/empty.js +var EMPTY = new Observable((subscriber) => subscriber.complete()); + +// node_modules/rxjs/dist/esm/internal/util/isScheduler.js +function isScheduler(value) { + return value && isFunction(value.schedule); +} + +// node_modules/rxjs/dist/esm/internal/util/args.js +function last(arr) { + return arr[arr.length - 1]; +} +function popResultSelector(args) { + return isFunction(last(args)) ? args.pop() : void 0; +} +function popScheduler(args) { + return isScheduler(last(args)) ? args.pop() : void 0; +} +function popNumber(args, defaultValue) { + return typeof last(args) === "number" ? args.pop() : defaultValue; +} + +// node_modules/tslib/tslib.es6.mjs +function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P ? value : new P(function(resolve) { + resolve(value); + }); + } + return new (P || (P = Promise))(function(resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } + } + function rejected(value) { + try { + step(generator["throw"](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} +function __values(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function() { + if (o && i >= o.length) o = void 0; + return { + value: o && o[i++], + done: !o + }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); +} +function __await(v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); +} +function __asyncGenerator(thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() { + return this; + }, i; + function awaitReturn(f) { + return function(v) { + return Promise.resolve(v).then(f, reject); + }; + } + function verb(n, f) { + if (g[n]) { + i[n] = function(v) { + return new Promise(function(a, b) { + q.push([n, v, a, b]) > 1 || resume(n, v); + }); + }; + if (f) i[n] = f(i[n]); + } + } + function resume(n, v) { + try { + step(g[n](v)); + } catch (e) { + settle(q[0][3], e); + } + } + function step(r) { + r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); + } + function fulfill(value) { + resume("next", value); + } + function reject(value) { + resume("throw", value); + } + function settle(f, v) { + if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); + } +} +function __asyncValues(o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() { + return this; + }, i); + function verb(n) { + i[n] = o[n] && function(v) { + return new Promise(function(resolve, reject) { + v = o[n](v), settle(resolve, reject, v.done, v.value); + }); + }; + } + function settle(resolve, reject, d, v) { + Promise.resolve(v).then(function(v2) { + resolve({ + value: v2, + done: d + }); + }, reject); + } +} + +// node_modules/rxjs/dist/esm/internal/util/isArrayLike.js +var isArrayLike = (x) => x && typeof x.length === "number" && typeof x !== "function"; + +// node_modules/rxjs/dist/esm/internal/util/isPromise.js +function isPromise(value) { + return isFunction(value === null || value === void 0 ? void 0 : value.then); +} + +// node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js +function isInteropObservable(input2) { + return isFunction(input2[observable]); +} + +// node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js +function isAsyncIterable(obj) { + return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]); +} + +// node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js +function createInvalidObservableTypeError(input2) { + return new TypeError(`You provided ${input2 !== null && typeof input2 === "object" ? "an invalid object" : `'${input2}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`); +} + +// node_modules/rxjs/dist/esm/internal/symbol/iterator.js +function getSymbolIterator() { + if (typeof Symbol !== "function" || !Symbol.iterator) { + return "@@iterator"; + } + return Symbol.iterator; +} +var iterator = getSymbolIterator(); + +// node_modules/rxjs/dist/esm/internal/util/isIterable.js +function isIterable(input2) { + return isFunction(input2 === null || input2 === void 0 ? void 0 : input2[iterator]); +} + +// node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js +function readableStreamLikeToAsyncGenerator(readableStream) { + return __asyncGenerator(this, arguments, function* readableStreamLikeToAsyncGenerator_1() { + const reader = readableStream.getReader(); + try { + while (true) { + const { + value, + done + } = yield __await(reader.read()); + if (done) { + return yield __await(void 0); + } + yield yield __await(value); + } + } finally { + reader.releaseLock(); + } + }); +} +function isReadableStreamLike(obj) { + return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader); +} + +// node_modules/rxjs/dist/esm/internal/observable/innerFrom.js +function innerFrom(input2) { + if (input2 instanceof Observable) { + return input2; + } + if (input2 != null) { + if (isInteropObservable(input2)) { + return fromInteropObservable(input2); + } + if (isArrayLike(input2)) { + return fromArrayLike(input2); + } + if (isPromise(input2)) { + return fromPromise(input2); + } + if (isAsyncIterable(input2)) { + return fromAsyncIterable(input2); + } + if (isIterable(input2)) { + return fromIterable(input2); + } + if (isReadableStreamLike(input2)) { + return fromReadableStreamLike(input2); + } + } + throw createInvalidObservableTypeError(input2); +} +function fromInteropObservable(obj) { + return new Observable((subscriber) => { + const obs = obj[observable](); + if (isFunction(obs.subscribe)) { + return obs.subscribe(subscriber); + } + throw new TypeError("Provided object does not correctly implement Symbol.observable"); + }); +} +function fromArrayLike(array) { + return new Observable((subscriber) => { + for (let i = 0; i < array.length && !subscriber.closed; i++) { + subscriber.next(array[i]); + } + subscriber.complete(); + }); +} +function fromPromise(promise) { + return new Observable((subscriber) => { + promise.then((value) => { + if (!subscriber.closed) { + subscriber.next(value); + subscriber.complete(); + } + }, (err) => subscriber.error(err)).then(null, reportUnhandledError); + }); +} +function fromIterable(iterable) { + return new Observable((subscriber) => { + for (const value of iterable) { + subscriber.next(value); + if (subscriber.closed) { + return; + } + } + subscriber.complete(); + }); +} +function fromAsyncIterable(asyncIterable) { + return new Observable((subscriber) => { + process(asyncIterable, subscriber).catch((err) => subscriber.error(err)); + }); +} +function fromReadableStreamLike(readableStream) { + return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream)); +} +function process(asyncIterable, subscriber) { + var asyncIterable_1, asyncIterable_1_1; + var e_1, _a; + return __awaiter(this, void 0, void 0, function* () { + try { + for (asyncIterable_1 = __asyncValues(asyncIterable); asyncIterable_1_1 = yield asyncIterable_1.next(), !asyncIterable_1_1.done; ) { + const value = asyncIterable_1_1.value; + subscriber.next(value); + if (subscriber.closed) { + return; + } + } + } catch (e_1_1) { + e_1 = { + error: e_1_1 + }; + } finally { + try { + if (asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)) yield _a.call(asyncIterable_1); + } finally { + if (e_1) throw e_1.error; + } + } + subscriber.complete(); + }); +} + +// node_modules/rxjs/dist/esm/internal/util/executeSchedule.js +function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) { + const scheduleSubscription = scheduler.schedule(function() { + work(); + if (repeat) { + parentSubscription.add(this.schedule(null, delay)); + } else { + this.unsubscribe(); + } + }, delay); + parentSubscription.add(scheduleSubscription); + if (!repeat) { + return scheduleSubscription; + } +} + +// node_modules/rxjs/dist/esm/internal/operators/observeOn.js +function observeOn(scheduler, delay = 0) { + return operate((source, subscriber) => { + source.subscribe(createOperatorSubscriber(subscriber, (value) => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), (err) => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay))); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js +function subscribeOn(scheduler, delay = 0) { + return operate((source, subscriber) => { + subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay)); + }); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js +function scheduleObservable(input2, scheduler) { + return innerFrom(input2).pipe(subscribeOn(scheduler), observeOn(scheduler)); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js +function schedulePromise(input2, scheduler) { + return innerFrom(input2).pipe(subscribeOn(scheduler), observeOn(scheduler)); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js +function scheduleArray(input2, scheduler) { + return new Observable((subscriber) => { + let i = 0; + return scheduler.schedule(function() { + if (i === input2.length) { + subscriber.complete(); + } else { + subscriber.next(input2[i++]); + if (!subscriber.closed) { + this.schedule(); + } + } + }); + }); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js +function scheduleIterable(input2, scheduler) { + return new Observable((subscriber) => { + let iterator2; + executeSchedule(subscriber, scheduler, () => { + iterator2 = input2[iterator](); + executeSchedule(subscriber, scheduler, () => { + let value; + let done; + try { + ({ + value, + done + } = iterator2.next()); + } catch (err) { + subscriber.error(err); + return; + } + if (done) { + subscriber.complete(); + } else { + subscriber.next(value); + } + }, 0, true); + }); + return () => isFunction(iterator2 === null || iterator2 === void 0 ? void 0 : iterator2.return) && iterator2.return(); + }); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js +function scheduleAsyncIterable(input2, scheduler) { + if (!input2) { + throw new Error("Iterable cannot be null"); + } + return new Observable((subscriber) => { + executeSchedule(subscriber, scheduler, () => { + const iterator2 = input2[Symbol.asyncIterator](); + executeSchedule(subscriber, scheduler, () => { + iterator2.next().then((result) => { + if (result.done) { + subscriber.complete(); + } else { + subscriber.next(result.value); + } + }); + }, 0, true); + }); + }); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js +function scheduleReadableStreamLike(input2, scheduler) { + return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input2), scheduler); +} + +// node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js +function scheduled(input2, scheduler) { + if (input2 != null) { + if (isInteropObservable(input2)) { + return scheduleObservable(input2, scheduler); + } + if (isArrayLike(input2)) { + return scheduleArray(input2, scheduler); + } + if (isPromise(input2)) { + return schedulePromise(input2, scheduler); + } + if (isAsyncIterable(input2)) { + return scheduleAsyncIterable(input2, scheduler); + } + if (isIterable(input2)) { + return scheduleIterable(input2, scheduler); + } + if (isReadableStreamLike(input2)) { + return scheduleReadableStreamLike(input2, scheduler); + } + } + throw createInvalidObservableTypeError(input2); +} + +// node_modules/rxjs/dist/esm/internal/observable/from.js +function from(input2, scheduler) { + return scheduler ? scheduled(input2, scheduler) : innerFrom(input2); +} + +// node_modules/rxjs/dist/esm/internal/observable/of.js +function of(...args) { + const scheduler = popScheduler(args); + return from(args, scheduler); +} + +// node_modules/rxjs/dist/esm/internal/observable/throwError.js +function throwError(errorOrErrorFactory, scheduler) { + const errorFactory = isFunction(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory; + const init = (subscriber) => subscriber.error(errorFactory()); + return new Observable(scheduler ? (subscriber) => scheduler.schedule(init, 0, subscriber) : init); +} + +// node_modules/rxjs/dist/esm/internal/util/isObservable.js +function isObservable(obj) { + return !!obj && (obj instanceof Observable || isFunction(obj.lift) && isFunction(obj.subscribe)); +} + +// node_modules/rxjs/dist/esm/internal/util/EmptyError.js +var EmptyError = createErrorClass((_super) => function EmptyErrorImpl() { + _super(this); + this.name = "EmptyError"; + this.message = "no elements in sequence"; +}); + +// node_modules/rxjs/dist/esm/internal/util/isDate.js +function isValidDate(value) { + return value instanceof Date && !isNaN(value); +} + +// node_modules/rxjs/dist/esm/internal/operators/map.js +function map(project, thisArg) { + return operate((source, subscriber) => { + let index = 0; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + subscriber.next(project.call(thisArg, value, index++)); + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js +var { + isArray +} = Array; +function callOrApply(fn, args) { + return isArray(args) ? fn(...args) : fn(args); +} +function mapOneOrManyArgs(fn) { + return map((args) => callOrApply(fn, args)); +} + +// node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js +var { + isArray: isArray2 +} = Array; +var { + getPrototypeOf, + prototype: objectProto, + keys: getKeys +} = Object; +function argsArgArrayOrObject(args) { + if (args.length === 1) { + const first2 = args[0]; + if (isArray2(first2)) { + return { + args: first2, + keys: null + }; + } + if (isPOJO(first2)) { + const keys = getKeys(first2); + return { + args: keys.map((key) => first2[key]), + keys + }; + } + } + return { + args, + keys: null + }; +} +function isPOJO(obj) { + return obj && typeof obj === "object" && getPrototypeOf(obj) === objectProto; +} + +// node_modules/rxjs/dist/esm/internal/util/createObject.js +function createObject(keys, values) { + return keys.reduce((result, key, i) => (result[key] = values[i], result), {}); +} + +// node_modules/rxjs/dist/esm/internal/observable/combineLatest.js +function combineLatest(...args) { + const scheduler = popScheduler(args); + const resultSelector = popResultSelector(args); + const { + args: observables, + keys + } = argsArgArrayOrObject(args); + if (observables.length === 0) { + return from([], scheduler); + } + const result = new Observable(combineLatestInit(observables, scheduler, keys ? (values) => createObject(keys, values) : identity)); + return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result; +} +function combineLatestInit(observables, scheduler, valueTransform = identity) { + return (subscriber) => { + maybeSchedule(scheduler, () => { + const { + length + } = observables; + const values = new Array(length); + let active = length; + let remainingFirstValues = length; + for (let i = 0; i < length; i++) { + maybeSchedule(scheduler, () => { + const source = from(observables[i], scheduler); + let hasFirstValue = false; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + values[i] = value; + if (!hasFirstValue) { + hasFirstValue = true; + remainingFirstValues--; + } + if (!remainingFirstValues) { + subscriber.next(valueTransform(values.slice())); + } + }, () => { + if (!--active) { + subscriber.complete(); + } + })); + }, subscriber); + } + }, subscriber); + }; +} +function maybeSchedule(scheduler, execute, subscription) { + if (scheduler) { + executeSchedule(subscription, scheduler, execute); + } else { + execute(); + } +} + +// node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js +function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) { + const buffer = []; + let active = 0; + let index = 0; + let isComplete = false; + const checkComplete = () => { + if (isComplete && !buffer.length && !active) { + subscriber.complete(); + } + }; + const outerNext = (value) => active < concurrent ? doInnerSub(value) : buffer.push(value); + const doInnerSub = (value) => { + expand && subscriber.next(value); + active++; + let innerComplete = false; + innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, (innerValue) => { + onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue); + if (expand) { + outerNext(innerValue); + } else { + subscriber.next(innerValue); + } + }, () => { + innerComplete = true; + }, void 0, () => { + if (innerComplete) { + try { + active--; + while (buffer.length && active < concurrent) { + const bufferedValue = buffer.shift(); + if (innerSubScheduler) { + executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue)); + } else { + doInnerSub(bufferedValue); + } + } + checkComplete(); + } catch (err) { + subscriber.error(err); + } + } + })); + }; + source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => { + isComplete = true; + checkComplete(); + })); + return () => { + additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer(); + }; +} + +// node_modules/rxjs/dist/esm/internal/operators/mergeMap.js +function mergeMap(project, resultSelector, concurrent = Infinity) { + if (isFunction(resultSelector)) { + return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent); + } else if (typeof resultSelector === "number") { + concurrent = resultSelector; + } + return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent)); +} + +// node_modules/rxjs/dist/esm/internal/operators/mergeAll.js +function mergeAll(concurrent = Infinity) { + return mergeMap(identity, concurrent); +} + +// node_modules/rxjs/dist/esm/internal/operators/concatAll.js +function concatAll() { + return mergeAll(1); +} + +// node_modules/rxjs/dist/esm/internal/observable/concat.js +function concat(...args) { + return concatAll()(from(args, popScheduler(args))); +} + +// node_modules/rxjs/dist/esm/internal/observable/defer.js +function defer(observableFactory) { + return new Observable((subscriber) => { + innerFrom(observableFactory()).subscribe(subscriber); + }); +} + +// node_modules/rxjs/dist/esm/internal/observable/forkJoin.js +function forkJoin(...args) { + const resultSelector = popResultSelector(args); + const { + args: sources, + keys + } = argsArgArrayOrObject(args); + const result = new Observable((subscriber) => { + const { + length + } = sources; + if (!length) { + subscriber.complete(); + return; + } + const values = new Array(length); + let remainingCompletions = length; + let remainingEmissions = length; + for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) { + let hasValue = false; + innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, (value) => { + if (!hasValue) { + hasValue = true; + remainingEmissions--; + } + values[sourceIndex] = value; + }, () => remainingCompletions--, void 0, () => { + if (!remainingCompletions || !hasValue) { + if (!remainingEmissions) { + subscriber.next(keys ? createObject(keys, values) : values); + } + subscriber.complete(); + } + })); + } + }); + return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result; +} + +// node_modules/rxjs/dist/esm/internal/observable/timer.js +function timer(dueTime = 0, intervalOrScheduler, scheduler = async) { + let intervalDuration = -1; + if (intervalOrScheduler != null) { + if (isScheduler(intervalOrScheduler)) { + scheduler = intervalOrScheduler; + } else { + intervalDuration = intervalOrScheduler; + } + } + return new Observable((subscriber) => { + let due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime; + if (due < 0) { + due = 0; + } + let n = 0; + return scheduler.schedule(function() { + if (!subscriber.closed) { + subscriber.next(n++); + if (0 <= intervalDuration) { + this.schedule(void 0, intervalDuration); + } else { + subscriber.complete(); + } + } + }, due); + }); +} + +// node_modules/rxjs/dist/esm/internal/observable/merge.js +function merge(...args) { + const scheduler = popScheduler(args); + const concurrent = popNumber(args, Infinity); + const sources = args; + return !sources.length ? EMPTY : sources.length === 1 ? innerFrom(sources[0]) : mergeAll(concurrent)(from(sources, scheduler)); +} + +// node_modules/rxjs/dist/esm/internal/operators/filter.js +function filter(predicate, thisArg) { + return operate((source, subscriber) => { + let index = 0; + source.subscribe(createOperatorSubscriber(subscriber, (value) => predicate.call(thisArg, value, index++) && subscriber.next(value))); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/audit.js +function audit(durationSelector) { + return operate((source, subscriber) => { + let hasValue = false; + let lastValue = null; + let durationSubscriber = null; + let isComplete = false; + const endDuration = () => { + durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe(); + durationSubscriber = null; + if (hasValue) { + hasValue = false; + const value = lastValue; + lastValue = null; + subscriber.next(value); + } + isComplete && subscriber.complete(); + }; + const cleanupDuration = () => { + durationSubscriber = null; + isComplete && subscriber.complete(); + }; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + hasValue = true; + lastValue = value; + if (!durationSubscriber) { + innerFrom(durationSelector(value)).subscribe(durationSubscriber = createOperatorSubscriber(subscriber, endDuration, cleanupDuration)); + } + }, () => { + isComplete = true; + (!hasValue || !durationSubscriber || durationSubscriber.closed) && subscriber.complete(); + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/auditTime.js +function auditTime(duration, scheduler = asyncScheduler) { + return audit(() => timer(duration, scheduler)); +} + +// node_modules/rxjs/dist/esm/internal/operators/catchError.js +function catchError(selector) { + return operate((source, subscriber) => { + let innerSub = null; + let syncUnsub = false; + let handledResult; + innerSub = source.subscribe(createOperatorSubscriber(subscriber, void 0, void 0, (err) => { + handledResult = innerFrom(selector(err, catchError(selector)(source))); + if (innerSub) { + innerSub.unsubscribe(); + innerSub = null; + handledResult.subscribe(subscriber); + } else { + syncUnsub = true; + } + })); + if (syncUnsub) { + innerSub.unsubscribe(); + innerSub = null; + handledResult.subscribe(subscriber); + } + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/scanInternals.js +function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) { + return (source, subscriber) => { + let hasState = hasSeed; + let state = seed; + let index = 0; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + const i = index++; + state = hasState ? accumulator(state, value, i) : (hasState = true, value); + emitOnNext && subscriber.next(state); + }, emitBeforeComplete && (() => { + hasState && subscriber.next(state); + subscriber.complete(); + }))); + }; +} + +// node_modules/rxjs/dist/esm/internal/operators/concatMap.js +function concatMap(project, resultSelector) { + return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1); +} + +// node_modules/rxjs/dist/esm/internal/operators/debounceTime.js +function debounceTime(dueTime, scheduler = asyncScheduler) { + return operate((source, subscriber) => { + let activeTask = null; + let lastValue = null; + let lastTime = null; + const emit = () => { + if (activeTask) { + activeTask.unsubscribe(); + activeTask = null; + const value = lastValue; + lastValue = null; + subscriber.next(value); + } + }; + function emitWhenIdle() { + const targetTime = lastTime + dueTime; + const now = scheduler.now(); + if (now < targetTime) { + activeTask = this.schedule(void 0, targetTime - now); + subscriber.add(activeTask); + return; + } + emit(); + } + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + lastValue = value; + lastTime = scheduler.now(); + if (!activeTask) { + activeTask = scheduler.schedule(emitWhenIdle, dueTime); + subscriber.add(activeTask); + } + }, () => { + emit(); + subscriber.complete(); + }, void 0, () => { + lastValue = activeTask = null; + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js +function defaultIfEmpty(defaultValue) { + return operate((source, subscriber) => { + let hasValue = false; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + hasValue = true; + subscriber.next(value); + }, () => { + if (!hasValue) { + subscriber.next(defaultValue); + } + subscriber.complete(); + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/take.js +function take(count) { + return count <= 0 ? () => EMPTY : operate((source, subscriber) => { + let seen = 0; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + if (++seen <= count) { + subscriber.next(value); + if (count <= seen) { + subscriber.complete(); + } + } + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js +function distinctUntilChanged(comparator, keySelector = identity) { + comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare; + return operate((source, subscriber) => { + let previousKey; + let first2 = true; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + const currentKey = keySelector(value); + if (first2 || !comparator(previousKey, currentKey)) { + first2 = false; + previousKey = currentKey; + subscriber.next(value); + } + })); + }); +} +function defaultCompare(a, b) { + return a === b; +} + +// node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js +function throwIfEmpty(errorFactory = defaultErrorFactory) { + return operate((source, subscriber) => { + let hasValue = false; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + hasValue = true; + subscriber.next(value); + }, () => hasValue ? subscriber.complete() : subscriber.error(errorFactory()))); + }); +} +function defaultErrorFactory() { + return new EmptyError(); +} + +// node_modules/rxjs/dist/esm/internal/operators/finalize.js +function finalize(callback) { + return operate((source, subscriber) => { + try { + source.subscribe(subscriber); + } finally { + subscriber.add(callback); + } + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/first.js +function first(predicate, defaultValue) { + const hasDefaultValue = arguments.length >= 2; + return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError())); +} + +// node_modules/rxjs/dist/esm/internal/operators/takeLast.js +function takeLast(count) { + return count <= 0 ? () => EMPTY : operate((source, subscriber) => { + let buffer = []; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + buffer.push(value); + count < buffer.length && buffer.shift(); + }, () => { + for (const value of buffer) { + subscriber.next(value); + } + subscriber.complete(); + }, void 0, () => { + buffer = null; + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/last.js +function last2(predicate, defaultValue) { + const hasDefaultValue = arguments.length >= 2; + return (source) => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError())); +} + +// node_modules/rxjs/dist/esm/internal/operators/pairwise.js +function pairwise() { + return operate((source, subscriber) => { + let prev; + let hasPrev = false; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + const p = prev; + prev = value; + hasPrev && subscriber.next([p, value]); + hasPrev = true; + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/scan.js +function scan(accumulator, seed) { + return operate(scanInternals(accumulator, seed, arguments.length >= 2, true)); +} + +// node_modules/rxjs/dist/esm/internal/operators/share.js +function share(options = {}) { + const { + connector = () => new Subject(), + resetOnError = true, + resetOnComplete = true, + resetOnRefCountZero = true + } = options; + return (wrapperSource) => { + let connection; + let resetConnection; + let subject; + let refCount2 = 0; + let hasCompleted = false; + let hasErrored = false; + const cancelReset = () => { + resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe(); + resetConnection = void 0; + }; + const reset = () => { + cancelReset(); + connection = subject = void 0; + hasCompleted = hasErrored = false; + }; + const resetAndUnsubscribe = () => { + const conn = connection; + reset(); + conn === null || conn === void 0 ? void 0 : conn.unsubscribe(); + }; + return operate((source, subscriber) => { + refCount2++; + if (!hasErrored && !hasCompleted) { + cancelReset(); + } + const dest = subject = subject !== null && subject !== void 0 ? subject : connector(); + subscriber.add(() => { + refCount2--; + if (refCount2 === 0 && !hasErrored && !hasCompleted) { + resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero); + } + }); + dest.subscribe(subscriber); + if (!connection && refCount2 > 0) { + connection = new SafeSubscriber({ + next: (value) => dest.next(value), + error: (err) => { + hasErrored = true; + cancelReset(); + resetConnection = handleReset(reset, resetOnError, err); + dest.error(err); + }, + complete: () => { + hasCompleted = true; + cancelReset(); + resetConnection = handleReset(reset, resetOnComplete); + dest.complete(); + } + }); + innerFrom(source).subscribe(connection); + } + })(wrapperSource); + }; +} +function handleReset(reset, on, ...args) { + if (on === true) { + reset(); + return; + } + if (on === false) { + return; + } + const onSubscriber = new SafeSubscriber({ + next: () => { + onSubscriber.unsubscribe(); + reset(); + } + }); + return innerFrom(on(...args)).subscribe(onSubscriber); +} + +// node_modules/rxjs/dist/esm/internal/operators/shareReplay.js +function shareReplay(configOrBufferSize, windowTime, scheduler) { + let bufferSize; + let refCount2 = false; + if (configOrBufferSize && typeof configOrBufferSize === "object") { + ({ + bufferSize = Infinity, + windowTime = Infinity, + refCount: refCount2 = false, + scheduler + } = configOrBufferSize); + } else { + bufferSize = configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity; + } + return share({ + connector: () => new ReplaySubject(bufferSize, windowTime, scheduler), + resetOnError: true, + resetOnComplete: false, + resetOnRefCountZero: refCount2 + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/skip.js +function skip(count) { + return filter((_, index) => count <= index); +} + +// node_modules/rxjs/dist/esm/internal/operators/startWith.js +function startWith(...values) { + const scheduler = popScheduler(values); + return operate((source, subscriber) => { + (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/switchMap.js +function switchMap(project, resultSelector) { + return operate((source, subscriber) => { + let innerSubscriber = null; + let index = 0; + let isComplete = false; + const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete(); + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe(); + let innerIndex = 0; + const outerIndex = index++; + innerFrom(project(value, outerIndex)).subscribe(innerSubscriber = createOperatorSubscriber(subscriber, (innerValue) => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => { + innerSubscriber = null; + checkComplete(); + })); + }, () => { + isComplete = true; + checkComplete(); + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/takeUntil.js +function takeUntil(notifier) { + return operate((source, subscriber) => { + innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop)); + !subscriber.closed && source.subscribe(subscriber); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/takeWhile.js +function takeWhile(predicate, inclusive = false) { + return operate((source, subscriber) => { + let index = 0; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + const result = predicate(value, index++); + (result || inclusive) && subscriber.next(value); + !result && subscriber.complete(); + })); + }); +} + +// node_modules/rxjs/dist/esm/internal/operators/tap.js +function tap(observerOrNext, error, complete) { + const tapObserver = isFunction(observerOrNext) || error || complete ? { + next: observerOrNext, + error, + complete + } : observerOrNext; + return tapObserver ? operate((source, subscriber) => { + var _a; + (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver); + let isUnsub = true; + source.subscribe(createOperatorSubscriber(subscriber, (value) => { + var _a2; + (_a2 = tapObserver.next) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver, value); + subscriber.next(value); + }, () => { + var _a2; + isUnsub = false; + (_a2 = tapObserver.complete) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver); + subscriber.complete(); + }, (err) => { + var _a2; + isUnsub = false; + (_a2 = tapObserver.error) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver, err); + subscriber.error(err); + }, () => { + var _a2, _b; + if (isUnsub) { + (_a2 = tapObserver.unsubscribe) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver); + } + (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver); + })); + }) : identity; +} + +// node_modules/@angular/core/fesm2022/core.mjs +var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors"; +var XSS_SECURITY_URL = "https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss"; +var RuntimeError = class extends Error { + code; + constructor(code, message) { + super(formatRuntimeError(code, message)); + this.code = code; + } +}; +function formatRuntimeErrorCode(code) { + return `NG0${Math.abs(code)}`; +} +function formatRuntimeError(code, message) { + const fullCode = formatRuntimeErrorCode(code); + let errorMessage = `${fullCode}${message ? ": " + message : ""}`; + if (ngDevMode && code < 0) { + const addPeriodSeparator = !errorMessage.match(/[.,;!?\n]$/); + const separator = addPeriodSeparator ? "." : ""; + errorMessage = `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`; + } + return errorMessage; +} +var REQUIRED_UNSET_VALUE = /* @__PURE__ */ Symbol("InputSignalNode#UNSET"); +var INPUT_SIGNAL_NODE = /* @__PURE__ */ (() => { + return __spreadProps(__spreadValues({}, SIGNAL_NODE), { + transformFn: void 0, + applyValueToInputSignal(node, value) { + signalSetFn(node, value); + } + }); +})(); +function createInputSignal(initialValue, options) { + const node = Object.create(INPUT_SIGNAL_NODE); + node.value = initialValue; + node.transformFn = options?.transform; + function inputValueFn() { + producerAccessed(node); + if (node.value === REQUIRED_UNSET_VALUE) { + let message = null; + if (ngDevMode) { + const name = options?.debugName ?? options?.alias; + message = `Input${name ? ` "${name}"` : ""} is required but no value is available yet.`; + } + throw new RuntimeError(-950, message); + } + return node.value; + } + inputValueFn[SIGNAL] = node; + if (ngDevMode) { + inputValueFn.toString = () => `[Input Signal: ${inputValueFn()}]`; + node.debugName = options?.debugName; + } + return inputValueFn; +} +function noSideEffects(fn) { + return { + toString: fn + }.toString(); +} +var ANNOTATIONS = "__annotations__"; +var PARAMETERS = "__parameters__"; +var PROP_METADATA = "__prop__metadata__"; +function makeDecorator(name, props, parentClass, additionalProcessing, typeFn) { + return noSideEffects(() => { + const metaCtor = makeMetadataCtor(props); + function DecoratorFactory(...args) { + if (this instanceof DecoratorFactory) { + metaCtor.call(this, ...args); + return this; + } + const annotationInstance = new DecoratorFactory(...args); + return function TypeDecorator(cls) { + if (typeFn) typeFn(cls, ...args); + const annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, { + value: [] + })[ANNOTATIONS]; + annotations.push(annotationInstance); + return cls; + }; + } + if (parentClass) { + DecoratorFactory.prototype = Object.create(parentClass.prototype); + } + DecoratorFactory.prototype.ngMetadataName = name; + DecoratorFactory.annotationCls = DecoratorFactory; + return DecoratorFactory; + }); +} +function makeMetadataCtor(props) { + return function ctor(...args) { + if (props) { + const values = props(...args); + for (const propName in values) { + this[propName] = values[propName]; + } + } + }; +} +function makeParamDecorator(name, props, parentClass) { + return noSideEffects(() => { + const metaCtor = makeMetadataCtor(props); + function ParamDecoratorFactory(...args) { + if (this instanceof ParamDecoratorFactory) { + metaCtor.apply(this, args); + return this; + } + const annotationInstance = new ParamDecoratorFactory(...args); + ParamDecorator.annotation = annotationInstance; + return ParamDecorator; + function ParamDecorator(cls, unusedKey, index) { + const parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, { + value: [] + })[PARAMETERS]; + while (parameters.length <= index) { + parameters.push(null); + } + (parameters[index] = parameters[index] || []).push(annotationInstance); + return cls; + } + } + ParamDecoratorFactory.prototype.ngMetadataName = name; + ParamDecoratorFactory.annotationCls = ParamDecoratorFactory; + return ParamDecoratorFactory; + }); +} +function makePropDecorator(name, props, parentClass, additionalProcessing) { + return noSideEffects(() => { + const metaCtor = makeMetadataCtor(props); + function PropDecoratorFactory(...args) { + if (this instanceof PropDecoratorFactory) { + metaCtor.apply(this, args); + return this; + } + const decoratorInstance = new PropDecoratorFactory(...args); + function PropDecorator(target, name2) { + if (target === void 0) { + throw new Error("Standard Angular field decorators are not supported in JIT mode."); + } + const constructor = target.constructor; + const meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, { + value: {} + })[PROP_METADATA]; + meta[name2] = meta.hasOwnProperty(name2) && meta[name2] || []; + meta[name2].unshift(decoratorInstance); + } + return PropDecorator; + } + if (parentClass) { + PropDecoratorFactory.prototype = Object.create(parentClass.prototype); + } + PropDecoratorFactory.prototype.ngMetadataName = name; + PropDecoratorFactory.annotationCls = PropDecoratorFactory; + return PropDecoratorFactory; + }); +} +var _global = globalThis; +function ngDevModeResetPerfCounters() { + const locationString = typeof location !== "undefined" ? location.toString() : ""; + const newCounters = { + namedConstructors: locationString.indexOf("ngDevMode=namedConstructors") != -1, + firstCreatePass: 0, + tNode: 0, + tView: 0, + rendererCreateTextNode: 0, + rendererSetText: 0, + rendererCreateElement: 0, + rendererAddEventListener: 0, + rendererSetAttribute: 0, + rendererRemoveAttribute: 0, + rendererSetProperty: 0, + rendererSetClassName: 0, + rendererAddClass: 0, + rendererRemoveClass: 0, + rendererSetStyle: 0, + rendererRemoveStyle: 0, + rendererDestroy: 0, + rendererDestroyNode: 0, + rendererMoveNode: 0, + rendererRemoveNode: 0, + rendererAppendChild: 0, + rendererInsertBefore: 0, + rendererCreateComment: 0, + hydratedNodes: 0, + hydratedComponents: 0, + dehydratedViewsRemoved: 0, + dehydratedViewsCleanupRuns: 0, + componentsSkippedHydration: 0, + deferBlocksWithIncrementalHydration: 0 + }; + const allowNgDevModeTrue = locationString.indexOf("ngDevMode=false") === -1; + if (!allowNgDevModeTrue) { + _global["ngDevMode"] = false; + } else { + if (typeof _global["ngDevMode"] !== "object") { + _global["ngDevMode"] = {}; + } + Object.assign(_global["ngDevMode"], newCounters); + } + return newCounters; +} +function initNgDevMode() { + if (typeof ngDevMode === "undefined" || ngDevMode) { + if (typeof ngDevMode !== "object" || Object.keys(ngDevMode).length === 0) { + ngDevModeResetPerfCounters(); + } + return typeof ngDevMode !== "undefined" && !!ngDevMode; + } + return false; +} +function getClosureSafeProperty(objWithPropertyToExtract) { + for (let key in objWithPropertyToExtract) { + if (objWithPropertyToExtract[key] === getClosureSafeProperty) { + return key; + } + } + throw Error("Could not find renamed property on target object."); +} +function fillProperties(target, source) { + for (const key in source) { + if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) { + target[key] = source[key]; + } + } +} +function stringify(token) { + if (typeof token === "string") { + return token; + } + if (Array.isArray(token)) { + return `[${token.map(stringify).join(", ")}]`; + } + if (token == null) { + return "" + token; + } + const name = token.overriddenName || token.name; + if (name) { + return `${name}`; + } + const result = token.toString(); + if (result == null) { + return "" + result; + } + const newLineIndex = result.indexOf("\n"); + return newLineIndex >= 0 ? result.slice(0, newLineIndex) : result; +} +function concatStringsWithSpace(before, after) { + if (!before) return after || ""; + if (!after) return before; + return `${before} ${after}`; +} +var __forward_ref__ = getClosureSafeProperty({ + __forward_ref__: getClosureSafeProperty +}); +function forwardRef(forwardRefFn) { + forwardRefFn.__forward_ref__ = forwardRef; + forwardRefFn.toString = function() { + return stringify(this()); + }; + return forwardRefFn; +} +function resolveForwardRef(type) { + return isForwardRef(type) ? type() : type; +} +function isForwardRef(fn) { + return typeof fn === "function" && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef; +} +function assertNumber(actual, msg) { + if (!(typeof actual === "number")) { + throwError2(msg, typeof actual, "number", "==="); + } +} +function assertNumberInRange(actual, minInclusive, maxInclusive) { + assertNumber(actual, "Expected a number"); + assertLessThanOrEqual(actual, maxInclusive, "Expected number to be less than or equal to"); + assertGreaterThanOrEqual(actual, minInclusive, "Expected number to be greater than or equal to"); +} +function assertString(actual, msg) { + if (!(typeof actual === "string")) { + throwError2(msg, actual === null ? "null" : typeof actual, "string", "==="); + } +} +function assertFunction(actual, msg) { + if (!(typeof actual === "function")) { + throwError2(msg, actual === null ? "null" : typeof actual, "function", "==="); + } +} +function assertEqual(actual, expected, msg) { + if (!(actual == expected)) { + throwError2(msg, actual, expected, "=="); + } +} +function assertNotEqual(actual, expected, msg) { + if (!(actual != expected)) { + throwError2(msg, actual, expected, "!="); + } +} +function assertSame(actual, expected, msg) { + if (!(actual === expected)) { + throwError2(msg, actual, expected, "==="); + } +} +function assertNotSame(actual, expected, msg) { + if (!(actual !== expected)) { + throwError2(msg, actual, expected, "!=="); + } +} +function assertLessThan(actual, expected, msg) { + if (!(actual < expected)) { + throwError2(msg, actual, expected, "<"); + } +} +function assertLessThanOrEqual(actual, expected, msg) { + if (!(actual <= expected)) { + throwError2(msg, actual, expected, "<="); + } +} +function assertGreaterThan(actual, expected, msg) { + if (!(actual > expected)) { + throwError2(msg, actual, expected, ">"); + } +} +function assertGreaterThanOrEqual(actual, expected, msg) { + if (!(actual >= expected)) { + throwError2(msg, actual, expected, ">="); + } +} +function assertDefined(actual, msg) { + if (actual == null) { + throwError2(msg, actual, null, "!="); + } +} +function throwError2(msg, actual, expected, comparison) { + throw new Error(`ASSERTION ERROR: ${msg}` + (comparison == null ? "" : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`)); +} +function assertDomNode(node) { + if (!(node instanceof Node)) { + throwError2(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`); + } +} +function assertElement(node) { + if (!(node instanceof Element)) { + throwError2(`The provided value must be an element but got ${stringify(node)}`); + } +} +function assertIndexInRange(arr, index) { + assertDefined(arr, "Array must be defined."); + const maxLen = arr.length; + if (index < 0 || index >= maxLen) { + throwError2(`Index expected to be less than ${maxLen} but got ${index}`); + } +} +function assertOneOf(value, ...validValues) { + if (validValues.indexOf(value) !== -1) return true; + throwError2(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`); +} +function assertNotReactive(fn) { + if (getActiveConsumer() !== null) { + throwError2(`${fn}() should never be called in a reactive context.`); + } +} +function \u0275\u0275defineInjectable(opts) { + return { + token: opts.token, + providedIn: opts.providedIn || null, + factory: opts.factory, + value: void 0 + }; +} +function \u0275\u0275defineInjector(options) { + return { + providers: options.providers || [], + imports: options.imports || [] + }; +} +function getInjectableDef(type) { + return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF); +} +function isInjectable(type) { + return getInjectableDef(type) !== null; +} +function getOwnDefinition(type, field) { + return type.hasOwnProperty(field) ? type[field] : null; +} +function getInheritedInjectableDef(type) { + const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]); + if (def) { + ngDevMode && console.warn(`DEPRECATED: DI is instantiating a token "${type.name}" that inherits its @Injectable decorator but does not provide one itself. +This will become an error in a future version of Angular. Please add @Injectable() to the "${type.name}" class.`); + return def; + } else { + return null; + } +} +function getInjectorDef(type) { + return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ? type[NG_INJ_DEF] : null; +} +var NG_PROV_DEF = getClosureSafeProperty({ + \u0275prov: getClosureSafeProperty +}); +var NG_INJ_DEF = getClosureSafeProperty({ + \u0275inj: getClosureSafeProperty +}); +var NG_INJECTABLE_DEF = getClosureSafeProperty({ + ngInjectableDef: getClosureSafeProperty +}); +var NG_INJECTOR_DEF = getClosureSafeProperty({ + ngInjectorDef: getClosureSafeProperty +}); +var InjectionToken = class { + _desc; + /** @internal */ + ngMetadataName = "InjectionToken"; + \u0275prov; + /** + * @param _desc Description for the token, + * used only for debugging purposes, + * it should but does not need to be unique + * @param options Options for the token's usage, as described above + */ + constructor(_desc, options) { + this._desc = _desc; + this.\u0275prov = void 0; + if (typeof options == "number") { + (typeof ngDevMode === "undefined" || ngDevMode) && assertLessThan(options, 0, "Only negative numbers are supported here"); + this.__NG_ELEMENT_ID__ = options; + } else if (options !== void 0) { + this.\u0275prov = \u0275\u0275defineInjectable({ + token: this, + providedIn: options.providedIn || "root", + factory: options.factory + }); + } + } + /** + * @internal + */ + get multi() { + return this; + } + toString() { + return `InjectionToken ${this._desc}`; + } +}; +var _injectorProfilerContext; +function getInjectorProfilerContext() { + !ngDevMode && throwError2("getInjectorProfilerContext should never be called in production mode"); + return _injectorProfilerContext; +} +function setInjectorProfilerContext(context2) { + !ngDevMode && throwError2("setInjectorProfilerContext should never be called in production mode"); + const previous = _injectorProfilerContext; + _injectorProfilerContext = context2; + return previous; +} +var injectorProfilerCallback = null; +var setInjectorProfiler = (injectorProfiler2) => { + !ngDevMode && throwError2("setInjectorProfiler should never be called in production mode"); + injectorProfilerCallback = injectorProfiler2; +}; +function injectorProfiler(event) { + !ngDevMode && throwError2("Injector profiler should never be called in production mode"); + if (injectorProfilerCallback != null) { + injectorProfilerCallback(event); + } +} +function emitProviderConfiguredEvent(eventProvider, isViewProvider = false) { + !ngDevMode && throwError2("Injector profiler should never be called in production mode"); + let token; + if (typeof eventProvider === "function") { + token = eventProvider; + } else if (eventProvider instanceof InjectionToken) { + token = eventProvider; + } else { + token = resolveForwardRef(eventProvider.provide); + } + let provider = eventProvider; + if (eventProvider instanceof InjectionToken) { + provider = eventProvider.\u0275prov || eventProvider; + } + injectorProfiler({ + type: 2, + context: getInjectorProfilerContext(), + providerRecord: { + token, + provider, + isViewProvider + } + }); +} +function emitInstanceCreatedByInjectorEvent(instance) { + !ngDevMode && throwError2("Injector profiler should never be called in production mode"); + injectorProfiler({ + type: 1, + context: getInjectorProfilerContext(), + instance: { + value: instance + } + }); +} +function emitInjectEvent(token, value, flags) { + !ngDevMode && throwError2("Injector profiler should never be called in production mode"); + injectorProfiler({ + type: 0, + context: getInjectorProfilerContext(), + service: { + token, + value, + flags + } + }); +} +function emitEffectCreatedEvent(effect2) { + !ngDevMode && throwError2("Injector profiler should never be called in production mode"); + injectorProfiler({ + type: 3, + context: getInjectorProfilerContext(), + effect: effect2 + }); +} +function runInInjectorProfilerContext(injector, token, callback) { + !ngDevMode && throwError2("runInInjectorProfilerContext should never be called in production mode"); + const prevInjectContext = setInjectorProfilerContext({ + injector, + token + }); + try { + callback(); + } finally { + setInjectorProfilerContext(prevInjectContext); + } +} +function isEnvironmentProviders(value) { + return value && !!value.\u0275providers; +} +var NG_COMP_DEF = getClosureSafeProperty({ + \u0275cmp: getClosureSafeProperty +}); +var NG_DIR_DEF = getClosureSafeProperty({ + \u0275dir: getClosureSafeProperty +}); +var NG_PIPE_DEF = getClosureSafeProperty({ + \u0275pipe: getClosureSafeProperty +}); +var NG_MOD_DEF = getClosureSafeProperty({ + \u0275mod: getClosureSafeProperty +}); +var NG_FACTORY_DEF = getClosureSafeProperty({ + \u0275fac: getClosureSafeProperty +}); +var NG_ELEMENT_ID = getClosureSafeProperty({ + __NG_ELEMENT_ID__: getClosureSafeProperty +}); +var NG_ENV_ID = getClosureSafeProperty({ + __NG_ENV_ID__: getClosureSafeProperty +}); +function renderStringify(value) { + if (typeof value === "string") return value; + if (value == null) return ""; + return String(value); +} +function stringifyForError(value) { + if (typeof value === "function") return value.name || value.toString(); + if (typeof value === "object" && value != null && typeof value.type === "function") { + return value.type.name || value.type.toString(); + } + return renderStringify(value); +} +function throwCyclicDependencyError(token, path) { + throw new RuntimeError(-200, ngDevMode ? `Circular dependency in DI detected for ${token}${path ? `. Dependency path: ${path.join(" > ")} > ${token}` : ""}` : token); +} +function throwMixedMultiProviderError() { + throw new Error(`Cannot mix multi providers and regular providers`); +} +function throwInvalidProviderError(ngModuleType, providers, provider) { + if (ngModuleType && providers) { + const providerDetail = providers.map((v) => v == provider ? "?" + provider + "?" : "..."); + throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(", ")}]`); + } else if (isEnvironmentProviders(provider)) { + if (provider.\u0275fromNgModule) { + throw new RuntimeError(207, `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`); + } else { + throw new RuntimeError(207, `Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers.`); + } + } else { + throw new Error("Invalid provider"); + } +} +function throwProviderNotFoundError(token, injectorName) { + const errorMessage = ngDevMode && `No provider for ${stringifyForError(token)} found${injectorName ? ` in ${injectorName}` : ""}`; + throw new RuntimeError(-201, errorMessage); +} +var InjectFlags; +(function(InjectFlags2) { + InjectFlags2[InjectFlags2["Default"] = 0] = "Default"; + InjectFlags2[InjectFlags2["Host"] = 1] = "Host"; + InjectFlags2[InjectFlags2["Self"] = 2] = "Self"; + InjectFlags2[InjectFlags2["SkipSelf"] = 4] = "SkipSelf"; + InjectFlags2[InjectFlags2["Optional"] = 8] = "Optional"; +})(InjectFlags || (InjectFlags = {})); +var _injectImplementation; +function getInjectImplementation() { + return _injectImplementation; +} +function setInjectImplementation(impl) { + const previous = _injectImplementation; + _injectImplementation = impl; + return previous; +} +function injectRootLimpMode(token, notFoundValue, flags) { + const injectableDef = getInjectableDef(token); + if (injectableDef && injectableDef.providedIn == "root") { + return injectableDef.value === void 0 ? injectableDef.value = injectableDef.factory() : injectableDef.value; + } + if (flags & InjectFlags.Optional) return null; + if (notFoundValue !== void 0) return notFoundValue; + throwProviderNotFoundError(token, "Injector"); +} +function assertInjectImplementationNotEqual(fn) { + ngDevMode && assertNotEqual(_injectImplementation, fn, "Calling \u0275\u0275inject would cause infinite recursion"); +} +var _THROW_IF_NOT_FOUND = {}; +var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND; +var DI_DECORATOR_FLAG = "__NG_DI_FLAG__"; +var RetrievingInjector = class { + injector; + constructor(injector) { + this.injector = injector; + } + retrieve(token, options) { + const ngOptions = options; + return this.injector.get(token, ngOptions.optional ? NOT_FOUND : THROW_IF_NOT_FOUND, ngOptions); + } +}; +var NG_TEMP_TOKEN_PATH = "ngTempTokenPath"; +var NG_TOKEN_PATH = "ngTokenPath"; +var NEW_LINE = /\n/gm; +var NO_NEW_LINE = "\u0275"; +var SOURCE = "__source"; +function injectInjectorOnly(token, flags = InjectFlags.Default) { + if (getCurrentInjector() === void 0) { + throw new RuntimeError(-203, ngDevMode && `The \`${stringify(token)}\` token injection failed. \`inject()\` function must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \`runInInjectionContext\`.`); + } else if (getCurrentInjector() === null) { + return injectRootLimpMode(token, void 0, flags); + } else { + const currentInjector = getCurrentInjector(); + let injector; + if (currentInjector instanceof RetrievingInjector) { + injector = currentInjector.injector; + } else { + injector = currentInjector; + } + const value = injector.get(token, flags & InjectFlags.Optional ? null : void 0, flags); + ngDevMode && emitInjectEvent(token, value, flags); + return value; + } +} +function \u0275\u0275inject(token, flags = InjectFlags.Default) { + return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags); +} +function \u0275\u0275invalidFactoryDep(index) { + throw new RuntimeError(202, ngDevMode && `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid. +This can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator. + +Please check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`); +} +function inject(token, flags = InjectFlags.Default) { + return \u0275\u0275inject(token, convertToBitFlags(flags)); +} +function convertToBitFlags(flags) { + if (typeof flags === "undefined" || typeof flags === "number") { + return flags; + } + return 0 | // comment to force a line break in the formatter + (flags.optional && 8) | (flags.host && 1) | (flags.self && 2) | (flags.skipSelf && 4); +} +function injectArgs(types) { + const args = []; + for (let i = 0; i < types.length; i++) { + const arg = resolveForwardRef(types[i]); + if (Array.isArray(arg)) { + if (arg.length === 0) { + throw new RuntimeError(900, ngDevMode && "Arguments array must have arguments."); + } + let type = void 0; + let flags = InjectFlags.Default; + for (let j = 0; j < arg.length; j++) { + const meta = arg[j]; + const flag = getInjectFlag(meta); + if (typeof flag === "number") { + if (flag === -1) { + type = meta.token; + } else { + flags |= flag; + } + } else { + type = meta; + } + } + args.push(\u0275\u0275inject(type, flags)); + } else { + args.push(\u0275\u0275inject(arg)); + } + } + return args; +} +function attachInjectFlag(decorator, flag) { + decorator[DI_DECORATOR_FLAG] = flag; + decorator.prototype[DI_DECORATOR_FLAG] = flag; + return decorator; +} +function getInjectFlag(token) { + return token[DI_DECORATOR_FLAG]; +} +function catchInjectorError(e, token, injectorErrorName, source) { + const tokenPath = e[NG_TEMP_TOKEN_PATH]; + if (token[SOURCE]) { + tokenPath.unshift(token[SOURCE]); + } + e.message = formatError("\n" + e.message, tokenPath, injectorErrorName, source); + e[NG_TOKEN_PATH] = tokenPath; + e[NG_TEMP_TOKEN_PATH] = null; + throw e; +} +function formatError(text, obj, injectorErrorName, source = null) { + text = text && text.charAt(0) === "\n" && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text; + let context2 = stringify(obj); + if (Array.isArray(obj)) { + context2 = obj.map(stringify).join(" -> "); + } else if (typeof obj === "object") { + let parts = []; + for (let key in obj) { + if (obj.hasOwnProperty(key)) { + let value = obj[key]; + parts.push(key + ":" + (typeof value === "string" ? JSON.stringify(value) : stringify(value))); + } + } + context2 = `{${parts.join(", ")}}`; + } + return `${injectorErrorName}${source ? "(" + source + ")" : ""}[${context2}]: ${text.replace(NEW_LINE, "\n ")}`; +} +var Inject = attachInjectFlag( + // Disable tslint because `DecoratorFlags` is a const enum which gets inlined. + makeParamDecorator("Inject", (token) => ({ + token + })), + -1 + /* DecoratorFlags.Inject */ +); +var Optional = ( + // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined. + // tslint:disable-next-line: no-toplevel-property-access + attachInjectFlag( + makeParamDecorator("Optional"), + 8 + /* InternalInjectFlags.Optional */ + ) +); +var Self = ( + // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined. + // tslint:disable-next-line: no-toplevel-property-access + attachInjectFlag( + makeParamDecorator("Self"), + 2 + /* InternalInjectFlags.Self */ + ) +); +var SkipSelf = ( + // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined. + // tslint:disable-next-line: no-toplevel-property-access + attachInjectFlag( + makeParamDecorator("SkipSelf"), + 4 + /* InternalInjectFlags.SkipSelf */ + ) +); +var Host = ( + // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined. + // tslint:disable-next-line: no-toplevel-property-access + attachInjectFlag( + makeParamDecorator("Host"), + 1 + /* InternalInjectFlags.Host */ + ) +); +function getFactoryDef(type, throwNotFound) { + const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF); + if (!hasFactoryDef && throwNotFound === true && ngDevMode) { + throw new Error(`Type ${stringify(type)} does not have '\u0275fac' property.`); + } + return hasFactoryDef ? type[NG_FACTORY_DEF] : null; +} +function arrayEquals(a, b, identityAccessor) { + if (a.length !== b.length) return false; + for (let i = 0; i < a.length; i++) { + let valueA = a[i]; + let valueB = b[i]; + if (identityAccessor) { + valueA = identityAccessor(valueA); + valueB = identityAccessor(valueB); + } + if (valueB !== valueA) { + return false; + } + } + return true; +} +function flatten(list) { + return list.flat(Number.POSITIVE_INFINITY); +} +function deepForEach(input2, fn) { + input2.forEach((value) => Array.isArray(value) ? deepForEach(value, fn) : fn(value)); +} +function addToArray(arr, index, value) { + if (index >= arr.length) { + arr.push(value); + } else { + arr.splice(index, 0, value); + } +} +function removeFromArray(arr, index) { + if (index >= arr.length - 1) { + return arr.pop(); + } else { + return arr.splice(index, 1)[0]; + } +} +function newArray(size, value) { + const list = []; + for (let i = 0; i < size; i++) { + list.push(value); + } + return list; +} +function arraySplice(array, index, count) { + const length = array.length - count; + while (index < length) { + array[index] = array[index + count]; + index++; + } + while (count--) { + array.pop(); + } +} +function arrayInsert2(array, index, value1, value2) { + ngDevMode && assertLessThanOrEqual(index, array.length, "Can't insert past array end."); + let end = array.length; + if (end == index) { + array.push(value1, value2); + } else if (end === 1) { + array.push(value2, array[0]); + array[0] = value1; + } else { + end--; + array.push(array[end - 1], array[end]); + while (end > index) { + const previousEnd = end - 2; + array[end] = array[previousEnd]; + end--; + } + array[index] = value1; + array[index + 1] = value2; + } +} +function keyValueArraySet(keyValueArray, key, value) { + let index = keyValueArrayIndexOf(keyValueArray, key); + if (index >= 0) { + keyValueArray[index | 1] = value; + } else { + index = ~index; + arrayInsert2(keyValueArray, index, key, value); + } + return index; +} +function keyValueArrayGet(keyValueArray, key) { + const index = keyValueArrayIndexOf(keyValueArray, key); + if (index >= 0) { + return keyValueArray[index | 1]; + } + return void 0; +} +function keyValueArrayIndexOf(keyValueArray, key) { + return _arrayIndexOfSorted(keyValueArray, key, 1); +} +function _arrayIndexOfSorted(array, value, shift) { + ngDevMode && assertEqual(Array.isArray(array), true, "Expecting an array"); + let start = 0; + let end = array.length >> shift; + while (end !== start) { + const middle = start + (end - start >> 1); + const current = array[middle << shift]; + if (value === current) { + return middle << shift; + } else if (current > value) { + end = middle; + } else { + start = middle + 1; + } + } + return ~(end << shift); +} +var EMPTY_OBJ = {}; +var EMPTY_ARRAY = []; +if ((typeof ngDevMode === "undefined" || ngDevMode) && initNgDevMode()) { + Object.freeze(EMPTY_OBJ); + Object.freeze(EMPTY_ARRAY); +} +var ENVIRONMENT_INITIALIZER = new InjectionToken(ngDevMode ? "ENVIRONMENT_INITIALIZER" : ""); +var INJECTOR$1 = new InjectionToken( + ngDevMode ? "INJECTOR" : "", + // Disable tslint because this is const enum which gets inlined not top level prop access. + // tslint:disable-next-line: no-toplevel-property-access + -1 + /* InjectorMarkers.Injector */ +); +var INJECTOR_DEF_TYPES = new InjectionToken(ngDevMode ? "INJECTOR_DEF_TYPES" : ""); +var NullInjector = class { + get(token, notFoundValue = THROW_IF_NOT_FOUND) { + if (notFoundValue === THROW_IF_NOT_FOUND) { + const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`); + error.name = "NullInjectorError"; + throw error; + } + return notFoundValue; + } +}; +function getNgModuleDef(type, throwNotFound) { + const ngModuleDef = type[NG_MOD_DEF] || null; + if (!ngModuleDef && throwNotFound === true) { + throw new Error(`Type ${stringify(type)} does not have '\u0275mod' property.`); + } + return ngModuleDef; +} +function getComponentDef(type) { + return type[NG_COMP_DEF] || null; +} +function getDirectiveDef(type) { + return type[NG_DIR_DEF] || null; +} +function getPipeDef$1(type) { + return type[NG_PIPE_DEF] || null; +} +function isStandalone(type) { + const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type); + return def !== null && def.standalone; +} +function makeEnvironmentProviders(providers) { + return { + \u0275providers: providers + }; +} +function importProvidersFrom(...sources) { + return { + \u0275providers: internalImportProvidersFrom(true, sources), + \u0275fromNgModule: true + }; +} +function internalImportProvidersFrom(checkForStandaloneCmp, ...sources) { + const providersOut = []; + const dedup = /* @__PURE__ */ new Set(); + let injectorTypesWithProviders; + const collectProviders = (provider) => { + providersOut.push(provider); + }; + deepForEach(sources, (source) => { + if ((typeof ngDevMode === "undefined" || ngDevMode) && checkForStandaloneCmp) { + const cmpDef = getComponentDef(source); + if (cmpDef?.standalone) { + throw new RuntimeError(800, `Importing providers supports NgModule or ModuleWithProviders but got a standalone component "${stringifyForError(source)}"`); + } + } + const internalSource = source; + if (walkProviderTree(internalSource, collectProviders, [], dedup)) { + injectorTypesWithProviders ||= []; + injectorTypesWithProviders.push(internalSource); + } + }); + if (injectorTypesWithProviders !== void 0) { + processInjectorTypesWithProviders(injectorTypesWithProviders, collectProviders); + } + return providersOut; +} +function processInjectorTypesWithProviders(typesWithProviders, visitor) { + for (let i = 0; i < typesWithProviders.length; i++) { + const { + ngModule, + providers + } = typesWithProviders[i]; + deepForEachProvider(providers, (provider) => { + ngDevMode && validateProvider(provider, providers || EMPTY_ARRAY, ngModule); + visitor(provider, ngModule); + }); + } +} +function walkProviderTree(container, visitor, parents, dedup) { + container = resolveForwardRef(container); + if (!container) return false; + let defType = null; + let injDef = getInjectorDef(container); + const cmpDef = !injDef && getComponentDef(container); + if (!injDef && !cmpDef) { + const ngModule = container.ngModule; + injDef = getInjectorDef(ngModule); + if (injDef) { + defType = ngModule; + } else { + return false; + } + } else if (cmpDef && !cmpDef.standalone) { + return false; + } else { + defType = container; + } + if (ngDevMode && parents.indexOf(defType) !== -1) { + const defName = stringify(defType); + const path = parents.map(stringify); + throwCyclicDependencyError(defName, path); + } + const isDuplicate = dedup.has(defType); + if (cmpDef) { + if (isDuplicate) { + return false; + } + dedup.add(defType); + if (cmpDef.dependencies) { + const deps = typeof cmpDef.dependencies === "function" ? cmpDef.dependencies() : cmpDef.dependencies; + for (const dep of deps) { + walkProviderTree(dep, visitor, parents, dedup); + } + } + } else if (injDef) { + if (injDef.imports != null && !isDuplicate) { + ngDevMode && parents.push(defType); + dedup.add(defType); + let importTypesWithProviders; + try { + deepForEach(injDef.imports, (imported) => { + if (walkProviderTree(imported, visitor, parents, dedup)) { + importTypesWithProviders ||= []; + importTypesWithProviders.push(imported); + } + }); + } finally { + ngDevMode && parents.pop(); + } + if (importTypesWithProviders !== void 0) { + processInjectorTypesWithProviders(importTypesWithProviders, visitor); + } + } + if (!isDuplicate) { + const factory = getFactoryDef(defType) || (() => new defType()); + visitor({ + provide: defType, + useFactory: factory, + deps: EMPTY_ARRAY + }, defType); + visitor({ + provide: INJECTOR_DEF_TYPES, + useValue: defType, + multi: true + }, defType); + visitor({ + provide: ENVIRONMENT_INITIALIZER, + useValue: () => \u0275\u0275inject(defType), + multi: true + }, defType); + } + const defProviders = injDef.providers; + if (defProviders != null && !isDuplicate) { + const injectorType = container; + deepForEachProvider(defProviders, (provider) => { + ngDevMode && validateProvider(provider, defProviders, injectorType); + visitor(provider, injectorType); + }); + } + } else { + return false; + } + return defType !== container && container.providers !== void 0; +} +function validateProvider(provider, providers, containerType) { + if (isTypeProvider(provider) || isValueProvider(provider) || isFactoryProvider(provider) || isExistingProvider(provider)) { + return; + } + const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide)); + if (!classRef) { + throwInvalidProviderError(containerType, providers, provider); + } +} +function deepForEachProvider(providers, fn) { + for (let provider of providers) { + if (isEnvironmentProviders(provider)) { + provider = provider.\u0275providers; + } + if (Array.isArray(provider)) { + deepForEachProvider(provider, fn); + } else { + fn(provider); + } + } +} +var USE_VALUE$1 = getClosureSafeProperty({ + provide: String, + useValue: getClosureSafeProperty +}); +function isValueProvider(value) { + return value !== null && typeof value == "object" && USE_VALUE$1 in value; +} +function isExistingProvider(value) { + return !!(value && value.useExisting); +} +function isFactoryProvider(value) { + return !!(value && value.useFactory); +} +function isTypeProvider(value) { + return typeof value === "function"; +} +function isClassProvider(value) { + return !!value.useClass; +} +var INJECTOR_SCOPE = new InjectionToken(ngDevMode ? "Set Injector scope." : ""); +var NOT_YET = {}; +var CIRCULAR = {}; +var NULL_INJECTOR = void 0; +function getNullInjector() { + if (NULL_INJECTOR === void 0) { + NULL_INJECTOR = new NullInjector(); + } + return NULL_INJECTOR; +} +var EnvironmentInjector = class { +}; +var R3Injector = class extends EnvironmentInjector { + parent; + source; + scopes; + /** + * Map of tokens to records which contain the instances of those tokens. + * - `null` value implies that we don't have the record. Used by tree-shakable injectors + * to prevent further searches. + */ + records = /* @__PURE__ */ new Map(); + /** + * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks. + */ + _ngOnDestroyHooks = /* @__PURE__ */ new Set(); + _onDestroyHooks = []; + /** + * Flag indicating that this injector was previously destroyed. + */ + get destroyed() { + return this._destroyed; + } + _destroyed = false; + injectorDefTypes; + constructor(providers, parent, source, scopes) { + super(); + this.parent = parent; + this.source = source; + this.scopes = scopes; + forEachSingleProvider(providers, (provider) => this.processProvider(provider)); + this.records.set(INJECTOR$1, makeRecord(void 0, this)); + if (scopes.has("environment")) { + this.records.set(EnvironmentInjector, makeRecord(void 0, this)); + } + const record = this.records.get(INJECTOR_SCOPE); + if (record != null && typeof record.value === "string") { + this.scopes.add(record.value); + } + this.injectorDefTypes = new Set(this.get(INJECTOR_DEF_TYPES, EMPTY_ARRAY, InjectFlags.Self)); + } + retrieve(token, options) { + const ngOptions = options; + return this.get(token, ngOptions.optional ? NOT_FOUND : THROW_IF_NOT_FOUND, ngOptions); + } + /** + * Destroy the injector and release references to every instance or provider associated with it. + * + * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a + * hook was found. + */ + destroy() { + assertNotDestroyed(this); + this._destroyed = true; + const prevConsumer = setActiveConsumer(null); + try { + for (const service of this._ngOnDestroyHooks) { + service.ngOnDestroy(); + } + const onDestroyHooks = this._onDestroyHooks; + this._onDestroyHooks = []; + for (const hook of onDestroyHooks) { + hook(); + } + } finally { + this.records.clear(); + this._ngOnDestroyHooks.clear(); + this.injectorDefTypes.clear(); + setActiveConsumer(prevConsumer); + } + } + onDestroy(callback) { + assertNotDestroyed(this); + this._onDestroyHooks.push(callback); + return () => this.removeOnDestroy(callback); + } + runInContext(fn) { + assertNotDestroyed(this); + const previousInjector = setCurrentInjector(this); + const previousInjectImplementation = setInjectImplementation(void 0); + let prevInjectContext; + if (ngDevMode) { + prevInjectContext = setInjectorProfilerContext({ + injector: this, + token: null + }); + } + try { + return fn(); + } finally { + setCurrentInjector(previousInjector); + setInjectImplementation(previousInjectImplementation); + ngDevMode && setInjectorProfilerContext(prevInjectContext); + } + } + get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) { + assertNotDestroyed(this); + if (token.hasOwnProperty(NG_ENV_ID)) { + return token[NG_ENV_ID](this); + } + flags = convertToBitFlags(flags); + let prevInjectContext; + if (ngDevMode) { + prevInjectContext = setInjectorProfilerContext({ + injector: this, + token + }); + } + const previousInjector = setCurrentInjector(this); + const previousInjectImplementation = setInjectImplementation(void 0); + try { + if (!(flags & InjectFlags.SkipSelf)) { + let record = this.records.get(token); + if (record === void 0) { + const def = couldBeInjectableType(token) && getInjectableDef(token); + if (def && this.injectableDefInScope(def)) { + if (ngDevMode) { + runInInjectorProfilerContext(this, token, () => { + emitProviderConfiguredEvent(token); + }); + } + record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET); + } else { + record = null; + } + this.records.set(token, record); + } + if (record != null) { + return this.hydrate(token, record, flags); + } + } + const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector(); + notFoundValue = flags & InjectFlags.Optional && notFoundValue === THROW_IF_NOT_FOUND ? null : notFoundValue; + return nextInjector.get(token, notFoundValue); + } catch (e) { + if (e.name === "NullInjectorError") { + const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || []; + path.unshift(stringify(token)); + if (previousInjector) { + throw e; + } else { + return catchInjectorError(e, token, "R3InjectorError", this.source); + } + } else { + throw e; + } + } finally { + setInjectImplementation(previousInjectImplementation); + setCurrentInjector(previousInjector); + ngDevMode && setInjectorProfilerContext(prevInjectContext); + } + } + /** @internal */ + resolveInjectorInitializers() { + const prevConsumer = setActiveConsumer(null); + const previousInjector = setCurrentInjector(this); + const previousInjectImplementation = setInjectImplementation(void 0); + let prevInjectContext; + if (ngDevMode) { + prevInjectContext = setInjectorProfilerContext({ + injector: this, + token: null + }); + } + try { + const initializers = this.get(ENVIRONMENT_INITIALIZER, EMPTY_ARRAY, InjectFlags.Self); + if (ngDevMode && !Array.isArray(initializers)) { + throw new RuntimeError(-209, `Unexpected type of the \`ENVIRONMENT_INITIALIZER\` token value (expected an array, but got ${typeof initializers}). Please check that the \`ENVIRONMENT_INITIALIZER\` token is configured as a \`multi: true\` provider.`); + } + for (const initializer of initializers) { + initializer(); + } + } finally { + setCurrentInjector(previousInjector); + setInjectImplementation(previousInjectImplementation); + ngDevMode && setInjectorProfilerContext(prevInjectContext); + setActiveConsumer(prevConsumer); + } + } + toString() { + const tokens = []; + const records = this.records; + for (const token of records.keys()) { + tokens.push(stringify(token)); + } + return `R3Injector[${tokens.join(", ")}]`; + } + /** + * Process a `SingleProvider` and add it. + */ + processProvider(provider) { + provider = resolveForwardRef(provider); + let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide); + const record = providerToRecord(provider); + if (ngDevMode) { + runInInjectorProfilerContext(this, token, () => { + if (isValueProvider(provider)) { + emitInstanceCreatedByInjectorEvent(provider.useValue); + } + emitProviderConfiguredEvent(provider); + }); + } + if (!isTypeProvider(provider) && provider.multi === true) { + let multiRecord = this.records.get(token); + if (multiRecord) { + if (ngDevMode && multiRecord.multi === void 0) { + throwMixedMultiProviderError(); + } + } else { + multiRecord = makeRecord(void 0, NOT_YET, true); + multiRecord.factory = () => injectArgs(multiRecord.multi); + this.records.set(token, multiRecord); + } + token = provider; + multiRecord.multi.push(provider); + } else { + if (ngDevMode) { + const existing = this.records.get(token); + if (existing && existing.multi !== void 0) { + throwMixedMultiProviderError(); + } + } + } + this.records.set(token, record); + } + hydrate(token, record, flags) { + const prevConsumer = setActiveConsumer(null); + try { + if (record.value === CIRCULAR) { + throwCyclicDependencyError(stringify(token)); + } else if (record.value === NOT_YET) { + record.value = CIRCULAR; + if (ngDevMode) { + runInInjectorProfilerContext(this, token, () => { + record.value = record.factory(void 0, flags); + emitInstanceCreatedByInjectorEvent(record.value); + }); + } else { + record.value = record.factory(void 0, flags); + } + } + if (typeof record.value === "object" && record.value && hasOnDestroy(record.value)) { + this._ngOnDestroyHooks.add(record.value); + } + return record.value; + } finally { + setActiveConsumer(prevConsumer); + } + } + injectableDefInScope(def) { + if (!def.providedIn) { + return false; + } + const providedIn = resolveForwardRef(def.providedIn); + if (typeof providedIn === "string") { + return providedIn === "any" || this.scopes.has(providedIn); + } else { + return this.injectorDefTypes.has(providedIn); + } + } + removeOnDestroy(callback) { + const destroyCBIdx = this._onDestroyHooks.indexOf(callback); + if (destroyCBIdx !== -1) { + this._onDestroyHooks.splice(destroyCBIdx, 1); + } + } +}; +function injectableDefOrInjectorDefFactory(token) { + const injectableDef = getInjectableDef(token); + const factory = injectableDef !== null ? injectableDef.factory : getFactoryDef(token); + if (factory !== null) { + return factory; + } + if (token instanceof InjectionToken) { + throw new RuntimeError(204, ngDevMode && `Token ${stringify(token)} is missing a \u0275prov definition.`); + } + if (token instanceof Function) { + return getUndecoratedInjectableFactory(token); + } + throw new RuntimeError(204, ngDevMode && "unreachable"); +} +function getUndecoratedInjectableFactory(token) { + const paramLength = token.length; + if (paramLength > 0) { + throw new RuntimeError(204, ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${newArray(paramLength, "?").join(", ")}).`); + } + const inheritedInjectableDef = getInheritedInjectableDef(token); + if (inheritedInjectableDef !== null) { + return () => inheritedInjectableDef.factory(token); + } else { + return () => new token(); + } +} +function providerToRecord(provider) { + if (isValueProvider(provider)) { + return makeRecord(void 0, provider.useValue); + } else { + const factory = providerToFactory(provider); + return makeRecord(factory, NOT_YET); + } +} +function providerToFactory(provider, ngModuleType, providers) { + let factory = void 0; + if (ngDevMode && isEnvironmentProviders(provider)) { + throwInvalidProviderError(void 0, providers, provider); + } + if (isTypeProvider(provider)) { + const unwrappedProvider = resolveForwardRef(provider); + return getFactoryDef(unwrappedProvider) || injectableDefOrInjectorDefFactory(unwrappedProvider); + } else { + if (isValueProvider(provider)) { + factory = () => resolveForwardRef(provider.useValue); + } else if (isFactoryProvider(provider)) { + factory = () => provider.useFactory(...injectArgs(provider.deps || [])); + } else if (isExistingProvider(provider)) { + factory = (_, flags) => \u0275\u0275inject(resolveForwardRef(provider.useExisting), flags !== void 0 && flags & InjectFlags.Optional ? InjectFlags.Optional : void 0); + } else { + const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide)); + if (ngDevMode && !classRef) { + throwInvalidProviderError(ngModuleType, providers, provider); + } + if (hasDeps(provider)) { + factory = () => new classRef(...injectArgs(provider.deps)); + } else { + return getFactoryDef(classRef) || injectableDefOrInjectorDefFactory(classRef); + } + } + } + return factory; +} +function assertNotDestroyed(injector) { + if (injector.destroyed) { + throw new RuntimeError(205, ngDevMode && "Injector has already been destroyed."); + } +} +function makeRecord(factory, value, multi = false) { + return { + factory, + value, + multi: multi ? [] : void 0 + }; +} +function hasDeps(value) { + return !!value.deps; +} +function hasOnDestroy(value) { + return value !== null && typeof value === "object" && typeof value.ngOnDestroy === "function"; +} +function couldBeInjectableType(value) { + return typeof value === "function" || typeof value === "object" && value instanceof InjectionToken; +} +function forEachSingleProvider(providers, fn) { + for (const provider of providers) { + if (Array.isArray(provider)) { + forEachSingleProvider(provider, fn); + } else if (provider && isEnvironmentProviders(provider)) { + forEachSingleProvider(provider.\u0275providers, fn); + } else { + fn(provider); + } + } +} +function runInInjectionContext(injector, fn) { + let internalInjector; + if (injector instanceof R3Injector) { + assertNotDestroyed(injector); + internalInjector = injector; + } else { + internalInjector = new RetrievingInjector(injector); + } + let prevInjectorProfilerContext; + if (ngDevMode) { + prevInjectorProfilerContext = setInjectorProfilerContext({ + injector, + token: null + }); + } + const prevInjector = setCurrentInjector(internalInjector); + const previousInjectImplementation = setInjectImplementation(void 0); + try { + return fn(); + } finally { + setCurrentInjector(prevInjector); + ngDevMode && setInjectorProfilerContext(prevInjectorProfilerContext); + setInjectImplementation(previousInjectImplementation); + } +} +function isInInjectionContext() { + return getInjectImplementation() !== void 0 || getCurrentInjector() != null; +} +function assertInInjectionContext(debugFn) { + if (!isInInjectionContext()) { + throw new RuntimeError(-203, ngDevMode && debugFn.name + "() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`"); + } +} +var FactoryTarget; +(function(FactoryTarget2) { + FactoryTarget2[FactoryTarget2["Directive"] = 0] = "Directive"; + FactoryTarget2[FactoryTarget2["Component"] = 1] = "Component"; + FactoryTarget2[FactoryTarget2["Injectable"] = 2] = "Injectable"; + FactoryTarget2[FactoryTarget2["Pipe"] = 3] = "Pipe"; + FactoryTarget2[FactoryTarget2["NgModule"] = 4] = "NgModule"; +})(FactoryTarget || (FactoryTarget = {})); +var R3TemplateDependencyKind; +(function(R3TemplateDependencyKind2) { + R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive"; + R3TemplateDependencyKind2[R3TemplateDependencyKind2["Pipe"] = 1] = "Pipe"; + R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule"; +})(R3TemplateDependencyKind || (R3TemplateDependencyKind = {})); +var ViewEncapsulation$1; +(function(ViewEncapsulation2) { + ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated"; + ViewEncapsulation2[ViewEncapsulation2["None"] = 2] = "None"; + ViewEncapsulation2[ViewEncapsulation2["ShadowDom"] = 3] = "ShadowDom"; +})(ViewEncapsulation$1 || (ViewEncapsulation$1 = {})); +function getCompilerFacade(request) { + const globalNg = _global["ng"]; + if (globalNg && globalNg.\u0275compilerFacade) { + return globalNg.\u0275compilerFacade; + } + if (typeof ngDevMode === "undefined" || ngDevMode) { + console.error(`JIT compilation failed for ${request.kind}`, request.type); + let message = `The ${request.kind} '${request.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available. + +`; + if (request.usage === 1) { + message += `The ${request.kind} is part of a library that has been partially compiled. +`; + message += `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback. +`; + message += "\n"; + message += `Ideally, the library is processed using the Angular Linker to become fully AOT compiled. +`; + } else { + message += `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead. +`; + } + message += `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server', +`; + message += `or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.`; + throw new Error(message); + } else { + throw new Error("JIT compiler unavailable"); + } +} +var angularCoreDiEnv = { + "\u0275\u0275defineInjectable": \u0275\u0275defineInjectable, + "\u0275\u0275defineInjector": \u0275\u0275defineInjector, + "\u0275\u0275inject": \u0275\u0275inject, + "\u0275\u0275invalidFactoryDep": \u0275\u0275invalidFactoryDep, + "resolveForwardRef": resolveForwardRef +}; +var Type = Function; +function isType(v) { + return typeof v === "function"; +} +var ES5_DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/; +var ES2015_INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/; +var ES2015_INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/; +var ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/; +function isDelegateCtor(typeStr) { + return ES5_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr); +} +var ReflectionCapabilities = class { + _reflect; + constructor(reflect) { + this._reflect = reflect || _global["Reflect"]; + } + factory(t) { + return (...args) => new t(...args); + } + /** @internal */ + _zipTypesAndAnnotations(paramTypes, paramAnnotations) { + let result; + if (typeof paramTypes === "undefined") { + result = newArray(paramAnnotations.length); + } else { + result = newArray(paramTypes.length); + } + for (let i = 0; i < result.length; i++) { + if (typeof paramTypes === "undefined") { + result[i] = []; + } else if (paramTypes[i] && paramTypes[i] != Object) { + result[i] = [paramTypes[i]]; + } else { + result[i] = []; + } + if (paramAnnotations && paramAnnotations[i] != null) { + result[i] = result[i].concat(paramAnnotations[i]); + } + } + return result; + } + _ownParameters(type, parentCtor) { + const typeStr = type.toString(); + if (isDelegateCtor(typeStr)) { + return null; + } + if (type.parameters && type.parameters !== parentCtor.parameters) { + return type.parameters; + } + const tsickleCtorParams = type.ctorParameters; + if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) { + const ctorParameters = typeof tsickleCtorParams === "function" ? tsickleCtorParams() : tsickleCtorParams; + const paramTypes2 = ctorParameters.map((ctorParam) => ctorParam && ctorParam.type); + const paramAnnotations2 = ctorParameters.map((ctorParam) => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators)); + return this._zipTypesAndAnnotations(paramTypes2, paramAnnotations2); + } + const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS]; + const paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata("design:paramtypes", type); + if (paramTypes || paramAnnotations) { + return this._zipTypesAndAnnotations(paramTypes, paramAnnotations); + } + return newArray(type.length); + } + parameters(type) { + if (!isType(type)) { + return []; + } + const parentCtor = getParentCtor(type); + let parameters = this._ownParameters(type, parentCtor); + if (!parameters && parentCtor !== Object) { + parameters = this.parameters(parentCtor); + } + return parameters || []; + } + _ownAnnotations(typeOrFunc, parentCtor) { + if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) { + let annotations = typeOrFunc.annotations; + if (typeof annotations === "function" && annotations.annotations) { + annotations = annotations.annotations; + } + return annotations; + } + if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) { + return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators); + } + if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) { + return typeOrFunc[ANNOTATIONS]; + } + return null; + } + annotations(typeOrFunc) { + if (!isType(typeOrFunc)) { + return []; + } + const parentCtor = getParentCtor(typeOrFunc); + const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || []; + const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : []; + return parentAnnotations.concat(ownAnnotations); + } + _ownPropMetadata(typeOrFunc, parentCtor) { + if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) { + let propMetadata = typeOrFunc.propMetadata; + if (typeof propMetadata === "function" && propMetadata.propMetadata) { + propMetadata = propMetadata.propMetadata; + } + return propMetadata; + } + if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) { + const propDecorators = typeOrFunc.propDecorators; + const propMetadata = {}; + Object.keys(propDecorators).forEach((prop) => { + propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]); + }); + return propMetadata; + } + if (typeOrFunc.hasOwnProperty(PROP_METADATA)) { + return typeOrFunc[PROP_METADATA]; + } + return null; + } + propMetadata(typeOrFunc) { + if (!isType(typeOrFunc)) { + return {}; + } + const parentCtor = getParentCtor(typeOrFunc); + const propMetadata = {}; + if (parentCtor !== Object) { + const parentPropMetadata = this.propMetadata(parentCtor); + Object.keys(parentPropMetadata).forEach((propName) => { + propMetadata[propName] = parentPropMetadata[propName]; + }); + } + const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor); + if (ownPropMetadata) { + Object.keys(ownPropMetadata).forEach((propName) => { + const decorators = []; + if (propMetadata.hasOwnProperty(propName)) { + decorators.push(...propMetadata[propName]); + } + decorators.push(...ownPropMetadata[propName]); + propMetadata[propName] = decorators; + }); + } + return propMetadata; + } + ownPropMetadata(typeOrFunc) { + if (!isType(typeOrFunc)) { + return {}; + } + return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {}; + } + hasLifecycleHook(type, lcProperty) { + return type instanceof Type && lcProperty in type.prototype; + } +}; +function convertTsickleDecoratorIntoMetadata(decoratorInvocations) { + if (!decoratorInvocations) { + return []; + } + return decoratorInvocations.map((decoratorInvocation) => { + const decoratorType = decoratorInvocation.type; + const annotationCls = decoratorType.annotationCls; + const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : []; + return new annotationCls(...annotationArgs); + }); +} +function getParentCtor(ctor) { + const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null; + const parentCtor = parentProto ? parentProto.constructor : null; + return parentCtor || Object; +} +var HOST = 0; +var TVIEW = 1; +var FLAGS = 2; +var PARENT = 3; +var NEXT = 4; +var T_HOST = 5; +var HYDRATION = 6; +var CLEANUP = 7; +var CONTEXT = 8; +var INJECTOR = 9; +var ENVIRONMENT = 10; +var RENDERER = 11; +var CHILD_HEAD = 12; +var CHILD_TAIL = 13; +var DECLARATION_VIEW = 14; +var DECLARATION_COMPONENT_VIEW = 15; +var DECLARATION_LCONTAINER = 16; +var PREORDER_HOOK_FLAGS = 17; +var QUERIES = 18; +var ID = 19; +var EMBEDDED_VIEW_INJECTOR = 20; +var ON_DESTROY_HOOKS = 21; +var EFFECTS_TO_SCHEDULE = 22; +var EFFECTS = 23; +var REACTIVE_TEMPLATE_CONSUMER = 24; +var AFTER_RENDER_SEQUENCES_TO_ADD = 25; +var HEADER_OFFSET = 26; +var TYPE = 1; +var DEHYDRATED_VIEWS = 6; +var NATIVE = 7; +var VIEW_REFS = 8; +var MOVED_VIEWS = 9; +var CONTAINER_HEADER_OFFSET = 10; +function isLView(value) { + return Array.isArray(value) && typeof value[TYPE] === "object"; +} +function isLContainer(value) { + return Array.isArray(value) && value[TYPE] === true; +} +function isContentQueryHost(tNode) { + return (tNode.flags & 4) !== 0; +} +function isComponentHost(tNode) { + return tNode.componentOffset > -1; +} +function isDirectiveHost(tNode) { + return (tNode.flags & 1) === 1; +} +function isComponentDef(def) { + return !!def.template; +} +function isRootView(target) { + return (target[FLAGS] & 512) !== 0; +} +function isDestroyed(lView) { + return (lView[FLAGS] & 256) === 256; +} +function assertTNodeForLView(tNode, lView) { + assertTNodeForTView(tNode, lView[TVIEW]); +} +function assertTNodeForTView(tNode, tView) { + assertTNode(tNode); + const tData = tView.data; + for (let i = HEADER_OFFSET; i < tData.length; i++) { + if (tData[i] === tNode) { + return; + } + } + throwError2("This TNode does not belong to this TView."); +} +function assertTNode(tNode) { + assertDefined(tNode, "TNode must be defined"); + if (!(tNode && typeof tNode === "object" && tNode.hasOwnProperty("directiveStylingLast"))) { + throwError2("Not of type TNode, got: " + tNode); + } +} +function assertTIcu(tIcu) { + assertDefined(tIcu, "Expected TIcu to be defined"); + if (!(typeof tIcu.currentCaseLViewIndex === "number")) { + throwError2("Object is not of TIcu type."); + } +} +function assertComponentType(actual, msg = "Type passed in is not ComponentType, it does not have '\u0275cmp' property.") { + if (!getComponentDef(actual)) { + throwError2(msg); + } +} +function assertNgModuleType(actual, msg = "Type passed in is not NgModuleType, it does not have '\u0275mod' property.") { + if (!getNgModuleDef(actual)) { + throwError2(msg); + } +} +function assertHasParent(tNode) { + assertDefined(tNode, "currentTNode should exist!"); + assertDefined(tNode.parent, "currentTNode should have a parent"); +} +function assertLContainer(value) { + assertDefined(value, "LContainer must be defined"); + assertEqual(isLContainer(value), true, "Expecting LContainer"); +} +function assertLViewOrUndefined(value) { + value && assertEqual(isLView(value), true, "Expecting LView or undefined or null"); +} +function assertLView(value) { + assertDefined(value, "LView must be defined"); + assertEqual(isLView(value), true, "Expecting LView"); +} +function assertFirstCreatePass(tView, errMessage) { + assertEqual(tView.firstCreatePass, true, errMessage || "Should only be called in first create pass."); +} +function assertFirstUpdatePass(tView, errMessage) { + assertEqual(tView.firstUpdatePass, true, "Should only be called in first update pass."); +} +function assertDirectiveDef(obj) { + if (obj.type === void 0 || obj.selectors == void 0 || obj.inputs === void 0) { + throwError2(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`); + } +} +function assertIndexInDeclRange(tView, index) { + assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index); +} +function assertIndexInExpandoRange(lView, index) { + const tView = lView[1]; + assertBetween(tView.expandoStartIndex, lView.length, index); +} +function assertBetween(lower, upper, index) { + if (!(lower <= index && index < upper)) { + throwError2(`Index out of range (expecting ${lower} <= ${index} < ${upper})`); + } +} +function assertProjectionSlots(lView, errMessage) { + assertDefined(lView[DECLARATION_COMPONENT_VIEW], "Component views should exist."); + assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, "Components with projection nodes () must have projection slots defined."); +} +function assertParentView(lView, errMessage) { + assertDefined(lView, "Component views should always have a parent view (component's host view)"); +} +function assertNodeInjector(lView, injectorIndex) { + assertIndexInExpandoRange(lView, injectorIndex); + assertIndexInExpandoRange( + lView, + injectorIndex + 8 + /* NodeInjectorOffset.PARENT */ + ); + assertNumber(lView[injectorIndex + 0], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 1], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 2], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 3], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 4], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 5], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 6], "injectorIndex should point to a bloom filter"); + assertNumber(lView[injectorIndex + 7], "injectorIndex should point to a bloom filter"); + assertNumber(lView[ + injectorIndex + 8 + /* NodeInjectorOffset.PARENT */ + ], "injectorIndex should point to parent injector"); +} +var SimpleChange = class { + previousValue; + currentValue; + firstChange; + constructor(previousValue, currentValue, firstChange) { + this.previousValue = previousValue; + this.currentValue = currentValue; + this.firstChange = firstChange; + } + /** + * Check whether the new value is the first value assigned. + */ + isFirstChange() { + return this.firstChange; + } +}; +function applyValueToInputField(instance, inputSignalNode, privateName, value) { + if (inputSignalNode !== null) { + inputSignalNode.applyValueToInputSignal(inputSignalNode, value); + } else { + instance[privateName] = value; + } +} +var \u0275\u0275NgOnChangesFeature = /* @__PURE__ */ (() => { + const \u0275\u0275NgOnChangesFeatureImpl = () => NgOnChangesFeatureImpl; + \u0275\u0275NgOnChangesFeatureImpl.ngInherit = true; + return \u0275\u0275NgOnChangesFeatureImpl; +})(); +function NgOnChangesFeatureImpl(definition) { + if (definition.type.prototype.ngOnChanges) { + definition.setInput = ngOnChangesSetInput; + } + return rememberChangeHistoryAndInvokeOnChangesHook; +} +function rememberChangeHistoryAndInvokeOnChangesHook() { + const simpleChangesStore = getSimpleChangesStore(this); + const current = simpleChangesStore?.current; + if (current) { + const previous = simpleChangesStore.previous; + if (previous === EMPTY_OBJ) { + simpleChangesStore.previous = current; + } else { + for (let key in current) { + previous[key] = current[key]; + } + } + simpleChangesStore.current = null; + this.ngOnChanges(current); + } +} +function ngOnChangesSetInput(instance, inputSignalNode, value, publicName, privateName) { + const declaredName = this.declaredInputs[publicName]; + ngDevMode && assertString(declaredName, "Name of input in ngOnChanges has to be a string"); + const simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, { + previous: EMPTY_OBJ, + current: null + }); + const current = simpleChangesStore.current || (simpleChangesStore.current = {}); + const previous = simpleChangesStore.previous; + const previousChange = previous[declaredName]; + current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ); + applyValueToInputField(instance, inputSignalNode, privateName, value); +} +var SIMPLE_CHANGES_STORE = "__ngSimpleChanges__"; +function getSimpleChangesStore(instance) { + return instance[SIMPLE_CHANGES_STORE] || null; +} +function setSimpleChangesStore(instance, store2) { + return instance[SIMPLE_CHANGES_STORE] = store2; +} +var profilerCallback = null; +var setProfiler = (profiler2) => { + profilerCallback = profiler2; +}; +var profiler = function(event, instance = null, hookOrListener) { + if (profilerCallback != null) { + profilerCallback(event, instance, hookOrListener); + } +}; +var SVG_NAMESPACE = "svg"; +var MATH_ML_NAMESPACE = "math"; +function unwrapRNode(value) { + while (Array.isArray(value)) { + value = value[HOST]; + } + return value; +} +function unwrapLView(value) { + while (Array.isArray(value)) { + if (typeof value[TYPE] === "object") return value; + value = value[HOST]; + } + return null; +} +function getNativeByIndex(index, lView) { + ngDevMode && assertIndexInRange(lView, index); + ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, "Expected to be past HEADER_OFFSET"); + return unwrapRNode(lView[index]); +} +function getNativeByTNode(tNode, lView) { + ngDevMode && assertTNodeForLView(tNode, lView); + ngDevMode && assertIndexInRange(lView, tNode.index); + const node = unwrapRNode(lView[tNode.index]); + return node; +} +function getTNode(tView, index) { + ngDevMode && assertGreaterThan(index, -1, "wrong index for TNode"); + ngDevMode && assertLessThan(index, tView.data.length, "wrong index for TNode"); + const tNode = tView.data[index]; + ngDevMode && tNode !== null && assertTNode(tNode); + return tNode; +} +function load(view, index) { + ngDevMode && assertIndexInRange(view, index); + return view[index]; +} +function getComponentLViewByIndex(nodeIndex, hostView) { + ngDevMode && assertIndexInRange(hostView, nodeIndex); + const slotValue = hostView[nodeIndex]; + const lView = isLView(slotValue) ? slotValue : slotValue[HOST]; + return lView; +} +function isCreationMode(view) { + return (view[FLAGS] & 4) === 4; +} +function viewAttachedToChangeDetector(view) { + return (view[FLAGS] & 128) === 128; +} +function viewAttachedToContainer(view) { + return isLContainer(view[PARENT]); +} +function getConstant(consts, index) { + if (index === null || index === void 0) return null; + ngDevMode && assertIndexInRange(consts, index); + return consts[index]; +} +function resetPreOrderHookFlags(lView) { + lView[PREORDER_HOOK_FLAGS] = 0; +} +function markViewForRefresh(lView) { + if (lView[FLAGS] & 1024) { + return; + } + lView[FLAGS] |= 1024; + if (viewAttachedToChangeDetector(lView)) { + markAncestorsForTraversal(lView); + } +} +function walkUpViews(nestingLevel, currentView) { + while (nestingLevel > 0) { + ngDevMode && assertDefined(currentView[DECLARATION_VIEW], "Declaration view should be defined if nesting level is greater than 0."); + currentView = currentView[DECLARATION_VIEW]; + nestingLevel--; + } + return currentView; +} +function requiresRefreshOrTraversal(lView) { + return !!(lView[FLAGS] & (1024 | 8192) || lView[REACTIVE_TEMPLATE_CONSUMER]?.dirty); +} +function updateAncestorTraversalFlagsOnAttach(lView) { + lView[ENVIRONMENT].changeDetectionScheduler?.notify( + 8 + /* NotificationSource.ViewAttached */ + ); + if (lView[FLAGS] & 64) { + lView[FLAGS] |= 1024; + } + if (requiresRefreshOrTraversal(lView)) { + markAncestorsForTraversal(lView); + } +} +function markAncestorsForTraversal(lView) { + lView[ENVIRONMENT].changeDetectionScheduler?.notify( + 0 + /* NotificationSource.MarkAncestorsForTraversal */ + ); + let parent = getLViewParent(lView); + while (parent !== null) { + if (parent[FLAGS] & 8192) { + break; + } + parent[FLAGS] |= 8192; + if (!viewAttachedToChangeDetector(parent)) { + break; + } + parent = getLViewParent(parent); + } +} +function storeLViewOnDestroy(lView, onDestroyCallback) { + if (isDestroyed(lView)) { + throw new RuntimeError(911, ngDevMode && "View has already been destroyed."); + } + if (lView[ON_DESTROY_HOOKS] === null) { + lView[ON_DESTROY_HOOKS] = []; + } + lView[ON_DESTROY_HOOKS].push(onDestroyCallback); +} +function removeLViewOnDestroy(lView, onDestroyCallback) { + if (lView[ON_DESTROY_HOOKS] === null) return; + const destroyCBIdx = lView[ON_DESTROY_HOOKS].indexOf(onDestroyCallback); + if (destroyCBIdx !== -1) { + lView[ON_DESTROY_HOOKS].splice(destroyCBIdx, 1); + } +} +function getLViewParent(lView) { + ngDevMode && assertLView(lView); + const parent = lView[PARENT]; + return isLContainer(parent) ? parent[PARENT] : parent; +} +function getOrCreateLViewCleanup(view) { + return view[CLEANUP] ??= []; +} +function getOrCreateTViewCleanup(tView) { + return tView.cleanup ??= []; +} +function storeCleanupWithContext(tView, lView, context2, cleanupFn) { + const lCleanup = getOrCreateLViewCleanup(lView); + ngDevMode && assertDefined(context2, "Cleanup context is mandatory when registering framework-level destroy hooks"); + lCleanup.push(context2); + if (tView.firstCreatePass) { + getOrCreateTViewCleanup(tView).push(cleanupFn, lCleanup.length - 1); + } else { + if (ngDevMode) { + Object.freeze(getOrCreateTViewCleanup(tView)); + } + } +} +var instructionState = { + lFrame: createLFrame(null), + bindingsEnabled: true, + skipHydrationRootTNode: null +}; +var CheckNoChangesMode; +(function(CheckNoChangesMode2) { + CheckNoChangesMode2[CheckNoChangesMode2["Off"] = 0] = "Off"; + CheckNoChangesMode2[CheckNoChangesMode2["Exhaustive"] = 1] = "Exhaustive"; + CheckNoChangesMode2[CheckNoChangesMode2["OnlyDirtyViews"] = 2] = "OnlyDirtyViews"; +})(CheckNoChangesMode || (CheckNoChangesMode = {})); +var _checkNoChangesMode = 0; +var _isRefreshingViews = false; +function getElementDepthCount() { + return instructionState.lFrame.elementDepthCount; +} +function increaseElementDepthCount() { + instructionState.lFrame.elementDepthCount++; +} +function decreaseElementDepthCount() { + instructionState.lFrame.elementDepthCount--; +} +function getBindingsEnabled() { + return instructionState.bindingsEnabled; +} +function isInSkipHydrationBlock$1() { + return instructionState.skipHydrationRootTNode !== null; +} +function isSkipHydrationRootTNode(tNode) { + return instructionState.skipHydrationRootTNode === tNode; +} +function \u0275\u0275enableBindings() { + instructionState.bindingsEnabled = true; +} +function \u0275\u0275disableBindings() { + instructionState.bindingsEnabled = false; +} +function leaveSkipHydrationBlock() { + instructionState.skipHydrationRootTNode = null; +} +function getLView() { + return instructionState.lFrame.lView; +} +function getTView() { + return instructionState.lFrame.tView; +} +function \u0275\u0275restoreView(viewToRestore) { + instructionState.lFrame.contextLView = viewToRestore; + return viewToRestore[CONTEXT]; +} +function \u0275\u0275resetView(value) { + instructionState.lFrame.contextLView = null; + return value; +} +function getCurrentTNode() { + let currentTNode = getCurrentTNodePlaceholderOk(); + while (currentTNode !== null && currentTNode.type === 64) { + currentTNode = currentTNode.parent; + } + return currentTNode; +} +function getCurrentTNodePlaceholderOk() { + return instructionState.lFrame.currentTNode; +} +function getCurrentParentTNode() { + const lFrame = instructionState.lFrame; + const currentTNode = lFrame.currentTNode; + return lFrame.isParent ? currentTNode : currentTNode.parent; +} +function setCurrentTNode(tNode, isParent) { + ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView); + const lFrame = instructionState.lFrame; + lFrame.currentTNode = tNode; + lFrame.isParent = isParent; +} +function isCurrentTNodeParent() { + return instructionState.lFrame.isParent; +} +function setCurrentTNodeAsNotParent() { + instructionState.lFrame.isParent = false; +} +function getContextLView() { + const contextLView = instructionState.lFrame.contextLView; + ngDevMode && assertDefined(contextLView, "contextLView must be defined."); + return contextLView; +} +function isInCheckNoChangesMode() { + !ngDevMode && throwError2("Must never be called in production mode"); + return _checkNoChangesMode !== CheckNoChangesMode.Off; +} +function isExhaustiveCheckNoChanges() { + !ngDevMode && throwError2("Must never be called in production mode"); + return _checkNoChangesMode === CheckNoChangesMode.Exhaustive; +} +function setIsInCheckNoChangesMode(mode) { + !ngDevMode && throwError2("Must never be called in production mode"); + _checkNoChangesMode = mode; +} +function isRefreshingViews() { + return _isRefreshingViews; +} +function setIsRefreshingViews(mode) { + const prev = _isRefreshingViews; + _isRefreshingViews = mode; + return prev; +} +function getBindingRoot() { + const lFrame = instructionState.lFrame; + let index = lFrame.bindingRootIndex; + if (index === -1) { + index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex; + } + return index; +} +function getBindingIndex() { + return instructionState.lFrame.bindingIndex; +} +function setBindingIndex(value) { + return instructionState.lFrame.bindingIndex = value; +} +function nextBindingIndex() { + return instructionState.lFrame.bindingIndex++; +} +function incrementBindingIndex(count) { + const lFrame = instructionState.lFrame; + const index = lFrame.bindingIndex; + lFrame.bindingIndex = lFrame.bindingIndex + count; + return index; +} +function isInI18nBlock() { + return instructionState.lFrame.inI18n; +} +function setInI18nBlock(isInI18nBlock2) { + instructionState.lFrame.inI18n = isInI18nBlock2; +} +function setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) { + const lFrame = instructionState.lFrame; + lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex; + setCurrentDirectiveIndex(currentDirectiveIndex); +} +function getCurrentDirectiveIndex() { + return instructionState.lFrame.currentDirectiveIndex; +} +function setCurrentDirectiveIndex(currentDirectiveIndex) { + instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex; +} +function getCurrentDirectiveDef(tData) { + const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex; + return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex]; +} +function getCurrentQueryIndex() { + return instructionState.lFrame.currentQueryIndex; +} +function setCurrentQueryIndex(value) { + instructionState.lFrame.currentQueryIndex = value; +} +function getDeclarationTNode(lView) { + const tView = lView[TVIEW]; + if (tView.type === 2) { + ngDevMode && assertDefined(tView.declTNode, "Embedded TNodes should have declaration parents."); + return tView.declTNode; + } + if (tView.type === 1) { + return lView[T_HOST]; + } + return null; +} +function enterDI(lView, tNode, flags) { + ngDevMode && assertLViewOrUndefined(lView); + if (flags & InjectFlags.SkipSelf) { + ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]); + let parentTNode = tNode; + let parentLView = lView; + while (true) { + ngDevMode && assertDefined(parentTNode, "Parent TNode should be defined"); + parentTNode = parentTNode.parent; + if (parentTNode === null && !(flags & InjectFlags.Host)) { + parentTNode = getDeclarationTNode(parentLView); + if (parentTNode === null) break; + ngDevMode && assertDefined(parentLView, "Parent LView should be defined"); + parentLView = parentLView[DECLARATION_VIEW]; + if (parentTNode.type & (2 | 8)) { + break; + } + } else { + break; + } + } + if (parentTNode === null) { + return false; + } else { + tNode = parentTNode; + lView = parentLView; + } + } + ngDevMode && assertTNodeForLView(tNode, lView); + const lFrame = instructionState.lFrame = allocLFrame(); + lFrame.currentTNode = tNode; + lFrame.lView = lView; + return true; +} +function enterView(newView) { + ngDevMode && assertNotEqual(newView[0], newView[1], "????"); + ngDevMode && assertLViewOrUndefined(newView); + const newLFrame = allocLFrame(); + if (ngDevMode) { + assertEqual(newLFrame.isParent, true, "Expected clean LFrame"); + assertEqual(newLFrame.lView, null, "Expected clean LFrame"); + assertEqual(newLFrame.tView, null, "Expected clean LFrame"); + assertEqual(newLFrame.selectedIndex, -1, "Expected clean LFrame"); + assertEqual(newLFrame.elementDepthCount, 0, "Expected clean LFrame"); + assertEqual(newLFrame.currentDirectiveIndex, -1, "Expected clean LFrame"); + assertEqual(newLFrame.currentNamespace, null, "Expected clean LFrame"); + assertEqual(newLFrame.bindingRootIndex, -1, "Expected clean LFrame"); + assertEqual(newLFrame.currentQueryIndex, 0, "Expected clean LFrame"); + } + const tView = newView[TVIEW]; + instructionState.lFrame = newLFrame; + ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView); + newLFrame.currentTNode = tView.firstChild; + newLFrame.lView = newView; + newLFrame.tView = tView; + newLFrame.contextLView = newView; + newLFrame.bindingIndex = tView.bindingStartIndex; + newLFrame.inI18n = false; +} +function allocLFrame() { + const currentLFrame = instructionState.lFrame; + const childLFrame = currentLFrame === null ? null : currentLFrame.child; + const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame; + return newLFrame; +} +function createLFrame(parent) { + const lFrame = { + currentTNode: null, + isParent: true, + lView: null, + tView: null, + selectedIndex: -1, + contextLView: null, + elementDepthCount: 0, + currentNamespace: null, + currentDirectiveIndex: -1, + bindingRootIndex: -1, + bindingIndex: -1, + currentQueryIndex: 0, + parent, + child: null, + inI18n: false + }; + parent !== null && (parent.child = lFrame); + return lFrame; +} +function leaveViewLight() { + const oldLFrame = instructionState.lFrame; + instructionState.lFrame = oldLFrame.parent; + oldLFrame.currentTNode = null; + oldLFrame.lView = null; + return oldLFrame; +} +var leaveDI = leaveViewLight; +function leaveView() { + const oldLFrame = leaveViewLight(); + oldLFrame.isParent = true; + oldLFrame.tView = null; + oldLFrame.selectedIndex = -1; + oldLFrame.contextLView = null; + oldLFrame.elementDepthCount = 0; + oldLFrame.currentDirectiveIndex = -1; + oldLFrame.currentNamespace = null; + oldLFrame.bindingRootIndex = -1; + oldLFrame.bindingIndex = -1; + oldLFrame.currentQueryIndex = 0; +} +function nextContextImpl(level) { + const contextLView = instructionState.lFrame.contextLView = walkUpViews(level, instructionState.lFrame.contextLView); + return contextLView[CONTEXT]; +} +function getSelectedIndex() { + return instructionState.lFrame.selectedIndex; +} +function setSelectedIndex(index) { + ngDevMode && index !== -1 && assertGreaterThanOrEqual(index, HEADER_OFFSET, "Index must be past HEADER_OFFSET (or -1)."); + ngDevMode && assertLessThan(index, instructionState.lFrame.lView.length, "Can't set index passed end of LView"); + instructionState.lFrame.selectedIndex = index; +} +function getSelectedTNode() { + const lFrame = instructionState.lFrame; + return getTNode(lFrame.tView, lFrame.selectedIndex); +} +function \u0275\u0275namespaceSVG() { + instructionState.lFrame.currentNamespace = SVG_NAMESPACE; +} +function \u0275\u0275namespaceMathML() { + instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE; +} +function \u0275\u0275namespaceHTML() { + namespaceHTMLInternal(); +} +function namespaceHTMLInternal() { + instructionState.lFrame.currentNamespace = null; +} +function getNamespace() { + return instructionState.lFrame.currentNamespace; +} +var _wasLastNodeCreated = true; +function wasLastNodeCreated() { + return _wasLastNodeCreated; +} +function lastNodeWasCreated(flag) { + _wasLastNodeCreated = flag; +} +function registerPreOrderHooks(directiveIndex, directiveDef, tView) { + ngDevMode && assertFirstCreatePass(tView); + const { + ngOnChanges, + ngOnInit, + ngDoCheck + } = directiveDef.type.prototype; + if (ngOnChanges) { + const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef); + (tView.preOrderHooks ??= []).push(directiveIndex, wrappedOnChanges); + (tView.preOrderCheckHooks ??= []).push(directiveIndex, wrappedOnChanges); + } + if (ngOnInit) { + (tView.preOrderHooks ??= []).push(0 - directiveIndex, ngOnInit); + } + if (ngDoCheck) { + (tView.preOrderHooks ??= []).push(directiveIndex, ngDoCheck); + (tView.preOrderCheckHooks ??= []).push(directiveIndex, ngDoCheck); + } +} +function registerPostOrderHooks(tView, tNode) { + ngDevMode && assertFirstCreatePass(tView); + for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) { + const directiveDef = tView.data[i]; + ngDevMode && assertDefined(directiveDef, "Expecting DirectiveDef"); + const lifecycleHooks = directiveDef.type.prototype; + const { + ngAfterContentInit, + ngAfterContentChecked, + ngAfterViewInit, + ngAfterViewChecked, + ngOnDestroy + } = lifecycleHooks; + if (ngAfterContentInit) { + (tView.contentHooks ??= []).push(-i, ngAfterContentInit); + } + if (ngAfterContentChecked) { + (tView.contentHooks ??= []).push(i, ngAfterContentChecked); + (tView.contentCheckHooks ??= []).push(i, ngAfterContentChecked); + } + if (ngAfterViewInit) { + (tView.viewHooks ??= []).push(-i, ngAfterViewInit); + } + if (ngAfterViewChecked) { + (tView.viewHooks ??= []).push(i, ngAfterViewChecked); + (tView.viewCheckHooks ??= []).push(i, ngAfterViewChecked); + } + if (ngOnDestroy != null) { + (tView.destroyHooks ??= []).push(i, ngOnDestroy); + } + } +} +function executeCheckHooks(lView, hooks, nodeIndex) { + callHooks(lView, hooks, 3, nodeIndex); +} +function executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) { + ngDevMode && assertNotEqual(initPhase, 3, "Init pre-order hooks should not be called more than once"); + if ((lView[FLAGS] & 3) === initPhase) { + callHooks(lView, hooks, initPhase, nodeIndex); + } +} +function incrementInitPhaseFlags(lView, initPhase) { + ngDevMode && assertNotEqual(initPhase, 3, "Init hooks phase should not be incremented after all init hooks have been run."); + let flags = lView[FLAGS]; + if ((flags & 3) === initPhase) { + flags &= 16383; + flags += 1; + lView[FLAGS] = flags; + } +} +function callHooks(currentView, arr, initPhase, currentNodeIndex) { + ngDevMode && assertEqual(isInCheckNoChangesMode(), false, "Hooks should never be run when in check no changes mode."); + const startIndex = currentNodeIndex !== void 0 ? currentView[PREORDER_HOOK_FLAGS] & 65535 : 0; + const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1; + const max = arr.length - 1; + let lastNodeIndexFound = 0; + for (let i = startIndex; i < max; i++) { + const hook = arr[i + 1]; + if (typeof hook === "number") { + lastNodeIndexFound = arr[i]; + if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) { + break; + } + } else { + const isInitHook = arr[i] < 0; + if (isInitHook) { + currentView[PREORDER_HOOK_FLAGS] += 65536; + } + if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) { + callHook(currentView, initPhase, arr, i); + currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760) + i + 2; + } + i++; + } + } +} +function callHookInternal(directive, hook) { + profiler(4, directive, hook); + const prevConsumer = setActiveConsumer(null); + try { + hook.call(directive); + } finally { + setActiveConsumer(prevConsumer); + profiler(5, directive, hook); + } +} +function callHook(currentView, initPhase, arr, i) { + const isInitHook = arr[i] < 0; + const hook = arr[i + 1]; + const directiveIndex = isInitHook ? -arr[i] : arr[i]; + const directive = currentView[directiveIndex]; + if (isInitHook) { + const indexWithintInitPhase = currentView[FLAGS] >> 14; + if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16 && (currentView[FLAGS] & 3) === initPhase) { + currentView[FLAGS] += 16384; + callHookInternal(directive, hook); + } + } else { + callHookInternal(directive, hook); + } +} +var NO_PARENT_INJECTOR = -1; +var NodeInjectorFactory = class { + factory; + /** + * The inject implementation to be activated when using the factory. + */ + injectImpl; + /** + * Marker set to true during factory invocation to see if we get into recursive loop. + * Recursive loop causes an error to be displayed. + */ + resolving = false; + /** + * Marks that the token can see other Tokens declared in `viewProviders` on the same node. + */ + canSeeViewProviders; + /** + * An array of factories to use in case of `multi` provider. + */ + multi; + /** + * Number of `multi`-providers which belong to the component. + * + * This is needed because when multiple components and directives declare the `multi` provider + * they have to be concatenated in the correct order. + * + * Example: + * + * If we have a component and directive active an a single element as declared here + * ```ts + * component: + * providers: [ {provide: String, useValue: 'component', multi: true} ], + * viewProviders: [ {provide: String, useValue: 'componentView', multi: true} ], + * + * directive: + * providers: [ {provide: String, useValue: 'directive', multi: true} ], + * ``` + * + * Then the expected results are: + * + * ```ts + * providers: ['component', 'directive'] + * viewProviders: ['component', 'componentView', 'directive'] + * ``` + * + * The way to think about it is that the `viewProviders` have been inserted after the component + * but before the directives, which is why we need to know how many `multi`s have been declared by + * the component. + */ + componentProviders; + /** + * Current index of the Factory in the `data`. Needed for `viewProviders` and `providers` merging. + * See `providerFactory`. + */ + index; + /** + * Because the same `multi` provider can be declared in `providers` and `viewProviders` it is + * possible for `viewProviders` to shadow the `providers`. For this reason we store the + * `provideFactory` of the `providers` so that `providers` can be extended with `viewProviders`. + * + * Example: + * + * Given: + * ```ts + * providers: [ {provide: String, useValue: 'all', multi: true} ], + * viewProviders: [ {provide: String, useValue: 'viewOnly', multi: true} ], + * ``` + * + * We have to return `['all']` in case of content injection, but `['all', 'viewOnly']` in case + * of view injection. We further have to make sure that the shared instances (in our case + * `all`) are the exact same instance in both the content as well as the view injection. (We + * have to make sure that we don't double instantiate.) For this reason the `viewProviders` + * `Factory` has a pointer to the shadowed `providers` factory so that it can instantiate the + * `providers` (`['all']`) and then extend it with `viewProviders` (`['all'] + ['viewOnly'] = + * ['all', 'viewOnly']`). + */ + providerFactory; + constructor(factory, isViewProvider, injectImplementation) { + this.factory = factory; + ngDevMode && assertDefined(factory, "Factory not specified"); + ngDevMode && assertEqual(typeof factory, "function", "Expected factory function."); + this.canSeeViewProviders = isViewProvider; + this.injectImpl = injectImplementation; + } +}; +function toTNodeTypeAsString(tNodeType) { + let text = ""; + tNodeType & 1 && (text += "|Text"); + tNodeType & 2 && (text += "|Element"); + tNodeType & 4 && (text += "|Container"); + tNodeType & 8 && (text += "|ElementContainer"); + tNodeType & 16 && (text += "|Projection"); + tNodeType & 32 && (text += "|IcuContainer"); + tNodeType & 64 && (text += "|Placeholder"); + tNodeType & 128 && (text += "|LetDeclaration"); + return text.length > 0 ? text.substring(1) : text; +} +function isTNodeShape(value) { + return value != null && typeof value === "object" && (value.insertBeforeIndex === null || typeof value.insertBeforeIndex === "number" || Array.isArray(value.insertBeforeIndex)); +} +function hasClassInput(tNode) { + return (tNode.flags & 8) !== 0; +} +function hasStyleInput(tNode) { + return (tNode.flags & 16) !== 0; +} +function assertTNodeType(tNode, expectedTypes, message) { + assertDefined(tNode, "should be called with a TNode"); + if ((tNode.type & expectedTypes) === 0) { + throwError2(message || `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`); + } +} +function assertPureTNodeType(type) { + if (!(type === 2 || type === 1 || type === 4 || type === 8 || type === 32 || type === 16 || type === 64 || type === 128)) { + throwError2(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`); + } +} +function setUpAttributes(renderer, native, attrs) { + let i = 0; + while (i < attrs.length) { + const value = attrs[i]; + if (typeof value === "number") { + if (value !== 0) { + break; + } + i++; + const namespaceURI = attrs[i++]; + const attrName = attrs[i++]; + const attrVal = attrs[i++]; + ngDevMode && ngDevMode.rendererSetAttribute++; + renderer.setAttribute(native, attrName, attrVal, namespaceURI); + } else { + const attrName = value; + const attrVal = attrs[++i]; + ngDevMode && ngDevMode.rendererSetAttribute++; + if (isAnimationProp(attrName)) { + renderer.setProperty(native, attrName, attrVal); + } else { + renderer.setAttribute(native, attrName, attrVal); + } + i++; + } + } + return i; +} +function isNameOnlyAttributeMarker(marker) { + return marker === 3 || marker === 4 || marker === 6; +} +function isAnimationProp(name) { + return name.charCodeAt(0) === 64; +} +function mergeHostAttrs(dst, src) { + if (src === null || src.length === 0) ; + else if (dst === null || dst.length === 0) { + dst = src.slice(); + } else { + let srcMarker = -1; + for (let i = 0; i < src.length; i++) { + const item = src[i]; + if (typeof item === "number") { + srcMarker = item; + } else { + if (srcMarker === 0) ; + else if (srcMarker === -1 || srcMarker === 2) { + mergeHostAttribute(dst, srcMarker, item, null, src[++i]); + } else { + mergeHostAttribute(dst, srcMarker, item, null, null); + } + } + } + } + return dst; +} +function mergeHostAttribute(dst, marker, key1, key2, value) { + let i = 0; + let markerInsertPosition = dst.length; + if (marker === -1) { + markerInsertPosition = -1; + } else { + while (i < dst.length) { + const dstValue = dst[i++]; + if (typeof dstValue === "number") { + if (dstValue === marker) { + markerInsertPosition = -1; + break; + } else if (dstValue > marker) { + markerInsertPosition = i - 1; + break; + } + } + } + } + while (i < dst.length) { + const item = dst[i]; + if (typeof item === "number") { + break; + } else if (item === key1) { + { + if (value !== null) { + dst[i + 1] = value; + } + return; + } + } + i++; + if (value !== null) i++; + } + if (markerInsertPosition !== -1) { + dst.splice(markerInsertPosition, 0, marker); + i = markerInsertPosition + 1; + } + dst.splice(i++, 0, key1); + if (value !== null) { + dst.splice(i++, 0, value); + } +} +function hasParentInjector(parentLocation) { + return parentLocation !== NO_PARENT_INJECTOR; +} +function getParentInjectorIndex(parentLocation) { + if (ngDevMode) { + assertNumber(parentLocation, "Number expected"); + assertNotEqual(parentLocation, -1, "Not a valid state."); + const parentInjectorIndex = parentLocation & 32767; + assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, "Parent injector must be pointing past HEADER_OFFSET."); + } + return parentLocation & 32767; +} +function getParentInjectorViewOffset(parentLocation) { + return parentLocation >> 16; +} +function getParentInjectorView(location2, startView) { + let viewOffset = getParentInjectorViewOffset(location2); + let parentView = startView; + while (viewOffset > 0) { + parentView = parentView[DECLARATION_VIEW]; + viewOffset--; + } + return parentView; +} +var includeViewProviders = true; +function setIncludeViewProviders(v) { + const oldValue = includeViewProviders; + includeViewProviders = v; + return oldValue; +} +var BLOOM_SIZE = 256; +var BLOOM_MASK = BLOOM_SIZE - 1; +var BLOOM_BUCKET_BITS = 5; +var nextNgElementId = 0; +var NOT_FOUND2 = {}; +function bloomAdd(injectorIndex, tView, type) { + ngDevMode && assertEqual(tView.firstCreatePass, true, "expected firstCreatePass to be true"); + let id; + if (typeof type === "string") { + id = type.charCodeAt(0) || 0; + } else if (type.hasOwnProperty(NG_ELEMENT_ID)) { + id = type[NG_ELEMENT_ID]; + } + if (id == null) { + id = type[NG_ELEMENT_ID] = nextNgElementId++; + } + const bloomHash = id & BLOOM_MASK; + const mask = 1 << bloomHash; + tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask; +} +function getOrCreateNodeInjectorForNode(tNode, lView) { + const existingInjectorIndex = getInjectorIndex(tNode, lView); + if (existingInjectorIndex !== -1) { + return existingInjectorIndex; + } + const tView = lView[TVIEW]; + if (tView.firstCreatePass) { + tNode.injectorIndex = lView.length; + insertBloom(tView.data, tNode); + insertBloom(lView, null); + insertBloom(tView.blueprint, null); + } + const parentLoc = getParentInjectorLocation(tNode, lView); + const injectorIndex = tNode.injectorIndex; + if (hasParentInjector(parentLoc)) { + const parentIndex = getParentInjectorIndex(parentLoc); + const parentLView = getParentInjectorView(parentLoc, lView); + const parentData = parentLView[TVIEW].data; + for (let i = 0; i < 8; i++) { + lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i]; + } + } + lView[ + injectorIndex + 8 + /* NodeInjectorOffset.PARENT */ + ] = parentLoc; + return injectorIndex; +} +function insertBloom(arr, footer) { + arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer); +} +function getInjectorIndex(tNode, lView) { + if (tNode.injectorIndex === -1 || // If the injector index is the same as its parent's injector index, then the index has been + // copied down from the parent node. No injector has been created yet on this node. + tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex || // After the first template pass, the injector index might exist but the parent values + // might not have been calculated yet for this instance + lView[ + tNode.injectorIndex + 8 + /* NodeInjectorOffset.PARENT */ + ] === null) { + return -1; + } else { + ngDevMode && assertIndexInRange(lView, tNode.injectorIndex); + return tNode.injectorIndex; + } +} +function getParentInjectorLocation(tNode, lView) { + if (tNode.parent && tNode.parent.injectorIndex !== -1) { + return tNode.parent.injectorIndex; + } + let declarationViewOffset = 0; + let parentTNode = null; + let lViewCursor = lView; + while (lViewCursor !== null) { + parentTNode = getTNodeFromLView(lViewCursor); + if (parentTNode === null) { + return NO_PARENT_INJECTOR; + } + ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]); + declarationViewOffset++; + lViewCursor = lViewCursor[DECLARATION_VIEW]; + if (parentTNode.injectorIndex !== -1) { + return parentTNode.injectorIndex | declarationViewOffset << 16; + } + } + return NO_PARENT_INJECTOR; +} +function diPublicInInjector(injectorIndex, tView, token) { + bloomAdd(injectorIndex, tView, token); +} +function injectAttributeImpl(tNode, attrNameToInject) { + ngDevMode && assertTNodeType( + tNode, + 12 | 3 + /* TNodeType.AnyRNode */ + ); + ngDevMode && assertDefined(tNode, "expecting tNode"); + if (attrNameToInject === "class") { + return tNode.classes; + } + if (attrNameToInject === "style") { + return tNode.styles; + } + const attrs = tNode.attrs; + if (attrs) { + const attrsLength = attrs.length; + let i = 0; + while (i < attrsLength) { + const value = attrs[i]; + if (isNameOnlyAttributeMarker(value)) break; + if (value === 0) { + i = i + 2; + } else if (typeof value === "number") { + i++; + while (i < attrsLength && typeof attrs[i] === "string") { + i++; + } + } else if (value === attrNameToInject) { + return attrs[i + 1]; + } else { + i = i + 2; + } + } + } + return null; +} +function notFoundValueOrThrow(notFoundValue, token, flags) { + if (flags & InjectFlags.Optional || notFoundValue !== void 0) { + return notFoundValue; + } else { + throwProviderNotFoundError(token, "NodeInjector"); + } +} +function lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) { + if (flags & InjectFlags.Optional && notFoundValue === void 0) { + notFoundValue = null; + } + if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) { + const moduleInjector = lView[INJECTOR]; + const previousInjectImplementation = setInjectImplementation(void 0); + try { + if (moduleInjector) { + return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional); + } else { + return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional); + } + } finally { + setInjectImplementation(previousInjectImplementation); + } + } + return notFoundValueOrThrow(notFoundValue, token, flags); +} +function getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) { + if (tNode !== null) { + if (lView[FLAGS] & 2048 && // The token must be present on the current node injector when the `Self` + // flag is set, so the lookup on embedded view injector(s) can be skipped. + !(flags & InjectFlags.Self)) { + const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND2); + if (embeddedInjectorValue !== NOT_FOUND2) { + return embeddedInjectorValue; + } + } + const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND2); + if (value !== NOT_FOUND2) { + return value; + } + } + return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue); +} +function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) { + const bloomHash = bloomHashBitOrFactory(token); + if (typeof bloomHash === "function") { + if (!enterDI(lView, tNode, flags)) { + return flags & InjectFlags.Host ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue); + } + try { + let value; + if (ngDevMode) { + runInInjectorProfilerContext(new NodeInjector(getCurrentTNode(), getLView()), token, () => { + value = bloomHash(flags); + if (value != null) { + emitInstanceCreatedByInjectorEvent(value); + } + }); + } else { + value = bloomHash(flags); + } + if (value == null && !(flags & InjectFlags.Optional)) { + throwProviderNotFoundError(token); + } else { + return value; + } + } finally { + leaveDI(); + } + } else if (typeof bloomHash === "number") { + let previousTView = null; + let injectorIndex = getInjectorIndex(tNode, lView); + let parentLocation = NO_PARENT_INJECTOR; + let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null; + if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) { + parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[ + injectorIndex + 8 + /* NodeInjectorOffset.PARENT */ + ]; + if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) { + injectorIndex = -1; + } else { + previousTView = lView[TVIEW]; + injectorIndex = getParentInjectorIndex(parentLocation); + lView = getParentInjectorView(parentLocation, lView); + } + } + while (injectorIndex !== -1) { + ngDevMode && assertNodeInjector(lView, injectorIndex); + const tView = lView[TVIEW]; + ngDevMode && assertTNodeForLView(tView.data[ + injectorIndex + 8 + /* NodeInjectorOffset.TNODE */ + ], lView); + if (bloomHasToken(bloomHash, injectorIndex, tView.data)) { + const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode); + if (instance !== NOT_FOUND2) { + return instance; + } + } + parentLocation = lView[ + injectorIndex + 8 + /* NodeInjectorOffset.PARENT */ + ]; + if (parentLocation !== NO_PARENT_INJECTOR && shouldSearchParent(flags, lView[TVIEW].data[ + injectorIndex + 8 + /* NodeInjectorOffset.TNODE */ + ] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) { + previousTView = tView; + injectorIndex = getParentInjectorIndex(parentLocation); + lView = getParentInjectorView(parentLocation, lView); + } else { + injectorIndex = -1; + } + } + } + return notFoundValue; +} +function searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) { + const currentTView = lView[TVIEW]; + const tNode = currentTView.data[ + injectorIndex + 8 + /* NodeInjectorOffset.TNODE */ + ]; + const canAccessViewProviders = previousTView == null ? ( + // 1) This is the first invocation `previousTView == null` which means that we are at the + // `TNode` of where injector is starting to look. In such a case the only time we are allowed + // to look into the ViewProviders is if: + // - we are on a component + // - AND the injector set `includeViewProviders` to true (implying that the token can see + // ViewProviders because it is the Component or a Service which itself was declared in + // ViewProviders) + isComponentHost(tNode) && includeViewProviders + ) : ( + // 2) `previousTView != null` which means that we are now walking across the parent nodes. + // In such a case we are only allowed to look into the ViewProviders if: + // - We just crossed from child View to Parent View `previousTView != currentTView` + // - AND the parent TNode is an Element. + // This means that we just came from the Component's View and therefore are allowed to see + // into the ViewProviders. + previousTView != currentTView && (tNode.type & 3) !== 0 + ); + const isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode; + const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase); + if (injectableIdx !== null) { + return getNodeInjectable(lView, currentTView, injectableIdx, tNode, flags); + } else { + return NOT_FOUND2; + } +} +function locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) { + const nodeProviderIndexes = tNode.providerIndexes; + const tInjectables = tView.data; + const injectablesStart = nodeProviderIndexes & 1048575; + const directivesStart = tNode.directiveStart; + const directiveEnd = tNode.directiveEnd; + const cptViewProvidersCount = nodeProviderIndexes >> 20; + const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount; + const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd; + for (let i = startingIndex; i < endIndex; i++) { + const providerTokenOrDef = tInjectables[i]; + if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart && providerTokenOrDef.type === token) { + return i; + } + } + if (isHostSpecialCase) { + const dirDef = tInjectables[directivesStart]; + if (dirDef && isComponentDef(dirDef) && dirDef.type === token) { + return directivesStart; + } + } + return null; +} +function getNodeInjectable(lView, tView, index, tNode, flags) { + let value = lView[index]; + const tData = tView.data; + if (value instanceof NodeInjectorFactory) { + const factory = value; + if (factory.resolving) { + throwCyclicDependencyError(stringifyForError(tData[index])); + } + const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders); + factory.resolving = true; + let prevInjectContext; + if (ngDevMode) { + const token = tData[index].type || tData[index]; + const injector = new NodeInjector(tNode, lView); + prevInjectContext = setInjectorProfilerContext({ + injector, + token + }); + } + const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null; + const success = enterDI(lView, tNode, InjectFlags.Default); + ngDevMode && assertEqual(success, true, "Because flags do not contain `SkipSelf' we expect this to always succeed."); + try { + value = lView[index] = factory.factory(void 0, flags, tData, lView, tNode); + ngDevMode && emitInstanceCreatedByInjectorEvent(value); + if (tView.firstCreatePass && index >= tNode.directiveStart) { + ngDevMode && assertDirectiveDef(tData[index]); + registerPreOrderHooks(index, tData[index], tView); + } + } finally { + ngDevMode && setInjectorProfilerContext(prevInjectContext); + previousInjectImplementation !== null && setInjectImplementation(previousInjectImplementation); + setIncludeViewProviders(previousIncludeViewProviders); + factory.resolving = false; + leaveDI(); + } + } + return value; +} +function bloomHashBitOrFactory(token) { + ngDevMode && assertDefined(token, "token must be defined"); + if (typeof token === "string") { + return token.charCodeAt(0) || 0; + } + const tokenId = ( + // First check with `hasOwnProperty` so we don't get an inherited ID. + token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : void 0 + ); + if (typeof tokenId === "number") { + if (tokenId >= 0) { + return tokenId & BLOOM_MASK; + } else { + ngDevMode && assertEqual(tokenId, -1, "Expecting to get Special Injector Id"); + return createNodeInjector; + } + } else { + return tokenId; + } +} +function bloomHasToken(bloomHash, injectorIndex, injectorView) { + const mask = 1 << bloomHash; + const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)]; + return !!(value & mask); +} +function shouldSearchParent(flags, isFirstHostTNode) { + return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode); +} +function getNodeInjectorLView(nodeInjector) { + return nodeInjector._lView; +} +function getNodeInjectorTNode(nodeInjector) { + return nodeInjector._tNode; +} +var NodeInjector = class { + _tNode; + _lView; + constructor(_tNode, _lView) { + this._tNode = _tNode; + this._lView = _lView; + } + get(token, notFoundValue, flags) { + return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notFoundValue); + } +}; +function createNodeInjector() { + return new NodeInjector(getCurrentTNode(), getLView()); +} +function \u0275\u0275getInheritedFactory(type) { + return noSideEffects(() => { + const ownConstructor = type.prototype.constructor; + const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor); + const objectPrototype = Object.prototype; + let parent = Object.getPrototypeOf(type.prototype).constructor; + while (parent && parent !== objectPrototype) { + const factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent); + if (factory && factory !== ownFactory) { + return factory; + } + parent = Object.getPrototypeOf(parent); + } + return (t) => new t(); + }); +} +function getFactoryOf(type) { + if (isForwardRef(type)) { + return () => { + const factory = getFactoryOf(resolveForwardRef(type)); + return factory && factory(); + }; + } + return getFactoryDef(type); +} +function lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) { + let currentTNode = tNode; + let currentLView = lView; + while (currentTNode !== null && currentLView !== null && currentLView[FLAGS] & 2048 && !isRootView(currentLView)) { + ngDevMode && assertTNodeForLView(currentTNode, currentLView); + const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND2); + if (nodeInjectorValue !== NOT_FOUND2) { + return nodeInjectorValue; + } + let parentTNode = currentTNode.parent; + if (!parentTNode) { + const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR]; + if (embeddedViewInjector) { + const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND2, flags); + if (embeddedViewInjectorValue !== NOT_FOUND2) { + return embeddedViewInjectorValue; + } + } + parentTNode = getTNodeFromLView(currentLView); + currentLView = currentLView[DECLARATION_VIEW]; + } + currentTNode = parentTNode; + } + return notFoundValue; +} +function getTNodeFromLView(lView) { + const tView = lView[TVIEW]; + const tViewType = tView.type; + if (tViewType === 2) { + ngDevMode && assertDefined(tView.declTNode, "Embedded TNodes should have declaration parents."); + return tView.declTNode; + } else if (tViewType === 1) { + return lView[T_HOST]; + } + return null; +} +function \u0275\u0275injectAttribute(attrNameToInject) { + return injectAttributeImpl(getCurrentTNode(), attrNameToInject); +} +var Attribute = makeParamDecorator("Attribute", (attributeName) => ({ + attributeName, + __NG_ELEMENT_ID__: () => \u0275\u0275injectAttribute(attributeName) +})); +var _reflect = null; +function getReflect() { + return _reflect = _reflect || new ReflectionCapabilities(); +} +function reflectDependencies(type) { + return convertDependencies(getReflect().parameters(type)); +} +function convertDependencies(deps) { + return deps.map((dep) => reflectDependency(dep)); +} +function reflectDependency(dep) { + const meta = { + token: null, + attribute: null, + host: false, + optional: false, + self: false, + skipSelf: false + }; + if (Array.isArray(dep) && dep.length > 0) { + for (let j = 0; j < dep.length; j++) { + const param = dep[j]; + if (param === void 0) { + continue; + } + const proto = Object.getPrototypeOf(param); + if (param instanceof Optional || proto.ngMetadataName === "Optional") { + meta.optional = true; + } else if (param instanceof SkipSelf || proto.ngMetadataName === "SkipSelf") { + meta.skipSelf = true; + } else if (param instanceof Self || proto.ngMetadataName === "Self") { + meta.self = true; + } else if (param instanceof Host || proto.ngMetadataName === "Host") { + meta.host = true; + } else if (param instanceof Inject) { + meta.token = param.token; + } else if (param instanceof Attribute) { + if (param.attributeName === void 0) { + throw new RuntimeError(204, ngDevMode && `Attribute name must be defined.`); + } + meta.attribute = param.attributeName; + } else { + meta.token = param; + } + } + } else if (dep === void 0 || Array.isArray(dep) && dep.length === 0) { + meta.token = null; + } else { + meta.token = dep; + } + return meta; +} +function compileInjectable(type, meta) { + let ngInjectableDef = null; + let ngFactoryDef = null; + if (!type.hasOwnProperty(NG_PROV_DEF)) { + Object.defineProperty(type, NG_PROV_DEF, { + get: () => { + if (ngInjectableDef === null) { + const compiler = getCompilerFacade({ + usage: 0, + kind: "injectable", + type + }); + ngInjectableDef = compiler.compileInjectable(angularCoreDiEnv, `ng:///${type.name}/\u0275prov.js`, getInjectableMetadata(type, meta)); + } + return ngInjectableDef; + } + }); + } + if (!type.hasOwnProperty(NG_FACTORY_DEF)) { + Object.defineProperty(type, NG_FACTORY_DEF, { + get: () => { + if (ngFactoryDef === null) { + const compiler = getCompilerFacade({ + usage: 0, + kind: "injectable", + type + }); + ngFactoryDef = compiler.compileFactory(angularCoreDiEnv, `ng:///${type.name}/\u0275fac.js`, { + name: type.name, + type, + typeArgumentCount: 0, + // In JIT mode types are not available nor used. + deps: reflectDependencies(type), + target: compiler.FactoryTarget.Injectable + }); + } + return ngFactoryDef; + }, + // Leave this configurable so that the factories from directives or pipes can take precedence. + configurable: true + }); + } +} +var USE_VALUE = getClosureSafeProperty({ + provide: String, + useValue: getClosureSafeProperty +}); +function isUseClassProvider(meta) { + return meta.useClass !== void 0; +} +function isUseValueProvider(meta) { + return USE_VALUE in meta; +} +function isUseFactoryProvider(meta) { + return meta.useFactory !== void 0; +} +function isUseExistingProvider(meta) { + return meta.useExisting !== void 0; +} +function getInjectableMetadata(type, srcMeta) { + const meta = srcMeta || { + providedIn: null + }; + const compilerMeta = { + name: type.name, + type, + typeArgumentCount: 0, + providedIn: meta.providedIn + }; + if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== void 0) { + compilerMeta.deps = convertDependencies(meta.deps); + } + if (isUseClassProvider(meta)) { + compilerMeta.useClass = meta.useClass; + } else if (isUseValueProvider(meta)) { + compilerMeta.useValue = meta.useValue; + } else if (isUseFactoryProvider(meta)) { + compilerMeta.useFactory = meta.useFactory; + } else if (isUseExistingProvider(meta)) { + compilerMeta.useExisting = meta.useExisting; + } + return compilerMeta; +} +var Injectable = makeDecorator("Injectable", void 0, void 0, void 0, (type, meta) => compileInjectable(type, meta)); +function createInjector(defType, parent = null, additionalProviders = null, name) { + const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name); + injector.resolveInjectorInitializers(); + return injector; +} +function createInjectorWithoutInjectorInstances(defType, parent = null, additionalProviders = null, name, scopes = /* @__PURE__ */ new Set()) { + const providers = [additionalProviders || EMPTY_ARRAY, importProvidersFrom(defType)]; + name = name || (typeof defType === "object" ? void 0 : stringify(defType)); + return new R3Injector(providers, parent || getNullInjector(), name || null, scopes); +} +var Injector = class _Injector { + static THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND; + static NULL = new NullInjector(); + static create(options, parent) { + if (Array.isArray(options)) { + return createInjector({ + name: "" + }, parent, options, ""); + } else { + const name = options.name ?? ""; + return createInjector({ + name + }, options.parent, options.providers, name); + } + } + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _Injector, + providedIn: "any", + factory: () => \u0275\u0275inject(INJECTOR$1) + }) + ); + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = -1; +}; +var HostAttributeToken = class { + attributeName; + constructor(attributeName) { + this.attributeName = attributeName; + } + /** @internal */ + __NG_ELEMENT_ID__ = () => \u0275\u0275injectAttribute(this.attributeName); + toString() { + return `HostAttributeToken ${this.attributeName}`; + } +}; +var HOST_TAG_NAME = new InjectionToken(ngDevMode ? "HOST_TAG_NAME" : ""); +HOST_TAG_NAME.__NG_ELEMENT_ID__ = (flags) => { + const tNode = getCurrentTNode(); + if (tNode === null) { + throw new RuntimeError(204, ngDevMode && "HOST_TAG_NAME can only be injected in directives and components during construction time (in a class constructor or as a class field initializer)"); + } + if (tNode.type & 2) { + return tNode.value; + } + if (flags & InjectFlags.Optional) { + return null; + } + throw new RuntimeError(204, ngDevMode && `HOST_TAG_NAME was used on ${getDevModeNodeName(tNode)} which doesn't have an underlying element in the DOM. This is invalid, and so the dependency should be marked as optional.`); +}; +function getDevModeNodeName(tNode) { + if (tNode.type & 8) { + return "an "; + } else if (tNode.type & 4) { + return "an "; + } else if (tNode.type & 128) { + return "an @let declaration"; + } else { + return "a node"; + } +} +var SCHEDULE_IN_ROOT_ZONE_DEFAULT = false; +var DestroyRef = class { + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = injectDestroyRef; + /** + * @internal + * @nocollapse + */ + static __NG_ENV_ID__ = (injector) => injector; +}; +var NodeInjectorDestroyRef = class extends DestroyRef { + _lView; + constructor(_lView) { + super(); + this._lView = _lView; + } + onDestroy(callback) { + const lView = this._lView; + if (isDestroyed(lView)) { + callback(); + return () => { + }; + } + storeLViewOnDestroy(lView, callback); + return () => removeLViewOnDestroy(lView, callback); + } +}; +function injectDestroyRef() { + return new NodeInjectorDestroyRef(getLView()); +} +var ChangeDetectionScheduler = class { +}; +var ZONELESS_ENABLED = new InjectionToken(typeof ngDevMode === "undefined" || ngDevMode ? "Zoneless enabled" : "", { + providedIn: "root", + factory: () => false +}); +var PROVIDED_ZONELESS = new InjectionToken(typeof ngDevMode === "undefined" || ngDevMode ? "Zoneless provided" : "", { + providedIn: "root", + factory: () => false +}); +var ZONELESS_SCHEDULER_DISABLED = new InjectionToken(typeof ngDevMode === "undefined" || ngDevMode ? "scheduler disabled" : ""); +var SCHEDULE_IN_ROOT_ZONE = new InjectionToken(typeof ngDevMode === "undefined" || ngDevMode ? "run changes outside zone in root" : ""); +var PendingTasksInternal = class _PendingTasksInternal { + taskId = 0; + pendingTasks = /* @__PURE__ */ new Set(); + get _hasPendingTasks() { + return this.hasPendingTasks.value; + } + hasPendingTasks = new BehaviorSubject(false); + add() { + if (!this._hasPendingTasks) { + this.hasPendingTasks.next(true); + } + const taskId = this.taskId++; + this.pendingTasks.add(taskId); + return taskId; + } + has(taskId) { + return this.pendingTasks.has(taskId); + } + remove(taskId) { + this.pendingTasks.delete(taskId); + if (this.pendingTasks.size === 0 && this._hasPendingTasks) { + this.hasPendingTasks.next(false); + } + } + ngOnDestroy() { + this.pendingTasks.clear(); + if (this._hasPendingTasks) { + this.hasPendingTasks.next(false); + } + } + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _PendingTasksInternal, + providedIn: "root", + factory: () => new _PendingTasksInternal() + }) + ); +}; +var PendingTasks = class _PendingTasks { + internalPendingTasks = inject(PendingTasksInternal); + scheduler = inject(ChangeDetectionScheduler); + /** + * Adds a new task that should block application's stability. + * @returns A cleanup function that removes a task when called. + */ + add() { + const taskId = this.internalPendingTasks.add(); + return () => { + if (!this.internalPendingTasks.has(taskId)) { + return; + } + this.scheduler.notify( + 11 + /* NotificationSource.PendingTaskRemoved */ + ); + this.internalPendingTasks.remove(taskId); + }; + } + /** + * Runs an asynchronous function and blocks the application's stability until the function completes. + * + * ```ts + * pendingTasks.run(async () => { + * const userData = await fetch('/api/user'); + * this.userData.set(userData); + * }); + * ``` + * + * Application stability is at least delayed until the next tick after the `run` method resolves + * so it is safe to make additional updates to application state that would require UI synchronization: + * + * ```ts + * const userData = await pendingTasks.run(() => fetch('/api/user')); + * this.userData.set(userData); + * ``` + * + * @param fn The asynchronous function to execute + */ + run(fn) { + return __async(this, null, function* () { + const removeTask = this.add(); + try { + return yield fn(); + } finally { + removeTask(); + } + }); + } + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _PendingTasks, + providedIn: "root", + factory: () => new _PendingTasks() + }) + ); +}; +var EventEmitter_ = class extends Subject { + // tslint:disable-next-line:require-internal-with-underscore + __isAsync; + destroyRef = void 0; + pendingTasks = void 0; + constructor(isAsync = false) { + super(); + this.__isAsync = isAsync; + if (isInInjectionContext()) { + this.destroyRef = inject(DestroyRef, { + optional: true + }) ?? void 0; + this.pendingTasks = inject(PendingTasksInternal, { + optional: true + }) ?? void 0; + } + } + emit(value) { + const prevConsumer = setActiveConsumer(null); + try { + super.next(value); + } finally { + setActiveConsumer(prevConsumer); + } + } + subscribe(observerOrNext, error, complete) { + let nextFn = observerOrNext; + let errorFn = error || (() => null); + let completeFn = complete; + if (observerOrNext && typeof observerOrNext === "object") { + const observer = observerOrNext; + nextFn = observer.next?.bind(observer); + errorFn = observer.error?.bind(observer); + completeFn = observer.complete?.bind(observer); + } + if (this.__isAsync) { + errorFn = this.wrapInTimeout(errorFn); + if (nextFn) { + nextFn = this.wrapInTimeout(nextFn); + } + if (completeFn) { + completeFn = this.wrapInTimeout(completeFn); + } + } + const sink = super.subscribe({ + next: nextFn, + error: errorFn, + complete: completeFn + }); + if (observerOrNext instanceof Subscription) { + observerOrNext.add(sink); + } + return sink; + } + wrapInTimeout(fn) { + return (value) => { + const taskId = this.pendingTasks?.add(); + setTimeout(() => { + try { + fn(value); + } finally { + if (taskId !== void 0) { + this.pendingTasks?.remove(taskId); + } + } + }); + }; + } +}; +var EventEmitter = EventEmitter_; +function noop2(...args) { +} +function scheduleCallbackWithRafRace(callback) { + let timeoutId; + let animationFrameId; + function cleanup() { + callback = noop2; + try { + if (animationFrameId !== void 0 && typeof cancelAnimationFrame === "function") { + cancelAnimationFrame(animationFrameId); + } + if (timeoutId !== void 0) { + clearTimeout(timeoutId); + } + } catch { + } + } + timeoutId = setTimeout(() => { + callback(); + cleanup(); + }); + if (typeof requestAnimationFrame === "function") { + animationFrameId = requestAnimationFrame(() => { + callback(); + cleanup(); + }); + } + return () => cleanup(); +} +function scheduleCallbackWithMicrotask(callback) { + queueMicrotask(() => callback()); + return () => { + callback = noop2; + }; +} +var AsyncStackTaggingZoneSpec = class { + createTask; + constructor(namePrefix, consoleAsyncStackTaggingImpl = console) { + this.name = "asyncStackTagging for " + namePrefix; + this.createTask = consoleAsyncStackTaggingImpl?.createTask ?? (() => null); + } + // ZoneSpec implementation below. + name; + onScheduleTask(delegate, _current, target, task) { + task.consoleTask = this.createTask(`Zone - ${task.source || task.type}`); + return delegate.scheduleTask(target, task); + } + onInvokeTask(delegate, _currentZone, targetZone, task, applyThis, applyArgs) { + let ret; + if (task.consoleTask) { + ret = task.consoleTask.run(() => delegate.invokeTask(targetZone, task, applyThis, applyArgs)); + } else { + ret = delegate.invokeTask(targetZone, task, applyThis, applyArgs); + } + return ret; + } +}; +var isAngularZoneProperty = "isAngularZone"; +var angularZoneInstanceIdProperty = isAngularZoneProperty + "_ID"; +var ngZoneInstanceId = 0; +var NgZone = class _NgZone { + hasPendingMacrotasks = false; + hasPendingMicrotasks = false; + /** + * Whether there are no outstanding microtasks or macrotasks. + */ + isStable = true; + /** + * Notifies when code enters Angular Zone. This gets fired first on VM Turn. + */ + onUnstable = new EventEmitter(false); + /** + * Notifies when there is no more microtasks enqueued in the current VM Turn. + * This is a hint for Angular to do change detection, which may enqueue more microtasks. + * For this reason this event can fire multiple times per VM Turn. + */ + onMicrotaskEmpty = new EventEmitter(false); + /** + * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which + * implies we are about to relinquish VM turn. + * This event gets called just once. + */ + onStable = new EventEmitter(false); + /** + * Notifies that an error has been delivered. + */ + onError = new EventEmitter(false); + constructor(options) { + const { + enableLongStackTrace = false, + shouldCoalesceEventChangeDetection = false, + shouldCoalesceRunChangeDetection = false, + scheduleInRootZone = SCHEDULE_IN_ROOT_ZONE_DEFAULT + } = options; + if (typeof Zone == "undefined") { + throw new RuntimeError(908, ngDevMode && `In this configuration Angular requires Zone.js`); + } + Zone.assertZonePatched(); + const self = this; + self._nesting = 0; + self._outer = self._inner = Zone.current; + if (ngDevMode) { + self._inner = self._inner.fork(new AsyncStackTaggingZoneSpec("Angular")); + } + if (Zone["TaskTrackingZoneSpec"]) { + self._inner = self._inner.fork(new Zone["TaskTrackingZoneSpec"]()); + } + if (enableLongStackTrace && Zone["longStackTraceZoneSpec"]) { + self._inner = self._inner.fork(Zone["longStackTraceZoneSpec"]); + } + self.shouldCoalesceEventChangeDetection = !shouldCoalesceRunChangeDetection && shouldCoalesceEventChangeDetection; + self.shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection; + self.callbackScheduled = false; + self.scheduleInRootZone = scheduleInRootZone; + forkInnerZoneWithAngularBehavior(self); + } + /** + This method checks whether the method call happens within an Angular Zone instance. + */ + static isInAngularZone() { + return typeof Zone !== "undefined" && Zone.current.get(isAngularZoneProperty) === true; + } + /** + Assures that the method is called within the Angular Zone, otherwise throws an error. + */ + static assertInAngularZone() { + if (!_NgZone.isInAngularZone()) { + throw new RuntimeError(909, ngDevMode && "Expected to be in Angular Zone, but it is not!"); + } + } + /** + Assures that the method is called outside of the Angular Zone, otherwise throws an error. + */ + static assertNotInAngularZone() { + if (_NgZone.isInAngularZone()) { + throw new RuntimeError(909, ngDevMode && "Expected to not be in Angular Zone, but it is!"); + } + } + /** + * Executes the `fn` function synchronously within the Angular zone and returns value returned by + * the function. + * + * Running functions via `run` allows you to reenter Angular zone from a task that was executed + * outside of the Angular zone (typically started via {@link #runOutsideAngular}). + * + * Any future tasks or microtasks scheduled from within this function will continue executing from + * within the Angular zone. + * + * If a synchronous error happens it will be rethrown and not reported via `onError`. + */ + run(fn, applyThis, applyArgs) { + return this._inner.run(fn, applyThis, applyArgs); + } + /** + * Executes the `fn` function synchronously within the Angular zone as a task and returns value + * returned by the function. + * + * Running functions via `runTask` allows you to reenter Angular zone from a task that was executed + * outside of the Angular zone (typically started via {@link #runOutsideAngular}). + * + * Any future tasks or microtasks scheduled from within this function will continue executing from + * within the Angular zone. + * + * If a synchronous error happens it will be rethrown and not reported via `onError`. + */ + runTask(fn, applyThis, applyArgs, name) { + const zone = this._inner; + const task = zone.scheduleEventTask("NgZoneEvent: " + name, fn, EMPTY_PAYLOAD, noop2, noop2); + try { + return zone.runTask(task, applyThis, applyArgs); + } finally { + zone.cancelTask(task); + } + } + /** + * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not + * rethrown. + */ + runGuarded(fn, applyThis, applyArgs) { + return this._inner.runGuarded(fn, applyThis, applyArgs); + } + /** + * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by + * the function. + * + * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do + * work that + * doesn't trigger Angular change-detection or is subject to Angular's error handling. + * + * Any future tasks or microtasks scheduled from within this function will continue executing from + * outside of the Angular zone. + * + * Use {@link #run} to reenter the Angular zone and do work that updates the application model. + */ + runOutsideAngular(fn) { + return this._outer.run(fn); + } +}; +var EMPTY_PAYLOAD = {}; +function checkStable(zone) { + if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) { + try { + zone._nesting++; + zone.onMicrotaskEmpty.emit(null); + } finally { + zone._nesting--; + if (!zone.hasPendingMicrotasks) { + try { + zone.runOutsideAngular(() => zone.onStable.emit(null)); + } finally { + zone.isStable = true; + } + } + } + } +} +function delayChangeDetectionForEvents(zone) { + if (zone.isCheckStableRunning || zone.callbackScheduled) { + return; + } + zone.callbackScheduled = true; + function scheduleCheckStable() { + scheduleCallbackWithRafRace(() => { + zone.callbackScheduled = false; + updateMicroTaskStatus(zone); + zone.isCheckStableRunning = true; + checkStable(zone); + zone.isCheckStableRunning = false; + }); + } + if (zone.scheduleInRootZone) { + Zone.root.run(() => { + scheduleCheckStable(); + }); + } else { + zone._outer.run(() => { + scheduleCheckStable(); + }); + } + updateMicroTaskStatus(zone); +} +function forkInnerZoneWithAngularBehavior(zone) { + const delayChangeDetectionForEventsDelegate = () => { + delayChangeDetectionForEvents(zone); + }; + const instanceId = ngZoneInstanceId++; + zone._inner = zone._inner.fork({ + name: "angular", + properties: { + [isAngularZoneProperty]: true, + [angularZoneInstanceIdProperty]: instanceId, + [angularZoneInstanceIdProperty + instanceId]: true + }, + onInvokeTask: (delegate, current, target, task, applyThis, applyArgs) => { + if (shouldBeIgnoredByZone(applyArgs)) { + return delegate.invokeTask(target, task, applyThis, applyArgs); + } + try { + onEnter(zone); + return delegate.invokeTask(target, task, applyThis, applyArgs); + } finally { + if (zone.shouldCoalesceEventChangeDetection && task.type === "eventTask" || zone.shouldCoalesceRunChangeDetection) { + delayChangeDetectionForEventsDelegate(); + } + onLeave(zone); + } + }, + onInvoke: (delegate, current, target, callback, applyThis, applyArgs, source) => { + try { + onEnter(zone); + return delegate.invoke(target, callback, applyThis, applyArgs, source); + } finally { + if (zone.shouldCoalesceRunChangeDetection && // Do not delay change detection when the task is the scheduler's tick. + // We need to synchronously trigger the stability logic so that the + // zone-based scheduler can prevent a duplicate ApplicationRef.tick + // by first checking if the scheduler tick is running. This does seem a bit roundabout, + // but we _do_ still want to trigger all the correct events when we exit the zone.run + // (`onMicrotaskEmpty` and `onStable` _should_ emit; developers can have code which + // relies on these events happening after change detection runs). + // Note: `zone.callbackScheduled` is already in delayChangeDetectionForEventsDelegate + // but is added here as well to prevent reads of applyArgs when not necessary + !zone.callbackScheduled && !isSchedulerTick(applyArgs)) { + delayChangeDetectionForEventsDelegate(); + } + onLeave(zone); + } + }, + onHasTask: (delegate, current, target, hasTaskState) => { + delegate.hasTask(target, hasTaskState); + if (current === target) { + if (hasTaskState.change == "microTask") { + zone._hasPendingMicrotasks = hasTaskState.microTask; + updateMicroTaskStatus(zone); + checkStable(zone); + } else if (hasTaskState.change == "macroTask") { + zone.hasPendingMacrotasks = hasTaskState.macroTask; + } + } + }, + onHandleError: (delegate, current, target, error) => { + delegate.handleError(target, error); + zone.runOutsideAngular(() => zone.onError.emit(error)); + return false; + } + }); +} +function updateMicroTaskStatus(zone) { + if (zone._hasPendingMicrotasks || (zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) && zone.callbackScheduled === true) { + zone.hasPendingMicrotasks = true; + } else { + zone.hasPendingMicrotasks = false; + } +} +function onEnter(zone) { + zone._nesting++; + if (zone.isStable) { + zone.isStable = false; + zone.onUnstable.emit(null); + } +} +function onLeave(zone) { + zone._nesting--; + checkStable(zone); +} +var NoopNgZone = class { + hasPendingMicrotasks = false; + hasPendingMacrotasks = false; + isStable = true; + onUnstable = new EventEmitter(); + onMicrotaskEmpty = new EventEmitter(); + onStable = new EventEmitter(); + onError = new EventEmitter(); + run(fn, applyThis, applyArgs) { + return fn.apply(applyThis, applyArgs); + } + runGuarded(fn, applyThis, applyArgs) { + return fn.apply(applyThis, applyArgs); + } + runOutsideAngular(fn) { + return fn(); + } + runTask(fn, applyThis, applyArgs, name) { + return fn.apply(applyThis, applyArgs); + } +}; +function shouldBeIgnoredByZone(applyArgs) { + return hasApplyArgsData(applyArgs, "__ignore_ng_zone__"); +} +function isSchedulerTick(applyArgs) { + return hasApplyArgsData(applyArgs, "__scheduler_tick__"); +} +function hasApplyArgsData(applyArgs, key) { + if (!Array.isArray(applyArgs)) { + return false; + } + if (applyArgs.length !== 1) { + return false; + } + return applyArgs[0]?.data?.[key] === true; +} +function getNgZone(ngZoneToUse = "zone.js", options) { + if (ngZoneToUse === "noop") { + return new NoopNgZone(); + } + if (ngZoneToUse === "zone.js") { + return new NgZone(options); + } + return ngZoneToUse; +} +var ErrorHandler = class { + /** + * @internal + */ + _console = console; + handleError(error) { + this._console.error("ERROR", error); + } +}; +var INTERNAL_APPLICATION_ERROR_HANDLER = new InjectionToken(typeof ngDevMode === "undefined" || ngDevMode ? "internal error handler" : "", { + providedIn: "root", + factory: () => { + const zone = inject(NgZone); + const userErrorHandler = inject(ErrorHandler); + return (e) => zone.runOutsideAngular(() => userErrorHandler.handleError(e)); + } +}); +var OutputEmitterRef = class { + destroyed = false; + listeners = null; + errorHandler = inject(ErrorHandler, { + optional: true + }); + /** @internal */ + destroyRef = inject(DestroyRef); + constructor() { + this.destroyRef.onDestroy(() => { + this.destroyed = true; + this.listeners = null; + }); + } + subscribe(callback) { + if (this.destroyed) { + throw new RuntimeError(953, ngDevMode && "Unexpected subscription to destroyed `OutputRef`. The owning directive/component is destroyed."); + } + (this.listeners ??= []).push(callback); + return { + unsubscribe: () => { + const idx = this.listeners?.indexOf(callback); + if (idx !== void 0 && idx !== -1) { + this.listeners?.splice(idx, 1); + } + } + }; + } + /** Emits a new value to the output. */ + emit(value) { + if (this.destroyed) { + console.warn(formatRuntimeError(953, ngDevMode && "Unexpected emit for destroyed `OutputRef`. The owning directive/component is destroyed.")); + return; + } + if (this.listeners === null) { + return; + } + const previousConsumer = setActiveConsumer(null); + try { + for (const listenerFn of this.listeners) { + try { + listenerFn(value); + } catch (err) { + this.errorHandler?.handleError(err); + } + } + } finally { + setActiveConsumer(previousConsumer); + } + } +}; +function inputFunction(initialValue, opts) { + ngDevMode && assertInInjectionContext(input); + return createInputSignal(initialValue, opts); +} +function inputRequiredFunction(opts) { + ngDevMode && assertInInjectionContext(input); + return createInputSignal(REQUIRED_UNSET_VALUE, opts); +} +var input = (() => { + inputFunction.required = inputRequiredFunction; + return inputFunction; +})(); +function injectElementRef() { + return createElementRef(getCurrentTNode(), getLView()); +} +function createElementRef(tNode, lView) { + return new ElementRef(getNativeByTNode(tNode, lView)); +} +var ElementRef = class { + /** + *
+ *
Use with caution
+ *

+ * Use this API as the last resort when direct access to DOM is needed. Use templating and + * data-binding provided by Angular instead. If used, it is recommended in combination with + * {@link /best-practices/security#direct-use-of-the-dom-apis-and-explicit-sanitization-calls DomSanitizer} + * for maxiumum security; + *

+ *
+ */ + nativeElement; + constructor(nativeElement) { + this.nativeElement = nativeElement; + } + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = injectElementRef; +}; +function unwrapElementRef(value) { + return value instanceof ElementRef ? value.nativeElement : value; +} +function isSignal(value) { + return typeof value === "function" && value[SIGNAL] !== void 0; +} +function signal(initialValue, options) { + const signalFn = createSignal(initialValue, options?.equal); + const node = signalFn[SIGNAL]; + signalFn.set = (newValue) => signalSetFn(node, newValue); + signalFn.update = (updateFn) => signalUpdateFn(node, updateFn); + signalFn.asReadonly = signalAsReadonlyFn.bind(signalFn); + if (ngDevMode) { + signalFn.toString = () => `[Signal: ${signalFn()}]`; + node.debugName = options?.debugName; + } + return signalFn; +} +function signalAsReadonlyFn() { + const node = this[SIGNAL]; + if (node.readonlyFn === void 0) { + const readonlyFn = () => this(); + readonlyFn[SIGNAL] = node; + node.readonlyFn = readonlyFn; + } + return node.readonlyFn; +} +function isWritableSignal(value) { + return isSignal(value) && typeof value.set === "function"; +} +function symbolIterator() { + return this._results[Symbol.iterator](); +} +var QueryList = class { + _emitDistinctChangesOnly; + dirty = true; + _onDirty = void 0; + _results = []; + _changesDetected = false; + _changes = void 0; + length = 0; + first = void 0; + last = void 0; + /** + * Returns `Observable` of `QueryList` notifying the subscriber of changes. + */ + get changes() { + return this._changes ??= new Subject(); + } + /** + * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change + * has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in + * the same result) + */ + constructor(_emitDistinctChangesOnly = false) { + this._emitDistinctChangesOnly = _emitDistinctChangesOnly; + } + /** + * Returns the QueryList entry at `index`. + */ + get(index) { + return this._results[index]; + } + /** + * See + * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) + */ + map(fn) { + return this._results.map(fn); + } + filter(fn) { + return this._results.filter(fn); + } + /** + * See + * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) + */ + find(fn) { + return this._results.find(fn); + } + /** + * See + * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) + */ + reduce(fn, init) { + return this._results.reduce(fn, init); + } + /** + * See + * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) + */ + forEach(fn) { + this._results.forEach(fn); + } + /** + * See + * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) + */ + some(fn) { + return this._results.some(fn); + } + /** + * Returns a copy of the internal results list as an Array. + */ + toArray() { + return this._results.slice(); + } + toString() { + return this._results.toString(); + } + /** + * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that + * on change detection, it will not notify of changes to the queries, unless a new change + * occurs. + * + * @param resultsTree The query results to store + * @param identityAccessor Optional function for extracting stable object identity from a value + * in the array. This function is executed for each element of the query result list while + * comparing current query list with the new one (provided as a first argument of the `reset` + * function) to detect if the lists are different. If the function is not provided, elements + * are compared as is (without any pre-processing). + */ + reset(resultsTree, identityAccessor) { + this.dirty = false; + const newResultFlat = flatten(resultsTree); + if (this._changesDetected = !arrayEquals(this._results, newResultFlat, identityAccessor)) { + this._results = newResultFlat; + this.length = newResultFlat.length; + this.last = newResultFlat[this.length - 1]; + this.first = newResultFlat[0]; + } + } + /** + * Triggers a change event by emitting on the `changes` {@link EventEmitter}. + */ + notifyOnChanges() { + if (this._changes !== void 0 && (this._changesDetected || !this._emitDistinctChangesOnly)) this._changes.next(this); + } + /** @internal */ + onDirty(cb) { + this._onDirty = cb; + } + /** internal */ + setDirty() { + this.dirty = true; + this._onDirty?.(); + } + /** internal */ + destroy() { + if (this._changes !== void 0) { + this._changes.complete(); + this._changes.unsubscribe(); + } + } + [Symbol.iterator] = /* @__PURE__ */ (() => symbolIterator)(); +}; +function hasInSkipHydrationBlockFlag(tNode) { + return (tNode.flags & 128) === 128; +} +var ChangeDetectionStrategy; +(function(ChangeDetectionStrategy2) { + ChangeDetectionStrategy2[ChangeDetectionStrategy2["OnPush"] = 0] = "OnPush"; + ChangeDetectionStrategy2[ChangeDetectionStrategy2["Default"] = 1] = "Default"; +})(ChangeDetectionStrategy || (ChangeDetectionStrategy = {})); +var TRACKED_LVIEWS = /* @__PURE__ */ new Map(); +var uniqueIdCounter = 0; +function getUniqueLViewId() { + return uniqueIdCounter++; +} +function registerLView(lView) { + ngDevMode && assertNumber(lView[ID], "LView must have an ID in order to be registered"); + TRACKED_LVIEWS.set(lView[ID], lView); +} +function getLViewById(id) { + ngDevMode && assertNumber(id, "ID used for LView lookup must be a number"); + return TRACKED_LVIEWS.get(id) || null; +} +function unregisterLView(lView) { + ngDevMode && assertNumber(lView[ID], "Cannot stop tracking an LView that does not have an ID"); + TRACKED_LVIEWS.delete(lView[ID]); +} +function getTrackedLViews() { + return TRACKED_LVIEWS; +} +var LContext = class { + lViewId; + nodeIndex; + native; + /** + * The instance of the Component node. + */ + component; + /** + * The list of active directives that exist on this element. + */ + directives; + /** + * The map of local references (local reference name => element or directive instance) that + * exist on this element. + */ + localRefs; + /** Component's parent view data. */ + get lView() { + return getLViewById(this.lViewId); + } + constructor(lViewId, nodeIndex, native) { + this.lViewId = lViewId; + this.nodeIndex = nodeIndex; + this.native = native; + } +}; +function getLContext(target) { + let mpValue = readPatchedData(target); + if (mpValue) { + if (isLView(mpValue)) { + const lView = mpValue; + let nodeIndex; + let component = void 0; + let directives = void 0; + if (isComponentInstance(target)) { + nodeIndex = findViaComponent(lView, target); + if (nodeIndex == -1) { + throw new Error("The provided component was not found in the application"); + } + component = target; + } else if (isDirectiveInstance(target)) { + nodeIndex = findViaDirective(lView, target); + if (nodeIndex == -1) { + throw new Error("The provided directive was not found in the application"); + } + directives = getDirectivesAtNodeIndex(nodeIndex, lView); + } else { + nodeIndex = findViaNativeElement(lView, target); + if (nodeIndex == -1) { + return null; + } + } + const native = unwrapRNode(lView[nodeIndex]); + const existingCtx = readPatchedData(native); + const context2 = existingCtx && !Array.isArray(existingCtx) ? existingCtx : createLContext(lView, nodeIndex, native); + if (component && context2.component === void 0) { + context2.component = component; + attachPatchData(context2.component, context2); + } + if (directives && context2.directives === void 0) { + context2.directives = directives; + for (let i = 0; i < directives.length; i++) { + attachPatchData(directives[i], context2); + } + } + attachPatchData(context2.native, context2); + mpValue = context2; + } + } else { + const rElement = target; + ngDevMode && assertDomNode(rElement); + let parent = rElement; + while (parent = parent.parentNode) { + const parentContext = readPatchedData(parent); + if (parentContext) { + const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView; + if (!lView) { + return null; + } + const index = findViaNativeElement(lView, rElement); + if (index >= 0) { + const native = unwrapRNode(lView[index]); + const context2 = createLContext(lView, index, native); + attachPatchData(native, context2); + mpValue = context2; + break; + } + } + } + } + return mpValue || null; +} +function createLContext(lView, nodeIndex, native) { + return new LContext(lView[ID], nodeIndex, native); +} +function getComponentViewByInstance(componentInstance) { + let patchedData = readPatchedData(componentInstance); + let lView; + if (isLView(patchedData)) { + const contextLView = patchedData; + const nodeIndex = findViaComponent(contextLView, componentInstance); + lView = getComponentLViewByIndex(nodeIndex, contextLView); + const context2 = createLContext(contextLView, nodeIndex, lView[HOST]); + context2.component = componentInstance; + attachPatchData(componentInstance, context2); + attachPatchData(context2.native, context2); + } else { + const context2 = patchedData; + const contextLView = context2.lView; + ngDevMode && assertLView(contextLView); + lView = getComponentLViewByIndex(context2.nodeIndex, contextLView); + } + return lView; +} +var MONKEY_PATCH_KEY_NAME = "__ngContext__"; +function attachPatchData(target, data) { + ngDevMode && assertDefined(target, "Target expected"); + if (isLView(data)) { + target[MONKEY_PATCH_KEY_NAME] = data[ID]; + registerLView(data); + } else { + target[MONKEY_PATCH_KEY_NAME] = data; + } +} +function readPatchedData(target) { + ngDevMode && assertDefined(target, "Target expected"); + const data = target[MONKEY_PATCH_KEY_NAME]; + return typeof data === "number" ? getLViewById(data) : data || null; +} +function readPatchedLView(target) { + const value = readPatchedData(target); + if (value) { + return isLView(value) ? value : value.lView; + } + return null; +} +function isComponentInstance(instance) { + return instance && instance.constructor && instance.constructor.\u0275cmp; +} +function isDirectiveInstance(instance) { + return instance && instance.constructor && instance.constructor.\u0275dir; +} +function findViaNativeElement(lView, target) { + const tView = lView[TVIEW]; + for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) { + if (unwrapRNode(lView[i]) === target) { + return i; + } + } + return -1; +} +function traverseNextElement(tNode) { + if (tNode.child) { + return tNode.child; + } else if (tNode.next) { + return tNode.next; + } else { + while (tNode.parent && !tNode.parent.next) { + tNode = tNode.parent; + } + return tNode.parent && tNode.parent.next; + } +} +function findViaComponent(lView, componentInstance) { + const componentIndices = lView[TVIEW].components; + if (componentIndices) { + for (let i = 0; i < componentIndices.length; i++) { + const elementComponentIndex = componentIndices[i]; + const componentView = getComponentLViewByIndex(elementComponentIndex, lView); + if (componentView[CONTEXT] === componentInstance) { + return elementComponentIndex; + } + } + } else { + const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView); + const rootComponent = rootComponentView[CONTEXT]; + if (rootComponent === componentInstance) { + return HEADER_OFFSET; + } + } + return -1; +} +function findViaDirective(lView, directiveInstance) { + let tNode = lView[TVIEW].firstChild; + while (tNode) { + const directiveIndexStart = tNode.directiveStart; + const directiveIndexEnd = tNode.directiveEnd; + for (let i = directiveIndexStart; i < directiveIndexEnd; i++) { + if (lView[i] === directiveInstance) { + return tNode.index; + } + } + tNode = traverseNextElement(tNode); + } + return -1; +} +function getDirectivesAtNodeIndex(nodeIndex, lView) { + const tNode = lView[TVIEW].data[nodeIndex]; + if (tNode.directiveStart === 0) return EMPTY_ARRAY; + const results = []; + for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) { + const directiveInstance = lView[i]; + if (!isComponentInstance(directiveInstance)) { + results.push(directiveInstance); + } + } + return results; +} +function getComponentAtNodeIndex(nodeIndex, lView) { + const tNode = lView[TVIEW].data[nodeIndex]; + return isComponentHost(tNode) ? lView[tNode.directiveStart + tNode.componentOffset] : null; +} +function getRootView(componentOrLView) { + ngDevMode && assertDefined(componentOrLView, "component"); + let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView); + while (lView && !isRootView(lView)) { + lView = getLViewParent(lView); + } + ngDevMode && assertLView(lView); + return lView; +} +function getRootContext(viewOrComponent) { + const rootView = getRootView(viewOrComponent); + ngDevMode && assertDefined(rootView[CONTEXT], "Root view has no context. Perhaps it is disconnected?"); + return rootView[CONTEXT]; +} +function getFirstLContainer(lView) { + return getNearestLContainer(lView[CHILD_HEAD]); +} +function getNextLContainer(container) { + return getNearestLContainer(container[NEXT]); +} +function getNearestLContainer(viewOrContainer) { + while (viewOrContainer !== null && !isLContainer(viewOrContainer)) { + viewOrContainer = viewOrContainer[NEXT]; + } + return viewOrContainer; +} +function getComponent(element) { + ngDevMode && assertDomElement(element); + const context2 = getLContext(element); + if (context2 === null) return null; + if (context2.component === void 0) { + const lView = context2.lView; + if (lView === null) { + return null; + } + context2.component = getComponentAtNodeIndex(context2.nodeIndex, lView); + } + return context2.component; +} +function getContext(element) { + assertDomElement(element); + const context2 = getLContext(element); + const lView = context2 ? context2.lView : null; + return lView === null ? null : lView[CONTEXT]; +} +function getOwningComponent(elementOrDir) { + const context2 = getLContext(elementOrDir); + let lView = context2 ? context2.lView : null; + if (lView === null) return null; + let parent; + while (lView[TVIEW].type === 2 && (parent = getLViewParent(lView))) { + lView = parent; + } + return isRootView(lView) ? null : lView[CONTEXT]; +} +function getRootComponents(elementOrDir) { + const lView = readPatchedLView(elementOrDir); + return lView !== null ? [getRootContext(lView)] : []; +} +function getInjector(elementOrDir) { + const context2 = getLContext(elementOrDir); + const lView = context2 ? context2.lView : null; + if (lView === null) return Injector.NULL; + const tNode = lView[TVIEW].data[context2.nodeIndex]; + return new NodeInjector(tNode, lView); +} +function getDirectives(node) { + if (node instanceof Text) { + return []; + } + const context2 = getLContext(node); + const lView = context2 ? context2.lView : null; + if (lView === null) { + return []; + } + const tView = lView[TVIEW]; + const nodeIndex = context2.nodeIndex; + if (!tView?.data[nodeIndex]) { + return []; + } + if (context2.directives === void 0) { + context2.directives = getDirectivesAtNodeIndex(nodeIndex, lView); + } + return context2.directives === null ? [] : [...context2.directives]; +} +function getDirectiveMetadata$1(directiveOrComponentInstance) { + const { + constructor + } = directiveOrComponentInstance; + if (!constructor) { + throw new Error("Unable to find the instance constructor"); + } + const componentDef = getComponentDef(constructor); + if (componentDef) { + const inputs = extractInputDebugMetadata(componentDef.inputs); + return { + inputs, + outputs: componentDef.outputs, + encapsulation: componentDef.encapsulation, + changeDetection: componentDef.onPush ? ChangeDetectionStrategy.OnPush : ChangeDetectionStrategy.Default + }; + } + const directiveDef = getDirectiveDef(constructor); + if (directiveDef) { + const inputs = extractInputDebugMetadata(directiveDef.inputs); + return { + inputs, + outputs: directiveDef.outputs + }; + } + return null; +} +function getHostElement(componentOrDirective) { + return getLContext(componentOrDirective).native; +} +function getListeners(element) { + ngDevMode && assertDomElement(element); + const lContext = getLContext(element); + const lView = lContext === null ? null : lContext.lView; + if (lView === null) return []; + const tView = lView[TVIEW]; + const lCleanup = lView[CLEANUP]; + const tCleanup = tView.cleanup; + const listeners = []; + if (tCleanup && lCleanup) { + for (let i = 0; i < tCleanup.length; ) { + const firstParam = tCleanup[i++]; + const secondParam = tCleanup[i++]; + if (typeof firstParam === "string") { + const name = firstParam; + const listenerElement = unwrapRNode(lView[secondParam]); + const callback = lCleanup[tCleanup[i++]]; + const useCaptureOrIndx = tCleanup[i++]; + const type = typeof useCaptureOrIndx === "boolean" || useCaptureOrIndx >= 0 ? "dom" : "output"; + const useCapture = typeof useCaptureOrIndx === "boolean" ? useCaptureOrIndx : false; + if (element == listenerElement) { + listeners.push({ + element, + name, + callback, + useCapture, + type + }); + } + } + } + } + listeners.sort(sortListeners); + return listeners; +} +function sortListeners(a, b) { + if (a.name == b.name) return 0; + return a.name < b.name ? -1 : 1; +} +function assertDomElement(value) { + if (typeof Element !== "undefined" && !(value instanceof Element)) { + throw new Error("Expecting instance of DOM Element"); + } +} +function extractInputDebugMetadata(inputs) { + const res = {}; + for (const key in inputs) { + if (inputs.hasOwnProperty(key)) { + const value = inputs[key]; + if (value !== void 0) { + res[key] = value[0]; + } + } + } + return res; +} +var DOCUMENT = void 0; +function setDocument(document2) { + DOCUMENT = document2; +} +function getDocument() { + if (DOCUMENT !== void 0) { + return DOCUMENT; + } else if (typeof document !== "undefined") { + return document; + } + throw new RuntimeError(210, (typeof ngDevMode === "undefined" || ngDevMode) && `The document object is not available in this context. Make sure the DOCUMENT injection token is provided.`); +} +var APP_ID = new InjectionToken(ngDevMode ? "AppId" : "", { + providedIn: "root", + factory: () => DEFAULT_APP_ID +}); +var DEFAULT_APP_ID = "ng"; +var PLATFORM_INITIALIZER = new InjectionToken(ngDevMode ? "Platform Initializer" : ""); +var PLATFORM_ID = new InjectionToken(ngDevMode ? "Platform ID" : "", { + providedIn: "platform", + factory: () => "unknown" + // set a default platform name, when none set explicitly +}); +var PACKAGE_ROOT_URL = new InjectionToken(ngDevMode ? "Application Packages Root URL" : ""); +var ANIMATION_MODULE_TYPE = new InjectionToken(ngDevMode ? "AnimationModuleType" : ""); +var CSP_NONCE = new InjectionToken(ngDevMode ? "CSP nonce" : "", { + providedIn: "root", + factory: () => { + return getDocument().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce") || null; + } +}); +var IMAGE_CONFIG_DEFAULTS = { + breakpoints: [16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048, 3840], + placeholderResolution: 30, + disableImageSizeWarning: false, + disableImageLazyLoadWarning: false +}; +var IMAGE_CONFIG = new InjectionToken(ngDevMode ? "ImageConfig" : "", { + providedIn: "root", + factory: () => IMAGE_CONFIG_DEFAULTS +}); +function makeStateKey(key) { + return key; +} +function initTransferState() { + const transferState = new TransferState(); + if (true) { + transferState.store = retrieveTransferredState(getDocument(), inject(APP_ID)); + } + return transferState; +} +var TransferState = class _TransferState { + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _TransferState, + providedIn: "root", + factory: initTransferState + }) + ); + /** @internal */ + store = {}; + onSerializeCallbacks = {}; + /** + * Get the value corresponding to a key. Return `defaultValue` if key is not found. + */ + get(key, defaultValue) { + return this.store[key] !== void 0 ? this.store[key] : defaultValue; + } + /** + * Set the value corresponding to a key. + */ + set(key, value) { + this.store[key] = value; + } + /** + * Remove a key from the store. + */ + remove(key) { + delete this.store[key]; + } + /** + * Test whether a key exists in the store. + */ + hasKey(key) { + return this.store.hasOwnProperty(key); + } + /** + * Indicates whether the state is empty. + */ + get isEmpty() { + return Object.keys(this.store).length === 0; + } + /** + * Register a callback to provide the value for a key when `toJson` is called. + */ + onSerialize(key, callback) { + this.onSerializeCallbacks[key] = callback; + } + /** + * Serialize the current state of the store to JSON. + */ + toJson() { + for (const key in this.onSerializeCallbacks) { + if (this.onSerializeCallbacks.hasOwnProperty(key)) { + try { + this.store[key] = this.onSerializeCallbacks[key](); + } catch (e) { + console.warn("Exception in onSerialize callback: ", e); + } + } + } + return JSON.stringify(this.store).replace(/ PRESERVE_HOST_CONTENT_DEFAULT +}); +var IS_I18N_HYDRATION_ENABLED = new InjectionToken(typeof ngDevMode === "undefined" || !!ngDevMode ? "IS_I18N_HYDRATION_ENABLED" : ""); +var IS_EVENT_REPLAY_ENABLED = new InjectionToken(typeof ngDevMode === "undefined" || !!ngDevMode ? "IS_EVENT_REPLAY_ENABLED" : ""); +var IS_INCREMENTAL_HYDRATION_ENABLED = new InjectionToken(typeof ngDevMode === "undefined" || !!ngDevMode ? "IS_INCREMENTAL_HYDRATION_ENABLED" : ""); +var JSACTION_BLOCK_ELEMENT_MAP = new InjectionToken(ngDevMode ? "JSACTION_BLOCK_ELEMENT_MAP" : "", { + providedIn: "root", + factory: () => /* @__PURE__ */ new Map() +}); +var TracingAction; +(function(TracingAction2) { + TracingAction2[TracingAction2["CHANGE_DETECTION"] = 0] = "CHANGE_DETECTION"; + TracingAction2[TracingAction2["AFTER_NEXT_RENDER"] = 1] = "AFTER_NEXT_RENDER"; +})(TracingAction || (TracingAction = {})); +var TracingService = new InjectionToken(ngDevMode ? "TracingService" : ""); +var markedFeatures = /* @__PURE__ */ new Set(); +function performanceMarkFeature(feature) { + if (markedFeatures.has(feature)) { + return; + } + markedFeatures.add(feature); + performance?.mark?.("mark_feature_usage", { + detail: { + feature + } + }); +} +function assertNotInReactiveContext(debugFn, extraContext) { + if (getActiveConsumer() !== null) { + throw new RuntimeError(-602, ngDevMode && `${debugFn.name}() cannot be called from within a reactive context.${extraContext ? ` ${extraContext}` : ""}`); + } +} +var ViewContext = class { + view; + node; + constructor(view, node) { + this.view = view; + this.node = node; + } + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = injectViewContext; +}; +function injectViewContext() { + return new ViewContext(getLView(), getCurrentTNode()); +} +var AfterRenderPhase; +(function(AfterRenderPhase2) { + AfterRenderPhase2[AfterRenderPhase2["EarlyRead"] = 0] = "EarlyRead"; + AfterRenderPhase2[AfterRenderPhase2["Write"] = 1] = "Write"; + AfterRenderPhase2[AfterRenderPhase2["MixedReadWrite"] = 2] = "MixedReadWrite"; + AfterRenderPhase2[AfterRenderPhase2["Read"] = 3] = "Read"; +})(AfterRenderPhase || (AfterRenderPhase = {})); +var AfterRenderManager = class _AfterRenderManager { + impl = null; + execute() { + this.impl?.execute(); + } + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _AfterRenderManager, + providedIn: "root", + factory: () => new _AfterRenderManager() + }) + ); +}; +var AFTER_RENDER_PHASES = /* @__PURE__ */ (() => [AfterRenderPhase.EarlyRead, AfterRenderPhase.Write, AfterRenderPhase.MixedReadWrite, AfterRenderPhase.Read])(); +var AfterRenderImpl = class _AfterRenderImpl { + ngZone = inject(NgZone); + scheduler = inject(ChangeDetectionScheduler); + errorHandler = inject(ErrorHandler, { + optional: true + }); + /** Current set of active sequences. */ + sequences = /* @__PURE__ */ new Set(); + /** Tracks registrations made during the current set of executions. */ + deferredRegistrations = /* @__PURE__ */ new Set(); + /** Whether the `AfterRenderManager` is currently executing hooks. */ + executing = false; + constructor() { + inject(TracingService, { + optional: true + }); + } + /** + * Run the sequence of phases of hooks, once through. As a result of executing some hooks, more + * might be scheduled. + */ + execute() { + const hasSequencesToExecute = this.sequences.size > 0; + if (hasSequencesToExecute) { + profiler( + 16 + /* ProfilerEvent.AfterRenderHooksStart */ + ); + } + this.executing = true; + for (const phase of AFTER_RENDER_PHASES) { + for (const sequence of this.sequences) { + if (sequence.erroredOrDestroyed || !sequence.hooks[phase]) { + continue; + } + try { + sequence.pipelinedValue = this.ngZone.runOutsideAngular(() => this.maybeTrace(() => { + const hookFn = sequence.hooks[phase]; + const value = hookFn(sequence.pipelinedValue); + return value; + }, sequence.snapshot)); + } catch (err) { + sequence.erroredOrDestroyed = true; + this.errorHandler?.handleError(err); + } + } + } + this.executing = false; + for (const sequence of this.sequences) { + sequence.afterRun(); + if (sequence.once) { + this.sequences.delete(sequence); + sequence.destroy(); + } + } + for (const sequence of this.deferredRegistrations) { + this.sequences.add(sequence); + } + if (this.deferredRegistrations.size > 0) { + this.scheduler.notify( + 7 + /* NotificationSource.RenderHook */ + ); + } + this.deferredRegistrations.clear(); + if (hasSequencesToExecute) { + profiler( + 17 + /* ProfilerEvent.AfterRenderHooksEnd */ + ); + } + } + register(sequence) { + const { + view + } = sequence; + if (view !== void 0) { + (view[AFTER_RENDER_SEQUENCES_TO_ADD] ??= []).push(sequence); + markAncestorsForTraversal(view); + view[FLAGS] |= 8192; + } else if (!this.executing) { + this.addSequence(sequence); + } else { + this.deferredRegistrations.add(sequence); + } + } + addSequence(sequence) { + this.sequences.add(sequence); + this.scheduler.notify( + 7 + /* NotificationSource.RenderHook */ + ); + } + unregister(sequence) { + if (this.executing && this.sequences.has(sequence)) { + sequence.erroredOrDestroyed = true; + sequence.pipelinedValue = void 0; + sequence.once = true; + } else { + this.sequences.delete(sequence); + this.deferredRegistrations.delete(sequence); + } + } + maybeTrace(fn, snapshot) { + return snapshot ? snapshot.run(TracingAction.AFTER_NEXT_RENDER, fn) : fn(); + } + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _AfterRenderImpl, + providedIn: "root", + factory: () => new _AfterRenderImpl() + }) + ); +}; +var AfterRenderSequence = class { + impl; + hooks; + view; + once; + snapshot; + /** + * Whether this sequence errored or was destroyed during this execution, and hooks should no + * longer run for it. + */ + erroredOrDestroyed = false; + /** + * The value returned by the last hook execution (if any), ready to be pipelined into the next + * one. + */ + pipelinedValue = void 0; + unregisterOnDestroy; + constructor(impl, hooks, view, once, destroyRef, snapshot = null) { + this.impl = impl; + this.hooks = hooks; + this.view = view; + this.once = once; + this.snapshot = snapshot; + this.unregisterOnDestroy = destroyRef?.onDestroy(() => this.destroy()); + } + afterRun() { + this.erroredOrDestroyed = false; + this.pipelinedValue = void 0; + this.snapshot?.dispose(); + this.snapshot = null; + } + destroy() { + this.impl.unregister(this); + this.unregisterOnDestroy?.(); + const scheduled2 = this.view?.[AFTER_RENDER_SEQUENCES_TO_ADD]; + if (scheduled2) { + this.view[AFTER_RENDER_SEQUENCES_TO_ADD] = scheduled2.filter((s) => s !== this); + } + } +}; +function afterRender(callbackOrSpec, options) { + ngDevMode && assertNotInReactiveContext(afterRender, "Call `afterRender` outside of a reactive context. For example, schedule the render callback inside the component constructor`."); + !options?.injector && assertInInjectionContext(afterRender); + const injector = options?.injector ?? inject(Injector); + if (false) { + return NOOP_AFTER_RENDER_REF; + } + performanceMarkFeature("NgAfterRender"); + return afterRenderImpl( + callbackOrSpec, + injector, + options, + /* once */ + false + ); +} +function afterNextRender(callbackOrSpec, options) { + !options?.injector && assertInInjectionContext(afterNextRender); + const injector = options?.injector ?? inject(Injector); + if (false) { + return NOOP_AFTER_RENDER_REF; + } + performanceMarkFeature("NgAfterNextRender"); + return afterRenderImpl( + callbackOrSpec, + injector, + options, + /* once */ + true + ); +} +function getHooks(callbackOrSpec, phase) { + if (callbackOrSpec instanceof Function) { + const hooks = [void 0, void 0, void 0, void 0]; + hooks[phase] = callbackOrSpec; + return hooks; + } else { + return [callbackOrSpec.earlyRead, callbackOrSpec.write, callbackOrSpec.mixedReadWrite, callbackOrSpec.read]; + } +} +function afterRenderImpl(callbackOrSpec, injector, options, once) { + const manager = injector.get(AfterRenderManager); + manager.impl ??= injector.get(AfterRenderImpl); + const tracing = injector.get(TracingService, null, { + optional: true + }); + const hooks = options?.phase ?? AfterRenderPhase.MixedReadWrite; + const destroyRef = options?.manualCleanup !== true ? injector.get(DestroyRef) : null; + const viewContext = injector.get(ViewContext, null, { + optional: true + }); + const sequence = new AfterRenderSequence(manager.impl, getHooks(callbackOrSpec, hooks), viewContext?.view, once, destroyRef, tracing?.snapshot(null)); + manager.impl.register(sequence); + return sequence; +} +var DeferDependenciesLoadingState; +(function(DeferDependenciesLoadingState2) { + DeferDependenciesLoadingState2[DeferDependenciesLoadingState2["NOT_STARTED"] = 0] = "NOT_STARTED"; + DeferDependenciesLoadingState2[DeferDependenciesLoadingState2["IN_PROGRESS"] = 1] = "IN_PROGRESS"; + DeferDependenciesLoadingState2[DeferDependenciesLoadingState2["COMPLETE"] = 2] = "COMPLETE"; + DeferDependenciesLoadingState2[DeferDependenciesLoadingState2["FAILED"] = 3] = "FAILED"; +})(DeferDependenciesLoadingState || (DeferDependenciesLoadingState = {})); +var MINIMUM_SLOT = 0; +var LOADING_AFTER_SLOT = 1; +var DeferBlockState; +(function(DeferBlockState2) { + DeferBlockState2[DeferBlockState2["Placeholder"] = 0] = "Placeholder"; + DeferBlockState2[DeferBlockState2["Loading"] = 1] = "Loading"; + DeferBlockState2[DeferBlockState2["Complete"] = 2] = "Complete"; + DeferBlockState2[DeferBlockState2["Error"] = 3] = "Error"; +})(DeferBlockState || (DeferBlockState = {})); +var DeferBlockInternalState; +(function(DeferBlockInternalState2) { + DeferBlockInternalState2[DeferBlockInternalState2["Initial"] = -1] = "Initial"; +})(DeferBlockInternalState || (DeferBlockInternalState = {})); +var NEXT_DEFER_BLOCK_STATE = 0; +var DEFER_BLOCK_STATE = 1; +var STATE_IS_FROZEN_UNTIL = 2; +var LOADING_AFTER_CLEANUP_FN = 3; +var TRIGGER_CLEANUP_FNS = 4; +var PREFETCH_TRIGGER_CLEANUP_FNS = 5; +var SSR_UNIQUE_ID = 6; +var SSR_BLOCK_STATE = 7; +var ON_COMPLETE_FNS = 8; +var HYDRATE_TRIGGER_CLEANUP_FNS = 9; +var DeferBlockBehavior; +(function(DeferBlockBehavior2) { + DeferBlockBehavior2[DeferBlockBehavior2["Manual"] = 0] = "Manual"; + DeferBlockBehavior2[DeferBlockBehavior2["Playthrough"] = 1] = "Playthrough"; +})(DeferBlockBehavior || (DeferBlockBehavior = {})); +function storeTriggerCleanupFn(type, lDetails, cleanupFn) { + const key = getCleanupFnKeyByType(type); + if (lDetails[key] === null) { + lDetails[key] = []; + } + lDetails[key].push(cleanupFn); +} +function invokeTriggerCleanupFns(type, lDetails) { + const key = getCleanupFnKeyByType(type); + const cleanupFns = lDetails[key]; + if (cleanupFns !== null) { + for (const cleanupFn of cleanupFns) { + cleanupFn(); + } + lDetails[key] = null; + } +} +function invokeAllTriggerCleanupFns(lDetails) { + invokeTriggerCleanupFns(1, lDetails); + invokeTriggerCleanupFns(0, lDetails); + invokeTriggerCleanupFns(2, lDetails); +} +function getCleanupFnKeyByType(type) { + let key = TRIGGER_CLEANUP_FNS; + if (type === 1) { + key = PREFETCH_TRIGGER_CLEANUP_FNS; + } else if (type === 2) { + key = HYDRATE_TRIGGER_CLEANUP_FNS; + } + return key; +} +function getDeferBlockDataIndex(deferBlockIndex) { + return deferBlockIndex + 1; +} +function getLDeferBlockDetails(lView, tNode) { + const tView = lView[TVIEW]; + const slotIndex = getDeferBlockDataIndex(tNode.index); + ngDevMode && assertIndexInDeclRange(tView, slotIndex); + return lView[slotIndex]; +} +function setLDeferBlockDetails(lView, deferBlockIndex, lDetails) { + const tView = lView[TVIEW]; + const slotIndex = getDeferBlockDataIndex(deferBlockIndex); + ngDevMode && assertIndexInDeclRange(tView, slotIndex); + lView[slotIndex] = lDetails; +} +function getTDeferBlockDetails(tView, tNode) { + const slotIndex = getDeferBlockDataIndex(tNode.index); + ngDevMode && assertIndexInDeclRange(tView, slotIndex); + return tView.data[slotIndex]; +} +function setTDeferBlockDetails(tView, deferBlockIndex, deferBlockConfig) { + const slotIndex = getDeferBlockDataIndex(deferBlockIndex); + ngDevMode && assertIndexInDeclRange(tView, slotIndex); + tView.data[slotIndex] = deferBlockConfig; +} +function getTemplateIndexForState(newState, hostLView, tNode) { + const tView = hostLView[TVIEW]; + const tDetails = getTDeferBlockDetails(tView, tNode); + switch (newState) { + case DeferBlockState.Complete: + return tDetails.primaryTmplIndex; + case DeferBlockState.Loading: + return tDetails.loadingTmplIndex; + case DeferBlockState.Error: + return tDetails.errorTmplIndex; + case DeferBlockState.Placeholder: + return tDetails.placeholderTmplIndex; + default: + ngDevMode && throwError2(`Unexpected defer block state: ${newState}`); + return null; + } +} +function getMinimumDurationForState(tDetails, currentState) { + if (currentState === DeferBlockState.Placeholder) { + return tDetails.placeholderBlockConfig?.[MINIMUM_SLOT] ?? null; + } else if (currentState === DeferBlockState.Loading) { + return tDetails.loadingBlockConfig?.[MINIMUM_SLOT] ?? null; + } + return null; +} +function getLoadingBlockAfter(tDetails) { + return tDetails.loadingBlockConfig?.[LOADING_AFTER_SLOT] ?? null; +} +function addDepsToRegistry(currentDeps, newDeps) { + if (!currentDeps || currentDeps.length === 0) { + return newDeps; + } + const currentDepSet = new Set(currentDeps); + for (const dep of newDeps) { + currentDepSet.add(dep); + } + return currentDeps.length === currentDepSet.size ? currentDeps : Array.from(currentDepSet); +} +function getPrimaryBlockTNode(tView, tDetails) { + const adjustedIndex = tDetails.primaryTmplIndex + HEADER_OFFSET; + return getTNode(tView, adjustedIndex); +} +function assertDeferredDependenciesLoaded(tDetails) { + assertEqual(tDetails.loadingState, DeferDependenciesLoadingState.COMPLETE, "Expecting all deferred dependencies to be loaded."); +} +function isTDeferBlockDetails(value) { + return value !== null && typeof value === "object" && typeof value.primaryTmplIndex === "number"; +} +function trackTriggerForDebugging(tView, tNode, textRepresentation) { + const tDetails = getTDeferBlockDetails(tView, tNode); + tDetails.debug ??= {}; + tDetails.debug.triggers ??= /* @__PURE__ */ new Set(); + tDetails.debug.triggers.add(textRepresentation); +} +var eventListenerOptions = { + passive: true, + capture: true +}; +var hoverTriggers = /* @__PURE__ */ new WeakMap(); +var interactionTriggers = /* @__PURE__ */ new WeakMap(); +var viewportTriggers = /* @__PURE__ */ new WeakMap(); +var interactionEventNames = ["click", "keydown"]; +var hoverEventNames = ["mouseenter", "mouseover", "focusin"]; +var intersectionObserver = null; +var observedViewportElements = 0; +var DeferEventEntry = class { + callbacks = /* @__PURE__ */ new Set(); + listener = () => { + for (const callback of this.callbacks) { + callback(); + } + }; +}; +function onInteraction(trigger, callback) { + let entry = interactionTriggers.get(trigger); + if (!entry) { + entry = new DeferEventEntry(); + interactionTriggers.set(trigger, entry); + for (const name of interactionEventNames) { + trigger.addEventListener(name, entry.listener, eventListenerOptions); + } + } + entry.callbacks.add(callback); + return () => { + const { + callbacks, + listener + } = entry; + callbacks.delete(callback); + if (callbacks.size === 0) { + interactionTriggers.delete(trigger); + for (const name of interactionEventNames) { + trigger.removeEventListener(name, listener, eventListenerOptions); + } + } + }; +} +function onHover(trigger, callback) { + let entry = hoverTriggers.get(trigger); + if (!entry) { + entry = new DeferEventEntry(); + hoverTriggers.set(trigger, entry); + for (const name of hoverEventNames) { + trigger.addEventListener(name, entry.listener, eventListenerOptions); + } + } + entry.callbacks.add(callback); + return () => { + const { + callbacks, + listener + } = entry; + callbacks.delete(callback); + if (callbacks.size === 0) { + for (const name of hoverEventNames) { + trigger.removeEventListener(name, listener, eventListenerOptions); + } + hoverTriggers.delete(trigger); + } + }; +} +function onViewport(trigger, callback, injector) { + const ngZone = injector.get(NgZone); + let entry = viewportTriggers.get(trigger); + intersectionObserver = intersectionObserver || ngZone.runOutsideAngular(() => { + return new IntersectionObserver((entries) => { + for (const current of entries) { + if (current.isIntersecting && viewportTriggers.has(current.target)) { + ngZone.run(viewportTriggers.get(current.target).listener); + } + } + }); + }); + if (!entry) { + entry = new DeferEventEntry(); + ngZone.runOutsideAngular(() => intersectionObserver.observe(trigger)); + viewportTriggers.set(trigger, entry); + observedViewportElements++; + } + entry.callbacks.add(callback); + return () => { + if (!viewportTriggers.has(trigger)) { + return; + } + entry.callbacks.delete(callback); + if (entry.callbacks.size === 0) { + intersectionObserver?.unobserve(trigger); + viewportTriggers.delete(trigger); + observedViewportElements--; + } + if (observedViewportElements === 0) { + intersectionObserver?.disconnect(); + intersectionObserver = null; + } + }; +} +function getTriggerLView(deferredHostLView, deferredTNode, walkUpTimes) { + if (walkUpTimes == null) { + return deferredHostLView; + } + if (walkUpTimes >= 0) { + return walkUpViews(walkUpTimes, deferredHostLView); + } + const deferredContainer = deferredHostLView[deferredTNode.index]; + ngDevMode && assertLContainer(deferredContainer); + const triggerLView = deferredContainer[CONTAINER_HEADER_OFFSET] ?? null; + if (ngDevMode && triggerLView !== null) { + const lDetails = getLDeferBlockDetails(deferredHostLView, deferredTNode); + const renderedState = lDetails[DEFER_BLOCK_STATE]; + assertEqual(renderedState, DeferBlockState.Placeholder, "Expected a placeholder to be rendered in this defer block."); + assertLView(triggerLView); + } + return triggerLView; +} +function getTriggerElement(triggerLView, triggerIndex) { + const element = getNativeByIndex(HEADER_OFFSET + triggerIndex, triggerLView); + ngDevMode && assertElement(element); + return element; +} +function registerDomTrigger(initialLView, tNode, triggerIndex, walkUpTimes, registerFn, callback, type) { + const injector = initialLView[INJECTOR]; + const zone = injector.get(NgZone); + let poll; + function pollDomTrigger() { + if (isDestroyed(initialLView)) { + poll.destroy(); + return; + } + const lDetails = getLDeferBlockDetails(initialLView, tNode); + const renderedState = lDetails[DEFER_BLOCK_STATE]; + if (renderedState !== DeferBlockInternalState.Initial && renderedState !== DeferBlockState.Placeholder) { + poll.destroy(); + return; + } + const triggerLView = getTriggerLView(initialLView, tNode, walkUpTimes); + if (!triggerLView) { + return; + } + poll.destroy(); + if (isDestroyed(triggerLView)) { + return; + } + const element = getTriggerElement(triggerLView, triggerIndex); + const cleanup = registerFn(element, () => { + zone.run(() => { + if (initialLView !== triggerLView) { + removeLViewOnDestroy(triggerLView, cleanup); + } + callback(); + }); + }, injector); + if (initialLView !== triggerLView) { + storeLViewOnDestroy(triggerLView, cleanup); + } + storeTriggerCleanupFn(type, lDetails, cleanup); + } + poll = afterRender({ + read: pollDomTrigger + }, { + injector + }); +} +var JSACTION_EVENT_CONTRACT = new InjectionToken(ngDevMode ? "EVENT_CONTRACT_DETAILS" : "", { + providedIn: "root", + factory: () => ({}) +}); +var DEHYDRATED_BLOCK_REGISTRY = new InjectionToken(ngDevMode ? "DEHYDRATED_BLOCK_REGISTRY" : ""); +var TRANSFER_STATE_TOKEN_ID = "__nghData__"; +var NGH_DATA_KEY = makeStateKey(TRANSFER_STATE_TOKEN_ID); +var TRANSFER_STATE_DEFER_BLOCKS_INFO = "__nghDeferData__"; +var NGH_DEFER_BLOCKS_KEY = makeStateKey(TRANSFER_STATE_DEFER_BLOCKS_INFO); +var _retrieveHydrationInfoImpl = () => null; +function retrieveHydrationInfo(rNode, injector, isRootView2 = false) { + return _retrieveHydrationInfoImpl(rNode, injector, isRootView2); +} +function getLNodeForHydration(viewRef) { + let lView = viewRef._lView; + const tView = lView[TVIEW]; + if (tView.type === 2) { + return null; + } + if (isRootView(lView)) { + lView = lView[HEADER_OFFSET]; + } + return lView; +} +var HydrationStatus; +(function(HydrationStatus2) { + HydrationStatus2["Hydrated"] = "hydrated"; + HydrationStatus2["Skipped"] = "skipped"; + HydrationStatus2["Mismatched"] = "mismatched"; +})(HydrationStatus || (HydrationStatus = {})); +var HYDRATION_INFO_KEY = "__ngDebugHydrationInfo__"; +function patchHydrationInfo(node, info) { + node[HYDRATION_INFO_KEY] = info; +} +function markRNodeAsHavingHydrationMismatch(node, expectedNodeDetails = null, actualNodeDetails = null) { + if (!ngDevMode) { + throw new Error("Calling `markRNodeAsMismatchedByHydration` in prod mode is not supported and likely a mistake."); + } + while (node && !getComponent(node)) { + node = node?.parentNode; + } + if (node) { + patchHydrationInfo(node, { + status: HydrationStatus.Mismatched, + expectedNodeDetails, + actualNodeDetails + }); + } +} +function isIncrementalHydrationEnabled(injector) { + return injector.get(IS_INCREMENTAL_HYDRATION_ENABLED, false, { + optional: true + }); +} +function assertIncrementalHydrationIsConfigured(injector) { + if (!isIncrementalHydrationEnabled(injector)) { + throw new RuntimeError(508, "Angular has detected that some `@defer` blocks use `hydrate` triggers, but incremental hydration was not enabled. Please ensure that the `withIncrementalHydration()` call is added as an argument for the `provideClientHydration()` function call in your application config."); + } +} +function assertSsrIdDefined(ssrUniqueId) { + assertDefined(ssrUniqueId, "Internal error: expecting an SSR id for a defer block that should be hydrated, but the id is not present"); +} +function getParentBlockHydrationQueue(deferBlockId, injector) { + const dehydratedBlockRegistry = injector.get(DEHYDRATED_BLOCK_REGISTRY); + const transferState = injector.get(TransferState); + const deferBlockParents = transferState.get(NGH_DEFER_BLOCKS_KEY, {}); + let isTopMostDeferBlock = false; + let currentBlockId = deferBlockId; + let parentBlockPromise = null; + const hydrationQueue = []; + while (!isTopMostDeferBlock && currentBlockId) { + ngDevMode && assertEqual(hydrationQueue.indexOf(currentBlockId), -1, "Internal error: defer block hierarchy has a cycle."); + isTopMostDeferBlock = dehydratedBlockRegistry.has(currentBlockId); + const hydratingParentBlock = dehydratedBlockRegistry.hydrating.get(currentBlockId); + if (parentBlockPromise === null && hydratingParentBlock != null) { + parentBlockPromise = hydratingParentBlock.promise; + break; + } + hydrationQueue.unshift(currentBlockId); + currentBlockId = deferBlockParents[currentBlockId][DEFER_PARENT_BLOCK_ID]; + } + return { + parentBlockPromise, + hydrationQueue + }; +} +function refreshContentQueries(tView, lView) { + const contentQueries = tView.contentQueries; + if (contentQueries !== null) { + const prevConsumer = setActiveConsumer(null); + try { + for (let i = 0; i < contentQueries.length; i += 2) { + const queryStartIdx = contentQueries[i]; + const directiveDefIdx = contentQueries[i + 1]; + if (directiveDefIdx !== -1) { + const directiveDef = tView.data[directiveDefIdx]; + ngDevMode && assertDefined(directiveDef, "DirectiveDef not found."); + ngDevMode && assertDefined(directiveDef.contentQueries, "contentQueries function should be defined"); + setCurrentQueryIndex(queryStartIdx); + directiveDef.contentQueries(2, lView[directiveDefIdx], directiveDefIdx); + } + } + } finally { + setActiveConsumer(prevConsumer); + } + } +} +function executeViewQueryFn(flags, viewQueryFn, component) { + ngDevMode && assertDefined(viewQueryFn, "View queries function to execute must be defined."); + setCurrentQueryIndex(0); + const prevConsumer = setActiveConsumer(null); + try { + viewQueryFn(flags, component); + } finally { + setActiveConsumer(prevConsumer); + } +} +function executeContentQueries(tView, tNode, lView) { + if (isContentQueryHost(tNode)) { + const prevConsumer = setActiveConsumer(null); + try { + const start = tNode.directiveStart; + const end = tNode.directiveEnd; + for (let directiveIndex = start; directiveIndex < end; directiveIndex++) { + const def = tView.data[directiveIndex]; + if (def.contentQueries) { + const directiveInstance = lView[directiveIndex]; + ngDevMode && assertDefined(directiveIndex, "Incorrect reference to a directive defining a content query"); + def.contentQueries(1, directiveInstance, directiveIndex); + } + } + } finally { + setActiveConsumer(prevConsumer); + } + } +} +var ViewEncapsulation; +(function(ViewEncapsulation2) { + ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated"; + ViewEncapsulation2[ViewEncapsulation2["None"] = 2] = "None"; + ViewEncapsulation2[ViewEncapsulation2["ShadowDom"] = 3] = "ShadowDom"; +})(ViewEncapsulation || (ViewEncapsulation = {})); +var policy$1; +function getPolicy$1() { + if (policy$1 === void 0) { + policy$1 = null; + if (_global.trustedTypes) { + try { + policy$1 = _global.trustedTypes.createPolicy("angular", { + createHTML: (s) => s, + createScript: (s) => s, + createScriptURL: (s) => s + }); + } catch { + } + } + } + return policy$1; +} +function trustedHTMLFromString(html) { + return getPolicy$1()?.createHTML(html) || html; +} +function trustedScriptURLFromString(url) { + return getPolicy$1()?.createScriptURL(url) || url; +} +var policy; +function getPolicy() { + if (policy === void 0) { + policy = null; + if (_global.trustedTypes) { + try { + policy = _global.trustedTypes.createPolicy("angular#unsafe-bypass", { + createHTML: (s) => s, + createScript: (s) => s, + createScriptURL: (s) => s + }); + } catch { + } + } + } + return policy; +} +function trustedHTMLFromStringBypass(html) { + return getPolicy()?.createHTML(html) || html; +} +function trustedScriptFromStringBypass(script) { + return getPolicy()?.createScript(script) || script; +} +function trustedScriptURLFromStringBypass(url) { + return getPolicy()?.createScriptURL(url) || url; +} +var SafeValueImpl = class { + changingThisBreaksApplicationSecurity; + constructor(changingThisBreaksApplicationSecurity) { + this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity; + } + toString() { + return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${XSS_SECURITY_URL})`; + } +}; +var SafeHtmlImpl = class extends SafeValueImpl { + getTypeName() { + return "HTML"; + } +}; +var SafeStyleImpl = class extends SafeValueImpl { + getTypeName() { + return "Style"; + } +}; +var SafeScriptImpl = class extends SafeValueImpl { + getTypeName() { + return "Script"; + } +}; +var SafeUrlImpl = class extends SafeValueImpl { + getTypeName() { + return "URL"; + } +}; +var SafeResourceUrlImpl = class extends SafeValueImpl { + getTypeName() { + return "ResourceURL"; + } +}; +function unwrapSafeValue(value) { + return value instanceof SafeValueImpl ? value.changingThisBreaksApplicationSecurity : value; +} +function allowSanitizationBypassAndThrow(value, type) { + const actualType = getSanitizationBypassType(value); + if (actualType != null && actualType !== type) { + if (actualType === "ResourceURL" && type === "URL") return true; + throw new Error(`Required a safe ${type}, got a ${actualType} (see ${XSS_SECURITY_URL})`); + } + return actualType === type; +} +function getSanitizationBypassType(value) { + return value instanceof SafeValueImpl && value.getTypeName() || null; +} +function bypassSanitizationTrustHtml(trustedHtml) { + return new SafeHtmlImpl(trustedHtml); +} +function bypassSanitizationTrustStyle(trustedStyle) { + return new SafeStyleImpl(trustedStyle); +} +function bypassSanitizationTrustScript(trustedScript) { + return new SafeScriptImpl(trustedScript); +} +function bypassSanitizationTrustUrl(trustedUrl) { + return new SafeUrlImpl(trustedUrl); +} +function bypassSanitizationTrustResourceUrl(trustedResourceUrl) { + return new SafeResourceUrlImpl(trustedResourceUrl); +} +function getInertBodyHelper(defaultDoc) { + const inertDocumentHelper = new InertDocumentHelper(defaultDoc); + return isDOMParserAvailable() ? new DOMParserHelper(inertDocumentHelper) : inertDocumentHelper; +} +var DOMParserHelper = class { + inertDocumentHelper; + constructor(inertDocumentHelper) { + this.inertDocumentHelper = inertDocumentHelper; + } + getInertBodyElement(html) { + html = "" + html; + try { + const body = new window.DOMParser().parseFromString(trustedHTMLFromString(html), "text/html").body; + if (body === null) { + return this.inertDocumentHelper.getInertBodyElement(html); + } + body.firstChild?.remove(); + return body; + } catch { + return null; + } + } +}; +var InertDocumentHelper = class { + defaultDoc; + inertDocument; + constructor(defaultDoc) { + this.defaultDoc = defaultDoc; + this.inertDocument = this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"); + } + getInertBodyElement(html) { + const templateEl = this.inertDocument.createElement("template"); + templateEl.innerHTML = trustedHTMLFromString(html); + return templateEl; + } +}; +function isDOMParserAvailable() { + try { + return !!new window.DOMParser().parseFromString(trustedHTMLFromString(""), "text/html"); + } catch { + return false; + } +} +var SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i; +function _sanitizeUrl(url) { + url = String(url); + if (url.match(SAFE_URL_PATTERN)) return url; + if (typeof ngDevMode === "undefined" || ngDevMode) { + console.warn(`WARNING: sanitizing unsafe URL value ${url} (see ${XSS_SECURITY_URL})`); + } + return "unsafe:" + url; +} +function tagSet(tags) { + const res = {}; + for (const t of tags.split(",")) res[t] = true; + return res; +} +function merge2(...sets) { + const res = {}; + for (const s of sets) { + for (const v in s) { + if (s.hasOwnProperty(v)) res[v] = true; + } + } + return res; +} +var VOID_ELEMENTS = tagSet("area,br,col,hr,img,wbr"); +var OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"); +var OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet("rp,rt"); +var OPTIONAL_END_TAG_ELEMENTS = merge2(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS); +var BLOCK_ELEMENTS = merge2(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")); +var INLINE_ELEMENTS = merge2(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")); +var VALID_ELEMENTS = merge2(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS); +var URI_ATTRS = tagSet("background,cite,href,itemtype,longdesc,poster,src,xlink:href"); +var HTML_ATTRS = tagSet("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"); +var ARIA_ATTRS = tagSet("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"); +var VALID_ATTRS = merge2(URI_ATTRS, HTML_ATTRS, ARIA_ATTRS); +var SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet("script,style,template"); +var SanitizingHtmlSerializer = class { + // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just + // because characters were re-encoded. + sanitizedSomething = false; + buf = []; + sanitizeChildren(el) { + let current = el.firstChild; + let traverseContent = true; + let parentNodes = []; + while (current) { + if (current.nodeType === Node.ELEMENT_NODE) { + traverseContent = this.startElement(current); + } else if (current.nodeType === Node.TEXT_NODE) { + this.chars(current.nodeValue); + } else { + this.sanitizedSomething = true; + } + if (traverseContent && current.firstChild) { + parentNodes.push(current); + current = getFirstChild(current); + continue; + } + while (current) { + if (current.nodeType === Node.ELEMENT_NODE) { + this.endElement(current); + } + let next = getNextSibling(current); + if (next) { + current = next; + break; + } + current = parentNodes.pop(); + } + } + return this.buf.join(""); + } + /** + * Sanitizes an opening element tag (if valid) and returns whether the element's contents should + * be traversed. Element content must always be traversed (even if the element itself is not + * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`. + * + * @param element The element to sanitize. + * @return True if the element's contents should be traversed. + */ + startElement(element) { + const tagName = getNodeName(element).toLowerCase(); + if (!VALID_ELEMENTS.hasOwnProperty(tagName)) { + this.sanitizedSomething = true; + return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName); + } + this.buf.push("<"); + this.buf.push(tagName); + const elAttrs = element.attributes; + for (let i = 0; i < elAttrs.length; i++) { + const elAttr = elAttrs.item(i); + const attrName = elAttr.name; + const lower = attrName.toLowerCase(); + if (!VALID_ATTRS.hasOwnProperty(lower)) { + this.sanitizedSomething = true; + continue; + } + let value = elAttr.value; + if (URI_ATTRS[lower]) value = _sanitizeUrl(value); + this.buf.push(" ", attrName, '="', encodeEntities(value), '"'); + } + this.buf.push(">"); + return true; + } + endElement(current) { + const tagName = getNodeName(current).toLowerCase(); + if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) { + this.buf.push(""); + } + } + chars(chars) { + this.buf.push(encodeEntities(chars)); + } +}; +function isClobberedElement(parentNode, childNode) { + return (parentNode.compareDocumentPosition(childNode) & Node.DOCUMENT_POSITION_CONTAINED_BY) !== Node.DOCUMENT_POSITION_CONTAINED_BY; +} +function getNextSibling(node) { + const nextSibling = node.nextSibling; + if (nextSibling && node !== nextSibling.previousSibling) { + throw clobberedElementError(nextSibling); + } + return nextSibling; +} +function getFirstChild(node) { + const firstChild = node.firstChild; + if (firstChild && isClobberedElement(node, firstChild)) { + throw clobberedElementError(firstChild); + } + return firstChild; +} +function getNodeName(node) { + const nodeName = node.nodeName; + return typeof nodeName === "string" ? nodeName : "FORM"; +} +function clobberedElementError(node) { + return new Error(`Failed to sanitize html because the element is clobbered: ${node.outerHTML}`); +} +var SURROGATE_PAIR_REGEXP = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; +var NON_ALPHANUMERIC_REGEXP = /([^\#-~ |!])/g; +function encodeEntities(value) { + return value.replace(/&/g, "&").replace(SURROGATE_PAIR_REGEXP, function(match) { + const hi = match.charCodeAt(0); + const low = match.charCodeAt(1); + return "&#" + ((hi - 55296) * 1024 + (low - 56320) + 65536) + ";"; + }).replace(NON_ALPHANUMERIC_REGEXP, function(match) { + return "&#" + match.charCodeAt(0) + ";"; + }).replace(//g, ">"); +} +var inertBodyHelper; +function _sanitizeHtml(defaultDoc, unsafeHtmlInput) { + let inertBodyElement = null; + try { + inertBodyHelper = inertBodyHelper || getInertBodyHelper(defaultDoc); + let unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : ""; + inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml); + let mXSSAttempts = 5; + let parsedHtml = unsafeHtml; + do { + if (mXSSAttempts === 0) { + throw new Error("Failed to sanitize html because the input is unstable"); + } + mXSSAttempts--; + unsafeHtml = parsedHtml; + parsedHtml = inertBodyElement.innerHTML; + inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml); + } while (unsafeHtml !== parsedHtml); + const sanitizer = new SanitizingHtmlSerializer(); + const safeHtml = sanitizer.sanitizeChildren(getTemplateContent(inertBodyElement) || inertBodyElement); + if ((typeof ngDevMode === "undefined" || ngDevMode) && sanitizer.sanitizedSomething) { + console.warn(`WARNING: sanitizing HTML stripped some content, see ${XSS_SECURITY_URL}`); + } + return trustedHTMLFromString(safeHtml); + } finally { + if (inertBodyElement) { + const parent = getTemplateContent(inertBodyElement) || inertBodyElement; + while (parent.firstChild) { + parent.firstChild.remove(); + } + } + } +} +function getTemplateContent(el) { + return "content" in el && isTemplateElement(el) ? el.content : null; +} +function isTemplateElement(el) { + return el.nodeType === Node.ELEMENT_NODE && el.nodeName === "TEMPLATE"; +} +var SecurityContext; +(function(SecurityContext2) { + SecurityContext2[SecurityContext2["NONE"] = 0] = "NONE"; + SecurityContext2[SecurityContext2["HTML"] = 1] = "HTML"; + SecurityContext2[SecurityContext2["STYLE"] = 2] = "STYLE"; + SecurityContext2[SecurityContext2["SCRIPT"] = 3] = "SCRIPT"; + SecurityContext2[SecurityContext2["URL"] = 4] = "URL"; + SecurityContext2[SecurityContext2["RESOURCE_URL"] = 5] = "RESOURCE_URL"; +})(SecurityContext || (SecurityContext = {})); +function \u0275\u0275sanitizeHtml(unsafeHtml) { + const sanitizer = getSanitizer(); + if (sanitizer) { + return trustedHTMLFromStringBypass(sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || ""); + } + if (allowSanitizationBypassAndThrow( + unsafeHtml, + "HTML" + /* BypassType.Html */ + )) { + return trustedHTMLFromStringBypass(unwrapSafeValue(unsafeHtml)); + } + return _sanitizeHtml(getDocument(), renderStringify(unsafeHtml)); +} +function \u0275\u0275sanitizeStyle(unsafeStyle) { + const sanitizer = getSanitizer(); + if (sanitizer) { + return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || ""; + } + if (allowSanitizationBypassAndThrow( + unsafeStyle, + "Style" + /* BypassType.Style */ + )) { + return unwrapSafeValue(unsafeStyle); + } + return renderStringify(unsafeStyle); +} +function \u0275\u0275sanitizeUrl(unsafeUrl) { + const sanitizer = getSanitizer(); + if (sanitizer) { + return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || ""; + } + if (allowSanitizationBypassAndThrow( + unsafeUrl, + "URL" + /* BypassType.Url */ + )) { + return unwrapSafeValue(unsafeUrl); + } + return _sanitizeUrl(renderStringify(unsafeUrl)); +} +function \u0275\u0275sanitizeResourceUrl(unsafeResourceUrl) { + const sanitizer = getSanitizer(); + if (sanitizer) { + return trustedScriptURLFromStringBypass(sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || ""); + } + if (allowSanitizationBypassAndThrow( + unsafeResourceUrl, + "ResourceURL" + /* BypassType.ResourceUrl */ + )) { + return trustedScriptURLFromStringBypass(unwrapSafeValue(unsafeResourceUrl)); + } + throw new RuntimeError(904, ngDevMode && `unsafe value used in a resource URL context (see ${XSS_SECURITY_URL})`); +} +function \u0275\u0275sanitizeScript(unsafeScript) { + const sanitizer = getSanitizer(); + if (sanitizer) { + return trustedScriptFromStringBypass(sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || ""); + } + if (allowSanitizationBypassAndThrow( + unsafeScript, + "Script" + /* BypassType.Script */ + )) { + return trustedScriptFromStringBypass(unwrapSafeValue(unsafeScript)); + } + throw new RuntimeError(905, ngDevMode && "unsafe value used in a script context"); +} +function \u0275\u0275trustConstantHtml(html) { + if (ngDevMode && (!Array.isArray(html) || !Array.isArray(html.raw) || html.length !== 1)) { + throw new Error(`Unexpected interpolation in trusted HTML constant: ${html.join("?")}`); + } + return trustedHTMLFromString(html[0]); +} +function \u0275\u0275trustConstantResourceUrl(url) { + if (ngDevMode && (!Array.isArray(url) || !Array.isArray(url.raw) || url.length !== 1)) { + throw new Error(`Unexpected interpolation in trusted URL constant: ${url.join("?")}`); + } + return trustedScriptURLFromString(url[0]); +} +function getUrlSanitizer(tag, prop) { + if (prop === "src" && (tag === "embed" || tag === "frame" || tag === "iframe" || tag === "media" || tag === "script") || prop === "href" && (tag === "base" || tag === "link")) { + return \u0275\u0275sanitizeResourceUrl; + } + return \u0275\u0275sanitizeUrl; +} +function \u0275\u0275sanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) { + return getUrlSanitizer(tag, prop)(unsafeUrl); +} +function validateAgainstEventProperties(name) { + if (name.toLowerCase().startsWith("on")) { + const errorMessage = `Binding to event property '${name}' is disallowed for security reasons, please use (${name.slice(2)})=... +If '${name}' is a directive input, make sure the directive is imported by the current module.`; + throw new RuntimeError(306, errorMessage); + } +} +function validateAgainstEventAttributes(name) { + if (name.toLowerCase().startsWith("on")) { + const errorMessage = `Binding to event attribute '${name}' is disallowed for security reasons, please use (${name.slice(2)})=...`; + throw new RuntimeError(306, errorMessage); + } +} +function getSanitizer() { + const lView = getLView(); + return lView && lView[ENVIRONMENT].sanitizer; +} +var COMMENT_DISALLOWED = /^>|^->||--!>|)/g; +var COMMENT_DELIMITER_ESCAPED = "\u200B$1\u200B"; +function escapeCommentText(value) { + return value.replace(COMMENT_DISALLOWED, (text) => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED)); +} +function normalizeDebugBindingName(name) { + name = camelCaseToDashCase(name.replace(/[$@]/g, "_")); + return `ng-reflect-${name}`; +} +var CAMEL_CASE_REGEXP = /([A-Z])/g; +function camelCaseToDashCase(input2) { + return input2.replace(CAMEL_CASE_REGEXP, (...m) => "-" + m[1].toLowerCase()); +} +function normalizeDebugBindingValue(value) { + try { + return value != null ? value.toString().slice(0, 30) : value; + } catch (e) { + return "[ERROR] Exception while trying to serialize the value"; + } +} +var CUSTOM_ELEMENTS_SCHEMA = { + name: "custom-elements" +}; +var NO_ERRORS_SCHEMA = { + name: "no-errors-schema" +}; +var shouldThrowErrorOnUnknownElement = false; +var shouldThrowErrorOnUnknownProperty = false; +function validateElementIsKnown(element, lView, tagName, schemas, hasDirectives) { + if (schemas === null) return; + if (!hasDirectives && tagName !== null) { + const isUnknown = ( + // Note that we can't check for `typeof HTMLUnknownElement === 'function'` because + // Domino doesn't expose HTMLUnknownElement globally. + typeof HTMLUnknownElement !== "undefined" && HTMLUnknownElement && element instanceof HTMLUnknownElement || typeof customElements !== "undefined" && tagName.indexOf("-") > -1 && !customElements.get(tagName) + ); + if (isUnknown && !matchingSchemas(schemas, tagName)) { + const isHostStandalone = isHostComponentStandalone(lView); + const templateLocation = getTemplateLocationDetails(lView); + const schemas2 = `'${isHostStandalone ? "@Component" : "@NgModule"}.schemas'`; + let message = `'${tagName}' is not a known element${templateLocation}: +`; + message += `1. If '${tagName}' is an Angular component, then verify that it is ${isHostStandalone ? "included in the '@Component.imports' of this component" : "a part of an @NgModule where this component is declared"}. +`; + if (tagName && tagName.indexOf("-") > -1) { + message += `2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas2} of this component to suppress this message.`; + } else { + message += `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas2} of this component.`; + } + if (shouldThrowErrorOnUnknownElement) { + throw new RuntimeError(304, message); + } else { + console.error(formatRuntimeError(304, message)); + } + } + } +} +function isPropertyValid(element, propName, tagName, schemas) { + if (schemas === null) return true; + if (matchingSchemas(schemas, tagName) || propName in element || isAnimationProp(propName)) { + return true; + } + return typeof Node === "undefined" || Node === null || !(element instanceof Node); +} +function handleUnknownPropertyError(propName, tagName, nodeType, lView) { + if (!tagName && nodeType === 4) { + tagName = "ng-template"; + } + const isHostStandalone = isHostComponentStandalone(lView); + const templateLocation = getTemplateLocationDetails(lView); + let message = `Can't bind to '${propName}' since it isn't a known property of '${tagName}'${templateLocation}.`; + const schemas = `'${isHostStandalone ? "@Component" : "@NgModule"}.schemas'`; + const importLocation = isHostStandalone ? "included in the '@Component.imports' of this component" : "a part of an @NgModule where this component is declared"; + if (KNOWN_CONTROL_FLOW_DIRECTIVES.has(propName)) { + const correspondingImport = KNOWN_CONTROL_FLOW_DIRECTIVES.get(propName); + message += ` +If the '${propName}' is an Angular control flow directive, please make sure that either the '${correspondingImport}' directive or the 'CommonModule' is ${importLocation}.`; + } else { + message += ` +1. If '${tagName}' is an Angular component and it has the '${propName}' input, then verify that it is ${importLocation}.`; + if (tagName && tagName.indexOf("-") > -1) { + message += ` +2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas} of this component to suppress this message.`; + message += ` +3. To allow any property add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`; + } else { + message += ` +2. To allow any property add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`; + } + } + reportUnknownPropertyError(message); +} +function reportUnknownPropertyError(message) { + if (shouldThrowErrorOnUnknownProperty) { + throw new RuntimeError(303, message); + } else { + console.error(formatRuntimeError(303, message)); + } +} +function getDeclarationComponentDef(lView) { + !ngDevMode && throwError2("Must never be called in production mode"); + const declarationLView = lView[DECLARATION_COMPONENT_VIEW]; + const context2 = declarationLView[CONTEXT]; + if (!context2) return null; + return context2.constructor ? getComponentDef(context2.constructor) : null; +} +function isHostComponentStandalone(lView) { + !ngDevMode && throwError2("Must never be called in production mode"); + const componentDef = getDeclarationComponentDef(lView); + return !!componentDef?.standalone; +} +function getTemplateLocationDetails(lView) { + !ngDevMode && throwError2("Must never be called in production mode"); + const hostComponentDef = getDeclarationComponentDef(lView); + const componentClassName = hostComponentDef?.type?.name; + return componentClassName ? ` (used in the '${componentClassName}' component template)` : ""; +} +var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([["ngIf", "NgIf"], ["ngFor", "NgFor"], ["ngSwitchCase", "NgSwitchCase"], ["ngSwitchDefault", "NgSwitchDefault"]]); +function matchingSchemas(schemas, tagName) { + if (schemas !== null) { + for (let i = 0; i < schemas.length; i++) { + const schema = schemas[i]; + if (schema === NO_ERRORS_SCHEMA || schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf("-") > -1) { + return true; + } + } + } + return false; +} +function \u0275\u0275resolveWindow(element) { + return element.ownerDocument.defaultView; +} +function \u0275\u0275resolveDocument(element) { + return element.ownerDocument; +} +function \u0275\u0275resolveBody(element) { + return element.ownerDocument.body; +} +var INTERPOLATION_DELIMITER = `\uFFFD`; +function maybeUnwrapFn(value) { + if (value instanceof Function) { + return value(); + } else { + return value; + } +} +var VALUE_STRING_LENGTH_LIMIT = 200; +function assertComponentDef(type) { + if (!getComponentDef(type)) { + throw new RuntimeError(906, `The ${stringifyForError(type)} is not an Angular component, make sure it has the \`@Component\` decorator.`); + } +} +function throwMultipleComponentError(tNode, first2, second) { + throw new RuntimeError(-300, `Multiple components match node with tagname ${tNode.value}: ${stringifyForError(first2)} and ${stringifyForError(second)}`); +} +function throwErrorIfNoChangesMode(creationMode, oldValue, currValue, propName, lView) { + const hostComponentDef = getDeclarationComponentDef(lView); + const componentClassName = hostComponentDef?.type?.name; + const field = propName ? ` for '${propName}'` : ""; + let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${field}: '${formatValue(oldValue)}'. Current value: '${formatValue(currValue)}'.${componentClassName ? ` Expression location: ${componentClassName} component` : ""}`; + if (creationMode) { + msg += ` It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?`; + } + throw new RuntimeError(-100, msg); +} +function formatValue(value) { + let strValue = String(value); + try { + if (Array.isArray(value) || strValue === "[object Object]") { + strValue = JSON.stringify(value); + } + } catch (error) { + } + return strValue.length > VALUE_STRING_LENGTH_LIMIT ? strValue.substring(0, VALUE_STRING_LENGTH_LIMIT) + "\u2026" : strValue; +} +function constructDetailsForInterpolation(lView, rootIndex, expressionIndex, meta, changedValue) { + const [propName, prefix, ...chunks] = meta.split(INTERPOLATION_DELIMITER); + let oldValue = prefix, newValue = prefix; + for (let i = 0; i < chunks.length; i++) { + const slotIdx = rootIndex + i; + oldValue += `${lView[slotIdx]}${chunks[i]}`; + newValue += `${slotIdx === expressionIndex ? changedValue : lView[slotIdx]}${chunks[i]}`; + } + return { + propName, + oldValue, + newValue + }; +} +function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValue) { + const tData = lView[TVIEW].data; + const metadata = tData[bindingIndex]; + if (typeof metadata === "string") { + if (metadata.indexOf(INTERPOLATION_DELIMITER) > -1) { + return constructDetailsForInterpolation(lView, bindingIndex, bindingIndex, metadata, newValue); + } + return { + propName: metadata, + oldValue, + newValue + }; + } + if (metadata === null) { + let idx = bindingIndex - 1; + while (typeof tData[idx] !== "string" && tData[idx + 1] === null) { + idx--; + } + const meta = tData[idx]; + if (typeof meta === "string") { + const matches = meta.match(new RegExp(INTERPOLATION_DELIMITER, "g")); + if (matches && matches.length - 1 > bindingIndex - idx) { + return constructDetailsForInterpolation(lView, idx, bindingIndex, meta, newValue); + } + } + } + return { + propName: void 0, + oldValue, + newValue + }; +} +function classIndexOf(className, classToSearch, startingIndex) { + ngDevMode && assertNotEqual(classToSearch, "", 'can not look for "" string.'); + let end = className.length; + while (true) { + const foundIndex = className.indexOf(classToSearch, startingIndex); + if (foundIndex === -1) return foundIndex; + if (foundIndex === 0 || className.charCodeAt(foundIndex - 1) <= 32) { + const length = classToSearch.length; + if (foundIndex + length === end || className.charCodeAt(foundIndex + length) <= 32) { + return foundIndex; + } + } + startingIndex = foundIndex + 1; + } +} +var NG_TEMPLATE_SELECTOR = "ng-template"; +function isCssClassMatching(tNode, attrs, cssClassToMatch, isProjectionMode) { + ngDevMode && assertEqual(cssClassToMatch, cssClassToMatch.toLowerCase(), "Class name expected to be lowercase."); + let i = 0; + if (isProjectionMode) { + for (; i < attrs.length && typeof attrs[i] === "string"; i += 2) { + if (attrs[i] === "class" && classIndexOf(attrs[i + 1].toLowerCase(), cssClassToMatch, 0) !== -1) { + return true; + } + } + } else if (isInlineTemplate(tNode)) { + return false; + } + i = attrs.indexOf(1, i); + if (i > -1) { + let item; + while (++i < attrs.length && typeof (item = attrs[i]) === "string") { + if (item.toLowerCase() === cssClassToMatch) { + return true; + } + } + } + return false; +} +function isInlineTemplate(tNode) { + return tNode.type === 4 && tNode.value !== NG_TEMPLATE_SELECTOR; +} +function hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) { + const tagNameToCompare = tNode.type === 4 && !isProjectionMode ? NG_TEMPLATE_SELECTOR : tNode.value; + return currentSelector === tagNameToCompare; +} +function isNodeMatchingSelector(tNode, selector, isProjectionMode) { + ngDevMode && assertDefined(selector[0], "Selector should have a tag name"); + let mode = 4; + const nodeAttrs = tNode.attrs; + const nameOnlyMarkerIdx = nodeAttrs !== null ? getNameOnlyMarkerIndex(nodeAttrs) : 0; + let skipToNextSelector = false; + for (let i = 0; i < selector.length; i++) { + const current = selector[i]; + if (typeof current === "number") { + if (!skipToNextSelector && !isPositive(mode) && !isPositive(current)) { + return false; + } + if (skipToNextSelector && isPositive(current)) continue; + skipToNextSelector = false; + mode = current | mode & 1; + continue; + } + if (skipToNextSelector) continue; + if (mode & 4) { + mode = 2 | mode & 1; + if (current !== "" && !hasTagAndTypeMatch(tNode, current, isProjectionMode) || current === "" && selector.length === 1) { + if (isPositive(mode)) return false; + skipToNextSelector = true; + } + } else if (mode & 8) { + if (nodeAttrs === null || !isCssClassMatching(tNode, nodeAttrs, current, isProjectionMode)) { + if (isPositive(mode)) return false; + skipToNextSelector = true; + } + } else { + const selectorAttrValue = selector[++i]; + const attrIndexInNode = findAttrIndexInNode(current, nodeAttrs, isInlineTemplate(tNode), isProjectionMode); + if (attrIndexInNode === -1) { + if (isPositive(mode)) return false; + skipToNextSelector = true; + continue; + } + if (selectorAttrValue !== "") { + let nodeAttrValue; + if (attrIndexInNode > nameOnlyMarkerIdx) { + nodeAttrValue = ""; + } else { + ngDevMode && assertNotEqual(nodeAttrs[attrIndexInNode], 0, "We do not match directives on namespaced attributes"); + nodeAttrValue = nodeAttrs[attrIndexInNode + 1].toLowerCase(); + } + if (mode & 2 && selectorAttrValue !== nodeAttrValue) { + if (isPositive(mode)) return false; + skipToNextSelector = true; + } + } + } + } + return isPositive(mode) || skipToNextSelector; +} +function isPositive(mode) { + return (mode & 1) === 0; +} +function findAttrIndexInNode(name, attrs, isInlineTemplate2, isProjectionMode) { + if (attrs === null) return -1; + let i = 0; + if (isProjectionMode || !isInlineTemplate2) { + let bindingsMode = false; + while (i < attrs.length) { + const maybeAttrName = attrs[i]; + if (maybeAttrName === name) { + return i; + } else if (maybeAttrName === 3 || maybeAttrName === 6) { + bindingsMode = true; + } else if (maybeAttrName === 1 || maybeAttrName === 2) { + let value = attrs[++i]; + while (typeof value === "string") { + value = attrs[++i]; + } + continue; + } else if (maybeAttrName === 4) { + break; + } else if (maybeAttrName === 0) { + i += 4; + continue; + } + i += bindingsMode ? 1 : 2; + } + return -1; + } else { + return matchTemplateAttribute(attrs, name); + } +} +function isNodeMatchingSelectorList(tNode, selector, isProjectionMode = false) { + for (let i = 0; i < selector.length; i++) { + if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) { + return true; + } + } + return false; +} +function getProjectAsAttrValue(tNode) { + const nodeAttrs = tNode.attrs; + if (nodeAttrs != null) { + const ngProjectAsAttrIdx = nodeAttrs.indexOf( + 5 + /* AttributeMarker.ProjectAs */ + ); + if ((ngProjectAsAttrIdx & 1) === 0) { + return nodeAttrs[ngProjectAsAttrIdx + 1]; + } + } + return null; +} +function getNameOnlyMarkerIndex(nodeAttrs) { + for (let i = 0; i < nodeAttrs.length; i++) { + const nodeAttr = nodeAttrs[i]; + if (isNameOnlyAttributeMarker(nodeAttr)) { + return i; + } + } + return nodeAttrs.length; +} +function matchTemplateAttribute(attrs, name) { + let i = attrs.indexOf( + 4 + /* AttributeMarker.Template */ + ); + if (i > -1) { + i++; + while (i < attrs.length) { + const attr = attrs[i]; + if (typeof attr === "number") return -1; + if (attr === name) return i; + i++; + } + } + return -1; +} +function isSelectorInSelectorList(selector, list) { + selectorListLoop: for (let i = 0; i < list.length; i++) { + const currentSelectorInList = list[i]; + if (selector.length !== currentSelectorInList.length) { + continue; + } + for (let j = 0; j < selector.length; j++) { + if (selector[j] !== currentSelectorInList[j]) { + continue selectorListLoop; + } + } + return true; + } + return false; +} +function maybeWrapInNotSelector(isNegativeMode, chunk) { + return isNegativeMode ? ":not(" + chunk.trim() + ")" : chunk; +} +function stringifyCSSSelector(selector) { + let result = selector[0]; + let i = 1; + let mode = 2; + let currentChunk = ""; + let isNegativeMode = false; + while (i < selector.length) { + let valueOrMarker = selector[i]; + if (typeof valueOrMarker === "string") { + if (mode & 2) { + const attrValue = selector[++i]; + currentChunk += "[" + valueOrMarker + (attrValue.length > 0 ? '="' + attrValue + '"' : "") + "]"; + } else if (mode & 8) { + currentChunk += "." + valueOrMarker; + } else if (mode & 4) { + currentChunk += " " + valueOrMarker; + } + } else { + if (currentChunk !== "" && !isPositive(valueOrMarker)) { + result += maybeWrapInNotSelector(isNegativeMode, currentChunk); + currentChunk = ""; + } + mode = valueOrMarker; + isNegativeMode = isNegativeMode || !isPositive(mode); + } + i++; + } + if (currentChunk !== "") { + result += maybeWrapInNotSelector(isNegativeMode, currentChunk); + } + return result; +} +function stringifyCSSSelectorList(selectorList) { + return selectorList.map(stringifyCSSSelector).join(","); +} +function extractAttrsAndClassesFromSelector(selector) { + const attrs = []; + const classes = []; + let i = 1; + let mode = 2; + while (i < selector.length) { + let valueOrMarker = selector[i]; + if (typeof valueOrMarker === "string") { + if (mode === 2) { + if (valueOrMarker !== "") { + attrs.push(valueOrMarker, selector[++i]); + } + } else if (mode === 8) { + classes.push(valueOrMarker); + } + } else { + if (!isPositive(mode)) break; + mode = valueOrMarker; + } + i++; + } + if (classes.length) { + attrs.push(1, ...classes); + } + return attrs; +} +var NO_CHANGE = typeof ngDevMode === "undefined" || ngDevMode ? { + __brand__: "NO_CHANGE" +} : {}; +function createTextNode(renderer, value) { + ngDevMode && ngDevMode.rendererCreateTextNode++; + ngDevMode && ngDevMode.rendererSetText++; + return renderer.createText(value); +} +function updateTextNode(renderer, rNode, value) { + ngDevMode && ngDevMode.rendererSetText++; + renderer.setValue(rNode, value); +} +function createCommentNode(renderer, value) { + ngDevMode && ngDevMode.rendererCreateComment++; + return renderer.createComment(escapeCommentText(value)); +} +function createElementNode(renderer, name, namespace) { + ngDevMode && ngDevMode.rendererCreateElement++; + return renderer.createElement(name, namespace); +} +function nativeInsertBefore(renderer, parent, child, beforeNode, isMove) { + ngDevMode && ngDevMode.rendererInsertBefore++; + renderer.insertBefore(parent, child, beforeNode, isMove); +} +function nativeAppendChild(renderer, parent, child) { + ngDevMode && ngDevMode.rendererAppendChild++; + ngDevMode && assertDefined(parent, "parent node must be defined"); + renderer.appendChild(parent, child); +} +function nativeAppendOrInsertBefore(renderer, parent, child, beforeNode, isMove) { + if (beforeNode !== null) { + nativeInsertBefore(renderer, parent, child, beforeNode, isMove); + } else { + nativeAppendChild(renderer, parent, child); + } +} +function nativeRemoveNode(renderer, rNode, isHostElement) { + ngDevMode && ngDevMode.rendererRemoveNode++; + renderer.removeChild(null, rNode, isHostElement); +} +function writeDirectStyle(renderer, element, newValue) { + ngDevMode && assertString(newValue, "'newValue' should be a string"); + renderer.setAttribute(element, "style", newValue); + ngDevMode && ngDevMode.rendererSetStyle++; +} +function writeDirectClass(renderer, element, newValue) { + ngDevMode && assertString(newValue, "'newValue' should be a string"); + if (newValue === "") { + renderer.removeAttribute(element, "class"); + } else { + renderer.setAttribute(element, "class", newValue); + } + ngDevMode && ngDevMode.rendererSetClassName++; +} +function setupStaticAttributes(renderer, element, tNode) { + const { + mergedAttrs, + classes, + styles + } = tNode; + if (mergedAttrs !== null) { + setUpAttributes(renderer, element, mergedAttrs); + } + if (classes !== null) { + writeDirectClass(renderer, element, classes); + } + if (styles !== null) { + writeDirectStyle(renderer, element, styles); + } +} +function createTView(type, declTNode, templateFn, decls, vars, directives, pipes, viewQuery, schemas, constsOrFactory, ssrId) { + ngDevMode && ngDevMode.tView++; + const bindingStartIndex = HEADER_OFFSET + decls; + const initialViewLength = bindingStartIndex + vars; + const blueprint = createViewBlueprint(bindingStartIndex, initialViewLength); + const consts = typeof constsOrFactory === "function" ? constsOrFactory() : constsOrFactory; + const tView = blueprint[TVIEW] = { + type, + blueprint, + template: templateFn, + queries: null, + viewQuery, + declTNode, + data: blueprint.slice().fill(null, bindingStartIndex), + bindingStartIndex, + expandoStartIndex: initialViewLength, + hostBindingOpCodes: null, + firstCreatePass: true, + firstUpdatePass: true, + staticViewQueries: false, + staticContentQueries: false, + preOrderHooks: null, + preOrderCheckHooks: null, + contentHooks: null, + contentCheckHooks: null, + viewHooks: null, + viewCheckHooks: null, + destroyHooks: null, + cleanup: null, + contentQueries: null, + components: null, + directiveRegistry: typeof directives === "function" ? directives() : directives, + pipeRegistry: typeof pipes === "function" ? pipes() : pipes, + firstChild: null, + schemas, + consts, + incompleteFirstPass: false, + ssrId + }; + if (ngDevMode) { + Object.seal(tView); + } + return tView; +} +function createViewBlueprint(bindingStartIndex, initialViewLength) { + const blueprint = []; + for (let i = 0; i < initialViewLength; i++) { + blueprint.push(i < bindingStartIndex ? null : NO_CHANGE); + } + return blueprint; +} +function getOrCreateComponentTView(def) { + const tView = def.tView; + if (tView === null || tView.incompleteFirstPass) { + const declTNode = null; + return def.tView = createTView(1, declTNode, def.template, def.decls, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas, def.consts, def.id); + } + return tView; +} +function createLView(parentLView, tView, context2, flags, host, tHostNode, environment, renderer, injector, embeddedViewInjector, hydrationInfo) { + const lView = tView.blueprint.slice(); + lView[HOST] = host; + lView[FLAGS] = flags | 4 | 128 | 8 | 64 | 1024; + if (embeddedViewInjector !== null || parentLView && parentLView[FLAGS] & 2048) { + lView[FLAGS] |= 2048; + } + resetPreOrderHookFlags(lView); + ngDevMode && tView.declTNode && parentLView && assertTNodeForLView(tView.declTNode, parentLView); + lView[PARENT] = lView[DECLARATION_VIEW] = parentLView; + lView[CONTEXT] = context2; + lView[ENVIRONMENT] = environment || parentLView && parentLView[ENVIRONMENT]; + ngDevMode && assertDefined(lView[ENVIRONMENT], "LViewEnvironment is required"); + lView[RENDERER] = renderer || parentLView && parentLView[RENDERER]; + ngDevMode && assertDefined(lView[RENDERER], "Renderer is required"); + lView[INJECTOR] = injector || parentLView && parentLView[INJECTOR] || null; + lView[T_HOST] = tHostNode; + lView[ID] = getUniqueLViewId(); + lView[HYDRATION] = hydrationInfo; + lView[EMBEDDED_VIEW_INJECTOR] = embeddedViewInjector; + ngDevMode && assertEqual(tView.type == 2 ? parentLView !== null : true, true, "Embedded views must have parentLView"); + lView[DECLARATION_COMPONENT_VIEW] = tView.type == 2 ? parentLView[DECLARATION_COMPONENT_VIEW] : lView; + return lView; +} +function createComponentLView(lView, hostTNode, def) { + const native = getNativeByTNode(hostTNode, lView); + const tView = getOrCreateComponentTView(def); + const rendererFactory = lView[ENVIRONMENT].rendererFactory; + const componentView = addToEndOfViewTree(lView, createLView(lView, tView, null, getInitialLViewFlagsFromDef(def), native, hostTNode, null, rendererFactory.createRenderer(native, def), null, null, null)); + return lView[hostTNode.index] = componentView; +} +function getInitialLViewFlagsFromDef(def) { + let flags = 16; + if (def.signals) { + flags = 4096; + } else if (def.onPush) { + flags = 64; + } + return flags; +} +function allocExpando(tView, lView, numSlotsToAlloc, initialValue) { + if (numSlotsToAlloc === 0) return -1; + if (ngDevMode) { + assertFirstCreatePass(tView); + assertSame(tView, lView[TVIEW], "`LView` must be associated with `TView`!"); + assertEqual(tView.data.length, lView.length, "Expecting LView to be same size as TView"); + assertEqual(tView.data.length, tView.blueprint.length, "Expecting Blueprint to be same size as TView"); + assertFirstUpdatePass(tView); + } + const allocIdx = lView.length; + for (let i = 0; i < numSlotsToAlloc; i++) { + lView.push(initialValue); + tView.blueprint.push(initialValue); + tView.data.push(null); + } + return allocIdx; +} +function addToEndOfViewTree(lView, lViewOrLContainer) { + if (lView[CHILD_HEAD]) { + lView[CHILD_TAIL][NEXT] = lViewOrLContainer; + } else { + lView[CHILD_HEAD] = lViewOrLContainer; + } + lView[CHILD_TAIL] = lViewOrLContainer; + return lViewOrLContainer; +} +function \u0275\u0275advance(delta = 1) { + ngDevMode && assertGreaterThan(delta, 0, "Can only advance forward"); + selectIndexInternal(getTView(), getLView(), getSelectedIndex() + delta, !!ngDevMode && isInCheckNoChangesMode()); +} +function selectIndexInternal(tView, lView, index, checkNoChangesMode) { + ngDevMode && assertIndexInDeclRange(lView[TVIEW], index); + if (!checkNoChangesMode) { + const hooksInitPhaseCompleted = (lView[FLAGS] & 3) === 3; + if (hooksInitPhaseCompleted) { + const preOrderCheckHooks = tView.preOrderCheckHooks; + if (preOrderCheckHooks !== null) { + executeCheckHooks(lView, preOrderCheckHooks, index); + } + } else { + const preOrderHooks = tView.preOrderHooks; + if (preOrderHooks !== null) { + executeInitAndCheckHooks(lView, preOrderHooks, 0, index); + } + } + } + setSelectedIndex(index); +} +var InputFlags; +(function(InputFlags2) { + InputFlags2[InputFlags2["None"] = 0] = "None"; + InputFlags2[InputFlags2["SignalBased"] = 1] = "SignalBased"; + InputFlags2[InputFlags2["HasDecoratorInputTransform"] = 2] = "HasDecoratorInputTransform"; +})(InputFlags || (InputFlags = {})); +function writeToDirectiveInput(def, instance, publicName, value) { + const prevConsumer = setActiveConsumer(null); + try { + if (ngDevMode) { + if (!def.inputs.hasOwnProperty(publicName)) { + throw new Error(`ASSERTION ERROR: Directive ${def.type.name} does not have an input with a public name of "${publicName}"`); + } + if (instance instanceof NodeInjectorFactory) { + throw new Error(`ASSERTION ERROR: Cannot write input to factory for type ${def.type.name}. Directive has not been created yet.`); + } + } + const [privateName, flags, transform] = def.inputs[publicName]; + let inputSignalNode = null; + if ((flags & InputFlags.SignalBased) !== 0) { + const field = instance[privateName]; + inputSignalNode = field[SIGNAL]; + } + if (inputSignalNode !== null && inputSignalNode.transformFn !== void 0) { + value = inputSignalNode.transformFn(value); + } else if (transform !== null) { + value = transform.call(instance, value); + } + if (def.setInput !== null) { + def.setInput(instance, inputSignalNode, value, publicName, privateName); + } else { + applyValueToInputField(instance, inputSignalNode, privateName, value); + } + } finally { + setActiveConsumer(prevConsumer); + } +} +function executeTemplate(tView, lView, templateFn, rf, context2) { + const prevSelectedIndex = getSelectedIndex(); + const isUpdatePhase = rf & 2; + try { + setSelectedIndex(-1); + if (isUpdatePhase && lView.length > HEADER_OFFSET) { + selectIndexInternal(tView, lView, HEADER_OFFSET, !!ngDevMode && isInCheckNoChangesMode()); + } + const preHookType = isUpdatePhase ? 2 : 0; + profiler(preHookType, context2); + templateFn(rf, context2); + } finally { + setSelectedIndex(prevSelectedIndex); + const postHookType = isUpdatePhase ? 3 : 1; + profiler(postHookType, context2); + } +} +function createDirectivesInstances(tView, lView, tNode) { + instantiateAllDirectives(tView, lView, tNode); + if ((tNode.flags & 64) === 64) { + invokeDirectivesHostBindings(tView, lView, tNode); + } +} +function saveResolvedLocalsInData(viewData, tNode, localRefExtractor = getNativeByTNode) { + const localNames = tNode.localNames; + if (localNames !== null) { + let localIndex = tNode.index + 1; + for (let i = 0; i < localNames.length; i += 2) { + const index = localNames[i + 1]; + const value = index === -1 ? localRefExtractor(tNode, viewData) : viewData[index]; + viewData[localIndex++] = value; + } + } +} +function locateHostElement(renderer, elementOrSelector, encapsulation, injector) { + const preserveHostContent = injector.get(PRESERVE_HOST_CONTENT, PRESERVE_HOST_CONTENT_DEFAULT); + const preserveContent = preserveHostContent || encapsulation === ViewEncapsulation.ShadowDom; + const rootElement = renderer.selectRootElement(elementOrSelector, preserveContent); + applyRootElementTransform(rootElement); + return rootElement; +} +function applyRootElementTransform(rootElement) { + _applyRootElementTransformImpl(rootElement); +} +var _applyRootElementTransformImpl = () => null; +function mapPropName(name) { + if (name === "class") return "className"; + if (name === "for") return "htmlFor"; + if (name === "formaction") return "formAction"; + if (name === "innerHtml") return "innerHTML"; + if (name === "readonly") return "readOnly"; + if (name === "tabindex") return "tabIndex"; + return name; +} +function elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, nativeOnly) { + ngDevMode && assertNotSame(value, NO_CHANGE, "Incoming value should never be NO_CHANGE."); + if (!nativeOnly) { + const hasSetInput = setAllInputsForProperty(tNode, tView, lView, propName, value); + if (hasSetInput) { + isComponentHost(tNode) && markDirtyIfOnPush(lView, tNode.index); + ngDevMode && setNgReflectProperties(lView, tView, tNode, propName, value); + return; + } + } + if (tNode.type & 3) { + const element = getNativeByTNode(tNode, lView); + propName = mapPropName(propName); + if (ngDevMode) { + validateAgainstEventProperties(propName); + if (!isPropertyValid(element, propName, tNode.value, tView.schemas)) { + handleUnknownPropertyError(propName, tNode.value, tNode.type, lView); + } + ngDevMode.rendererSetProperty++; + } + value = sanitizer != null ? sanitizer(value, tNode.value || "", propName) : value; + renderer.setProperty(element, propName, value); + } else if (tNode.type & 12) { + if (ngDevMode && !matchingSchemas(tView.schemas, tNode.value)) { + handleUnknownPropertyError(propName, tNode.value, tNode.type, lView); + } + } +} +function markDirtyIfOnPush(lView, viewIndex) { + ngDevMode && assertLView(lView); + const childComponentLView = getComponentLViewByIndex(viewIndex, lView); + if (!(childComponentLView[FLAGS] & 16)) { + childComponentLView[FLAGS] |= 64; + } +} +function setNgReflectProperty(lView, tNode, attrName, value) { + const element = getNativeByTNode(tNode, lView); + const renderer = lView[RENDERER]; + attrName = normalizeDebugBindingName(attrName); + const debugValue = normalizeDebugBindingValue(value); + if (tNode.type & 3) { + if (value == null) { + renderer.removeAttribute(element, attrName); + } else { + renderer.setAttribute(element, attrName, debugValue); + } + } else { + const textContent = escapeCommentText(`bindings=${JSON.stringify({ + [attrName]: debugValue + }, null, 2)}`); + renderer.setValue(element, textContent); + } +} +function setNgReflectProperties(lView, tView, tNode, publicName, value) { + if (!(tNode.type & (3 | 4))) { + return; + } + const inputConfig = tNode.inputs?.[publicName]; + const hostInputConfig = tNode.hostDirectiveInputs?.[publicName]; + if (hostInputConfig) { + for (let i = 0; i < hostInputConfig.length; i += 2) { + const index = hostInputConfig[i]; + const publicName2 = hostInputConfig[i + 1]; + const def = tView.data[index]; + setNgReflectProperty(lView, tNode, def.inputs[publicName2][0], value); + } + } + if (inputConfig) { + for (const index of inputConfig) { + const def = tView.data[index]; + setNgReflectProperty(lView, tNode, def.inputs[publicName][0], value); + } + } +} +function instantiateAllDirectives(tView, lView, tNode) { + const start = tNode.directiveStart; + const end = tNode.directiveEnd; + if (isComponentHost(tNode)) { + ngDevMode && assertTNodeType( + tNode, + 3 + /* TNodeType.AnyRNode */ + ); + createComponentLView(lView, tNode, tView.data[start + tNode.componentOffset]); + } + if (!tView.firstCreatePass) { + getOrCreateNodeInjectorForNode(tNode, lView); + } + const initialInputs = tNode.initialInputs; + for (let i = start; i < end; i++) { + const def = tView.data[i]; + const directive = getNodeInjectable(lView, tView, i, tNode); + attachPatchData(directive, lView); + if (initialInputs !== null) { + setInputsFromAttrs(lView, i - start, directive, def, tNode, initialInputs); + } + if (isComponentDef(def)) { + const componentView = getComponentLViewByIndex(tNode.index, lView); + componentView[CONTEXT] = getNodeInjectable(lView, tView, i, tNode); + } + } +} +function invokeDirectivesHostBindings(tView, lView, tNode) { + const start = tNode.directiveStart; + const end = tNode.directiveEnd; + const elementIndex = tNode.index; + const currentDirectiveIndex = getCurrentDirectiveIndex(); + try { + setSelectedIndex(elementIndex); + for (let dirIndex = start; dirIndex < end; dirIndex++) { + const def = tView.data[dirIndex]; + const directive = lView[dirIndex]; + setCurrentDirectiveIndex(dirIndex); + if (def.hostBindings !== null || def.hostVars !== 0 || def.hostAttrs !== null) { + invokeHostBindingsInCreationMode(def, directive); + } + } + } finally { + setSelectedIndex(-1); + setCurrentDirectiveIndex(currentDirectiveIndex); + } +} +function invokeHostBindingsInCreationMode(def, directive) { + if (def.hostBindings !== null) { + def.hostBindings(1, directive); + } +} +function findDirectiveDefMatches(tView, tNode) { + ngDevMode && assertFirstCreatePass(tView); + ngDevMode && assertTNodeType( + tNode, + 3 | 12 + /* TNodeType.AnyContainer */ + ); + const registry = tView.directiveRegistry; + let matches = null; + if (registry) { + for (let i = 0; i < registry.length; i++) { + const def = registry[i]; + if (isNodeMatchingSelectorList( + tNode, + def.selectors, + /* isProjectionMode */ + false + )) { + matches ??= []; + if (isComponentDef(def)) { + if (ngDevMode) { + assertTNodeType(tNode, 2, `"${tNode.value}" tags cannot be used as component hosts. Please use a different tag to activate the ${stringify(def.type)} component.`); + if (matches.length && isComponentDef(matches[0])) { + throwMultipleComponentError(tNode, matches.find(isComponentDef).type, def.type); + } + } + matches.unshift(def); + } else { + matches.push(def); + } + } + } + } + return matches; +} +function elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace) { + if (ngDevMode) { + assertNotSame(value, NO_CHANGE, "Incoming value should never be NO_CHANGE."); + validateAgainstEventAttributes(name); + assertTNodeType(tNode, 2, `Attempted to set attribute \`${name}\` on a container node. Host bindings are not valid on ng-container or ng-template.`); + } + const element = getNativeByTNode(tNode, lView); + setElementAttribute(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer); +} +function setElementAttribute(renderer, element, namespace, tagName, name, value, sanitizer) { + if (value == null) { + ngDevMode && ngDevMode.rendererRemoveAttribute++; + renderer.removeAttribute(element, name, namespace); + } else { + ngDevMode && ngDevMode.rendererSetAttribute++; + const strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tagName || "", name); + renderer.setAttribute(element, name, strValue, namespace); + } +} +function setInputsFromAttrs(lView, directiveIndex, instance, def, tNode, initialInputData) { + const initialInputs = initialInputData[directiveIndex]; + if (initialInputs !== null) { + for (let i = 0; i < initialInputs.length; i += 2) { + const lookupName = initialInputs[i]; + const value = initialInputs[i + 1]; + writeToDirectiveInput(def, instance, lookupName, value); + if (ngDevMode) { + setNgReflectProperty(lView, tNode, def.inputs[lookupName][0], value); + } + } + } +} +function storePropertyBindingMetadata(tData, tNode, propertyName, bindingIndex, ...interpolationParts) { + if (tData[bindingIndex] === null) { + if (!tNode.inputs?.[propertyName] && !tNode.hostDirectiveInputs?.[propertyName]) { + const propBindingIdxs = tNode.propertyBindings || (tNode.propertyBindings = []); + propBindingIdxs.push(bindingIndex); + let bindingMetadata = propertyName; + if (interpolationParts.length > 0) { + bindingMetadata += INTERPOLATION_DELIMITER + interpolationParts.join(INTERPOLATION_DELIMITER); + } + tData[bindingIndex] = bindingMetadata; + } + } +} +function loadComponentRenderer(currentDef, tNode, lView) { + if (currentDef === null || isComponentDef(currentDef)) { + lView = unwrapLView(lView[tNode.index]); + } + return lView[RENDERER]; +} +function handleError$1(lView, error) { + const injector = lView[INJECTOR]; + const errorHandler = injector ? injector.get(ErrorHandler, null) : null; + errorHandler && errorHandler.handleError(error); +} +function setAllInputsForProperty(tNode, tView, lView, publicName, value) { + const inputs = tNode.inputs?.[publicName]; + const hostDirectiveInputs = tNode.hostDirectiveInputs?.[publicName]; + let hasMatch = false; + if (hostDirectiveInputs) { + for (let i = 0; i < hostDirectiveInputs.length; i += 2) { + const index = hostDirectiveInputs[i]; + ngDevMode && assertIndexInRange(lView, index); + const publicName2 = hostDirectiveInputs[i + 1]; + const def = tView.data[index]; + writeToDirectiveInput(def, lView[index], publicName2, value); + hasMatch = true; + } + } + if (inputs) { + for (const index of inputs) { + ngDevMode && assertIndexInRange(lView, index); + const instance = lView[index]; + const def = tView.data[index]; + writeToDirectiveInput(def, instance, publicName, value); + hasMatch = true; + } + } + return hasMatch; +} +function renderComponent(hostLView, componentHostIdx) { + ngDevMode && assertEqual(isCreationMode(hostLView), true, "Should be run in creation mode"); + const componentView = getComponentLViewByIndex(componentHostIdx, hostLView); + const componentTView = componentView[TVIEW]; + syncViewWithBlueprint(componentTView, componentView); + const hostRNode = componentView[HOST]; + if (hostRNode !== null && componentView[HYDRATION] === null) { + componentView[HYDRATION] = retrieveHydrationInfo(hostRNode, componentView[INJECTOR]); + } + profiler( + 18 + /* ProfilerEvent.ComponentStart */ + ); + renderView(componentTView, componentView, componentView[CONTEXT]); + profiler(19, componentView[CONTEXT]); +} +function syncViewWithBlueprint(tView, lView) { + for (let i = lView.length; i < tView.blueprint.length; i++) { + lView.push(tView.blueprint[i]); + } +} +function renderView(tView, lView, context2) { + ngDevMode && assertEqual(isCreationMode(lView), true, "Should be run in creation mode"); + ngDevMode && assertNotReactive(renderView.name); + enterView(lView); + try { + const viewQuery = tView.viewQuery; + if (viewQuery !== null) { + executeViewQueryFn(1, viewQuery, context2); + } + const templateFn = tView.template; + if (templateFn !== null) { + executeTemplate(tView, lView, templateFn, 1, context2); + } + if (tView.firstCreatePass) { + tView.firstCreatePass = false; + } + lView[QUERIES]?.finishViewCreation(tView); + if (tView.staticContentQueries) { + refreshContentQueries(tView, lView); + } + if (tView.staticViewQueries) { + executeViewQueryFn(2, tView.viewQuery, context2); + } + const components = tView.components; + if (components !== null) { + renderChildComponents(lView, components); + } + } catch (error) { + if (tView.firstCreatePass) { + tView.incompleteFirstPass = true; + tView.firstCreatePass = false; + } + throw error; + } finally { + lView[FLAGS] &= -5; + leaveView(); + } +} +function renderChildComponents(hostLView, components) { + for (let i = 0; i < components.length; i++) { + renderComponent(hostLView, components[i]); + } +} +function createAndRenderEmbeddedLView(declarationLView, templateTNode, context2, options) { + const prevConsumer = setActiveConsumer(null); + try { + const embeddedTView = templateTNode.tView; + ngDevMode && assertDefined(embeddedTView, "TView must be defined for a template node."); + ngDevMode && assertTNodeForLView(templateTNode, declarationLView); + const isSignalView = declarationLView[FLAGS] & 4096; + const viewFlags = isSignalView ? 4096 : 16; + const embeddedLView = createLView(declarationLView, embeddedTView, context2, viewFlags, null, templateTNode, null, null, options?.injector ?? null, options?.embeddedViewInjector ?? null, options?.dehydratedView ?? null); + const declarationLContainer = declarationLView[templateTNode.index]; + ngDevMode && assertLContainer(declarationLContainer); + embeddedLView[DECLARATION_LCONTAINER] = declarationLContainer; + const declarationViewLQueries = declarationLView[QUERIES]; + if (declarationViewLQueries !== null) { + embeddedLView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView); + } + renderView(embeddedTView, embeddedLView, context2); + return embeddedLView; + } finally { + setActiveConsumer(prevConsumer); + } +} +function shouldAddViewToDom(tNode, dehydratedView) { + return !dehydratedView || dehydratedView.firstChild === null || hasInSkipHydrationBlockFlag(tNode); +} +var _icuContainerIterate; +function icuContainerIterate(tIcuContainerNode, lView) { + return _icuContainerIterate(tIcuContainerNode, lView); +} +function ensureIcuContainerVisitorLoaded(loader) { + if (_icuContainerIterate === void 0) { + _icuContainerIterate = loader(); + } +} +var RendererStyleFlags2; +(function(RendererStyleFlags22) { + RendererStyleFlags22[RendererStyleFlags22["Important"] = 1] = "Important"; + RendererStyleFlags22[RendererStyleFlags22["DashCase"] = 2] = "DashCase"; +})(RendererStyleFlags2 || (RendererStyleFlags2 = {})); +function isDetachedByI18n(tNode) { + return (tNode.flags & 32) === 32; +} +function applyToElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) { + if (lNodeToHandle != null) { + let lContainer; + let isComponent2 = false; + if (isLContainer(lNodeToHandle)) { + lContainer = lNodeToHandle; + } else if (isLView(lNodeToHandle)) { + isComponent2 = true; + ngDevMode && assertDefined(lNodeToHandle[HOST], "HOST must be defined for a component LView"); + lNodeToHandle = lNodeToHandle[HOST]; + } + const rNode = unwrapRNode(lNodeToHandle); + if (action === 0 && parent !== null) { + if (beforeNode == null) { + nativeAppendChild(renderer, parent, rNode); + } else { + nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true); + } + } else if (action === 1 && parent !== null) { + nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true); + } else if (action === 2) { + nativeRemoveNode(renderer, rNode, isComponent2); + } else if (action === 3) { + ngDevMode && ngDevMode.rendererDestroyNode++; + renderer.destroyNode(rNode); + } + if (lContainer != null) { + applyContainer(renderer, action, lContainer, parent, beforeNode); + } + } +} +function removeViewFromDOM(tView, lView) { + detachViewFromDOM(tView, lView); + lView[HOST] = null; + lView[T_HOST] = null; +} +function addViewToDOM(tView, parentTNode, renderer, lView, parentNativeNode, beforeNode) { + lView[HOST] = parentNativeNode; + lView[T_HOST] = parentTNode; + applyView(tView, lView, renderer, 1, parentNativeNode, beforeNode); +} +function detachViewFromDOM(tView, lView) { + lView[ENVIRONMENT].changeDetectionScheduler?.notify( + 9 + /* NotificationSource.ViewDetachedFromDOM */ + ); + applyView(tView, lView, lView[RENDERER], 2, null, null); +} +function destroyViewTree(rootView) { + let lViewOrLContainer = rootView[CHILD_HEAD]; + if (!lViewOrLContainer) { + return cleanUpView(rootView[TVIEW], rootView); + } + while (lViewOrLContainer) { + let next = null; + if (isLView(lViewOrLContainer)) { + next = lViewOrLContainer[CHILD_HEAD]; + } else { + ngDevMode && assertLContainer(lViewOrLContainer); + const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET]; + if (firstView) next = firstView; + } + if (!next) { + while (lViewOrLContainer && !lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) { + if (isLView(lViewOrLContainer)) { + cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer); + } + lViewOrLContainer = lViewOrLContainer[PARENT]; + } + if (lViewOrLContainer === null) lViewOrLContainer = rootView; + if (isLView(lViewOrLContainer)) { + cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer); + } + next = lViewOrLContainer && lViewOrLContainer[NEXT]; + } + lViewOrLContainer = next; + } +} +function detachMovedView(declarationContainer, lView) { + ngDevMode && assertLContainer(declarationContainer); + ngDevMode && assertDefined(declarationContainer[MOVED_VIEWS], "A projected view should belong to a non-empty projected views collection"); + const movedViews = declarationContainer[MOVED_VIEWS]; + const declarationViewIndex = movedViews.indexOf(lView); + movedViews.splice(declarationViewIndex, 1); +} +function destroyLView(tView, lView) { + if (isDestroyed(lView)) { + return; + } + const renderer = lView[RENDERER]; + if (renderer.destroyNode) { + applyView(tView, lView, renderer, 3, null, null); + } + destroyViewTree(lView); +} +function cleanUpView(tView, lView) { + if (isDestroyed(lView)) { + return; + } + const prevConsumer = setActiveConsumer(null); + try { + lView[FLAGS] &= ~128; + lView[FLAGS] |= 256; + lView[REACTIVE_TEMPLATE_CONSUMER] && consumerDestroy(lView[REACTIVE_TEMPLATE_CONSUMER]); + executeOnDestroys(tView, lView); + processCleanups(tView, lView); + if (lView[TVIEW].type === 1) { + ngDevMode && ngDevMode.rendererDestroy++; + lView[RENDERER].destroy(); + } + const declarationContainer = lView[DECLARATION_LCONTAINER]; + if (declarationContainer !== null && isLContainer(lView[PARENT])) { + if (declarationContainer !== lView[PARENT]) { + detachMovedView(declarationContainer, lView); + } + const lQueries = lView[QUERIES]; + if (lQueries !== null) { + lQueries.detachView(tView); + } + } + unregisterLView(lView); + } finally { + setActiveConsumer(prevConsumer); + } +} +function processCleanups(tView, lView) { + ngDevMode && assertNotReactive(processCleanups.name); + const tCleanup = tView.cleanup; + const lCleanup = lView[CLEANUP]; + if (tCleanup !== null) { + for (let i = 0; i < tCleanup.length - 1; i += 2) { + if (typeof tCleanup[i] === "string") { + const targetIdx = tCleanup[i + 3]; + ngDevMode && assertNumber(targetIdx, "cleanup target must be a number"); + if (targetIdx >= 0) { + lCleanup[targetIdx](); + } else { + lCleanup[-targetIdx].unsubscribe(); + } + i += 2; + } else { + const context2 = lCleanup[tCleanup[i + 1]]; + tCleanup[i].call(context2); + } + } + } + if (lCleanup !== null) { + lView[CLEANUP] = null; + } + const destroyHooks = lView[ON_DESTROY_HOOKS]; + if (destroyHooks !== null) { + lView[ON_DESTROY_HOOKS] = null; + for (let i = 0; i < destroyHooks.length; i++) { + const destroyHooksFn = destroyHooks[i]; + ngDevMode && assertFunction(destroyHooksFn, "Expecting destroy hook to be a function."); + destroyHooksFn(); + } + } + const effects = lView[EFFECTS]; + if (effects !== null) { + lView[EFFECTS] = null; + for (const effect2 of effects) { + effect2.destroy(); + } + } +} +function executeOnDestroys(tView, lView) { + ngDevMode && assertNotReactive(executeOnDestroys.name); + let destroyHooks; + if (tView != null && (destroyHooks = tView.destroyHooks) != null) { + for (let i = 0; i < destroyHooks.length; i += 2) { + const context2 = lView[destroyHooks[i]]; + if (!(context2 instanceof NodeInjectorFactory)) { + const toCall = destroyHooks[i + 1]; + if (Array.isArray(toCall)) { + for (let j = 0; j < toCall.length; j += 2) { + const callContext = context2[toCall[j]]; + const hook = toCall[j + 1]; + profiler(4, callContext, hook); + try { + hook.call(callContext); + } finally { + profiler(5, callContext, hook); + } + } + } else { + profiler(4, context2, toCall); + try { + toCall.call(context2); + } finally { + profiler(5, context2, toCall); + } + } + } + } + } +} +function getParentRElement(tView, tNode, lView) { + return getClosestRElement(tView, tNode.parent, lView); +} +function getClosestRElement(tView, tNode, lView) { + let parentTNode = tNode; + while (parentTNode !== null && parentTNode.type & (8 | 32 | 128)) { + tNode = parentTNode; + parentTNode = tNode.parent; + } + if (parentTNode === null) { + return lView[HOST]; + } else { + ngDevMode && assertTNodeType( + parentTNode, + 3 | 4 + /* TNodeType.Container */ + ); + if (isComponentHost(parentTNode)) { + ngDevMode && assertTNodeForLView(parentTNode, lView); + const { + encapsulation + } = tView.data[parentTNode.directiveStart + parentTNode.componentOffset]; + if (encapsulation === ViewEncapsulation.None || encapsulation === ViewEncapsulation.Emulated) { + return null; + } + } + return getNativeByTNode(parentTNode, lView); + } +} +function getInsertInFrontOfRNode(parentTNode, currentTNode, lView) { + return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView); +} +function getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView) { + if (parentTNode.type & (8 | 32)) { + return getNativeByTNode(parentTNode, lView); + } + return null; +} +var _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithNoI18n; +var _processI18nInsertBefore; +function setI18nHandling(getInsertInFrontOfRNodeWithI18n2, processI18nInsertBefore2) { + _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n2; + _processI18nInsertBefore = processI18nInsertBefore2; +} +function appendChild(tView, lView, childRNode, childTNode) { + const parentRNode = getParentRElement(tView, childTNode, lView); + const renderer = lView[RENDERER]; + const parentTNode = childTNode.parent || lView[T_HOST]; + const anchorNode = getInsertInFrontOfRNode(parentTNode, childTNode, lView); + if (parentRNode != null) { + if (Array.isArray(childRNode)) { + for (let i = 0; i < childRNode.length; i++) { + nativeAppendOrInsertBefore(renderer, parentRNode, childRNode[i], anchorNode, false); + } + } else { + nativeAppendOrInsertBefore(renderer, parentRNode, childRNode, anchorNode, false); + } + } + _processI18nInsertBefore !== void 0 && _processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRNode); +} +function getFirstNativeNode(lView, tNode) { + if (tNode !== null) { + ngDevMode && assertTNodeType( + tNode, + 3 | 12 | 32 | 16 | 128 + /* TNodeType.LetDeclaration */ + ); + const tNodeType = tNode.type; + if (tNodeType & 3) { + return getNativeByTNode(tNode, lView); + } else if (tNodeType & 4) { + return getBeforeNodeForView(-1, lView[tNode.index]); + } else if (tNodeType & 8) { + const elIcuContainerChild = tNode.child; + if (elIcuContainerChild !== null) { + return getFirstNativeNode(lView, elIcuContainerChild); + } else { + const rNodeOrLContainer = lView[tNode.index]; + if (isLContainer(rNodeOrLContainer)) { + return getBeforeNodeForView(-1, rNodeOrLContainer); + } else { + return unwrapRNode(rNodeOrLContainer); + } + } + } else if (tNodeType & 128) { + return getFirstNativeNode(lView, tNode.next); + } else if (tNodeType & 32) { + let nextRNode = icuContainerIterate(tNode, lView); + let rNode = nextRNode(); + return rNode || unwrapRNode(lView[tNode.index]); + } else { + const projectionNodes = getProjectionNodes(lView, tNode); + if (projectionNodes !== null) { + if (Array.isArray(projectionNodes)) { + return projectionNodes[0]; + } + const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]); + ngDevMode && assertParentView(parentView); + return getFirstNativeNode(parentView, projectionNodes); + } else { + return getFirstNativeNode(lView, tNode.next); + } + } + } + return null; +} +function getProjectionNodes(lView, tNode) { + if (tNode !== null) { + const componentView = lView[DECLARATION_COMPONENT_VIEW]; + const componentHost = componentView[T_HOST]; + const slotIdx = tNode.projection; + ngDevMode && assertProjectionSlots(lView); + return componentHost.projection[slotIdx]; + } + return null; +} +function getBeforeNodeForView(viewIndexInContainer, lContainer) { + const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1; + if (nextViewIndex < lContainer.length) { + const lView = lContainer[nextViewIndex]; + const firstTNodeOfView = lView[TVIEW].firstChild; + if (firstTNodeOfView !== null) { + return getFirstNativeNode(lView, firstTNodeOfView); + } + } + return lContainer[NATIVE]; +} +function applyNodes(renderer, action, tNode, lView, parentRElement, beforeNode, isProjection) { + while (tNode != null) { + ngDevMode && assertTNodeForLView(tNode, lView); + if (tNode.type === 128) { + tNode = tNode.next; + continue; + } + ngDevMode && assertTNodeType( + tNode, + 3 | 12 | 16 | 32 + /* TNodeType.Icu */ + ); + const rawSlotValue = lView[tNode.index]; + const tNodeType = tNode.type; + if (isProjection) { + if (action === 0) { + rawSlotValue && attachPatchData(unwrapRNode(rawSlotValue), lView); + tNode.flags |= 2; + } + } + if (!isDetachedByI18n(tNode)) { + if (tNodeType & 8) { + applyNodes(renderer, action, tNode.child, lView, parentRElement, beforeNode, false); + applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode); + } else if (tNodeType & 32) { + const nextRNode = icuContainerIterate(tNode, lView); + let rNode; + while (rNode = nextRNode()) { + applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode); + } + applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode); + } else if (tNodeType & 16) { + applyProjectionRecursive(renderer, action, lView, tNode, parentRElement, beforeNode); + } else { + ngDevMode && assertTNodeType( + tNode, + 3 | 4 + /* TNodeType.Container */ + ); + applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode); + } + } + tNode = isProjection ? tNode.projectionNext : tNode.next; + } +} +function applyView(tView, lView, renderer, action, parentRElement, beforeNode) { + applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false); +} +function applyProjection(tView, lView, tProjectionNode) { + const renderer = lView[RENDERER]; + const parentRNode = getParentRElement(tView, tProjectionNode, lView); + const parentTNode = tProjectionNode.parent || lView[T_HOST]; + let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView); + applyProjectionRecursive(renderer, 0, lView, tProjectionNode, parentRNode, beforeNode); +} +function applyProjectionRecursive(renderer, action, lView, tProjectionNode, parentRElement, beforeNode) { + const componentLView = lView[DECLARATION_COMPONENT_VIEW]; + const componentNode = componentLView[T_HOST]; + ngDevMode && assertEqual(typeof tProjectionNode.projection, "number", "expecting projection index"); + const nodeToProjectOrRNodes = componentNode.projection[tProjectionNode.projection]; + if (Array.isArray(nodeToProjectOrRNodes)) { + for (let i = 0; i < nodeToProjectOrRNodes.length; i++) { + const rNode = nodeToProjectOrRNodes[i]; + applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode); + } + } else { + let nodeToProject = nodeToProjectOrRNodes; + const projectedComponentLView = componentLView[PARENT]; + if (hasInSkipHydrationBlockFlag(tProjectionNode)) { + nodeToProject.flags |= 128; + } + applyNodes(renderer, action, nodeToProject, projectedComponentLView, parentRElement, beforeNode, true); + } +} +function applyContainer(renderer, action, lContainer, parentRElement, beforeNode) { + ngDevMode && assertLContainer(lContainer); + const anchor = lContainer[NATIVE]; + const native = unwrapRNode(lContainer); + if (anchor !== native) { + applyToElementOrContainer(action, renderer, parentRElement, anchor, beforeNode); + } + for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) { + const lView = lContainer[i]; + applyView(lView[TVIEW], lView, renderer, action, parentRElement, anchor); + } +} +function applyStyling(renderer, isClassBased, rNode, prop, value) { + if (isClassBased) { + if (!value) { + ngDevMode && ngDevMode.rendererRemoveClass++; + renderer.removeClass(rNode, prop); + } else { + ngDevMode && ngDevMode.rendererAddClass++; + renderer.addClass(rNode, prop); + } + } else { + let flags = prop.indexOf("-") === -1 ? void 0 : RendererStyleFlags2.DashCase; + if (value == null) { + ngDevMode && ngDevMode.rendererRemoveStyle++; + renderer.removeStyle(rNode, prop, flags); + } else { + const isImportant = typeof value === "string" ? value.endsWith("!important") : false; + if (isImportant) { + value = value.slice(0, -10); + flags |= RendererStyleFlags2.Important; + } + ngDevMode && ngDevMode.rendererSetStyle++; + renderer.setStyle(rNode, prop, value, flags); + } + } +} +function collectNativeNodes(tView, lView, tNode, result, isProjection = false) { + while (tNode !== null) { + if (tNode.type === 128) { + tNode = isProjection ? tNode.projectionNext : tNode.next; + continue; + } + ngDevMode && assertTNodeType( + tNode, + 3 | 12 | 16 | 32 + /* TNodeType.Icu */ + ); + const lNode = lView[tNode.index]; + if (lNode !== null) { + result.push(unwrapRNode(lNode)); + } + if (isLContainer(lNode)) { + collectNativeNodesInLContainer(lNode, result); + } + const tNodeType = tNode.type; + if (tNodeType & 8) { + collectNativeNodes(tView, lView, tNode.child, result); + } else if (tNodeType & 32) { + const nextRNode = icuContainerIterate(tNode, lView); + let rNode; + while (rNode = nextRNode()) { + result.push(rNode); + } + } else if (tNodeType & 16) { + const nodesInSlot = getProjectionNodes(lView, tNode); + if (Array.isArray(nodesInSlot)) { + result.push(...nodesInSlot); + } else { + const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]); + ngDevMode && assertParentView(parentView); + collectNativeNodes(parentView[TVIEW], parentView, nodesInSlot, result, true); + } + } + tNode = isProjection ? tNode.projectionNext : tNode.next; + } + return result; +} +function collectNativeNodesInLContainer(lContainer, result) { + for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) { + const lViewInAContainer = lContainer[i]; + const lViewFirstChildTNode = lViewInAContainer[TVIEW].firstChild; + if (lViewFirstChildTNode !== null) { + collectNativeNodes(lViewInAContainer[TVIEW], lViewInAContainer, lViewFirstChildTNode, result); + } + } + if (lContainer[NATIVE] !== lContainer[HOST]) { + result.push(lContainer[NATIVE]); + } +} +function addAfterRenderSequencesForView(lView) { + if (lView[AFTER_RENDER_SEQUENCES_TO_ADD] !== null) { + for (const sequence of lView[AFTER_RENDER_SEQUENCES_TO_ADD]) { + sequence.impl.addSequence(sequence); + } + lView[AFTER_RENDER_SEQUENCES_TO_ADD].length = 0; + } +} +var freeConsumers = []; +function getOrBorrowReactiveLViewConsumer(lView) { + return lView[REACTIVE_TEMPLATE_CONSUMER] ?? borrowReactiveLViewConsumer(lView); +} +function borrowReactiveLViewConsumer(lView) { + const consumer = freeConsumers.pop() ?? Object.create(REACTIVE_LVIEW_CONSUMER_NODE); + consumer.lView = lView; + return consumer; +} +function maybeReturnReactiveLViewConsumer(consumer) { + if (consumer.lView[REACTIVE_TEMPLATE_CONSUMER] === consumer) { + return; + } + consumer.lView = null; + freeConsumers.push(consumer); +} +var REACTIVE_LVIEW_CONSUMER_NODE = __spreadProps(__spreadValues({}, REACTIVE_NODE), { + consumerIsAlwaysLive: true, + kind: "template", + consumerMarkedDirty: (node) => { + markAncestorsForTraversal(node.lView); + }, + consumerOnSignalRead() { + this.lView[REACTIVE_TEMPLATE_CONSUMER] = this; + } +}); +function getOrCreateTemporaryConsumer(lView) { + const consumer = lView[REACTIVE_TEMPLATE_CONSUMER] ?? Object.create(TEMPORARY_CONSUMER_NODE); + consumer.lView = lView; + return consumer; +} +var TEMPORARY_CONSUMER_NODE = __spreadProps(__spreadValues({}, REACTIVE_NODE), { + consumerIsAlwaysLive: true, + kind: "template", + consumerMarkedDirty: (node) => { + let parent = getLViewParent(node.lView); + while (parent && !viewShouldHaveReactiveConsumer(parent[TVIEW])) { + parent = getLViewParent(parent); + } + if (!parent) { + return; + } + markViewForRefresh(parent); + }, + consumerOnSignalRead() { + this.lView[REACTIVE_TEMPLATE_CONSUMER] = this; + } +}); +function viewShouldHaveReactiveConsumer(tView) { + return tView.type !== 2; +} +function runEffectsInView(view) { + if (view[EFFECTS] === null) { + return; + } + let tryFlushEffects = true; + while (tryFlushEffects) { + let foundDirtyEffect = false; + for (const effect2 of view[EFFECTS]) { + if (!effect2.dirty) { + continue; + } + foundDirtyEffect = true; + if (effect2.zone === null || Zone.current === effect2.zone) { + effect2.run(); + } else { + effect2.zone.run(() => effect2.run()); + } + } + tryFlushEffects = foundDirtyEffect && !!(view[FLAGS] & 8192); + } +} +var MAXIMUM_REFRESH_RERUNS$1 = 100; +function detectChangesInternal(lView, notifyErrorHandler = true, mode = 0) { + const environment = lView[ENVIRONMENT]; + const rendererFactory = environment.rendererFactory; + const checkNoChangesMode = !!ngDevMode && isInCheckNoChangesMode(); + if (!checkNoChangesMode) { + rendererFactory.begin?.(); + } + try { + detectChangesInViewWhileDirty(lView, mode); + } catch (error) { + if (notifyErrorHandler) { + handleError$1(lView, error); + } + throw error; + } finally { + if (!checkNoChangesMode) { + rendererFactory.end?.(); + } + } +} +function detectChangesInViewWhileDirty(lView, mode) { + const lastIsRefreshingViewsValue = isRefreshingViews(); + try { + setIsRefreshingViews(true); + detectChangesInView(lView, mode); + if (ngDevMode && isExhaustiveCheckNoChanges()) { + return; + } + let retries = 0; + while (requiresRefreshOrTraversal(lView)) { + if (retries === MAXIMUM_REFRESH_RERUNS$1) { + throw new RuntimeError(103, ngDevMode && "Infinite change detection while trying to refresh views. There may be components which each cause the other to require a refresh, causing an infinite loop."); + } + retries++; + detectChangesInView( + lView, + 1 + /* ChangeDetectionMode.Targeted */ + ); + } + } finally { + setIsRefreshingViews(lastIsRefreshingViewsValue); + } +} +function checkNoChangesInternal(lView, mode, notifyErrorHandler = true) { + setIsInCheckNoChangesMode(mode); + try { + detectChangesInternal(lView, notifyErrorHandler); + } finally { + setIsInCheckNoChangesMode(CheckNoChangesMode.Off); + } +} +function refreshView(tView, lView, templateFn, context2) { + ngDevMode && assertEqual(isCreationMode(lView), false, "Should be run in update mode"); + if (isDestroyed(lView)) return; + const flags = lView[FLAGS]; + const isInCheckNoChangesPass = ngDevMode && isInCheckNoChangesMode(); + const isInExhaustiveCheckNoChangesPass = ngDevMode && isExhaustiveCheckNoChanges(); + enterView(lView); + let returnConsumerToPool = true; + let prevConsumer = null; + let currentConsumer = null; + if (!isInCheckNoChangesPass) { + if (viewShouldHaveReactiveConsumer(tView)) { + currentConsumer = getOrBorrowReactiveLViewConsumer(lView); + prevConsumer = consumerBeforeComputation(currentConsumer); + } else if (getActiveConsumer() === null) { + returnConsumerToPool = false; + currentConsumer = getOrCreateTemporaryConsumer(lView); + prevConsumer = consumerBeforeComputation(currentConsumer); + } else if (lView[REACTIVE_TEMPLATE_CONSUMER]) { + consumerDestroy(lView[REACTIVE_TEMPLATE_CONSUMER]); + lView[REACTIVE_TEMPLATE_CONSUMER] = null; + } + } + try { + resetPreOrderHookFlags(lView); + setBindingIndex(tView.bindingStartIndex); + if (templateFn !== null) { + executeTemplate(tView, lView, templateFn, 2, context2); + } + const hooksInitPhaseCompleted = (flags & 3) === 3; + if (!isInCheckNoChangesPass) { + if (hooksInitPhaseCompleted) { + const preOrderCheckHooks = tView.preOrderCheckHooks; + if (preOrderCheckHooks !== null) { + executeCheckHooks(lView, preOrderCheckHooks, null); + } + } else { + const preOrderHooks = tView.preOrderHooks; + if (preOrderHooks !== null) { + executeInitAndCheckHooks(lView, preOrderHooks, 0, null); + } + incrementInitPhaseFlags( + lView, + 0 + /* InitPhaseState.OnInitHooksToBeRun */ + ); + } + } + if (!isInExhaustiveCheckNoChangesPass) { + markTransplantedViewsForRefresh(lView); + } + runEffectsInView(lView); + detectChangesInEmbeddedViews( + lView, + 0 + /* ChangeDetectionMode.Global */ + ); + if (tView.contentQueries !== null) { + refreshContentQueries(tView, lView); + } + if (!isInCheckNoChangesPass) { + if (hooksInitPhaseCompleted) { + const contentCheckHooks = tView.contentCheckHooks; + if (contentCheckHooks !== null) { + executeCheckHooks(lView, contentCheckHooks); + } + } else { + const contentHooks = tView.contentHooks; + if (contentHooks !== null) { + executeInitAndCheckHooks( + lView, + contentHooks, + 1 + /* InitPhaseState.AfterContentInitHooksToBeRun */ + ); + } + incrementInitPhaseFlags( + lView, + 1 + /* InitPhaseState.AfterContentInitHooksToBeRun */ + ); + } + } + processHostBindingOpCodes(tView, lView); + const components = tView.components; + if (components !== null) { + detectChangesInChildComponents( + lView, + components, + 0 + /* ChangeDetectionMode.Global */ + ); + } + const viewQuery = tView.viewQuery; + if (viewQuery !== null) { + executeViewQueryFn(2, viewQuery, context2); + } + if (!isInCheckNoChangesPass) { + if (hooksInitPhaseCompleted) { + const viewCheckHooks = tView.viewCheckHooks; + if (viewCheckHooks !== null) { + executeCheckHooks(lView, viewCheckHooks); + } + } else { + const viewHooks = tView.viewHooks; + if (viewHooks !== null) { + executeInitAndCheckHooks( + lView, + viewHooks, + 2 + /* InitPhaseState.AfterViewInitHooksToBeRun */ + ); + } + incrementInitPhaseFlags( + lView, + 2 + /* InitPhaseState.AfterViewInitHooksToBeRun */ + ); + } + } + if (tView.firstUpdatePass === true) { + tView.firstUpdatePass = false; + } + if (lView[EFFECTS_TO_SCHEDULE]) { + for (const notifyEffect of lView[EFFECTS_TO_SCHEDULE]) { + notifyEffect(); + } + lView[EFFECTS_TO_SCHEDULE] = null; + } + if (!isInCheckNoChangesPass) { + addAfterRenderSequencesForView(lView); + lView[FLAGS] &= ~(64 | 8); + } + } catch (e) { + if (!isInCheckNoChangesPass) { + markAncestorsForTraversal(lView); + } + throw e; + } finally { + if (currentConsumer !== null) { + consumerAfterComputation(currentConsumer, prevConsumer); + if (returnConsumerToPool) { + maybeReturnReactiveLViewConsumer(currentConsumer); + } + } + leaveView(); + } +} +function detectChangesInEmbeddedViews(lView, mode) { + for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) { + for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) { + const embeddedLView = lContainer[i]; + detectChangesInViewIfAttached(embeddedLView, mode); + } + } +} +function markTransplantedViewsForRefresh(lView) { + for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) { + if (!(lContainer[FLAGS] & 2)) continue; + const movedViews = lContainer[MOVED_VIEWS]; + ngDevMode && assertDefined(movedViews, "Transplanted View flags set but missing MOVED_VIEWS"); + for (let i = 0; i < movedViews.length; i++) { + const movedLView = movedViews[i]; + markViewForRefresh(movedLView); + } + } +} +function detectChangesInComponent(hostLView, componentHostIdx, mode) { + ngDevMode && assertEqual(isCreationMode(hostLView), false, "Should be run in update mode"); + profiler( + 18 + /* ProfilerEvent.ComponentStart */ + ); + const componentView = getComponentLViewByIndex(componentHostIdx, hostLView); + detectChangesInViewIfAttached(componentView, mode); + profiler(19, componentView[CONTEXT]); +} +function detectChangesInViewIfAttached(lView, mode) { + if (!viewAttachedToChangeDetector(lView)) { + return; + } + detectChangesInView(lView, mode); +} +function detectChangesInView(lView, mode) { + const isInCheckNoChangesPass = ngDevMode && isInCheckNoChangesMode(); + const tView = lView[TVIEW]; + const flags = lView[FLAGS]; + const consumer = lView[REACTIVE_TEMPLATE_CONSUMER]; + let shouldRefreshView = !!(mode === 0 && flags & 16); + shouldRefreshView ||= !!(flags & 64 && mode === 0 && !isInCheckNoChangesPass); + shouldRefreshView ||= !!(flags & 1024); + shouldRefreshView ||= !!(consumer?.dirty && consumerPollProducersForChange(consumer)); + shouldRefreshView ||= !!(ngDevMode && isExhaustiveCheckNoChanges()); + if (consumer) { + consumer.dirty = false; + } + lView[FLAGS] &= -9217; + if (shouldRefreshView) { + refreshView(tView, lView, tView.template, lView[CONTEXT]); + } else if (flags & 8192) { + if (!isInCheckNoChangesPass) { + runEffectsInView(lView); + } + detectChangesInEmbeddedViews( + lView, + 1 + /* ChangeDetectionMode.Targeted */ + ); + const components = tView.components; + if (components !== null) { + detectChangesInChildComponents( + lView, + components, + 1 + /* ChangeDetectionMode.Targeted */ + ); + } + if (!isInCheckNoChangesPass) { + addAfterRenderSequencesForView(lView); + } + } +} +function detectChangesInChildComponents(hostLView, components, mode) { + for (let i = 0; i < components.length; i++) { + detectChangesInComponent(hostLView, components[i], mode); + } +} +function processHostBindingOpCodes(tView, lView) { + const hostBindingOpCodes = tView.hostBindingOpCodes; + if (hostBindingOpCodes === null) return; + try { + for (let i = 0; i < hostBindingOpCodes.length; i++) { + const opCode = hostBindingOpCodes[i]; + if (opCode < 0) { + setSelectedIndex(~opCode); + } else { + const directiveIdx = opCode; + const bindingRootIndx = hostBindingOpCodes[++i]; + const hostBindingFn = hostBindingOpCodes[++i]; + setBindingRootForHostBindings(bindingRootIndx, directiveIdx); + const context2 = lView[directiveIdx]; + profiler(24, context2); + hostBindingFn(2, context2); + profiler(25, context2); + } + } + } finally { + setSelectedIndex(-1); + } +} +function markViewDirty(lView, source) { + const dirtyBitsToUse = isRefreshingViews() ? ( + // When we are actively refreshing views, we only use the `Dirty` bit to mark a view + 64 + ) : ( + // When we are not actively refreshing a view tree, it is absolutely + // valid to update state and mark views dirty. We use the `RefreshView` flag in this + // case to allow synchronously rerunning change detection. This applies today to + // afterRender hooks as well as animation listeners which execute after detecting + // changes in a view when the render factory flushes. + 1024 | 64 + ); + lView[ENVIRONMENT].changeDetectionScheduler?.notify(source); + while (lView) { + lView[FLAGS] |= dirtyBitsToUse; + const parent = getLViewParent(lView); + if (isRootView(lView) && !parent) { + return lView; + } + lView = parent; + } + return null; +} +function createLContainer(hostNative, currentView, native, tNode) { + ngDevMode && assertLView(currentView); + const lContainer = [ + hostNative, + // host native + true, + // Boolean `true` in this position signifies that this is an `LContainer` + 0, + // flags + currentView, + // parent + null, + // next + tNode, + // t_host + null, + // dehydrated views + native, + // native, + null, + // view refs + null + // moved views + ]; + ngDevMode && assertEqual(lContainer.length, CONTAINER_HEADER_OFFSET, "Should allocate correct number of slots for LContainer header."); + return lContainer; +} +function getLViewFromLContainer(lContainer, index) { + const adjustedIndex = CONTAINER_HEADER_OFFSET + index; + if (adjustedIndex < lContainer.length) { + const lView = lContainer[adjustedIndex]; + ngDevMode && assertLView(lView); + return lView; + } + return void 0; +} +function addLViewToLContainer(lContainer, lView, index, addToDOM = true) { + const tView = lView[TVIEW]; + insertView(tView, lView, lContainer, index); + if (addToDOM) { + const beforeNode = getBeforeNodeForView(index, lContainer); + const renderer = lView[RENDERER]; + const parentRNode = renderer.parentNode(lContainer[NATIVE]); + if (parentRNode !== null) { + addViewToDOM(tView, lContainer[T_HOST], renderer, lView, parentRNode, beforeNode); + } + } + const hydrationInfo = lView[HYDRATION]; + if (hydrationInfo !== null && hydrationInfo.firstChild !== null) { + hydrationInfo.firstChild = null; + } +} +function removeLViewFromLContainer(lContainer, index) { + const lView = detachView(lContainer, index); + if (lView !== void 0) { + destroyLView(lView[TVIEW], lView); + } + return lView; +} +function detachView(lContainer, removeIndex) { + if (lContainer.length <= CONTAINER_HEADER_OFFSET) return; + const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex; + const viewToDetach = lContainer[indexInContainer]; + if (viewToDetach) { + const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER]; + if (declarationLContainer !== null && declarationLContainer !== lContainer) { + detachMovedView(declarationLContainer, viewToDetach); + } + if (removeIndex > 0) { + lContainer[indexInContainer - 1][NEXT] = viewToDetach[NEXT]; + } + const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex); + removeViewFromDOM(viewToDetach[TVIEW], viewToDetach); + const lQueries = removedLView[QUERIES]; + if (lQueries !== null) { + lQueries.detachView(removedLView[TVIEW]); + } + viewToDetach[PARENT] = null; + viewToDetach[NEXT] = null; + viewToDetach[FLAGS] &= -129; + } + return viewToDetach; +} +function insertView(tView, lView, lContainer, index) { + ngDevMode && assertLView(lView); + ngDevMode && assertLContainer(lContainer); + const indexInContainer = CONTAINER_HEADER_OFFSET + index; + const containerLength = lContainer.length; + if (index > 0) { + lContainer[indexInContainer - 1][NEXT] = lView; + } + if (index < containerLength - CONTAINER_HEADER_OFFSET) { + lView[NEXT] = lContainer[indexInContainer]; + addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView); + } else { + lContainer.push(lView); + lView[NEXT] = null; + } + lView[PARENT] = lContainer; + const declarationLContainer = lView[DECLARATION_LCONTAINER]; + if (declarationLContainer !== null && lContainer !== declarationLContainer) { + trackMovedView(declarationLContainer, lView); + } + const lQueries = lView[QUERIES]; + if (lQueries !== null) { + lQueries.insertView(tView); + } + updateAncestorTraversalFlagsOnAttach(lView); + lView[FLAGS] |= 128; +} +function trackMovedView(declarationContainer, lView) { + ngDevMode && assertDefined(lView, "LView required"); + ngDevMode && assertLContainer(declarationContainer); + const movedViews = declarationContainer[MOVED_VIEWS]; + const parent = lView[PARENT]; + ngDevMode && assertDefined(parent, "missing parent"); + if (isLView(parent)) { + declarationContainer[FLAGS] |= 2; + } else { + const insertedComponentLView = parent[PARENT][DECLARATION_COMPONENT_VIEW]; + ngDevMode && assertDefined(insertedComponentLView, "Missing insertedComponentLView"); + const declaredComponentLView = lView[DECLARATION_COMPONENT_VIEW]; + ngDevMode && assertDefined(declaredComponentLView, "Missing declaredComponentLView"); + if (declaredComponentLView !== insertedComponentLView) { + declarationContainer[FLAGS] |= 2; + } + } + if (movedViews === null) { + declarationContainer[MOVED_VIEWS] = [lView]; + } else { + movedViews.push(lView); + } +} +var ViewRef$1 = class ViewRef { + _lView; + _cdRefInjectingView; + notifyErrorHandler; + _appRef = null; + _attachedToViewContainer = false; + get rootNodes() { + const lView = this._lView; + const tView = lView[TVIEW]; + return collectNativeNodes(tView, lView, tView.firstChild, []); + } + constructor(_lView, _cdRefInjectingView, notifyErrorHandler = true) { + this._lView = _lView; + this._cdRefInjectingView = _cdRefInjectingView; + this.notifyErrorHandler = notifyErrorHandler; + } + get context() { + return this._lView[CONTEXT]; + } + /** + * @deprecated Replacing the full context object is not supported. Modify the context + * directly, or consider using a `Proxy` if you need to replace the full object. + * // TODO(devversion): Remove this. + */ + set context(value) { + if (ngDevMode) { + console.warn("Angular: Replacing the `context` object of an `EmbeddedViewRef` is deprecated."); + } + this._lView[CONTEXT] = value; + } + get destroyed() { + return isDestroyed(this._lView); + } + destroy() { + if (this._appRef) { + this._appRef.detachView(this); + } else if (this._attachedToViewContainer) { + const parent = this._lView[PARENT]; + if (isLContainer(parent)) { + const viewRefs = parent[VIEW_REFS]; + const index = viewRefs ? viewRefs.indexOf(this) : -1; + if (index > -1) { + ngDevMode && assertEqual(index, parent.indexOf(this._lView) - CONTAINER_HEADER_OFFSET, "An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."); + detachView(parent, index); + removeFromArray(viewRefs, index); + } + } + this._attachedToViewContainer = false; + } + destroyLView(this._lView[TVIEW], this._lView); + } + onDestroy(callback) { + storeLViewOnDestroy(this._lView, callback); + } + /** + * Marks a view and all of its ancestors dirty. + * + * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush} component is + * checked when it needs to be re-rendered but the two normal triggers haven't marked it + * dirty (i.e. inputs haven't changed and events haven't fired in the view). + * + * + * + * @usageNotes + * ### Example + * + * ```ts + * @Component({ + * selector: 'app-root', + * template: `Number of ticks: {{numberOfTicks}}` + * changeDetection: ChangeDetectionStrategy.OnPush, + * }) + * class AppComponent { + * numberOfTicks = 0; + * + * constructor(private ref: ChangeDetectorRef) { + * setInterval(() => { + * this.numberOfTicks++; + * // the following is required, otherwise the view will not be updated + * this.ref.markForCheck(); + * }, 1000); + * } + * } + * ``` + */ + markForCheck() { + markViewDirty( + this._cdRefInjectingView || this._lView, + 4 + /* NotificationSource.MarkForCheck */ + ); + } + /** + * Detaches the view from the change detection tree. + * + * Detached views will not be checked during change detection runs until they are + * re-attached, even if they are dirty. `detach` can be used in combination with + * {@link ChangeDetectorRef#detectChanges} to implement local change + * detection checks. + * + * + * + * + * @usageNotes + * ### Example + * + * The following example defines a component with a large list of readonly data. + * Imagine the data changes constantly, many times per second. For performance reasons, + * we want to check and update the list every five seconds. We can do that by detaching + * the component's change detector and doing a local check every five seconds. + * + * ```ts + * class DataProvider { + * // in a real application the returned data will be different every time + * get data() { + * return [1,2,3,4,5]; + * } + * } + * + * @Component({ + * selector: 'giant-list', + * template: ` + *
  • Data {{d}}
  • + * `, + * }) + * class GiantList { + * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) { + * ref.detach(); + * setInterval(() => { + * this.ref.detectChanges(); + * }, 5000); + * } + * } + * + * @Component({ + * selector: 'app', + * providers: [DataProvider], + * template: ` + * + * `, + * }) + * class App { + * } + * ``` + */ + detach() { + this._lView[FLAGS] &= -129; + } + /** + * Re-attaches a view to the change detection tree. + * + * This can be used to re-attach views that were previously detached from the tree + * using {@link ChangeDetectorRef#detach}. Views are attached to the tree by default. + * + * + * + * @usageNotes + * ### Example + * + * The following example creates a component displaying `live` data. The component will detach + * its change detector from the main change detector tree when the component's live property + * is set to false. + * + * ```ts + * class DataProvider { + * data = 1; + * + * constructor() { + * setInterval(() => { + * this.data = this.data * 2; + * }, 500); + * } + * } + * + * @Component({ + * selector: 'live-data', + * inputs: ['live'], + * template: 'Data: {{dataProvider.data}}' + * }) + * class LiveData { + * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {} + * + * set live(value) { + * if (value) { + * this.ref.reattach(); + * } else { + * this.ref.detach(); + * } + * } + * } + * + * @Component({ + * selector: 'app-root', + * providers: [DataProvider], + * template: ` + * Live Update: + * + * `, + * }) + * class AppComponent { + * live = true; + * } + * ``` + */ + reattach() { + updateAncestorTraversalFlagsOnAttach(this._lView); + this._lView[FLAGS] |= 128; + } + /** + * Checks the view and its children. + * + * This can also be used in combination with {@link ChangeDetectorRef#detach} to implement + * local change detection checks. + * + * + * + * + * @usageNotes + * ### Example + * + * The following example defines a component with a large list of readonly data. + * Imagine, the data changes constantly, many times per second. For performance reasons, + * we want to check and update the list every five seconds. + * + * We can do that by detaching the component's change detector and doing a local change detection + * check every five seconds. + * + * See {@link ChangeDetectorRef#detach} for more information. + */ + detectChanges() { + this._lView[FLAGS] |= 1024; + detectChangesInternal(this._lView, this.notifyErrorHandler); + } + /** + * Checks the change detector and its children, and throws if any changes are detected. + * + * This is used in development mode to verify that running change detection doesn't + * introduce other changes. + */ + checkNoChanges() { + if (ngDevMode) { + checkNoChangesInternal(this._lView, CheckNoChangesMode.OnlyDirtyViews, this.notifyErrorHandler); + } + } + attachToViewContainerRef() { + if (this._appRef) { + throw new RuntimeError(902, ngDevMode && "This view is already attached directly to the ApplicationRef!"); + } + this._attachedToViewContainer = true; + } + detachFromAppRef() { + this._appRef = null; + const isRoot = isRootView(this._lView); + const declarationContainer = this._lView[DECLARATION_LCONTAINER]; + if (declarationContainer !== null && !isRoot) { + detachMovedView(declarationContainer, this._lView); + } + detachViewFromDOM(this._lView[TVIEW], this._lView); + } + attachToAppRef(appRef) { + if (this._attachedToViewContainer) { + throw new RuntimeError(902, ngDevMode && "This view is already attached to a ViewContainer!"); + } + this._appRef = appRef; + const isRoot = isRootView(this._lView); + const declarationContainer = this._lView[DECLARATION_LCONTAINER]; + if (declarationContainer !== null && !isRoot) { + trackMovedView(declarationContainer, this._lView); + } + updateAncestorTraversalFlagsOnAttach(this._lView); + } +}; +var TemplateRef = class { + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = injectTemplateRef; +}; +var ViewEngineTemplateRef = TemplateRef; +var R3TemplateRef = class TemplateRef2 extends ViewEngineTemplateRef { + _declarationLView; + _declarationTContainer; + elementRef; + constructor(_declarationLView, _declarationTContainer, elementRef) { + super(); + this._declarationLView = _declarationLView; + this._declarationTContainer = _declarationTContainer; + this.elementRef = elementRef; + } + /** + * Returns an `ssrId` associated with a TView, which was used to + * create this instance of the `TemplateRef`. + * + * @internal + */ + get ssrId() { + return this._declarationTContainer.tView?.ssrId || null; + } + createEmbeddedView(context2, injector) { + return this.createEmbeddedViewImpl(context2, injector); + } + /** + * @internal + */ + createEmbeddedViewImpl(context2, injector, dehydratedView) { + const embeddedLView = createAndRenderEmbeddedLView(this._declarationLView, this._declarationTContainer, context2, { + embeddedViewInjector: injector, + dehydratedView + }); + return new ViewRef$1(embeddedLView); + } +}; +function injectTemplateRef() { + return createTemplateRef(getCurrentTNode(), getLView()); +} +function createTemplateRef(hostTNode, hostLView) { + if (hostTNode.type & 4) { + ngDevMode && assertDefined(hostTNode.tView, "TView must be allocated"); + return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView)); + } + return null; +} +var AT_THIS_LOCATION = "<-- AT THIS LOCATION"; +function getFriendlyStringFromTNodeType(tNodeType) { + switch (tNodeType) { + case 4: + return "view container"; + case 2: + return "element"; + case 8: + return "ng-container"; + case 32: + return "icu"; + case 64: + return "i18n"; + case 16: + return "projection"; + case 1: + return "text"; + case 128: + return "@let"; + default: + return ""; + } +} +function validateSiblingNodeExists(node) { + validateNodeExists(node); + if (!node.nextSibling) { + const header = "During hydration Angular expected more sibling nodes to be present.\n\n"; + const actual = `Actual DOM is: + +${describeDomFromNode(node)} + +`; + const footer = getHydrationErrorFooter(); + const message = header + actual + footer; + markRNodeAsHavingHydrationMismatch(node, "", actual); + throw new RuntimeError(-501, message); + } +} +function validateNodeExists(node, lView = null, tNode = null) { + if (!node) { + const header = "During hydration, Angular expected an element to be present at this location.\n\n"; + let expected = ""; + let footer = ""; + if (lView !== null && tNode !== null) { + expected = describeExpectedDom(lView, tNode, false); + footer = getHydrationErrorFooter(); + markRNodeAsHavingHydrationMismatch(unwrapRNode(lView[HOST]), expected, ""); + } + throw new RuntimeError(-502, `${header}${expected} + +${footer}`); + } +} +function stringifyTNodeAttrs(tNode) { + const results = []; + if (tNode.attrs) { + for (let i = 0; i < tNode.attrs.length; ) { + const attrName = tNode.attrs[i++]; + if (typeof attrName == "number") { + break; + } + const attrValue = tNode.attrs[i++]; + results.push(`${attrName}="${shorten(attrValue)}"`); + } + } + return results.join(" "); +} +var internalAttrs = /* @__PURE__ */ new Set(["ngh", "ng-version", "ng-server-context"]); +function stringifyRNodeAttrs(rNode) { + const results = []; + for (let i = 0; i < rNode.attributes.length; i++) { + const attr = rNode.attributes[i]; + if (internalAttrs.has(attr.name)) continue; + results.push(`${attr.name}="${shorten(attr.value)}"`); + } + return results.join(" "); +} +function describeTNode(tNode, innerContent = "\u2026") { + switch (tNode.type) { + case 1: + const content = tNode.value ? `(${tNode.value})` : ""; + return `#text${content}`; + case 2: + const attrs = stringifyTNodeAttrs(tNode); + const tag = tNode.value.toLowerCase(); + return `<${tag}${attrs ? " " + attrs : ""}>${innerContent}`; + case 8: + return ""; + case 4: + return ""; + default: + const typeAsString = getFriendlyStringFromTNodeType(tNode.type); + return `#node(${typeAsString})`; + } +} +function describeRNode(rNode, innerContent = "\u2026") { + const node = rNode; + switch (node.nodeType) { + case Node.ELEMENT_NODE: + const tag = node.tagName.toLowerCase(); + const attrs = stringifyRNodeAttrs(node); + return `<${tag}${attrs ? " " + attrs : ""}>${innerContent}`; + case Node.TEXT_NODE: + const content = node.textContent ? shorten(node.textContent) : ""; + return `#text${content ? `(${content})` : ""}`; + case Node.COMMENT_NODE: + return ``; + default: + return `#node(${node.nodeType})`; + } +} +function describeExpectedDom(lView, tNode, isViewContainerAnchor) { + const spacer = " "; + let content = ""; + if (tNode.prev) { + content += spacer + "\u2026\n"; + content += spacer + describeTNode(tNode.prev) + "\n"; + } else if (tNode.type && tNode.type & 12) { + content += spacer + "\u2026\n"; + } + if (isViewContainerAnchor) { + content += spacer + describeTNode(tNode) + "\n"; + content += spacer + ` ${AT_THIS_LOCATION} +`; + } else { + content += spacer + describeTNode(tNode) + ` ${AT_THIS_LOCATION} +`; + } + content += spacer + "\u2026\n"; + const parentRNode = tNode.type ? getParentRElement(lView[TVIEW], tNode, lView) : null; + if (parentRNode) { + content = describeRNode(parentRNode, "\n" + content); + } + return content; +} +function describeDomFromNode(node) { + const spacer = " "; + let content = ""; + const currentNode = node; + if (currentNode.previousSibling) { + content += spacer + "\u2026\n"; + content += spacer + describeRNode(currentNode.previousSibling) + "\n"; + } + content += spacer + describeRNode(currentNode) + ` ${AT_THIS_LOCATION} +`; + if (node.nextSibling) { + content += spacer + "\u2026\n"; + } + if (node.parentNode) { + content = describeRNode(currentNode.parentNode, "\n" + content); + } + return content; +} +function getHydrationErrorFooter(componentClassName) { + const componentInfo = componentClassName ? `the "${componentClassName}"` : "corresponding"; + return `To fix this problem: + * check ${componentInfo} component for hydration-related issues + * check to see if your template has valid HTML structure + * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template + +`; +} +function stripNewlines(input2) { + return input2.replace(/\s+/gm, ""); +} +function shorten(input2, maxLength = 50) { + if (!input2) { + return ""; + } + input2 = stripNewlines(input2); + return input2.length > maxLength ? `${input2.substring(0, maxLength - 1)}\u2026` : input2; +} +function getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView) { + const tNodeInsertBeforeIndex = currentTNode.insertBeforeIndex; + const insertBeforeIndex = Array.isArray(tNodeInsertBeforeIndex) ? tNodeInsertBeforeIndex[0] : tNodeInsertBeforeIndex; + if (insertBeforeIndex === null) { + return getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView); + } else { + ngDevMode && assertIndexInRange(lView, insertBeforeIndex); + return unwrapRNode(lView[insertBeforeIndex]); + } +} +function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRElement) { + const tNodeInsertBeforeIndex = childTNode.insertBeforeIndex; + if (Array.isArray(tNodeInsertBeforeIndex)) { + ngDevMode && assertDomNode(childRNode); + let i18nParent = childRNode; + let anchorRNode = null; + if (!(childTNode.type & 3)) { + anchorRNode = i18nParent; + i18nParent = parentRElement; + } + if (i18nParent !== null && childTNode.componentOffset === -1) { + for (let i = 1; i < tNodeInsertBeforeIndex.length; i++) { + const i18nChild = lView[tNodeInsertBeforeIndex[i]]; + nativeInsertBefore(renderer, i18nParent, i18nChild, anchorRNode, false); + } + } + } +} +function getOrCreateTNode(tView, index, type, name, attrs) { + ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in + // `view_engine_compatibility` for additional context. + assertGreaterThanOrEqual(index, HEADER_OFFSET, "TNodes can't be in the LView header."); + ngDevMode && assertPureTNodeType(type); + let tNode = tView.data[index]; + if (tNode === null) { + tNode = createTNodeAtIndex(tView, index, type, name, attrs); + if (isInI18nBlock()) { + tNode.flags |= 32; + } + } else if (tNode.type & 64) { + tNode.type = type; + tNode.value = name; + tNode.attrs = attrs; + const parent = getCurrentParentTNode(); + tNode.injectorIndex = parent === null ? -1 : parent.injectorIndex; + ngDevMode && assertTNodeForTView(tNode, tView); + ngDevMode && assertEqual(index, tNode.index, "Expecting same index"); + } + setCurrentTNode(tNode, true); + return tNode; +} +function createTNodeAtIndex(tView, index, type, name, attrs) { + const currentTNode = getCurrentTNodePlaceholderOk(); + const isParent = isCurrentTNodeParent(); + const parent = isParent ? currentTNode : currentTNode && currentTNode.parent; + const tNode = tView.data[index] = createTNode(tView, parent, type, index, name, attrs); + linkTNodeInTView(tView, tNode, currentTNode, isParent); + return tNode; +} +function linkTNodeInTView(tView, tNode, currentTNode, isParent) { + if (tView.firstChild === null) { + tView.firstChild = tNode; + } + if (currentTNode !== null) { + if (isParent) { + if (currentTNode.child == null && tNode.parent !== null) { + currentTNode.child = tNode; + } + } else { + if (currentTNode.next === null) { + currentTNode.next = tNode; + tNode.prev = currentTNode; + } + } + } +} +function createTNode(tView, tParent, type, index, value, attrs) { + ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in + // `view_engine_compatibility` for additional context. + assertGreaterThanOrEqual(index, HEADER_OFFSET, "TNodes can't be in the LView header."); + ngDevMode && assertNotSame(attrs, void 0, "'undefined' is not valid value for 'attrs'"); + ngDevMode && ngDevMode.tNode++; + ngDevMode && tParent && assertTNodeForTView(tParent, tView); + let injectorIndex = tParent ? tParent.injectorIndex : -1; + let flags = 0; + if (isInSkipHydrationBlock$1()) { + flags |= 128; + } + const tNode = { + type, + index, + insertBeforeIndex: null, + injectorIndex, + directiveStart: -1, + directiveEnd: -1, + directiveStylingLast: -1, + componentOffset: -1, + propertyBindings: null, + flags, + providerIndexes: 0, + value, + attrs, + mergedAttrs: null, + localNames: null, + initialInputs: null, + inputs: null, + hostDirectiveInputs: null, + outputs: null, + hostDirectiveOutputs: null, + directiveToIndex: null, + tView: null, + next: null, + prev: null, + projectionNext: null, + child: null, + parent: tParent, + projection: null, + styles: null, + stylesWithoutHost: null, + residualStyles: void 0, + classes: null, + classesWithoutHost: null, + residualClasses: void 0, + classBindings: 0, + styleBindings: 0 + }; + if (ngDevMode) { + Object.seal(tNode); + } + return tNode; +} +function addTNodeAndUpdateInsertBeforeIndex(previousTNodes, newTNode) { + ngDevMode && assertEqual(newTNode.insertBeforeIndex, null, "We expect that insertBeforeIndex is not set"); + previousTNodes.push(newTNode); + if (previousTNodes.length > 1) { + for (let i = previousTNodes.length - 2; i >= 0; i--) { + const existingTNode = previousTNodes[i]; + if (!isI18nText(existingTNode)) { + if (isNewTNodeCreatedBefore(existingTNode, newTNode) && getInsertBeforeIndex(existingTNode) === null) { + setInsertBeforeIndex(existingTNode, newTNode.index); + } + } + } + } +} +function isI18nText(tNode) { + return !(tNode.type & 64); +} +function isNewTNodeCreatedBefore(existingTNode, newTNode) { + return isI18nText(newTNode) || existingTNode.index > newTNode.index; +} +function getInsertBeforeIndex(tNode) { + const index = tNode.insertBeforeIndex; + return Array.isArray(index) ? index[0] : index; +} +function setInsertBeforeIndex(tNode, value) { + const index = tNode.insertBeforeIndex; + if (Array.isArray(index)) { + index[0] = value; + } else { + setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore); + tNode.insertBeforeIndex = value; + } +} +function getTIcu(tView, index) { + const value = tView.data[index]; + if (value === null || typeof value === "string") return null; + if (ngDevMode && !(value.hasOwnProperty("tView") || value.hasOwnProperty("currentCaseLViewIndex"))) { + throwError2("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: " + value); + } + const tIcu = value.hasOwnProperty("currentCaseLViewIndex") ? value : value.value; + ngDevMode && assertTIcu(tIcu); + return tIcu; +} +function setTIcu(tView, index, tIcu) { + const tNode = tView.data[index]; + ngDevMode && assertEqual(tNode === null || tNode.hasOwnProperty("tView"), true, "We expect to get 'null'|'TIcuContainer'"); + if (tNode === null) { + tView.data[index] = tIcu; + } else { + ngDevMode && assertTNodeType( + tNode, + 32 + /* TNodeType.Icu */ + ); + tNode.value = tIcu; + } +} +function setTNodeInsertBeforeIndex(tNode, index) { + ngDevMode && assertTNode(tNode); + let insertBeforeIndex = tNode.insertBeforeIndex; + if (insertBeforeIndex === null) { + setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore); + insertBeforeIndex = tNode.insertBeforeIndex = [null, index]; + } else { + assertEqual(Array.isArray(insertBeforeIndex), true, "Expecting array here"); + insertBeforeIndex.push(index); + } +} +function createTNodePlaceholder(tView, previousTNodes, index) { + const tNode = createTNodeAtIndex(tView, index, 64, null, null); + addTNodeAndUpdateInsertBeforeIndex(previousTNodes, tNode); + return tNode; +} +function getCurrentICUCaseIndex(tIcu, lView) { + const currentCase = lView[tIcu.currentCaseLViewIndex]; + return currentCase === null ? currentCase : currentCase < 0 ? ~currentCase : currentCase; +} +function getParentFromIcuCreateOpCode(mergedCode) { + return mergedCode >>> 17; +} +function getRefFromIcuCreateOpCode(mergedCode) { + return (mergedCode & 131070) >>> 1; +} +function getInstructionFromIcuCreateOpCode(mergedCode) { + return mergedCode & 1; +} +function icuCreateOpCode(opCode, parentIdx, refIdx) { + ngDevMode && assertGreaterThanOrEqual(parentIdx, 0, "Missing parent index"); + ngDevMode && assertGreaterThan(refIdx, 0, "Missing ref index"); + return opCode | parentIdx << 17 | refIdx << 1; +} +function isRootTemplateMessage(subTemplateIndex) { + return subTemplateIndex === -1; +} +function enterIcu(state, tIcu, lView) { + state.index = 0; + const currentCase = getCurrentICUCaseIndex(tIcu, lView); + if (currentCase !== null) { + ngDevMode && assertNumberInRange(currentCase, 0, tIcu.cases.length - 1); + state.removes = tIcu.remove[currentCase]; + } else { + state.removes = EMPTY_ARRAY; + } +} +function icuContainerIteratorNext(state) { + if (state.index < state.removes.length) { + const removeOpCode = state.removes[state.index++]; + ngDevMode && assertNumber(removeOpCode, "Expecting OpCode number"); + if (removeOpCode > 0) { + const rNode = state.lView[removeOpCode]; + ngDevMode && assertDomNode(rNode); + return rNode; + } else { + state.stack.push(state.index, state.removes); + const tIcuIndex = ~removeOpCode; + const tIcu = state.lView[TVIEW].data[tIcuIndex]; + ngDevMode && assertTIcu(tIcu); + enterIcu(state, tIcu, state.lView); + return icuContainerIteratorNext(state); + } + } else { + if (state.stack.length === 0) { + return null; + } else { + state.removes = state.stack.pop(); + state.index = state.stack.pop(); + return icuContainerIteratorNext(state); + } + } +} +function loadIcuContainerVisitor() { + const _state = { + stack: [], + index: -1 + }; + function icuContainerIteratorStart(tIcuContainerNode, lView) { + _state.lView = lView; + while (_state.stack.length) _state.stack.pop(); + ngDevMode && assertTNodeForLView(tIcuContainerNode, lView); + enterIcu(_state, tIcuContainerNode.value, lView); + return icuContainerIteratorNext.bind(null, _state); + } + return icuContainerIteratorStart; +} +var REF_EXTRACTOR_REGEXP = /* @__PURE__ */ new RegExp(`^(\\d+)*(${REFERENCE_NODE_BODY}|${REFERENCE_NODE_HOST})*(.*)`); +var _prepareI18nBlockForHydrationImpl = () => { +}; +function prepareI18nBlockForHydration(lView, index, parentTNode, subTemplateIndex) { + _prepareI18nBlockForHydrationImpl(lView, index, parentTNode, subTemplateIndex); +} +var _claimDehydratedIcuCaseImpl = () => { +}; +function claimDehydratedIcuCase(lView, icuIndex, caseIndex) { + _claimDehydratedIcuCaseImpl(lView, icuIndex, caseIndex); +} +function cleanupI18nHydrationData(lView) { + const hydrationInfo = lView[HYDRATION]; + if (hydrationInfo) { + const { + i18nNodes, + dehydratedIcuData: dehydratedIcuDataMap + } = hydrationInfo; + if (i18nNodes && dehydratedIcuDataMap) { + const renderer = lView[RENDERER]; + for (const dehydratedIcuData of dehydratedIcuDataMap.values()) { + cleanupDehydratedIcuData(renderer, i18nNodes, dehydratedIcuData); + } + } + hydrationInfo.i18nNodes = void 0; + hydrationInfo.dehydratedIcuData = void 0; + } +} +function cleanupDehydratedIcuData(renderer, i18nNodes, dehydratedIcuData) { + for (const node of dehydratedIcuData.node.cases[dehydratedIcuData.case]) { + const rNode = i18nNodes.get(node.index - HEADER_OFFSET); + if (rNode) { + nativeRemoveNode(renderer, rNode, false); + } + } +} +function removeDehydratedViews(lContainer) { + const views = lContainer[DEHYDRATED_VIEWS] ?? []; + const parentLView = lContainer[PARENT]; + const renderer = parentLView[RENDERER]; + const retainedViews = []; + for (const view of views) { + if (view.data[DEFER_BLOCK_ID] !== void 0) { + retainedViews.push(view); + } else { + removeDehydratedView(view, renderer); + ngDevMode && ngDevMode.dehydratedViewsRemoved++; + } + } + lContainer[DEHYDRATED_VIEWS] = retainedViews; +} +function removeDehydratedViewList(deferBlock) { + const { + lContainer + } = deferBlock; + const dehydratedViews = lContainer[DEHYDRATED_VIEWS]; + if (dehydratedViews === null) return; + const parentLView = lContainer[PARENT]; + const renderer = parentLView[RENDERER]; + for (const view of dehydratedViews) { + removeDehydratedView(view, renderer); + ngDevMode && ngDevMode.dehydratedViewsRemoved++; + } +} +function removeDehydratedView(dehydratedView, renderer) { + let nodesRemoved = 0; + let currentRNode = dehydratedView.firstChild; + if (currentRNode) { + const numNodes = dehydratedView.data[NUM_ROOT_NODES]; + while (nodesRemoved < numNodes) { + ngDevMode && validateSiblingNodeExists(currentRNode); + const nextSibling = currentRNode.nextSibling; + nativeRemoveNode(renderer, currentRNode, false); + currentRNode = nextSibling; + nodesRemoved++; + } + } +} +function cleanupLContainer(lContainer) { + removeDehydratedViews(lContainer); + const hostLView = lContainer[HOST]; + if (isLView(hostLView)) { + cleanupLView(hostLView); + } + for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) { + cleanupLView(lContainer[i]); + } +} +function cleanupLView(lView) { + cleanupI18nHydrationData(lView); + const tView = lView[TVIEW]; + for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) { + if (isLContainer(lView[i])) { + const lContainer = lView[i]; + cleanupLContainer(lContainer); + } else if (isLView(lView[i])) { + cleanupLView(lView[i]); + } + } +} +function cleanupDehydratedViews(appRef) { + const viewRefs = appRef._views; + for (const viewRef of viewRefs) { + const lNode = getLNodeForHydration(viewRef); + if (lNode !== null && lNode[HOST] !== null) { + if (isLView(lNode)) { + cleanupLView(lNode); + } else { + cleanupLContainer(lNode); + } + ngDevMode && ngDevMode.dehydratedViewsCleanupRuns++; + } + } +} +function cleanupHydratedDeferBlocks(deferBlock, hydratedBlocks, registry, appRef) { + if (deferBlock !== null) { + registry.cleanup(hydratedBlocks); + cleanupLContainer(deferBlock.lContainer); + cleanupDehydratedViews(appRef); + } +} +var _findMatchingDehydratedViewImpl = () => null; +function findMatchingDehydratedView(lContainer, template) { + return _findMatchingDehydratedViewImpl(lContainer, template); +} +var ComponentRef$1 = class ComponentRef { +}; +var ComponentFactory$1 = class ComponentFactory { +}; +var _NullComponentFactoryResolver = class { + resolveComponentFactory(component) { + throw Error(`No component factory found for ${stringify(component)}.`); + } +}; +var ComponentFactoryResolver$1 = class ComponentFactoryResolver { + static NULL = new _NullComponentFactoryResolver(); +}; +var RendererFactory2 = class { +}; +var Renderer2 = class { + /** + * If null or undefined, the view engine won't call it. + * This is used as a performance optimization for production mode. + */ + destroyNode = null; + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = () => injectRenderer2(); +}; +function injectRenderer2() { + const lView = getLView(); + const tNode = getCurrentTNode(); + const nodeAtIndex = getComponentLViewByIndex(tNode.index, lView); + return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER]; +} +var Sanitizer = class _Sanitizer { + /** @nocollapse */ + static \u0275prov = ( + /** @pureOrBreakMyCode */ + /* @__PURE__ */ \u0275\u0275defineInjectable({ + token: _Sanitizer, + providedIn: "root", + factory: () => null + }) + ); +}; +function isModuleWithProviders(value) { + return value.ngModule !== void 0; +} +function isNgModule(value) { + return !!getNgModuleDef(value); +} +function isPipe(value) { + return !!getPipeDef$1(value); +} +function isDirective(value) { + return !!getDirectiveDef(value); +} +function isComponent(value) { + return !!getComponentDef(value); +} +function getDependencyTypeForError(type) { + if (getComponentDef(type)) return "component"; + if (getDirectiveDef(type)) return "directive"; + if (getPipeDef$1(type)) return "pipe"; + return "type"; +} +function verifyStandaloneImport(depType, importingType) { + if (isForwardRef(depType)) { + depType = resolveForwardRef(depType); + if (!depType) { + throw new Error(`Expected forwardRef function, imported from "${stringifyForError(importingType)}", to return a standalone entity or NgModule but got "${stringifyForError(depType) || depType}".`); + } + } + if (getNgModuleDef(depType) == null) { + const def = getComponentDef(depType) || getDirectiveDef(depType) || getPipeDef$1(depType); + if (def != null) { + if (!def.standalone) { + throw new Error(`The "${stringifyForError(depType)}" ${getDependencyTypeForError(depType)}, imported from "${stringifyForError(importingType)}", is not standalone. Did you forget to add the standalone: true flag?`); + } + } else { + if (isModuleWithProviders(depType)) { + throw new Error(`A module with providers was imported from "${stringifyForError(importingType)}". Modules with providers are not supported in standalone components imports.`); + } else { + throw new Error(`The "${stringifyForError(depType)}" type, imported from "${stringifyForError(importingType)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`); + } + } + } +} +var DepsTracker = class { + ownerNgModule = /* @__PURE__ */ new Map(); + ngModulesWithSomeUnresolvedDecls = /* @__PURE__ */ new Set(); + ngModulesScopeCache = /* @__PURE__ */ new Map(); + standaloneComponentsScopeCache = /* @__PURE__ */ new Map(); + /** + * Attempts to resolve ng module's forward ref declarations as much as possible and add them to + * the `ownerNgModule` map. This method normally should be called after the initial parsing when + * all the forward refs are resolved (e.g., when trying to render a component) + */ + resolveNgModulesDecls() { + if (this.ngModulesWithSomeUnresolvedDecls.size === 0) { + return; + } + for (const moduleType of this.ngModulesWithSomeUnresolvedDecls) { + const def = getNgModuleDef(moduleType); + if (def?.declarations) { + for (const decl of maybeUnwrapFn(def.declarations)) { + if (isComponent(decl)) { + this.ownerNgModule.set(decl, moduleType); + } + } + } + } + this.ngModulesWithSomeUnresolvedDecls.clear(); + } + /** @override */ + getComponentDependencies(type, rawImports) { + this.resolveNgModulesDecls(); + const def = getComponentDef(type); + if (def === null) { + throw new Error(`Attempting to get component dependencies for a type that is not a component: ${type}`); + } + if (def.standalone) { + const scope = this.getStandaloneComponentScope(type, rawImports); + if (scope.compilation.isPoisoned) { + return { + dependencies: [] + }; + } + return { + dependencies: [...scope.compilation.directives, ...scope.compilation.pipes, ...scope.compilation.ngModules] + }; + } else { + if (!this.ownerNgModule.has(type)) { + return { + dependencies: [] + }; + } + const scope = this.getNgModuleScope(this.ownerNgModule.get(type)); + if (scope.compilation.isPoisoned) { + return { + dependencies: [] + }; + } + return { + dependencies: [...scope.compilation.directives, ...scope.compilation.pipes] + }; + } + } + /** + * @override + * This implementation does not make use of param scopeInfo since it assumes the scope info is + * already added to the type itself through methods like {@link ɵɵsetNgModuleScope} + */ + registerNgModule(type, scopeInfo) { + if (!isNgModule(type)) { + throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${type}`); + } + this.ngModulesWithSomeUnresolvedDecls.add(type); + } + /** @override */ + clearScopeCacheFor(type) { + this.ngModulesScopeCache.delete(type); + this.standaloneComponentsScopeCache.delete(type); + } + /** @override */ + getNgModuleScope(type) { + if (this.ngModulesScopeCache.has(type)) { + return this.ngModulesScopeCache.get(type); + } + const scope = this.computeNgModuleScope(type); + this.ngModulesScopeCache.set(type, scope); + return scope; + } + /** Compute NgModule scope afresh. */ + computeNgModuleScope(type) { + const def = getNgModuleDef(type, true); + const scope = { + exported: { + directives: /* @__PURE__ */ new Set(), + pipes: /* @__PURE__ */ new Set() + }, + compilation: { + directives: /* @__PURE__ */ new Set(), + pipes: /* @__PURE__ */ new Set() + } + }; + for (const imported of maybeUnwrapFn(def.imports)) { + if (isNgModule(imported)) { + const importedScope = this.getNgModuleScope(imported); + addSet(importedScope.exported.directives, scope.compilation.directives); + addSet(importedScope.exported.pipes, scope.compilation.pipes); + } else if (isStandalone(imported)) { + if (isDirective(imported) || isComponent(imported)) { + scope.compilation.directives.add(imported); + } else if (isPipe(imported)) { + scope.compilation.pipes.add(imported); + } else { + throw new RuntimeError(980, "The standalone imported type is neither a component nor a directive nor a pipe"); + } + } else { + scope.compilation.isPoisoned = true; + break; + } + } + if (!scope.compilation.isPoisoned) { + for (const decl of maybeUnwrapFn(def.declarations)) { + if (isNgModule(decl) || isStandalone(decl)) { + scope.compilation.isPoisoned = true; + break; + } + if (isPipe(decl)) { + scope.compilation.pipes.add(decl); + } else { + scope.compilation.directives.add(decl); + } + } + } + for (const exported of maybeUnwrapFn(def.exports)) { + if (isNgModule(exported)) { + const exportedScope = this.getNgModuleScope(exported); + addSet(exportedScope.exported.directives, scope.exported.directives); + addSet(exportedScope.exported.pipes, scope.exported.pipes); + addSet(exportedScope.exported.directives, scope.compilation.directives); + addSet(exportedScope.exported.pipes, scope.compilation.pipes); + } else if (isPipe(exported)) { + scope.exported.pipes.add(exported); + } else { + scope.exported.directives.add(exported); + } + } + return scope; + } + /** @override */ + getStandaloneComponentScope(type, rawImports) { + if (this.standaloneComponentsScopeCache.has(type)) { + return this.standaloneComponentsScopeCache.get(type); + } + const ans = this.computeStandaloneComponentScope(type, rawImports); + this.standaloneComponentsScopeCache.set(type, ans); + return ans; + } + computeStandaloneComponentScope(type, rawImports) { + const ans = { + compilation: { + // Standalone components are always able to self-reference. + directives: /* @__PURE__ */ new Set([type]), + pipes: /* @__PURE__ */ new Set(), + ngModules: /* @__PURE__ */ new Set() + } + }; + for (const rawImport of flatten(rawImports ?? [])) { + const imported = resolveForwardRef(rawImport); + try { + verifyStandaloneImport(imported, type); + } catch (e) { + ans.compilation.isPoisoned = true; + return ans; + } + if (isNgModule(imported)) { + ans.compilation.ngModules.add(imported); + const importedScope = this.getNgModuleScope(imported); + if (importedScope.exported.isPoisoned) { + ans.compilation.isPoisoned = true; + return ans; + } + addSet(importedScope.exported.directives, ans.compilation.directives); + addSet(importedScope.exported.pipes, ans.compilation.pipes); + } else if (isPipe(imported)) { + ans.compilation.pipes.add(imported); + } else if (isDirective(imported) || isComponent(imported)) { + ans.compilation.directives.add(imported); + } else { + ans.compilation.isPoisoned = true; + return ans; + } + } + return ans; + } + /** @override */ + isOrphanComponent(cmp) { + const def = getComponentDef(cmp); + if (!def || def.standalone) { + return false; + } + this.resolveNgModulesDecls(); + return !this.ownerNgModule.has(cmp); + } +}; +function addSet(sourceSet, targetSet) { + for (const m of sourceSet) { + targetSet.add(m); + } +} +var depsTracker = new DepsTracker(); +var NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {}; +var ChainedInjector = class { + injector; + parentInjector; + constructor(injector, parentInjector) { + this.injector = injector; + this.parentInjector = parentInjector; + } + get(token, notFoundValue, flags) { + flags = convertToBitFlags(flags); + const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags); + if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) { + return value; + } + return this.parentInjector.get(token, notFoundValue, flags); + } +}; +function computeStaticStyling(tNode, attrs, writeToHost) { + ngDevMode && assertFirstCreatePass(getTView(), "Expecting to be called in first template pass only"); + let styles = writeToHost ? tNode.styles : null; + let classes = writeToHost ? tNode.classes : null; + let mode = 0; + if (attrs !== null) { + for (let i = 0; i < attrs.length; i++) { + const value = attrs[i]; + if (typeof value === "number") { + mode = value; + } else if (mode == 1) { + classes = concatStringsWithSpace(classes, value); + } else if (mode == 2) { + const style = value; + const styleValue = attrs[++i]; + styles = concatStringsWithSpace(styles, style + ": " + styleValue + ";"); + } + } + } + writeToHost ? tNode.styles = styles : tNode.stylesWithoutHost = styles; + writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes; +} +function \u0275\u0275directiveInject(token, flags = InjectFlags.Default) { + const lView = getLView(); + if (lView === null) { + ngDevMode && assertInjectImplementationNotEqual(\u0275\u0275directiveInject); + return \u0275\u0275inject(token, flags); + } + const tNode = getCurrentTNode(); + const value = getOrCreateInjectable(tNode, lView, resolveForwardRef(token), flags); + ngDevMode && emitInjectEvent(token, value, flags); + return value; +} +function \u0275\u0275invalidFactory() { + const msg = ngDevMode ? `This constructor was not compatible with Dependency Injection.` : "invalid"; + throw new Error(msg); +} +function resolveDirectives(tView, lView, tNode, localRefs, directiveMatcher) { + ngDevMode && assertFirstCreatePass(tView); + const exportsMap = localRefs === null ? null : { + "": -1 + }; + const matchedDirectiveDefs = directiveMatcher(tView, tNode); + if (matchedDirectiveDefs !== null) { + let directiveDefs; + let hostDirectiveDefs = null; + let hostDirectiveRanges = null; + const hostDirectiveResolution = resolveHostDirectives(matchedDirectiveDefs); + if (hostDirectiveResolution === null) { + directiveDefs = matchedDirectiveDefs; + } else { + [directiveDefs, hostDirectiveDefs, hostDirectiveRanges] = hostDirectiveResolution; + } + initializeDirectives(tView, lView, tNode, directiveDefs, exportsMap, hostDirectiveDefs, hostDirectiveRanges); + } + if (exportsMap !== null && localRefs !== null) { + cacheMatchingLocalNames(tNode, localRefs, exportsMap); + } +} +function cacheMatchingLocalNames(tNode, localRefs, exportsMap) { + const localNames = tNode.localNames = []; + for (let i = 0; i < localRefs.length; i += 2) { + const index = exportsMap[localRefs[i + 1]]; + if (index == null) throw new RuntimeError(-301, ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`); + localNames.push(localRefs[i], index); + } +} +function resolveHostDirectives(matches) { + let componentDef = null; + let hasHostDirectives = false; + for (let i = 0; i < matches.length; i++) { + const def = matches[i]; + if (i === 0 && isComponentDef(def)) { + componentDef = def; + } + if (def.findHostDirectiveDefs !== null) { + hasHostDirectives = true; + break; + } + } + if (!hasHostDirectives) { + return null; + } + let allDirectiveDefs = null; + let hostDirectiveDefs = null; + let hostDirectiveRanges = null; + for (const def of matches) { + if (def.findHostDirectiveDefs !== null) { + allDirectiveDefs ??= []; + hostDirectiveDefs ??= /* @__PURE__ */ new Map(); + hostDirectiveRanges ??= /* @__PURE__ */ new Map(); + resolveHostDirectivesForDef(def, allDirectiveDefs, hostDirectiveRanges, hostDirectiveDefs); + } + if (def === componentDef) { + allDirectiveDefs ??= []; + allDirectiveDefs.push(def); + } + } + if (allDirectiveDefs !== null) { + allDirectiveDefs.push(...componentDef === null ? matches : matches.slice(1)); + ngDevMode && assertNoDuplicateDirectives(allDirectiveDefs); + return [allDirectiveDefs, hostDirectiveDefs, hostDirectiveRanges]; + } + return null; +} +function resolveHostDirectivesForDef(def, allDirectiveDefs, hostDirectiveRanges, hostDirectiveDefs) { + ngDevMode && assertDefined(def.findHostDirectiveDefs, "Expected host directive resolve function"); + const start = allDirectiveDefs.length; + def.findHostDirectiveDefs(def, allDirectiveDefs, hostDirectiveDefs); + hostDirectiveRanges.set(def, [start, allDirectiveDefs.length - 1]); +} +function markAsComponentHost(tView, hostTNode, componentOffset) { + ngDevMode && assertFirstCreatePass(tView); + ngDevMode && assertGreaterThan(componentOffset, -1, "componentOffset must be great than -1"); + hostTNode.componentOffset = componentOffset; + (tView.components ??= []).push(hostTNode.index); +} +function initializeDirectives(tView, lView, tNode, directives, exportsMap, hostDirectiveDefs, hostDirectiveRanges) { + ngDevMode && assertFirstCreatePass(tView); + const directivesLength = directives.length; + let hasSeenComponent = false; + for (let i = 0; i < directivesLength; i++) { + const def = directives[i]; + if (!hasSeenComponent && isComponentDef(def)) { + hasSeenComponent = true; + markAsComponentHost(tView, tNode, i); + } + diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, def.type); + } + initTNodeFlags(tNode, tView.data.length, directivesLength); + for (let i = 0; i < directivesLength; i++) { + const def = directives[i]; + if (def.providersResolver) def.providersResolver(def); + } + let preOrderHooksFound = false; + let preOrderCheckHooksFound = false; + let directiveIdx = allocExpando(tView, lView, directivesLength, null); + ngDevMode && assertSame(directiveIdx, tNode.directiveStart, "TNode.directiveStart should point to just allocated space"); + if (directivesLength > 0) { + tNode.directiveToIndex = /* @__PURE__ */ new Map(); + } + for (let i = 0; i < directivesLength; i++) { + const def = directives[i]; + tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs); + configureViewWithDirective(tView, tNode, lView, directiveIdx, def); + saveNameToExportMap(directiveIdx, def, exportsMap); + if (hostDirectiveRanges !== null && hostDirectiveRanges.has(def)) { + const [start, end] = hostDirectiveRanges.get(def); + tNode.directiveToIndex.set(def.type, [directiveIdx, start + tNode.directiveStart, end + tNode.directiveStart]); + } else if (hostDirectiveDefs === null || !hostDirectiveDefs.has(def)) { + tNode.directiveToIndex.set(def.type, directiveIdx); + } + if (def.contentQueries !== null) tNode.flags |= 4; + if (def.hostBindings !== null || def.hostAttrs !== null || def.hostVars !== 0) tNode.flags |= 64; + const lifeCycleHooks = def.type.prototype; + if (!preOrderHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngOnInit || lifeCycleHooks.ngDoCheck)) { + (tView.preOrderHooks ??= []).push(tNode.index); + preOrderHooksFound = true; + } + if (!preOrderCheckHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngDoCheck)) { + (tView.preOrderCheckHooks ??= []).push(tNode.index); + preOrderCheckHooksFound = true; + } + directiveIdx++; + } + initializeInputAndOutputAliases(tView, tNode, hostDirectiveDefs); +} +function initializeInputAndOutputAliases(tView, tNode, hostDirectiveDefs) { + ngDevMode && assertFirstCreatePass(tView); + for (let index = tNode.directiveStart; index < tNode.directiveEnd; index++) { + const directiveDef = tView.data[index]; + if (hostDirectiveDefs === null || !hostDirectiveDefs.has(directiveDef)) { + setupSelectorMatchedInputsOrOutputs(0, tNode, directiveDef, index); + setupSelectorMatchedInputsOrOutputs(1, tNode, directiveDef, index); + setupInitialInputs(tNode, index, false); + } else { + const hostDirectiveDef = hostDirectiveDefs.get(directiveDef); + setupHostDirectiveInputsOrOutputs(0, tNode, hostDirectiveDef, index); + setupHostDirectiveInputsOrOutputs(1, tNode, hostDirectiveDef, index); + setupInitialInputs(tNode, index, true); + } + } +} +function setupSelectorMatchedInputsOrOutputs(mode, tNode, def, directiveIndex) { + const aliasMap = mode === 0 ? def.inputs : def.outputs; + for (const publicName in aliasMap) { + if (aliasMap.hasOwnProperty(publicName)) { + let bindings; + if (mode === 0) { + bindings = tNode.inputs ??= {}; + } else { + bindings = tNode.outputs ??= {}; + } + bindings[publicName] ??= []; + bindings[publicName].push(directiveIndex); + setShadowStylingInputFlags(tNode, publicName); + } + } +} +function setupHostDirectiveInputsOrOutputs(mode, tNode, config2, directiveIndex) { + const aliasMap = mode === 0 ? config2.inputs : config2.outputs; + for (const initialName in aliasMap) { + if (aliasMap.hasOwnProperty(initialName)) { + const publicName = aliasMap[initialName]; + let bindings; + if (mode === 0) { + bindings = tNode.hostDirectiveInputs ??= {}; + } else { + bindings = tNode.hostDirectiveOutputs ??= {}; + } + bindings[publicName] ??= []; + bindings[publicName].push(directiveIndex, initialName); + setShadowStylingInputFlags(tNode, publicName); + } + } +} +function setShadowStylingInputFlags(tNode, publicName) { + if (publicName === "class") { + tNode.flags |= 8; + } else if (publicName === "style") { + tNode.flags |= 16; + } +} +function setupInitialInputs(tNode, directiveIndex, isHostDirective) { + const { + attrs, + inputs, + hostDirectiveInputs + } = tNode; + if (attrs === null || !isHostDirective && inputs === null || isHostDirective && hostDirectiveInputs === null || // Do not use unbound attributes as inputs to structural directives, since structural + // directive inputs can only be set using microsyntax (e.g. `
    `). + isInlineTemplate(tNode)) { + tNode.initialInputs ??= []; + tNode.initialInputs.push(null); + return; + } + let inputsToStore = null; + let i = 0; + while (i < attrs.length) { + const attrName = attrs[i]; + if (attrName === 0) { + i += 4; + continue; + } else if (attrName === 5) { + i += 2; + continue; + } else if (typeof attrName === "number") { + break; + } + if (!isHostDirective && inputs.hasOwnProperty(attrName)) { + const inputConfig = inputs[attrName]; + for (const index of inputConfig) { + if (index === directiveIndex) { + inputsToStore ??= []; + inputsToStore.push(attrName, attrs[i + 1]); + break; + } + } + } else if (isHostDirective && hostDirectiveInputs.hasOwnProperty(attrName)) { + const config2 = hostDirectiveInputs[attrName]; + for (let j = 0; j < config2.length; j += 2) { + if (config2[j] === directiveIndex) { + inputsToStore ??= []; + inputsToStore.push(config2[j + 1], attrs[i + 1]); + break; + } + } + } + i += 2; + } + tNode.initialInputs ??= []; + tNode.initialInputs.push(inputsToStore); +} +function configureViewWithDirective(tView, tNode, lView, directiveIndex, def) { + ngDevMode && assertGreaterThanOrEqual(directiveIndex, HEADER_OFFSET, "Must be in Expando section"); + tView.data[directiveIndex] = def; + const directiveFactory = def.factory || (def.factory = getFactoryDef(def.type, true)); + const nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), \u0275\u0275directiveInject); + tView.blueprint[directiveIndex] = nodeInjectorFactory; + lView[directiveIndex] = nodeInjectorFactory; + registerHostBindingOpCodes(tView, tNode, directiveIndex, allocExpando(tView, lView, def.hostVars, NO_CHANGE), def); +} +function registerHostBindingOpCodes(tView, tNode, directiveIdx, directiveVarsIdx, def) { + ngDevMode && assertFirstCreatePass(tView); + const hostBindings = def.hostBindings; + if (hostBindings) { + let hostBindingOpCodes = tView.hostBindingOpCodes; + if (hostBindingOpCodes === null) { + hostBindingOpCodes = tView.hostBindingOpCodes = []; + } + const elementIndx = ~tNode.index; + if (lastSelectedElementIdx(hostBindingOpCodes) != elementIndx) { + hostBindingOpCodes.push(elementIndx); + } + hostBindingOpCodes.push(directiveIdx, directiveVarsIdx, hostBindings); + } +} +function lastSelectedElementIdx(hostBindingOpCodes) { + let i = hostBindingOpCodes.length; + while (i > 0) { + const value = hostBindingOpCodes[--i]; + if (typeof value === "number" && value < 0) { + return value; + } + } + return 0; +} +function saveNameToExportMap(directiveIdx, def, exportsMap) { + if (exportsMap) { + if (def.exportAs) { + for (let i = 0; i < def.exportAs.length; i++) { + exportsMap[def.exportAs[i]] = directiveIdx; + } + } + if (isComponentDef(def)) exportsMap[""] = directiveIdx; + } +} +function initTNodeFlags(tNode, index, numberOfDirectives) { + ngDevMode && assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, "Reached the max number of directives"); + tNode.flags |= 1; + tNode.directiveStart = index; + tNode.directiveEnd = index + numberOfDirectives; + tNode.providerIndexes = index; +} +function assertNoDuplicateDirectives(directives) { + if (directives.length < 2) { + return; + } + const seenDirectives = /* @__PURE__ */ new Set(); + for (const current of directives) { + if (seenDirectives.has(current)) { + throw new RuntimeError(309, `Directive ${current.type.name} matches multiple times on the same element. Directives can only match an element once.`); + } + seenDirectives.add(current); + } +} +function elementStartFirstCreatePass(index, tView, lView, name, directiveMatcher, bindingsEnabled, attrsIndex, localRefsIndex) { + ngDevMode && assertFirstCreatePass(tView); + ngDevMode && ngDevMode.firstCreatePass++; + const tViewConsts = tView.consts; + const attrs = getConstant(tViewConsts, attrsIndex); + const tNode = getOrCreateTNode(tView, index, 2, name, attrs); + if (bindingsEnabled) { + resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex), directiveMatcher); + } + tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, tNode.attrs); + if (tNode.attrs !== null) { + computeStaticStyling(tNode, tNode.attrs, false); + } + if (tNode.mergedAttrs !== null) { + computeStaticStyling(tNode, tNode.mergedAttrs, true); + } + if (tView.queries !== null) { + tView.queries.elementStart(tView, tNode); + } + return tNode; +} +function elementEndFirstCreatePass(tView, tNode) { + ngDevMode && assertFirstCreatePass(tView); + registerPostOrderHooks(tView, tNode); + if (isContentQueryHost(tNode)) { + tView.queries.elementEnd(tNode); + } +} +var ComponentFactoryResolver2 = class extends ComponentFactoryResolver$1 { + ngModule; + /** + * @param ngModule The NgModuleRef to which all resolved factories are bound. + */ + constructor(ngModule) { + super(); + this.ngModule = ngModule; + } + resolveComponentFactory(component) { + ngDevMode && assertComponentType(component); + const componentDef = getComponentDef(component); + return new ComponentFactory2(componentDef, this.ngModule); + } +}; +function toInputRefArray(map2) { + return Object.keys(map2).map((name) => { + const [propName, flags, transform] = map2[name]; + const inputData = { + propName, + templateName: name, + isSignal: (flags & InputFlags.SignalBased) !== 0 + }; + if (transform) { + inputData.transform = transform; + } + return inputData; + }); +} +function toOutputRefArray(map2) { + return Object.keys(map2).map((name) => ({ + propName: map2[name], + templateName: name + })); +} +function verifyNotAnOrphanComponent(componentDef) { + if (false) { + if (depsTracker.isOrphanComponent(componentDef.type)) { + throw new RuntimeError(981, `Orphan component found! Trying to render the component ${debugStringifyTypeForError(componentDef.type)} without first loading the NgModule that declares it. It is recommended to make this component standalone in order to avoid this error. If this is not possible now, import the component's NgModule in the appropriate NgModule, or the standalone component in which you are trying to render this component. If this is a lazy import, load the NgModule lazily as well and use its module injector.`); + } + } +} +function createRootViewInjector(componentDef, environmentInjector, injector) { + let realEnvironmentInjector = environmentInjector instanceof EnvironmentInjector ? environmentInjector : environmentInjector?.injector; + if (realEnvironmentInjector && componentDef.getStandaloneInjector !== null) { + realEnvironmentInjector = componentDef.getStandaloneInjector(realEnvironmentInjector) || realEnvironmentInjector; + } + const rootViewInjector = realEnvironmentInjector ? new ChainedInjector(injector, realEnvironmentInjector) : injector; + return rootViewInjector; +} +function createRootLViewEnvironment(rootLViewInjector) { + const rendererFactory = rootLViewInjector.get(RendererFactory2, null); + if (rendererFactory === null) { + throw new RuntimeError(407, ngDevMode && "Angular was not able to inject a renderer (RendererFactory2). Likely this is due to a broken DI hierarchy. Make sure that any injector used to create this component has a correct parent."); + } + const sanitizer = rootLViewInjector.get(Sanitizer, null); + const changeDetectionScheduler = rootLViewInjector.get(ChangeDetectionScheduler, null); + return { + rendererFactory, + sanitizer, + changeDetectionScheduler + }; +} +function createHostElement(componentDef, render) { + const tagName = (componentDef.selectors[0][0] || "div").toLowerCase(); + const namespace = tagName === "svg" ? SVG_NAMESPACE : tagName === "math" ? MATH_ML_NAMESPACE : null; + return createElementNode(render, tagName, namespace); +} +var ComponentFactory2 = class extends ComponentFactory$1 { + componentDef; + ngModule; + selector; + componentType; + ngContentSelectors; + isBoundToModule; + cachedInputs = null; + cachedOutputs = null; + get inputs() { + this.cachedInputs ??= toInputRefArray(this.componentDef.inputs); + return this.cachedInputs; + } + get outputs() { + this.cachedOutputs ??= toOutputRefArray(this.componentDef.outputs); + return this.cachedOutputs; + } + /** + * @param componentDef The component definition. + * @param ngModule The NgModuleRef to which the factory is bound. + */ + constructor(componentDef, ngModule) { + super(); + this.componentDef = componentDef; + this.ngModule = ngModule; + this.componentType = componentDef.type; + this.selector = stringifyCSSSelectorList(componentDef.selectors); + this.ngContentSelectors = componentDef.ngContentSelectors ?? []; + this.isBoundToModule = !!ngModule; + } + create(injector, projectableNodes, rootSelectorOrNode, environmentInjector) { + profiler( + 22 + /* ProfilerEvent.DynamicComponentStart */ + ); + const prevConsumer = setActiveConsumer(null); + try { + const cmpDef = this.componentDef; + ngDevMode && verifyNotAnOrphanComponent(cmpDef); + const tAttributes = rootSelectorOrNode ? ["ng-version", "19.2.11"] : ( + // Extract attributes and classes from the first selector only to match VE behavior. + extractAttrsAndClassesFromSelector(this.componentDef.selectors[0]) + ); + const rootTView = createTView(0, null, null, 1, 0, null, null, null, null, [tAttributes], null); + const rootViewInjector = createRootViewInjector(cmpDef, environmentInjector || this.ngModule, injector); + const environment = createRootLViewEnvironment(rootViewInjector); + const hostRenderer = environment.rendererFactory.createRenderer(null, cmpDef); + const hostElement = rootSelectorOrNode ? locateHostElement(hostRenderer, rootSelectorOrNode, cmpDef.encapsulation, rootViewInjector) : createHostElement(cmpDef, hostRenderer); + const rootLView = createLView(null, rootTView, null, 512 | getInitialLViewFlagsFromDef(cmpDef), null, null, environment, hostRenderer, rootViewInjector, null, retrieveHydrationInfo( + hostElement, + rootViewInjector, + true + /* isRootView */ + )); + rootLView[HEADER_OFFSET] = hostElement; + enterView(rootLView); + let componentView = null; + try { + const hostTNode = elementStartFirstCreatePass(HEADER_OFFSET, rootTView, rootLView, "#host", () => [this.componentDef], true, 0); + if (hostElement) { + setupStaticAttributes(hostRenderer, hostElement, hostTNode); + attachPatchData(hostElement, rootLView); + } + createDirectivesInstances(rootTView, rootLView, hostTNode); + executeContentQueries(rootTView, hostTNode, rootLView); + elementEndFirstCreatePass(rootTView, hostTNode); + if (projectableNodes !== void 0) { + projectNodes(hostTNode, this.ngContentSelectors, projectableNodes); + } + componentView = getComponentLViewByIndex(hostTNode.index, rootLView); + rootLView[CONTEXT] = componentView[CONTEXT]; + renderView(rootTView, rootLView, null); + } catch (e) { + if (componentView !== null) { + unregisterLView(componentView); + } + unregisterLView(rootLView); + throw e; + } finally { + profiler( + 23 + /* ProfilerEvent.DynamicComponentEnd */ + ); + leaveView(); + } + return new ComponentRef2(this.componentType, rootLView); + } finally { + setActiveConsumer(prevConsumer); + } + } +}; +var ComponentRef2 = class extends ComponentRef$1 { + _rootLView; + instance; + hostView; + changeDetectorRef; + componentType; + location; + previousInputValues = null; + _tNode; + constructor(componentType, _rootLView) { + super(); + this._rootLView = _rootLView; + this._tNode = getTNode(_rootLView[TVIEW], HEADER_OFFSET); + this.location = createElementRef(this._tNode, _rootLView); + this.instance = getComponentLViewByIndex(this._tNode.index, _rootLView)[CONTEXT]; + this.hostView = this.changeDetectorRef = new ViewRef$1( + _rootLView, + void 0, + false + /* notifyErrorHandler */ + ); + this.componentType = componentType; + } + setInput(name, value) { + const tNode = this._tNode; + this.previousInputValues ??= /* @__PURE__ */ new Map(); + if (this.previousInputValues.has(name) && Object.is(this.previousInputValues.get(name), value)) { + return; + } + const lView = this._rootLView; + const hasSetInput = setAllInputsForProperty(tNode, lView[TVIEW], lView, name, value); + this.previousInputValues.set(name, value); + const childComponentLView = getComponentLViewByIndex(tNode.index, lView); + markViewDirty( + childComponentLView, + 1 + /* NotificationSource.SetInput */ + ); + if (ngDevMode && !hasSetInput) { + const cmpNameForError = stringifyForError(this.componentType); + let message = `Can't set value of the '${name}' input on the '${cmpNameForError}' component. `; + message += `Make sure that the '${name}' property is annotated with @Input() or a mapped @Input('${name}') exists.`; + reportUnknownPropertyError(message); + } + } + get injector() { + return new NodeInjector(this._tNode, this._rootLView); + } + destroy() { + this.hostView.destroy(); + } + onDestroy(callback) { + this.hostView.onDestroy(callback); + } +}; +function projectNodes(tNode, ngContentSelectors, projectableNodes) { + const projection = tNode.projection = []; + for (let i = 0; i < ngContentSelectors.length; i++) { + const nodesforSlot = projectableNodes[i]; + projection.push(nodesforSlot != null && nodesforSlot.length ? Array.from(nodesforSlot) : null); + } +} +var ViewContainerRef = class { + /** + * @internal + * @nocollapse + */ + static __NG_ELEMENT_ID__ = injectViewContainerRef; +}; +function injectViewContainerRef() { + const previousTNode = getCurrentTNode(); + return createContainerRef(previousTNode, getLView()); +} +var VE_ViewContainerRef = ViewContainerRef; +var R3ViewContainerRef = class ViewContainerRef2 extends VE_ViewContainerRef { + _lContainer; + _hostTNode; + _hostLView; + constructor(_lContainer, _hostTNode, _hostLView) { + super(); + this._lContainer = _lContainer; + this._hostTNode = _hostTNode; + this._hostLView = _hostLView; + } + get element() { + return createElementRef(this._hostTNode, this._hostLView); + } + get injector() { + return new NodeInjector(this._hostTNode, this._hostLView); + } + /** @deprecated No replacement */ + get parentInjector() { + const parentLocation = getParentInjectorLocation(this._hostTNode, this._hostLView); + if (hasParentInjector(parentLocation)) { + const parentView = getParentInjectorView(parentLocation, this._hostLView); + const injectorIndex = getParentInjectorIndex(parentLocation); + ngDevMode && assertNodeInjector(parentView, injectorIndex); + const parentTNode = parentView[TVIEW].data[ + injectorIndex + 8 + /* NodeInjectorOffset.TNODE */ + ]; + return new NodeInjector(parentTNode, parentView); + } else { + return new NodeInjector(null, this._hostLView); + } + } + clear() { + while (this.length > 0) { + this.remove(this.length - 1); + } + } + get(index) { + const viewRefs = getViewRefs(this._lContainer); + return viewRefs !== null && viewRefs[index] || null; + } + get length() { + return this._lContainer.length - CONTAINER_HEADER_OFFSET; + } + createEmbeddedView(templateRef, context2, indexOrOptions) { + let index; + let injector; + if (typeof indexOrOptions === "number") { + index = indexOrOptions; + } else if (indexOrOptions != null) { + index = indexOrOptions.index; + injector = indexOrOptions.injector; + } + const dehydratedView = findMatchingDehydratedView(this._lContainer, templateRef.ssrId); + const viewRef = templateRef.createEmbeddedViewImpl(context2 || {}, injector, dehydratedView); + this.insertImpl(viewRef, index, shouldAddViewToDom(this._hostTNode, dehydratedView)); + return viewRef; + } + createComponent(componentFactoryOrType, indexOrOptions, injector, projectableNodes, environmentInjector) { + const isComponentFactory = componentFactoryOrType && !isType(componentFactoryOrType); + let index; + if (isComponentFactory) { + if (ngDevMode) { + assertEqual(typeof indexOrOptions !== "object", true, "It looks like Component factory was provided as the first argument and an options object as the second argument. This combination of arguments is incompatible. You can either change the first argument to provide Component type or change the second argument to be a number (representing an index at which to insert the new component's host view into this container)"); + } + index = indexOrOptions; + } else { + if (ngDevMode) { + assertDefined(getComponentDef(componentFactoryOrType), `Provided Component class doesn't contain Component definition. Please check whether provided class has @Component decorator.`); + assertEqual(typeof indexOrOptions !== "number", true, "It looks like Component type was provided as the first argument and a number (representing an index at which to insert the new component's host view into this container as the second argument. This combination of arguments is incompatible. Please use an object as the second argument instead."); + } + const options = indexOrOptions || {}; + if (ngDevMode && options.environmentInjector && options.ngModuleRef) { + throwError2(`Cannot pass both environmentInjector and ngModuleRef options to createComponent().`); + } + index = options.index; + injector = options.injector; + projectableNodes = options.projectableNodes; + environmentInjector = options.environmentInjector || options.ngModuleRef; + } + const componentFactory = isComponentFactory ? componentFactoryOrType : new ComponentFactory2(getComponentDef(componentFactoryOrType)); + const contextInjector = injector || this.parentInjector; + if (!environmentInjector && componentFactory.ngModule == null) { + const _injector = isComponentFactory ? contextInjector : this.parentInjector; + const result = _injector.get(EnvironmentInjector, null); + if (result) { + environmentInjector = result; + } + } + const componentDef = getComponentDef(componentFactory.componentType ?? {}); + const dehydratedView = findMatchingDehydratedView(this._lContainer, componentDef?.id ?? null); + const rNode = dehydratedView?.firstChild ?? null; + const componentRef = componentFactory.create(contextInjector, projectableNodes, rNode, environmentInjector); + this.insertImpl(componentRef.hostView, index, shouldAddViewToDom(this._hostTNode, dehydratedView)); + return componentRef; + } + insert(viewRef, index) { + return this.insertImpl(viewRef, index, true); + } + insertImpl(viewRef, index, addToDOM) { + const lView = viewRef._lView; + if (ngDevMode && viewRef.destroyed) { + throw new Error("Cannot insert a destroyed View in a ViewContainer!"); + } + if (viewAttachedToContainer(lView)) { + const prevIdx = this.indexOf(viewRef); + if (prevIdx !== -1) { + this.detach(prevIdx); + } else { + const prevLContainer = lView[PARENT]; + ngDevMode && assertEqual(isLContainer(prevLContainer), true, "An attached view should have its PARENT point to a container."); + const prevVCRef = new R3ViewContainerRef(prevLContainer, prevLContainer[T_HOST], prevLContainer[PARENT]); + prevVCRef.detach(prevVCRef.indexOf(viewRef)); + } + } + const adjustedIdx = this._adjustIndex(index); + const lContainer = this._lContainer; + addLViewToLContainer(lContainer, lView, adjustedIdx, addToDOM); + viewRef.attachToViewContainerRef(); + addToArray(getOrCreateViewRefs(lContainer), adjustedIdx, viewRef); + return viewRef; + } + move(viewRef, newIndex) { + if (ngDevMode && viewRef.destroyed) { + throw new Error("Cannot move a destroyed View in a ViewContainer!"); + } + return this.insert(viewRef, newIndex); + } + indexOf(viewRef) { + const viewRefsArr = getViewRefs(this._lContainer); + return viewRefsArr !== null ? viewRefsArr.indexOf(viewRef) : -1; + } + remove(index) { + const adjustedIdx = this._adjustIndex(index, -1); + const detachedView = detachView(this._lContainer, adjustedIdx); + if (detachedView) { + removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx); + destroyLView(detachedView[TVIEW], detachedView); + } + } + detach(index) { + const adjustedIdx = this._adjustIndex(index, -1); + const view = detachView(this._lContainer, adjustedIdx); + const wasDetached = view && removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx) != null; + return wasDetached ? new ViewRef$1(view) : null; + } + _adjustIndex(index, shift = 0) { + if (index == null) { + return this.length + shift; + } + if (ngDevMode) { + assertGreaterThan(index, -1, `ViewRef index must be positive, got ${index}`); + assertLessThan(index, this.length + 1 + shift, "index"); + } + return index; + } +}; +function getViewRefs(lContainer) { + return lContainer[VIEW_REFS]; +} +function getOrCreateViewRefs(lContainer) { + return lContainer[VIEW_REFS] || (lContainer[VIEW_REFS] = []); +} +function createContainerRef(hostTNode, hostLView) { + ngDevMode && assertTNodeType( + hostTNode, + 12 | 3 + /* TNodeType.AnyRNode */ + ); + let lContainer; + const slotValue = hostLView[hostTNode.index]; + if (isLContainer(slotValue)) { + lContainer = slotValue; + } else { + lContainer = createLContainer(slotValue, hostLView, null, hostTNode); + hostLView[hostTNode.index] = lContainer; + addToEndOfViewTree(hostLView, lContainer); + } + _locateOrCreateAnchorNode(lContainer, hostLView, hostTNode, slotValue); + return new R3ViewContainerRef(lContainer, hostTNode, hostLView); +} +function insertAnchorNode(hostLView, hostTNode) { + const renderer = hostLView[RENDERER]; + ngDevMode && ngDevMode.rendererCreateComment++; + const commentNode = renderer.createComment(ngDevMode ? "container" : ""); + const hostNative = getNativeByTNode(hostTNode, hostLView); + const parentOfHostNative = renderer.parentNode(hostNative); + nativeInsertBefore(renderer, parentOfHostNative, commentNode, renderer.nextSibling(hostNative), false); + return commentNode; +} +var _locateOrCreateAnchorNode = createAnchorNode; +var _populateDehydratedViewsInLContainer = () => false; +function populateDehydratedViewsInLContainer(lContainer, tNode, hostLView) { + return _populateDehydratedViewsInLContainer(lContainer, tNode, hostLView); +} +function createAnchorNode(lContainer, hostLView, hostTNode, slotValue) { + if (lContainer[NATIVE]) return; + let commentNode; + if (hostTNode.type & 8) { + commentNode = unwrapRNode(slotValue); + } else { + commentNode = insertAnchorNode(hostLView, hostTNode); + } + lContainer[NATIVE] = commentNode; +} +var LQuery_ = class _LQuery_ { + queryList; + matches = null; + constructor(queryList) { + this.queryList = queryList; + } + clone() { + return new _LQuery_(this.queryList); + } + setDirty() { + this.queryList.setDirty(); + } +}; +var LQueries_ = class _LQueries_ { + queries; + constructor(queries = []) { + this.queries = queries; + } + createEmbeddedView(tView) { + const tQueries = tView.queries; + if (tQueries !== null) { + const noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length; + const viewLQueries = []; + for (let i = 0; i < noOfInheritedQueries; i++) { + const tQuery = tQueries.getByIndex(i); + const parentLQuery = this.queries[tQuery.indexInDeclarationView]; + viewLQueries.push(parentLQuery.clone()); + } + return new _LQueries_(viewLQueries); + } + return null; + } + insertView(tView) { + this.dirtyQueriesWithMatches(tView); + } + detachView(tView) { + this.dirtyQueriesWithMatches(tView); + } + finishViewCreation(tView) { + this.dirtyQueriesWithMatches(tView); + } + dirtyQueriesWithMatches(tView) { + for (let i = 0; i < this.queries.length; i++) { + if (getTQuery(tView, i).matches !== null) { + this.queries[i].setDirty(); + } + } + } +}; +var TQueryMetadata_ = class { + flags; + read; + predicate; + constructor(predicate, flags, read = null) { + this.flags = flags; + this.read = read; + if (typeof predicate === "string") { + this.predicate = splitQueryMultiSelectors(predicate); + } else { + this.predicate = predicate; + } + } +}; +var TQueries_ = class _TQueries_ { + queries; + constructor(queries = []) { + this.queries = queries; + } + elementStart(tView, tNode) { + ngDevMode && assertFirstCreatePass(tView, "Queries should collect results on the first template pass only"); + for (let i = 0; i < this.queries.length; i++) { + this.queries[i].elementStart(tView, tNode); + } + } + elementEnd(tNode) { + for (let i = 0; i < this.queries.length; i++) { + this.queries[i].elementEnd(tNode); + } + } + embeddedTView(tNode) { + let queriesForTemplateRef = null; + for (let i = 0; i < this.length; i++) { + const childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0; + const tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex); + if (tqueryClone) { + tqueryClone.indexInDeclarationView = i; + if (queriesForTemplateRef !== null) { + queriesForTemplateRef.push(tqueryClone); + } else { + queriesForTemplateRef = [tqueryClone]; + } + } + } + return queriesForTemplateRef !== null ? new _TQueries_(queriesForTemplateRef) : null; + } + template(tView, tNode) { + ngDevMode && assertFirstCreatePass(tView, "Queries should collect results on the first template pass only"); + for (let i = 0; i < this.queries.length; i++) { + this.queries[i].template(tView, tNode); + } + } + getByIndex(index) { + ngDevMode && assertIndexInRange(this.queries, index); + return this.queries[index]; + } + get length() { + return this.queries.length; + } + track(tquery) { + this.queries.push(tquery); + } +}; +var TQuery_ = class _TQuery_ { + metadata; + matches = null; + indexInDeclarationView = -1; + crossesNgTemplate = false; + /** + * A node index on which a query was declared (-1 for view queries and ones inherited from the + * declaration template). We use this index (alongside with _appliesToNextNode flag) to know + * when to apply content queries to elements in a template. + */ + _declarationNodeIndex; + /** + * A flag indicating if a given query still applies to nodes it is crossing. We use this flag + * (alongside with _declarationNodeIndex) to know when to stop applying content queries to + * elements in a template. + */ + _appliesToNextNode = true; + constructor(metadata, nodeIndex = -1) { + this.metadata = metadata; + this._declarationNodeIndex = nodeIndex; + } + elementStart(tView, tNode) { + if (this.isApplyingToNode(tNode)) { + this.matchTNode(tView, tNode); + } + } + elementEnd(tNode) { + if (this._declarationNodeIndex === tNode.index) { + this._appliesToNextNode = false; + } + } + template(tView, tNode) { + this.elementStart(tView, tNode); + } + embeddedTView(tNode, childQueryIndex) { + if (this.isApplyingToNode(tNode)) { + this.crossesNgTemplate = true; + this.addMatch(-tNode.index, childQueryIndex); + return new _TQuery_(this.metadata); + } + return null; + } + isApplyingToNode(tNode) { + if (this._appliesToNextNode && (this.metadata.flags & 1) !== 1) { + const declarationNodeIdx = this._declarationNodeIndex; + let parent = tNode.parent; + while (parent !== null && parent.type & 8 && parent.index !== declarationNodeIdx) { + parent = parent.parent; + } + return declarationNodeIdx === (parent !== null ? parent.index : -1); + } + return this._appliesToNextNode; + } + matchTNode(tView, tNode) { + const predicate = this.metadata.predicate; + if (Array.isArray(predicate)) { + for (let i = 0; i < predicate.length; i++) { + const name = predicate[i]; + this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, name)); + this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, name, false, false)); + } + } else { + if (predicate === TemplateRef) { + if (tNode.type & 4) { + this.matchTNodeWithReadOption(tView, tNode, -1); + } + } else { + this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, predicate, false, false)); + } + } + } + matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) { + if (nodeMatchIdx !== null) { + const read = this.metadata.read; + if (read !== null) { + if (read === ElementRef || read === ViewContainerRef || read === TemplateRef && tNode.type & 4) { + this.addMatch(tNode.index, -2); + } else { + const directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false); + if (directiveOrProviderIdx !== null) { + this.addMatch(tNode.index, directiveOrProviderIdx); + } + } + } else { + this.addMatch(tNode.index, nodeMatchIdx); + } + } + } + addMatch(tNodeIdx, matchIdx) { + if (this.matches === null) { + this.matches = [tNodeIdx, matchIdx]; + } else { + this.matches.push(tNodeIdx, matchIdx); + } + } +}; +function getIdxOfMatchingSelector(tNode, selector) { + const localNames = tNode.localNames; + if (localNames !== null) { + for (let i = 0; i < localNames.length; i += 2) { + if (localNames[i] === selector) { + return localNames[i + 1]; + } + } + } + return null; +} +function createResultByTNodeType(tNode, currentView) { + if (tNode.type & (3 | 8)) { + return createElementRef(tNode, currentView); + } else if (tNode.type & 4) { + return createTemplateRef(tNode, currentView); + } + return null; +} +function createResultForNode(lView, tNode, matchingIdx, read) { + if (matchingIdx === -1) { + return createResultByTNodeType(tNode, lView); + } else if (matchingIdx === -2) { + return createSpecialToken(lView, tNode, read); + } else { + return getNodeInjectable(lView, lView[TVIEW], matchingIdx, tNode); + } +} +function createSpecialToken(lView, tNode, read) { + if (read === ElementRef) { + return createElementRef(tNode, lView); + } else if (read === TemplateRef) { + return createTemplateRef(tNode, lView); + } else if (read === ViewContainerRef) { + ngDevMode && assertTNodeType( + tNode, + 3 | 12 + /* TNodeType.AnyContainer */ + ); + return createContainerRef(tNode, lView); + } else { + ngDevMode && throwError2(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${stringify(read)}.`); + } +} +function materializeViewResults(tView, lView, tQuery, queryIndex) { + const lQuery = lView[QUERIES].queries[queryIndex]; + if (lQuery.matches === null) { + const tViewData = tView.data; + const tQueryMatches = tQuery.matches; + const result = []; + for (let i = 0; tQueryMatches !== null && i < tQueryMatches.length; i += 2) { + const matchedNodeIdx = tQueryMatches[i]; + if (matchedNodeIdx < 0) { + result.push(null); + } else { + ngDevMode && assertIndexInRange(tViewData, matchedNodeIdx); + const tNode = tViewData[matchedNodeIdx]; + result.push(createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read)); + } + } + lQuery.matches = result; + } + return lQuery.matches; +} +function collectQueryResults(tView, lView, queryIndex, result) { + const tQuery = tView.queries.getByIndex(queryIndex); + const tQueryMatches = tQuery.matches; + if (tQueryMatches !== null) { + const lViewResults = materializeViewResults(tView, lView, tQuery, queryIndex); + for (let i = 0; i < tQueryMatches.length; i += 2) { + const tNodeIdx = tQueryMatches[i]; + if (tNodeIdx > 0) { + result.push(lViewResults[i / 2]); + } else { + const childQueryIndex = tQueryMatches[i + 1]; + const declarationLContainer = lView[-tNodeIdx]; + ngDevMode && assertLContainer(declarationLContainer); + for (let i2 = CONTAINER_HEADER_OFFSET; i2 < declarationLContainer.length; i2++) { + const embeddedLView = declarationLContainer[i2]; + if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) { + collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result); + } + } + if (declarationLContainer[MOVED_VIEWS] !== null) { + const embeddedLViews = declarationLContainer[MOVED_VIEWS]; + for (let i2 = 0; i2 < embeddedLViews.length; i2++) { + const embeddedLView = embeddedLViews[i2]; + collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result); + } + } + } + } + } + return result; +} +function loadQueryInternal(lView, queryIndex) { + ngDevMode && assertDefined(lView[QUERIES], "LQueries should be defined when trying to load a query"); + ngDevMode && assertIndexInRange(lView[QUERIES].queries, queryIndex); + return lView[QUERIES].queries[queryIndex].queryList; +} +function createLQuery(tView, lView, flags) { + const queryList = new QueryList( + (flags & 4) === 4 + /* QueryFlags.emitDistinctChangesOnly */ + ); + storeCleanupWithContext(tView, lView, queryList, queryList.destroy); + const lQueries = (lView[QUERIES] ??= new LQueries_()).queries; + return lQueries.push(new LQuery_(queryList)) - 1; +} +function createViewQuery(predicate, flags, read) { + ngDevMode && assertNumber(flags, "Expecting flags"); + const tView = getTView(); + if (tView.firstCreatePass) { + createTQuery(tView, new TQueryMetadata_(predicate, flags, read), -1); + if ((flags & 2) === 2) { + tView.staticViewQueries = true; + } + } + return createLQuery(tView, getLView(), flags); +} +function createContentQuery(directiveIndex, predicate, flags, read) { + ngDevMode && assertNumber(flags, "Expecting flags"); + const tView = getTView(); + if (tView.firstCreatePass) { + const tNode = getCurrentTNode(); + createTQuery(tView, new TQueryMetadata_(predicate, flags, read), tNode.index); + saveContentQueryAndDirectiveIndex(tView, directiveIndex); + if ((flags & 2) === 2) { + tView.staticContentQueries = true; + } + } + return createLQuery(tView, getLView(), flags); +} +function splitQueryMultiSelectors(locator) { + return locator.split(",").map((s) => s.trim()); +} +function createTQuery(tView, metadata, nodeIndex) { + if (tView.queries === null) tView.queries = new TQueries_(); + tView.queries.track(new TQuery_(metadata, nodeIndex)); +} +function saveContentQueryAndDirectiveIndex(tView, directiveIndex) { + const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []); + const lastSavedDirectiveIndex = tViewContentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1; + if (directiveIndex !== lastSavedDirectiveIndex) { + tViewContentQueries.push(tView.queries.length - 1, directiveIndex); + } +} +function getTQuery(tView, index) { + ngDevMode && assertDefined(tView.queries, "TQueries must be defined to retrieve a TQuery"); + return tView.queries.getByIndex(index); +} +function getQueryResults(lView, queryIndex) { + const tView = lView[TVIEW]; + const tQuery = getTQuery(tView, queryIndex); + return tQuery.crossesNgTemplate ? collectQueryResults(tView, lView, queryIndex, []) : materializeViewResults(tView, lView, tQuery, queryIndex); +} +function createQuerySignalFn(firstOnly, required, opts) { + let node; + const signalFn = createComputed(() => { + node._dirtyCounter(); + const value = refreshSignalQuery(node, firstOnly); + if (required && value === void 0) { + throw new RuntimeError(-951, ngDevMode && "Child query result is required but no value is available."); + } + return value; + }); + node = signalFn[SIGNAL]; + node._dirtyCounter = signal(0); + node._flatValue = void 0; + if (ngDevMode) { + signalFn.toString = () => `[Query Signal]`; + node.debugName = opts?.debugName; + } + return signalFn; +} +function createSingleResultOptionalQuerySignalFn(opts) { + return createQuerySignalFn( + /* firstOnly */ + true, + /* required */ + false, + opts + ); +} +function createSingleResultRequiredQuerySignalFn(opts) { + return createQuerySignalFn( + /* firstOnly */ + true, + /* required */ + true, + opts + ); +} +function createMultiResultQuerySignalFn(opts) { + return createQuerySignalFn( + /* firstOnly */ + false, + /* required */ + false, + opts + ); +} +function bindQueryToSignal(target, queryIndex) { + const node = target[SIGNAL]; + node._lView = getLView(); + node._queryIndex = queryIndex; + node._queryList = loadQueryInternal(node._lView, queryIndex); + node._queryList.onDirty(() => node._dirtyCounter.update((v) => v + 1)); +} +function refreshSignalQuery(node, firstOnly) { + const lView = node._lView; + const queryIndex = node._queryIndex; + if (lView === void 0 || queryIndex === void 0 || lView[FLAGS] & 4) { + return firstOnly ? void 0 : EMPTY_ARRAY; + } + const queryList = loadQueryInternal(lView, queryIndex); + const results = getQueryResults(lView, queryIndex); + queryList.reset(results, unwrapElementRef); + if (firstOnly) { + return queryList.first; + } else { + const resultChanged = queryList._changesDetected; + if (resultChanged || node._flatValue === void 0) { + return node._flatValue = queryList.toArray(); + } + return node._flatValue; + } +} +function viewChildFn(locator, opts) { + ngDevMode && assertInInjectionContext(viewChild); + return createSingleResultOptionalQuerySignalFn(opts); +} +function viewChildRequiredFn(locator, opts) { + ngDevMode && assertInInjectionContext(viewChild); + return createSingleResultRequiredQuerySignalFn(opts); +} +var viewChild = (() => { + viewChildFn.required = viewChildRequiredFn; + return viewChildFn; +})(); +function contentChildFn(locator, opts) { + ngDevMode && assertInInjectionContext(contentChild); + return createSingleResultOptionalQuerySignalFn(opts); +} +function contentChildRequiredFn(locator, opts) { + ngDevMode && assertInInjectionContext(contentChildren); + return createSingleResultRequiredQuerySignalFn(opts); +} +var contentChild = (() => { + contentChildFn.required = contentChildRequiredFn; + return contentChildFn; +})(); +function contentChildren(locator, opts) { + return createMultiResultQuerySignalFn(opts); +} +function createModelSignal(initialValue, opts) { + const node = Object.create(INPUT_SIGNAL_NODE); + const emitterRef = new OutputEmitterRef(); + node.value = initialValue; + function getter() { + producerAccessed(node); + assertModelSet(node.value); + return node.value; + } + getter[SIGNAL] = node; + getter.asReadonly = signalAsReadonlyFn.bind(getter); + getter.set = (newValue) => { + if (!node.equal(node.value, newValue)) { + signalSetFn(node, newValue); + emitterRef.emit(newValue); + } + }; + getter.update = (updateFn) => { + assertModelSet(node.value); + getter.set(updateFn(node.value)); + }; + getter.subscribe = emitterRef.subscribe.bind(emitterRef); + getter.destroyRef = emitterRef.destroyRef; + if (ngDevMode) { + getter.toString = () => `[Model Signal: ${getter()}]`; + node.debugName = opts?.debugName; + } + return getter; +} +function assertModelSet(value) { + if (value === REQUIRED_UNSET_VALUE) { + throw new RuntimeError(952, ngDevMode && "Model is required but no value is available yet."); + } +} +function modelFunction(initialValue, opts) { + ngDevMode && assertInInjectionContext(model); + return createModelSignal(initialValue, opts); +} +function modelRequiredFunction(opts) { + ngDevMode && assertInInjectionContext(model); + return createModelSignal(REQUIRED_UNSET_VALUE, opts); +} +var model = (() => { + modelFunction.required = modelRequiredFunction; + return modelFunction; +})(); +var emitDistinctChangesOnlyDefaultValue = true; +var Query = class { +}; +var ContentChildren = makePropDecorator("ContentChildren", (selector, opts = {}) => __spreadValues({ + selector, + first: false, + isViewQuery: false, + descendants: false, + emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue +}, opts), Query); +var ContentChild = makePropDecorator("ContentChild", (selector, opts = {}) => __spreadValues({ + selector, + first: true, + isViewQuery: false, + descendants: true +}, opts), Query); +var ViewChildren = makePropDecorator("ViewChildren", (selector, opts = {}) => __spreadValues({ + selector, + first: false, + isViewQuery: true, + descendants: true, + emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue +}, opts), Query); +var ViewChild = makePropDecorator("ViewChild", (selector, opts) => __spreadValues({ + selector, + first: true, + isViewQuery: true, + descendants: true +}, opts), Query); +function resolveComponentResources(resourceResolver) { + const componentResolved = []; + const urlMap = /* @__PURE__ */ new Map(); + function cachedResourceResolve(url) { + let promise = urlMap.get(url); + if (!promise) { + const resp = resourceResolver(url); + urlMap.set(url, promise = resp.then(unwrapResponse)); + } + return promise; + } + componentResourceResolutionQueue.forEach((component, type) => { + const promises = []; + if (component.templateUrl) { + promises.push(cachedResourceResolve(component.templateUrl).then((template) => { + component.template = template; + })); + } + const styles = typeof component.styles === "string" ? [component.styles] : component.styles || []; + component.styles = styles; + if (component.styleUrl && component.styleUrls?.length) { + throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple"); + } else if (component.styleUrls?.length) { + const styleOffset = component.styles.length; + const styleUrls = component.styleUrls; + component.styleUrls.forEach((styleUrl, index) => { + styles.push(""); + promises.push(cachedResourceResolve(styleUrl).then((style) => { + styles[styleOffset + index] = style; + styleUrls.splice(styleUrls.indexOf(styleUrl), 1); + if (styleUrls.length == 0) { + component.styleUrls = void 0; + } + })); + }); + } else if (component.styleUrl) { + promises.push(cachedResourceResolve(component.styleUrl).then((style) => { + styles.push(style); + component.styleUrl = void 0; + })); + } + const fullyResolved = Promise.all(promises).then(() => componentDefResolved(type)); + componentResolved.push(fullyResolved); + }); + clearResolutionOfComponentResourcesQueue(); + return Promise.all(componentResolved).then(() => void 0); +} +var componentResourceResolutionQueue = /* @__PURE__ */ new Map(); +var componentDefPendingResolution = /* @__PURE__ */ new Set(); +function maybeQueueResolutionOfComponentResources(type, metadata) { + if (componentNeedsResolution(metadata)) { + componentResourceResolutionQueue.set(type, metadata); + componentDefPendingResolution.add(type); + } +} +function componentNeedsResolution(component) { + return !!(component.templateUrl && !component.hasOwnProperty("template") || component.styleUrls && component.styleUrls.length || component.styleUrl); +} +function clearResolutionOfComponentResourcesQueue() { + const old = componentResourceResolutionQueue; + componentResourceResolutionQueue = /* @__PURE__ */ new Map(); + return old; +} +function isComponentResourceResolutionQueueEmpty() { + return componentResourceResolutionQueue.size === 0; +} +function unwrapResponse(response) { + return typeof response == "string" ? response : response.text(); +} +function componentDefResolved(type) { + componentDefPendingResolution.delete(type); +} +var modules = /* @__PURE__ */ new Map(); +var checkForDuplicateNgModules = true; +function assertSameOrNotExisting(id, type, incoming) { + if (type && type !== incoming && checkForDuplicateNgModules) { + throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`); + } +} +function registerNgModuleType(ngModuleType, id) { + const existing = modules.get(id) || null; + assertSameOrNotExisting(id, existing, ngModuleType); + modules.set(id, ngModuleType); +} +function \u0275\u0275validateIframeAttribute(attrValue, tagName, attrName) { + const lView = getLView(); + const tNode = getSelectedTNode(); + const element = getNativeByTNode(tNode, lView); + if (tNode.type === 2 && tagName.toLowerCase() === "iframe") { + const iframe = element; + iframe.src = ""; + iframe.srcdoc = trustedHTMLFromString(""); + nativeRemoveNode(lView[RENDERER], iframe); + const errorMessage = ngDevMode && `Angular has detected that the \`${attrName}\` was applied as a binding to an