diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..38a9fc1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,26 @@ +# Всё, что не нужно для сборки образа: ускоряет передачу контекста и не даёт +# попасть внутрь Windows-бинарникам из node_modules и локальным секретам +.git +.gitignore +.gitattributes +.idea +.vscode +.gradle +build +*.iml + +.env +.env.* +!.env.example + +Dockerfile +docker-compose*.yml +.dockerignore + +spring-angular-ui/node_modules +spring-angular-ui/.angular +spring-angular-ui/static +spring-angular-ui/dist + +# Собранный фронт собирается заново внутри образа +src/main/resources/static diff --git a/.gitignore b/.gitignore index c2065bc..3a6e6dc 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ out/ ### VS Code ### .vscode/ + +### Docker ### +.env diff --git a/Dockerfile b/Dockerfile index 5db057c..5d8f4cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,37 +1,66 @@ -# 1. Этап сборки (Build stage) +# syntax=docker/dockerfile:1 + +# 1. Сборка Angular +FROM node:24-alpine AS ui +WORKDIR /ui + +# Сначала только манифесты — слой с зависимостями пересобирается лишь при их изменении. +# npm install, а не npm ci: сборка не должна падать, если package-lock.json разошёлся с package.json +COPY spring-angular-ui/package*.json ./ +RUN --mount=type=cache,target=/root/.npm \ + npm install --legacy-peer-deps --no-audit --no-fund + +COPY spring-angular-ui/ ./ +RUN npx ng build + + +# 2. Сборка jar FROM eclipse-temurin:26-jdk-jammy AS build - -# Устанавливаем только Node.js v20 для Angular -RUN apt-get update && apt-get install -y curl \ - && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ - && apt-get install -y nodejs \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - WORKDIR /app -# Копируем всё содержимое проекта -COPY . . - -# Даем права на запуск Gradle +# Сначала Gradle-обвязка — зависимости скачиваются заново лишь при изменении build.gradle +COPY gradlew settings.gradle build.gradle ./ +COPY gradle ./gradle RUN chmod +x gradlew +RUN --mount=type=cache,target=/root/.gradle \ + ./gradlew dependencies --no-daemon -q > /dev/null -# Устанавливаем зависимости фронтенда -RUN cd spring-angular-ui && npm install --legacy-peer-deps +COPY src ./src +# Свежесобранный фронт кладём туда же, куда его копирует задача copyAngularBuild +COPY --from=ui /ui/static/browser ./src/main/resources/static +RUN --mount=type=cache,target=/root/.gradle \ + ./gradlew bootJar -x test --no-daemon \ + && cp "$(ls build/libs/*.jar | grep -v -- '-plain.jar' | head -n 1)" app.jar -# Запускаем сборку через Gradle -RUN ./gradlew copyAngularBuild --no-daemon --info -RUN ./gradlew bootJar -x test --no-daemon +# Раскладываем jar по слоям: зависимости меняются редко и кэшируются отдельно от кода +RUN java -Djarmode=tools -jar app.jar extract --layers --launcher --destination extracted -# 2. Финальный образ (Runtime stage) -FROM eclipse-temurin:26-jdk-jammy -# Здесь оставляем все утилиты управления контейнерами -RUN apt-get update && \ - apt-get install -y docker.io docker-compose-v2 && \ - apt-get clean && rm -rf /var/lib/apt/lists/* +# 3. Запуск +FROM eclipse-temurin:26-jre-jammy + +# curl нужен для healthcheck +RUN apt-get update \ + && apt-get install -y --no-install-recommends curl \ + && rm -rf /var/lib/apt/lists/* + +# Непривилегированный пользователь; InitDataService пишет начальные данные в /jambotron_data +RUN groupadd --system app \ + && useradd --system --gid app --home-dir /app app \ + && mkdir -p /jambotron_data \ + && chown app:app /jambotron_data WORKDIR /app -COPY --from=build /app/build/libs/*.jar app.jar +COPY --from=build --chown=app:app /app/extracted/dependencies/ ./ +COPY --from=build --chown=app:app /app/extracted/spring-boot-loader/ ./ +COPY --from=build --chown=app:app /app/extracted/snapshot-dependencies/ ./ +COPY --from=build --chown=app:app /app/extracted/application/ ./ +USER app EXPOSE 8080 -ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=prod", "app.jar"] \ No newline at end of file + +HEALTHCHECK --interval=15s --timeout=5s --start-period=60s --retries=5 \ + CMD curl -fs http://localhost:8080/actuator/health || exit 1 + +# JVM ориентируется на лимит памяти контейнера, а не на память хоста +ENTRYPOINT ["java", "-XX:MaxRAMPercentage=75", "org.springframework.boot.loader.launch.JarLauncher"] diff --git a/build.gradle b/build.gradle index ac56fcc..ab82657 100644 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ dependencies { testRuntimeOnly 'org.junit.platform:junit-platform-launcher' implementation 'org.springframework.boot:spring-boot-starter-security' - implementation 'jakarta.validation:jakarta.validation-api:3.0.2' + implementation 'org.springframework.boot:spring-boot-starter-validation' // Безопасность и JWT implementation 'io.jsonwebtoken:jjwt-api:0.11.5' diff --git a/docker-compose-1.yml b/docker-compose-1.yml deleted file mode 100644 index e69de29..0000000 diff --git a/docker-compose.yml b/docker-compose.yml index 9f7ada1..f93f26f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,11 @@ services: demo-monolith-postgres: image: postgres:16-alpine - restart: always + restart: unless-stopped environment: POSTGRES_DB: jambotron_monolith POSTGRES_USER: jambotron_admin POSTGRES_PASSWORD: jambo_secret_pass - expose: - - "5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U jambotron_admin -d jambotron_monolith"] interval: 3s @@ -20,19 +18,23 @@ services: app: build: . - restart: always + # Собирать образ при каждом `docker compose up`, иначе compose молча запускает старый образ + pull_policy: build + restart: unless-stopped + # Ждём, пока база начнёт принимать подключения, иначе Flyway падает на старте + depends_on: + demo-monolith-postgres: + condition: service_healthy ports: - "8080:8080" environment: - - SPRING_DATASOURCE_URL=jdbc:postgresql://demo-monolith-postgres:5432/jambotron_monolith - - SPRING_DATASOURCE_USERNAME=jambotron_admin - - SPRING_DATASOURCE_PASSWORD=jambo_secret_pass - - SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver - - SPRING_FLYWAY_URL=jdbc:postgresql://demo-monolith-postgres:5432/jambotron_monolith?options=-c%20timezone=UTC - - SPRING_FLYWAY_USER=jambotron_admin - - SPRING_FLYWAY_PASSWORD=jambo_secret_pass - volumes: - - /var/run/docker.sock:/var/run/docker.sock + SPRING_DATASOURCE_URL: jdbc:postgresql://demo-monolith-postgres:5432/jambotron_monolith + SPRING_DATASOURCE_USERNAME: jambotron_admin + SPRING_DATASOURCE_PASSWORD: jambo_secret_pass + # В application.yaml Flyway настроен на localhost отдельно от datasource — переопределяем + SPRING_FLYWAY_URL: jdbc:postgresql://demo-monolith-postgres:5432/jambotron_monolith?options=-c%20timezone=UTC + SPRING_FLYWAY_USER: jambotron_admin + SPRING_FLYWAY_PASSWORD: jambo_secret_pass networks: - demo-monolith @@ -40,4 +42,4 @@ volumes: postgres_data: networks: - demo-monolith: \ No newline at end of file + demo-monolith: diff --git a/spring-angular-ui/.gitignore b/spring-angular-ui/.gitignore index de51f68..9482979 100644 --- a/spring-angular-ui/.gitignore +++ b/spring-angular-ui/.gitignore @@ -43,3 +43,6 @@ testem.log # System Files .DS_Store Thumbs.db + +# Angular CLI cache +/.angular/ diff --git a/spring-angular-ui/angular.json b/spring-angular-ui/angular.json index 53b0060..9e4a3d7 100644 --- a/spring-angular-ui/angular.json +++ b/spring-angular-ui/angular.json @@ -108,5 +108,34 @@ } } } + }, + "schematics": { + "@schematics/angular:component": { + "type": "component" + }, + "@schematics/angular:directive": { + "type": "directive" + }, + "@schematics/angular:service": { + "type": "service" + }, + "@schematics/angular:guard": { + "typeSeparator": "." + }, + "@schematics/angular:interceptor": { + "typeSeparator": "." + }, + "@schematics/angular:module": { + "typeSeparator": "." + }, + "@schematics/angular:pipe": { + "typeSeparator": "." + }, + "@schematics/angular:resolver": { + "typeSeparator": "." + } + }, + "cli": { + "analytics": false } } diff --git a/spring-angular-ui/package-lock.json b/spring-angular-ui/package-lock.json index 212dd00..9facfdb 100644 --- a/spring-angular-ui/package-lock.json +++ b/spring-angular-ui/package-lock.json @@ -8,39 +8,34 @@ "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", + "@angular/animations": "^22.2.3", + "@angular/cdk": "^22.2.3", + "@angular/common": "^22.2.3", + "@angular/compiler": "^22.2.3", + "@angular/core": "^22.2.3", + "@angular/forms": "^22.2.3", + "@angular/material": "^22.2.3", + "@angular/platform-browser": "^22.2.3", + "@angular/platform-browser-dynamic": "^22.2.3", + "@angular/router": "^22.2.3", "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", + "@angular-devkit/build-angular": "^22.2.3", + "@angular/cli": "^22.2.3", + "@angular/compiler-cli": "~22.2.3", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", + "istanbul-lib-instrument": "^6.0.3", "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" + "typescript": "~6.0.3" } }, "node_modules/@ampproject/remapping": { @@ -58,122 +53,118 @@ } }, "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==", + "version": "0.2202.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.2202.3.tgz", + "integrity": "sha512-/605FxTg8Kt5fqNuIBVZMfuiNwIf+CTNsiYnHY85/7OTqCNkEwdkXKc3DiFM2KlR/AV2g64GkvHgHqxHzYh34g==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "19.2.27", - "rxjs": "7.8.1" + "@angular-devkit/core": "22.2.3", + "rxjs": "7.8.2" + }, + "bin": { + "architect": "bin/cli.js" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^22.22.3 || ^24.15.0 || >=26.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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-22.2.3.tgz", + "integrity": "sha512-tRYpLvaXtujTA8LGMDYKC7dOm8DZDD/YeIcrVmSbaQu2vKhOgvIO85DE11/Xcn3meb6aOD7kjTgEIK4dUcelpQ==", + "deprecated": "Angular's Webpack support is deprecated. Use the esbuild and Vite-based \"@angular/build\" package instead.", "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", + "@angular-devkit/architect": "0.2202.3", + "@angular-devkit/build-webpack": "0.2202.3", + "@angular-devkit/core": "22.2.3", + "@angular/build": "22.2.3", + "@babel/core": "8.0.5", + "@babel/generator": "8.0.5", + "@babel/helper-annotate-as-pure": "8.0.0", "@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", + "@babel/plugin-transform-async-generator-functions": "8.0.1", + "@babel/plugin-transform-async-to-generator": "8.0.1", + "@babel/plugin-transform-runtime": "8.0.1", + "@babel/preset-env": "8.0.5", + "@babel/runtime": "8.0.5", + "@discoveryjs/json-ext": "1.1.0", + "@ngtools/webpack": "22.2.3", "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", + "autoprefixer": "10.6.0", + "babel-loader": "10.1.1", + "beasties": "0.5.4", + "browserslist": "^4.26.0", + "copy-webpack-plugin": "14.0.0", + "css-loader": "7.1.5", + "esbuild-wasm": "0.28.2", + "http-proxy-middleware": "4.2.0", "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", + "less": "4.9.1", + "less-loader": "13.0.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", + "mini-css-extract-plugin": "2.10.2", + "open": "11.0.4", + "ora": "9.4.1", + "picomatch": "4.0.7", + "piscina": "5.3.2", + "postcss": "8.5.28", + "postcss-loader": "8.2.1", "resolve-url-loader": "5.0.0", - "rxjs": "7.8.1", - "sass": "1.85.0", - "sass-loader": "16.0.5", - "semver": "7.7.1", + "rxjs": "7.8.2", + "sass-loader": "17.0.1", + "semver": "7.8.5", "source-map-loader": "5.0.0", "source-map-support": "0.5.21", - "terser": "5.39.0", - "tree-kill": "1.2.2", + "terser": "5.51.2", + "tinyglobby": "0.2.17", "tslib": "2.8.1", - "webpack": "5.105.0", - "webpack-dev-middleware": "7.4.2", - "webpack-dev-server": "5.2.2", + "webpack": "5.111.0", + "webpack-dev-middleware": "8.3.0", + "webpack-dev-server": "6.0.0", "webpack-merge": "6.0.1", "webpack-subresource-integrity": "5.1.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^22.22.3 || ^24.15.0 || >=26.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.28.0" + "esbuild": "0.28.2" }, "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", + "@angular/compiler-cli": "^22.0.0", + "@angular/core": "^22.0.0", + "@angular/localize": "^22.0.0", + "@angular/platform-browser": "^22.0.0", + "@angular/platform-server": "^22.0.0", + "@angular/service-worker": "^22.0.0", + "@angular/ssr": "^22.2.3", "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", + "ng-packagr": "^22.0.0", "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", - "typescript": ">=5.5 <5.9" + "typescript": ">=6.0 <6.1" }, "peerDependenciesMeta": { + "@angular/core": { + "optional": true + }, "@angular/localize": { "optional": true }, + "@angular/platform-browser": { + "optional": true + }, "@angular/platform-server": { "optional": true }, @@ -183,284 +174,93 @@ "@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==", + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build": { + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-22.2.3.tgz", + "integrity": "sha512-EtNEuPBUCyIuzdXrQ/nINvgFzW8bUI5AkAZtJiSn7nsFOlvaygaKN0kENNTO3zRl3T9B4GDog+Ks5Nec3FBkhg==", "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", + "@angular-devkit/architect": "0.2202.3", + "@babel/core": "8.0.5", + "@inquirer/confirm": "6.3.2", + "@parcel/watcher": "2.6.0", + "@vitejs/plugin-basic-ssl": "2.3.0", + "beasties": "0.5.4", + "browserslist": "^4.26.0", + "chokidar": "5.0.0", + "esbuild": "0.28.2", + "https-proxy-agent": "9.1.0", + "jsonc-parser": "3.3.1", + "listr2": "11.1.0", + "magic-string": "1.4.1", "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", + "oxc-parser": "0.150.0", + "parse5-html-rewriting-stream": "8.0.1", + "picomatch": "4.0.7", + "piscina": "5.3.2", + "rolldown": "1.2.8", + "sass": "1.104.1", + "sass-embedded": "1.104.1", + "semver": "7.8.5", "source-map-support": "0.5.21", - "vite": "6.4.2", - "watchpack": "2.4.2" + "tinyglobby": "0.2.17", + "vite": "8.3.0", + "xxhash-wasm": "1.1.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^22.22.3 || ^24.15.0 || >=26.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "optionalDependencies": { - "lmdb": "3.2.6" + "lmdb": "3.5.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", + "@angular/compiler": "^22.0.0", + "@angular/compiler-cli": "^22.0.0", + "@angular/core": "^22.0.0", + "@angular/localize": "^22.0.0", + "@angular/platform-browser": "^22.0.0", + "@angular/platform-server": "^22.0.0", + "@angular/service-worker": "^22.0.0", + "@angular/ssr": "^22.2.3", + "istanbul-lib-instrument": "^6.0.0", "karma": "^6.4.0", "less": "^4.2.0", - "ng-packagr": "^19.0.0 || ^19.2.0-next.0", + "ng-packagr": "^22.0.0", "postcss": "^8.4.0", + "rollup": "^4.0.0", "tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0", - "typescript": ">=5.5 <5.9" + "tslib": "^2.3.0", + "typescript": ">=6.0 <6.1", + "vitest": "^4.0.8 || ^5.0.0" }, "peerDependenciesMeta": { + "@angular/core": { + "optional": true + }, "@angular/localize": { "optional": true }, + "@angular/platform-browser": { + "optional": true + }, "@angular/platform-server": { "optional": true }, @@ -470,6 +270,9 @@ "@angular/ssr": { "optional": true }, + "istanbul-lib-instrument": { + "optional": true + }, "karma": { "optional": true }, @@ -482,142 +285,2154 @@ "postcss": { "optional": true }, + "rollup": { + "optional": true + }, "tailwindcss": { "optional": true + }, + "vitest": { + "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==", + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build/node_modules/@vitejs/plugin-basic-ssl": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.3.0.tgz", + "integrity": "sha512-bdyo8rB3NnQbikdMpHaML9Z1OZPBu6fFOBo+OtxsBlvMJtysWskmBcnbIDhUqgC8tcxNv/a+BcV5U+2nQMm1OQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "peerDependencies": { + "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@angular/build/node_modules/vite": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.0.tgz", + "integrity": "sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==", + "dev": true, "license": "MIT", "dependencies": { - "parse5": "^7.1.2", + "lightningcss": "^1.33.0", + "picomatch": "^4.0.7", + "postcss": "^8.5.28", + "rolldown": "~1.2.6", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.7.1", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "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/@angular-devkit/build-angular/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/compat-data": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-8.0.5.tgz", + "integrity": "sha512-YLsYoQMvL8l8WrGpN3Zj7O1wK5LEBN+cQtux7BcuHyxIXve724XG+zuJ1n3U1cUweRtTzQOA4IHbuQw3N34SZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/core": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-8.0.5.tgz", + "integrity": "sha512-2/oWkgTbBYoqioCWAE4XJobOrzwxTDa5/XjDP3tJ1BhDr/owcd9qnXBp4xc3/2G5X4bvXM04nrxbRJxFcXAxFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/generator": "^8.0.5", + "@babel/helper-compilation-targets": "^8.0.5", + "@babel/helpers": "^8.0.5", + "@babel/parser": "^8.0.5", + "@babel/template": "^8.0.0", + "@babel/traverse": "^8.0.5", + "@babel/types": "^8.0.5", + "@types/gensync": "^1.0.5", + "convert-source-map": "^2.0.0", + "empathic": "^2.0.1", + "gensync": "^1.0.0-beta.2", + "import-meta-resolve": "^4.2.0", + "json5": "^2.2.3", + "obug": "^2.1.1", + "verkit": "^0.3.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/generator": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.5.tgz", + "integrity": "sha512-f/TuhuMAxJqhwxEGNsJrswuG9VHmh0oNFoQoo6TbpgtFAz9wYZXcTAcWZMHfp7ljesr0RG04bp3Aos9GI59L7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.5", + "@babel/types": "^8.0.5", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-compilation-targets": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-8.0.7.tgz", + "integrity": "sha512-ilAZCdOOlOVA7dQbaFNw2f/59p6GW33NxTopc3DvEE3efp3ZXTrGX/yZScaKw8/vd9bq31Ag0EcXiLw32bAgJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^8.0.5", + "@babel/helper-validator-option": "^8.0.0", + "browserslist": "^4.24.0", + "flru": "1.0.2", + "verkit": "^0.5.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-compilation-targets/node_modules/verkit": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz", + "integrity": "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-remap-async-to-generator": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-8.0.1.tgz", + "integrity": "sha512-baAKuLEMmu6BCSY3tuiU7qglM1qOZt6F1SrFScA241oNqksxkxfEZEKztlGRmoVns9AQ5UgArH7RsUEjxWnzgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^8.0.0", + "@babel/helper-wrap-function": "^8.0.0", + "@babel/traverse": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-validator-option": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-8.0.0.tgz", + "integrity": "sha512-U4Dybxh4WESWHt5XhBeExi4DrY0/DNK1aHpQbsrQXCUbFHuMweT0TpLEWKvaraV2Y6fS+ZXunsZ8zIuZIgvF2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helpers": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-8.0.7.tgz", + "integrity": "sha512-5dMj5kFwS2AY7Dt4PZp4px3c5ThMbbEa7tZfuHTncCGSFYq8uoA1ufDE1IS/lYpQedE+3+GQ3cPZUiplIu195w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-8.0.1.tgz", + "integrity": "sha512-Ytgjjne4RnG3Oig7ik+NfY4ebRY30BPptVkkyu1f72eINJXRM3/bkU++tIc5aPvyLmo4KH20avq0xJ2o+9aEnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-8.0.1.tgz", + "integrity": "sha512-X7pAMBhuKluA7UfwZNvKN0XVVu/AGeo84Z75eJl85rcb8J2aBzLK92btahM1X5h0oi0QIrbe0qIMA/0+4Buk7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-8.0.1.tgz", + "integrity": "sha512-DJviKTxYfH0hFwnMiW4dnPyMGzS3Hrr4zUfXl1zwQ0QiGlGlNYklLoPSYEQr8S7nau0/K7NdQjTh0qbYuyFjCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-rest-destructuring-rhs-array/-/plugin-bugfix-safari-rest-destructuring-rhs-array-8.0.6.tgz", + "integrity": "sha512-vk9CzgaQGcTTBL8F0YNr7LBEka6pXP/I5KcMj0oicGXUquWSNqxiijHGQkHF+s8m910NbGMpn5mU2sFV7AQjBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-8.0.1.tgz", + "integrity": "sha512-x8bi0LFVD2xkULjfNn+hCMg16yAFHAM9fS/ThSFeYBi+0MP9K6qcY2BZb4urUwC7PYtEy5wPe6TKjOEjXrCGFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0", + "@babel/plugin-transform-optional-chaining": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-8.0.1.tgz", + "integrity": "sha512-P8+RN2n7ts2s1vnE+lXdHYf+dhnmcGSen/kWzBsVluT9Sey5AqmcRXYWlHqgQxaNlKTD5YMa1tf5z4d1v8W88w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-arrow-functions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-8.0.1.tgz", + "integrity": "sha512-o/gr7kRlq3PKLLuYth4udOsrC7geBerti+QtwPeyxMOsEQO1d8kDHqk9r2PtMx2y9i8FG7tzyTerfv1yMLSMsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-8.0.1.tgz", + "integrity": "sha512-kqnSMF1YHBzuiQrl68675i5Ma1oljvo+SJsNEZFZVBu5BUrVIZm9KId3ui2PdtLK2sv2zM8sJnjPDfgLxQlEqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-remap-async-to-generator": "^8.0.1", + "@babel/traverse": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-async-to-generator": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-8.0.1.tgz", + "integrity": "sha512-e1jmmEU4p2Lx64sA1+EF8e8/RxPuegzbXcEbmFp5alDyLE+f2ViUpZ77bRWMXzihTwgVVmn/TOpqDbAuS5g1Ew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^8.0.0", + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-remap-async-to-generator": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-8.0.1.tgz", + "integrity": "sha512-0V97/gcf7LIgPieEiK1YT0eXa18XJFSLOTZjzEZhA9SJIqZhD/IwGUrCitBzXSmnGCP7hchwC6svHtJ/Eidcpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-block-scoping": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-8.0.7.tgz", + "integrity": "sha512-JhQli/zQZPXyDO/dhA2OWjDSsKDRgd0jVeN80qsDp4twAmbP8otJNWKwqRZzbsGATNmbsVfVM0b4L9lR5h+8WA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-class-properties": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-8.0.1.tgz", + "integrity": "sha512-tORnYiVhIHnKj90TgbSZXrO24f9oEpA6MgFxpIDSKKlHv7AzBIRhkMlYevanueLNYaQXqZWarfCgXM4bWTfNiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-class-static-block": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-8.0.5.tgz", + "integrity": "sha512-hyqluKOSy6PVOoHDEb4xsjFbtOSy+FFNzHNCrAHS5T+LxS8BtZHBCIVYFAcWzhBf/wRYsYu2uEpUvRmHYeOf8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^8.0.5", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-classes": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-8.0.5.tgz", + "integrity": "sha512-GKFgovQQzZfEDFxclYFDOiw/Pszxa1epcs7RasL7yyeqi6rxL61Vbqt0uSDPc2M7XXCmNZnQZaK19333v6rabA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^8.0.0", + "@babel/helper-compilation-targets": "^8.0.5", + "@babel/helper-globals": "^8.0.0", + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-replace-supers": "^8.0.1", + "@babel/traverse": "^8.0.5" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-computed-properties": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-8.0.1.tgz", + "integrity": "sha512-i4l3OGLO8DUDcwdnyraOvILbhqdUf4QgfzhVxSOSzRy49XKXrY7pwaSg9gDSKmhZfNPrEMciBSJSciQh/CjB1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-destructuring": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-8.0.5.tgz", + "integrity": "sha512-evjxc5fGvpXG2WMGSalpX8IJZVumLIDgk5r5eRhvXRDqFX/GPWq1BeRfJalPCcwJfrR5A/wvegUhx9W5Nr7/mg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-dotall-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-8.0.1.tgz", + "integrity": "sha512-czOUoSaZljJ92yu+bYlXqb/UBN8K9daNCob/B6/7nthSvfGP6YhCnfqD64XWfyb2dN4ypxALNplApoJrsMd4fw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-8.0.1.tgz", + "integrity": "sha512-kNnVLkxFUEcTtCyB5PFVQ5Xoy88Bk1lU/ZgDu97CW8eNhRH2Wsiy8Sq5l5dFnwtIUYjzsXHU77jUy1W5AtGSIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-8.0.1.tgz", + "integrity": "sha512-Tv43P47o6fuHgBL7HLHQg3WKXohW9CEUGjLtnCDW27yJLK0zKUdTTqREbZbycNHA83hewMjde5tF6ekrHu9bAA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-dynamic-import": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-8.0.1.tgz", + "integrity": "sha512-AS9GlgKc43tJNRu7yOvLaTko4qmdOb+8M69uNS8i421WLO20eVez7LdG5khKdi8E0LIQpYzzzdGIrdXWnO753g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-explicit-resource-management": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-8.0.5.tgz", + "integrity": "sha512-Vr20jk/ZxRGu30o0jYvcKl2Pf0tiyr8H9q2ZGxYD6yjOpv9DdP6//I85q0cSOdADZhsu/ZZoApjGVCfl4xnVJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/plugin-transform-destructuring": "^8.0.5" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-8.0.1.tgz", + "integrity": "sha512-DsZvUUklUmDQ7d2vp+VjqgUWD51mGxhZZ1FPdPP9Hcj0vsgGUKX+zEBGp/vzB1O5PZUxWT/Euq5fu39M9dm9wg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-8.0.1.tgz", + "integrity": "sha512-bFzznm46bvWGaTYKle3iolbBJ+oPBfUjwCPesxlFE3SQ7DaY9EHf/8Y5ZzrodKJi8JDdcAyaVWaDUSVyhULh0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-for-of": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-8.0.7.tgz", + "integrity": "sha512-h+/9Kyy55fWlnLDmMIWwz21nWLFodIZYpvvCq7gW6Fb55via7sTYPymeTNKbh8N9XZjZ025ClVtg0kxIPnEjGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-function-name": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-8.0.1.tgz", + "integrity": "sha512-H1L/JfPf3CqmubuaiZaquXKQ8MRs4YWSsgRllkTviM8TafcCNnlvc4/fJZ3rXP8HmFM+/Bg+TlsPehUI9BtDFA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^8.0.0", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-json-strings": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-8.0.1.tgz", + "integrity": "sha512-Mowp8X0J6p7ZehLU82B5e65te2uuSeDHyxrEROwEAS2VKXNXssfw5ZMqhY7k9iXTsOv1Xs/49G3lDCj9Vvw8qQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-literals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-8.0.1.tgz", + "integrity": "sha512-ai7kfPRcfyUV1EszXoF1PvL3IuJoCuH08WSEPoRcJTWfZZ55VL/rcfvbVY16QLA3jjbzzSneQSoCtD3L6OyUjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-8.0.1.tgz", + "integrity": "sha512-Emvtr5zkEGyCNAmt+qKD5EUh8G0RbxV9EZWrDdX0LuVy5tBq1B3fOIslvVF9aCJmpnwS/AvAT53b9LxAZyXlng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-8.0.1.tgz", + "integrity": "sha512-3Axi9abnyGsm/hh6DsKPZ1Cr9fTtKqS7w0Ig5g12mU269YclpH8pV3xMln2vPLexXgUp6S6L+I06d9/YOLfRKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-modules-amd": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-8.0.1.tgz", + "integrity": "sha512-FDdhET8y1YFDNRuoynqSf23WTzbBBpbIB2oRrlFX7YYm9uWtFvJDSD1r/epBSjfPkOjeaaLgRW9xNnt3JGx46A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-8.0.1.tgz", + "integrity": "sha512-PMuzulWrrzFNmY3lXSk/tV9NRb7y0eZZLJY4UEo2TKszroxvUZHAPPi+T9FDyrQhod+TQA+t+8/QYaaMpiEuhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-8.0.1.tgz", + "integrity": "sha512-0NEHanXmnFEnfT2dLKTXnu7m8GXFsnxRgteBC2aH21hYMBwAgxu5dcTdi/Eg+ToI1HbZe0CHwz4XRLgRNQhYoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-validator-identifier": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-modules-umd": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-8.0.1.tgz", + "integrity": "sha512-XKTa2J2MdkmbVEeChq9f7Or0VYcsF0NyVBgytRyeN9F+J+ETAB2SHhfkG4toz/ssuU0i+h/QgJ6ddo5YakSQcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-transforms": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-8.0.1.tgz", + "integrity": "sha512-zCHu+Jr2gTdJE48lN9SV/kXueCW2M79mKtKJc/ttfzzr/jvgdQdCd17RADMqFRQc/25MLxdtjTmlD0HSAMOlIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-new-target": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-8.0.1.tgz", + "integrity": "sha512-QSQxVg1x4PuOuhWUs4Y9u+x9Y+ER8z6G3tC+bDLBzvoOrNLJrEBQLRnwrTP8e5klihAw6Z+e9X5RjdAKcAGapA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-8.0.1.tgz", + "integrity": "sha512-AgCJAmQLF7+PtsK79wJqr4xJ2StHCXlz7JL5CVFP4HejJx25Tk6yl1ZrXvi0cKh3VGDVnfVxefxnrpsBirgpyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-numeric-separator": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-8.0.1.tgz", + "integrity": "sha512-it2DmUyLIA1GQUXlFDEnI+/G89mTgxndnAiZYpW8xYR6LboblfirMqiWJeTna5uypQJg7viTT4D1iEURRtFcfw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-8.0.1.tgz", + "integrity": "sha512-VmxkDu6bBdbxRzqn6E93hYucug4OVa6svSO19W//vVzNUGAmQzk3QRyHyyEtfcjSLR3NWfRsWwVM9zExLmd+2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-compilation-targets": "^8.0.0", + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/plugin-transform-destructuring": "^8.0.1", + "@babel/plugin-transform-parameters": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-object-super": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-8.0.1.tgz", + "integrity": "sha512-fDkPXRTRKGm25bAq01q82UM4ypPqdVXCwphUUm4t1dL01fGIG0v8KRvT+4BjhMAtRxtPuI34t5Vs7yjRgs3ZgQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-replace-supers": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-8.0.1.tgz", + "integrity": "sha512-b2OQ74uGliyATcasTjxGy2O/86UI/n+EN4juB4EMfEwTi9j9uq70PuP0L8fW77vfRY66gO/YoTo/WbIdQ/Si1g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-optional-chaining": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-8.0.5.tgz", + "integrity": "sha512-w8ouIDKdmUc2oyvBx4S/WtiQM7bMww5LGjB2A4L1+sDWZGw37XxzqOqfgHnPm+2ldINmAqrf2ekzpeJ/sS9poQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-parameters": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-8.0.5.tgz", + "integrity": "sha512-oXsstDkzuE+gOqBz2+e1VFqDew0KlGgd9GT4MGptmcIq3uDbxcowHRSaqMCvp3nbiZws4wTm8Phuk9ZJO3NtTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-private-methods": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-8.0.1.tgz", + "integrity": "sha512-TrFCGcXaVDh6S5IRhmLSRTY9H80VTCMQWnZtzBRg4RWg3KCLmdmsmj4M15kZAPZfoPkWL/SJb4em3Py/vOiX8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-class-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-8.0.5.tgz", + "integrity": "sha512-OilYoElZMdD/My3fJTh0jLOPy8Y9Jfpcb9nPXG0Bpy4oRbZeeVX39P1cXKsPwnXTBZg7qEKk8TQ0lzpJvdK3yw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^8.0.0", + "@babel/helper-create-class-features-plugin": "^8.0.5", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-property-literals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-8.0.1.tgz", + "integrity": "sha512-Z/qx4cxUtYR1nt7XWRutObPxDks98fEYsjWbVeKEqZH6y3AGknmgzCqmHf2FHWZCl1DfoPeuJY+3hZ+35D+2tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-regenerator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-8.0.6.tgz", + "integrity": "sha512-ky/yW+PcQfHyOhbQFNkcHOCIHXaEANYaXCucZ1MY1PdSJRjaf3AX/TMKS6nCij73YtU1bVNy7Zx5NWAJy42TQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-regexp-modifiers": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-8.0.1.tgz", + "integrity": "sha512-02ITRDBesPdTYU0oShAzERwEPzozOUQSXlz3qrt8JGuhalBJQv9z5NjgHJPC9sS3Fsam8gDtfAEpBnqZwUIdjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-reserved-words": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-8.0.1.tgz", + "integrity": "sha512-+aykZi7ZP3U84veqfJXm3HhPZGddWFi64g7jr0ni6tb1zel+1ey+SL+IRKPoZXFyFqvYEsoqrmx4PyEJRlHl/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-runtime": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-8.0.1.tgz", + "integrity": "sha512-MPDpKBrxn+thQay3eJmUiSeHswiT7MkINb48hHkX6OzodB149PKq1kred+lpMebrDzHA+G1ekCQnlYSkyEqAOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^8.0.0", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-8.0.1.tgz", + "integrity": "sha512-JddANd9yPVH8dYgVoNkqAH5BftnsDxFpG51Zas7sc6F3poz5QWcejHNGO8a/57IX5ByjGSzEmYk9Z7ZMa5MWaw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-spread": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-8.0.5.tgz", + "integrity": "sha512-thqaGFTViCmJxUPJ3IivfaGHz8eodOL7UbsZ2gMOybSi8uQFXFEoabnnILMl4ZCok0vVrKD4HKq9MJWSj5qqxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-sticky-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-8.0.1.tgz", + "integrity": "sha512-IsVP6WrZZQdaG2zLmeKwWiI+ua2NB5L1+f77C2/8z2NCDz7uxlIA/lnwocYOJk9PXcOC2sZgRls3LN4XpNduzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-template-literals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-8.0.1.tgz", + "integrity": "sha512-JXvtj5+BJA9Qv3prDzW2z2DkGTJNmG0BObTdUD03STiu1Jr4fNQkQy3hYZgPL46a2RjcuhwBMYf49BOuJ98gnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-8.0.1.tgz", + "integrity": "sha512-+wJoxgxP2gtey0UMUOMhzMMji2XHO/Uu6MXUh/r5Yhc2jngKzK/wFxY2WNe4UCaRcMvCb4gcnB8wIgFXJsocXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-8.0.1.tgz", + "integrity": "sha512-TAXJepIJ6vZphytTwcf+LuXi2M2ZWI43VCqNw+1ZZLPP/38Z1A8j4Mahvg8kqDgMOSM/cakk+hedTJCiw3jQuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-8.0.1.tgz", + "integrity": "sha512-zjBN9tSMSuomNDfurL69Gf7+v4D2t5uI1mSZaYJDo88SKpbduhCXqtxH7Tx66iCF6caWYwnBzSM0tnCozmQq5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-unicode-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-8.0.1.tgz", + "integrity": "sha512-v0oO83cvT5lwbcIVRShpx4vaHD8AvM9IBowsQuTeP+kGmhh3recJQs33Bl6dlo3/2g9amlznLbFGn4VJbPCJqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-8.0.1.tgz", + "integrity": "sha512-MlQeyS0K7gh0XNeLBMS/3Z07HjDOKhA7xm2L18GyxOXyiFHI9E+ZuQ4mFYmcLjluXsE/Wf6dABIqZvKpKw0Z3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^8.0.1", + "@babel/helper-plugin-utils": "^8.0.1" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/preset-env": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-8.0.5.tgz", + "integrity": "sha512-0ZiW2jOnEQ3+FV3ro3uh6B5afBT0C2yJHCKvw+s1BOKKXg7VfCvTpGBylN5UFeO2SFtkVJB2KY0tEpdnUjjguw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^8.0.5", + "@babel/helper-compilation-targets": "^8.0.5", + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/helper-validator-option": "^8.0.0", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^8.0.1", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^8.0.1", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^8.0.1", + "@babel/plugin-bugfix-safari-rest-destructuring-rhs-array": "^8.0.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^8.0.1", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^8.0.1", + "@babel/plugin-transform-arrow-functions": "^8.0.1", + "@babel/plugin-transform-async-generator-functions": "^8.0.1", + "@babel/plugin-transform-async-to-generator": "^8.0.1", + "@babel/plugin-transform-block-scoped-functions": "^8.0.1", + "@babel/plugin-transform-block-scoping": "^8.0.5", + "@babel/plugin-transform-class-properties": "^8.0.1", + "@babel/plugin-transform-class-static-block": "^8.0.5", + "@babel/plugin-transform-classes": "^8.0.5", + "@babel/plugin-transform-computed-properties": "^8.0.1", + "@babel/plugin-transform-destructuring": "^8.0.5", + "@babel/plugin-transform-dotall-regex": "^8.0.1", + "@babel/plugin-transform-duplicate-keys": "^8.0.1", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^8.0.1", + "@babel/plugin-transform-dynamic-import": "^8.0.1", + "@babel/plugin-transform-explicit-resource-management": "^8.0.5", + "@babel/plugin-transform-exponentiation-operator": "^8.0.1", + "@babel/plugin-transform-export-namespace-from": "^8.0.1", + "@babel/plugin-transform-for-of": "^8.0.1", + "@babel/plugin-transform-function-name": "^8.0.1", + "@babel/plugin-transform-json-strings": "^8.0.1", + "@babel/plugin-transform-literals": "^8.0.1", + "@babel/plugin-transform-logical-assignment-operators": "^8.0.1", + "@babel/plugin-transform-member-expression-literals": "^8.0.1", + "@babel/plugin-transform-modules-amd": "^8.0.1", + "@babel/plugin-transform-modules-commonjs": "^8.0.1", + "@babel/plugin-transform-modules-systemjs": "^8.0.1", + "@babel/plugin-transform-modules-umd": "^8.0.1", + "@babel/plugin-transform-named-capturing-groups-regex": "^8.0.1", + "@babel/plugin-transform-new-target": "^8.0.1", + "@babel/plugin-transform-nullish-coalescing-operator": "^8.0.1", + "@babel/plugin-transform-numeric-separator": "^8.0.1", + "@babel/plugin-transform-object-rest-spread": "^8.0.1", + "@babel/plugin-transform-object-super": "^8.0.1", + "@babel/plugin-transform-optional-catch-binding": "^8.0.1", + "@babel/plugin-transform-optional-chaining": "^8.0.5", + "@babel/plugin-transform-parameters": "^8.0.5", + "@babel/plugin-transform-private-methods": "^8.0.1", + "@babel/plugin-transform-private-property-in-object": "^8.0.5", + "@babel/plugin-transform-property-literals": "^8.0.1", + "@babel/plugin-transform-regenerator": "^8.0.5", + "@babel/plugin-transform-regexp-modifiers": "^8.0.1", + "@babel/plugin-transform-reserved-words": "^8.0.1", + "@babel/plugin-transform-shorthand-properties": "^8.0.1", + "@babel/plugin-transform-spread": "^8.0.5", + "@babel/plugin-transform-sticky-regex": "^8.0.1", + "@babel/plugin-transform-template-literals": "^8.0.1", + "@babel/plugin-transform-typeof-symbol": "^8.0.1", + "@babel/plugin-transform-unicode-escapes": "^8.0.1", + "@babel/plugin-transform-unicode-property-regex": "^8.0.1", + "@babel/plugin-transform-unicode-regex": "^8.0.1", + "@babel/plugin-transform-unicode-sets-regex": "^8.0.1", + "@babel/preset-modules": "^0.2.0", + "babel-plugin-polyfill-corejs3": "^1.0.0", + "core-js-compat": "^3.48.0", + "verkit": "^0.3.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/preset-modules": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.2.0.tgz", + "integrity": "sha512-yz0RBN2fx4fjCeFcTWsWgL7PxSRltvTa0Qg14HkWCU3qS8MO7ZSJlBVbGceynd5C9NsJwwUHNQD3dc6tYO+jqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^8.0.1", + "@babel/plugin-transform-dotall-regex": "^8.0.1", + "@babel/plugin-transform-unicode-property-regex": "^8.0.1", + "@babel/types": "^8.0.0", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^8.0.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/traverse/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/traverse/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@inquirer/confirm": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.3.2.tgz", + "integrity": "sha512-Xvr/0HggjddPtGppuqVmxhTw+Hr8PvsZ/k0HmOEaAqQEt80OITNkFWnsdNmyT0/eM4Ab+iJLx2R8rctlEyfSVg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.3", + "@inquirer/type": "4.1.1" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@inquirer/core": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-12.0.4.tgz", + "integrity": "sha512-M5fB67y7jPObI45vhD82RskWwCSm0scOvenV/I6K8tIi2gfr9DXqQqJ+iw+Wi6SgapikdOiJibYzz1gW47fsDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.9", + "@inquirer/figures": "^2.0.9", + "@inquirer/type": "4.2.0", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@inquirer/core/node_modules/@inquirer/type": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.2.0.tgz", + "integrity": "sha512-2rnHX8RPo4glJYqnFc/v3nQeIhDcjyRRyaT7MGcfL/8xv/8K03SXYoA2tX06WVSKywWOE/ncbG3dtuzLjR5TCQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@inquirer/type": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.1.1.tgz", + "integrity": "sha512-yJoHYrMnxIsJZCY+0Vb66Dy3he3kL3e2wOBKhoSwWWAzZAY82emlxwgprCtp6yRixvNRNq9ztfRWQYPNr3Go7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@angular-devkit/build-angular/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-devkit/build-angular/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@angular-devkit/build-webpack": { + "version": "0.2202.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.2202.3.tgz", + "integrity": "sha512-6SJrycw6pofQ5hvKWpMAA5at3N9BU+Z10tavye6eb0bzAwQjo8PupkjVrWBzgPYCpVpAinWYJ3h1RmvUOMChQw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/architect": "0.2202.3", + "rxjs": "7.8.2" + }, + "engines": { + "node": "^22.22.3 || ^24.15.0 || >=26.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 || ^6.0.0" + } + }, + "node_modules/@angular-devkit/core": { + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-22.2.3.tgz", + "integrity": "sha512-bi1oBjJeg1XCgRrBYSuJikaJV4sO/mcnyFE/0a1H646yHhQpVYoU/M2Vh69Qv8h+YoMfC7RuSxT4LZHaubhhLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "8.20.0", + "ajv-formats": "3.0.1", + "jsonc-parser": "3.3.1", + "picomatch": "4.0.7", + "rxjs": "7.8.2", + "source-map": "0.8.0" + }, + "engines": { + "node": "^22.22.3 || ^24.15.0 || >=26.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "chokidar": "^5.0.0" + }, + "peerDependenciesMeta": { + "chokidar": { + "optional": true + } + } + }, + "node_modules/@angular-devkit/schematics": { + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-22.2.3.tgz", + "integrity": "sha512-+XfBViIGqiFQK8KJXA6PgANX9tLuMO/x8GFjlzEmA4LIe9ikAtpGZw+Ezo547BIJQoJBIKCJYR0knE4BmbFeSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@angular-devkit/core": "22.2.3", + "jsonc-parser": "3.3.1", + "magic-string": "1.4.1", + "ora": "9.4.1", + "rxjs": "7.8.2" + }, + "engines": { + "node": "^22.22.3 || ^24.15.0 || >=26.0.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + } + }, + "node_modules/@angular/animations": { + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-22.2.3.tgz", + "integrity": "sha512-sslKnTrKwHwtTvT/pWj7UoYq0cfuX3PijZM7v0JtCajQkK1Nj0Ljob0mebxXBXUVBrOixfCnfBS0EG4JNEznFA==", + "deprecated": "@angular/animations is deprecated. Use `animate.enter` and `animate.leave` instead. For more information see: https://v22.angular.dev/guide/animations.", + "license": "MIT", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" + }, + "peerDependencies": { + "@angular/core": "22.2.3" + } + }, + "node_modules/@angular/cdk": { + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-22.2.3.tgz", + "integrity": "sha512-EmRFAbCfDONSexi2yrVOAfyHvvb5mI1jx6Z5GTk7MISgC8Uvv+OYGfrEDrJvHPVEhGm6mtglMd5U8ZwhSrb2Eg==", + "license": "MIT", + "dependencies": { + "parse5": "^8.0.0", "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/common": "^19.0.0 || ^20.0.0", - "@angular/core": "^19.0.0 || ^20.0.0", + "@angular/common": "^22.0.0 || ^23.0.0", + "@angular/core": "^22.0.0 || ^23.0.0", + "@angular/forms": "^22.0.0 || ^23.0.0", + "@angular/platform-browser": "^22.0.0 || ^23.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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-22.2.3.tgz", + "integrity": "sha512-ObTX0DxJ0/PMl4pkUKI+uWPr7UC7Je94KpHP8l1lr3exhundapgr7VvNsozprJb1hMlOMDab6+quTReSYvF85Q==", "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", + "@angular-devkit/architect": "0.2202.3", + "@angular-devkit/core": "22.2.3", + "@angular-devkit/schematics": "22.2.3", + "@inquirer/prompts": "8.7.2", + "@listr2/prompt-adapter-inquirer": "4.2.7", + "@modelcontextprotocol/server": "2.3.1", + "@schematics/angular": "22.2.3", "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" + "listr2": "11.1.0", + "npm-package-arg": "14.0.0", + "parse5-html-rewriting-stream": "8.0.1", + "semver": "7.8.5", + "yargs": "18.1.0", + "zod": "4.6.6" }, "bin": { "ng": "bin/ng.js" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^22.22.3 || ^24.15.0 || >=26.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, + "node_modules/@angular/cli/node_modules/@inquirer/checkbox": { + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.2.6.tgz", + "integrity": "sha512-XkOardciF3tow2NUlY6/Qjk1QqYa+6WpmVLTpxXl97Uv4erczDEZ+xg1j6LqBf0ekcRSUiICQA4nQXHHkVKQ9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.9", + "@inquirer/core": "^12.0.4", + "@inquirer/figures": "^2.0.9", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/confirm": { + "version": "6.3.3", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.3.3.tgz", + "integrity": "sha512-ImOBgpl/sJTFp8naeSkNu4S0Sf8F8pxv3/CUx+LoBAdQvCVqFz6rSB2A/oZYsJge3+yphbEDxEkfaRNYq1OU0A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/core": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-12.0.4.tgz", + "integrity": "sha512-M5fB67y7jPObI45vhD82RskWwCSm0scOvenV/I6K8tIi2gfr9DXqQqJ+iw+Wi6SgapikdOiJibYzz1gW47fsDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.9", + "@inquirer/figures": "^2.0.9", + "@inquirer/type": "4.2.0", + "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", + "mute-stream": "^3.0.0", + "signal-exit": "^4.1.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/editor": { + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.3.4.tgz", + "integrity": "sha512-imzxQDfw26NpcJAubMj/dE5RjU9Mp80IcT+FzsD6YoxXmL8L1QYnAFdCNv7ccGWh//73+0YP+1kfhwnExdl2VQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/external-editor": "^3.0.6", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/expand": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.1.6.tgz", + "integrity": "sha512-JfiLKi7qGuHmcQO/DqR10UFEp054Y1FXZaszP5ZEfHhgHeuFoT5nNFQIXFhed/5/p07SbsV2tIJFwG/dg5+NmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/external-editor": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.6.tgz", + "integrity": "sha512-rWmw6WG8JZ7LMn/srXEylYGhL6EXXJeROE7/4x4GREh6NgzqJBDbIgpNGsYoLPfobeb4VZtEYzPGnT5EFNYhiQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^2.1.1", + "iconv-lite": "^0.7.2" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/input": { + "version": "5.1.7", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.1.7.tgz", + "integrity": "sha512-Icrs9tuMBCxGI+lFYNO71VFOnqGO8IIrLIGqnTGh07X8jZ2la9QLAYxXcikHZQjjVhIZUtU2xyH89DVN/pPhVg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/number": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.2.4.tgz", + "integrity": "sha512-C6g80U4U2+w2Vxa1CB0MN3a2WnQIfzLSUG0lduO3Au9GsirJsKATZkOwZPK+vZ1BlAlz+/Z5ParfQCS9E0svmg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/password": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.2.3.tgz", + "integrity": "sha512-1Uo2qfI2K3wXbfunMpvwAzoZPIUf5iEETwDGqRVbswoorXGqYQJ/bfIJFeLj+pxjq+e2UFPNOmx+fsIl4Urigw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.9", + "@inquirer/core": "^12.0.4", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/prompts": { + "version": "8.7.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.7.2.tgz", + "integrity": "sha512-QoRB4wFIjgH5iOhSjoIKMkTvSHDuV+O3OITlIqAYO0oK5x364GJILXiMBvlPiE+klg7Xx9tq5XVqQHcGUDYYPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/checkbox": "^5.2.5", + "@inquirer/confirm": "^6.3.2", + "@inquirer/editor": "^5.3.3", + "@inquirer/expand": "^5.1.5", + "@inquirer/input": "^5.1.6", + "@inquirer/number": "^4.2.3", + "@inquirer/password": "^5.2.2", + "@inquirer/rawlist": "^5.3.5", + "@inquirer/search": "^4.3.3", + "@inquirer/select": "^5.2.5" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/rawlist": { + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.3.6.tgz", + "integrity": "sha512-2exExhQ5xTBqfN/rRlZkvM1Gm3b0eiLcWe2NqxWxe7qYmnU4M3j/n9TwzfPUb+Q7dAAz9TmBtDWWdF3jbp4ZLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/search": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.3.4.tgz", + "integrity": "sha512-xsk0UeFP04jsbEeFMzghjUaH2aHXyt+WykSajQzq/8qyBNHsgGYHea/sFwv5T08kW7Sp+KDX8aF124zPUIs1Ww==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/core": "^12.0.4", + "@inquirer/figures": "^2.0.9", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/select": { + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.2.6.tgz", + "integrity": "sha512-jFu7CFghlr0vpi/326a4wz6BGkJH9X3H/iIu+ahyV2Ja52ktqQE3fC9BYP47JKeSPQYGUv5xquE2Vp9PbepZ3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/ansi": "^2.0.9", + "@inquirer/core": "^12.0.4", + "@inquirer/figures": "^2.0.9", + "@inquirer/type": "4.2.0" + }, + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@inquirer/type": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.2.0.tgz", + "integrity": "sha512-2rnHX8RPo4glJYqnFc/v3nQeIhDcjyRRyaT7MGcfL/8xv/8K03SXYoA2tX06WVSKywWOE/ncbG3dtuzLjR5TCQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=23.5.0 || ^22.13.0 || ^20.17.0" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, + "node_modules/@angular/cli/node_modules/@listr2/prompt-adapter-inquirer": { + "version": "4.2.7", + "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-4.2.7.tgz", + "integrity": "sha512-k180vxSv2KqmnDxoato6pCqEJsov4U5C0EVmldZkAdNeVBxY48A/LM6TCNPGIzDK/iZSfsZP0Mw+gbWc5hXLyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@inquirer/type": "^4.0.7" + }, + "engines": { + "node": ">=22.13.0" + }, + "peerDependencies": { + "@inquirer/prompts": ">= 3 < 9", + "listr2": "11.1.0" + } + }, + "node_modules/@angular/cli/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/@angular/common": { - "version": "19.2.25", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-19.2.25.tgz", - "integrity": "sha512-WteFLyfDPvilzpSGHk64bqowa4NnHdbjNl1xXeGr038fgTjp0l0NdiUPqeDtYT4pf5lWl6477pPoQN7o//NyyQ==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-22.2.3.tgz", + "integrity": "sha512-sRzcvxzurbkCDVFJMguNVgsHds3NvDj5qbZ44NHjH7J9MBk5oZYXHppdHVm8AolBhCXAWvMk0vx+NO8Bt4rS7A==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/core": "19.2.25", + "@angular/core": "22.2.3", "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-22.2.3.tgz", + "integrity": "sha512-GjDkmOBqW+6RJTeW5mlLRivf6Zy7Ed0auVh+DYD67d4UF4Sk17F1vIt8puF4CQ2PIezlHh7oOnermCBNHAOGkQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-22.2.3.tgz", + "integrity": "sha512-em7Ht0Dv7cN7vZgvl2fl1yscAs+zUG2Vr2YKpVZ/rOWuTL2JZyT1qIfKhC4wQoo/3lN8fiUIwQMpflSGzIEPng==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "7.26.9", + "@babel/core": "8.0.1", "@jridgewell/sourcemap-codec": "^1.4.14", - "chokidar": "^4.0.0", + "chokidar": "^5.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" + "yargs": "^18.0.0" }, "bin": { "ng-xi18n": "bundles/src/bin/ng_xi18n.js", - "ngc": "bundles/src/bin/ngc.js", - "ngcc": "bundles/ngcc/index.js" + "ngc": "bundles/src/bin/ngc.js" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/compiler": "19.2.25", - "typescript": ">=5.5 <5.9" + "@angular/compiler": "22.2.3", + "typescript": ">=6.0 <6.1" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "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==", + "node_modules/@angular/compiler-cli/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", "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" + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/compat-data": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-8.0.5.tgz", + "integrity": "sha512-YLsYoQMvL8l8WrGpN3Zj7O1wK5LEBN+cQtux7BcuHyxIXve724XG+zuJ1n3U1cUweRtTzQOA4IHbuQw3N34SZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/core": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-8.0.1.tgz", + "integrity": "sha512-5FgxM4dLQpMJHSiVATk8foW263dVHQHBVpXYiimNECVWG01f4nFyEbQixeT6Mwvg7TayREJ2gpKl3o2RoMdnqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/generator": "^8.0.0", + "@babel/helper-compilation-targets": "^8.0.0", + "@babel/helpers": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/template": "^8.0.0", + "@babel/traverse": "^8.0.0", + "@babel/types": "^8.0.0", + "@types/gensync": "^1.0.5", + "convert-source-map": "^2.0.0", + "empathic": "^2.0.1", + "gensync": "^1.0.0-beta.2", + "import-meta-resolve": "^4.2.0", + "json5": "^2.2.3", + "obug": "^2.1.1", + "semver": "^7.7.3" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" }, "funding": { "type": "opencollective", @@ -631,82 +2446,281 @@ "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==", + "node_modules/@angular/compiler-cli/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", "dev": true, - "license": "ISC", + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/helper-compilation-targets": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-8.0.7.tgz", + "integrity": "sha512-ilAZCdOOlOVA7dQbaFNw2f/59p6GW33NxTopc3DvEE3efp3ZXTrGX/yZScaKw8/vd9bq31Ag0EcXiLw32bAgJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^8.0.5", + "@babel/helper-validator-option": "^8.0.0", + "browserslist": "^4.24.0", + "flru": "1.0.2", + "verkit": "^0.5.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/helper-validator-option": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-8.0.0.tgz", + "integrity": "sha512-U4Dybxh4WESWHt5XhBeExi4DrY0/DNK1aHpQbsrQXCUbFHuMweT0TpLEWKvaraV2Y6fS+ZXunsZ8zIuZIgvF2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/helpers": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-8.0.7.tgz", + "integrity": "sha512-5dMj5kFwS2AY7Dt4PZp4px3c5ThMbbEa7tZfuHTncCGSFYq8uoA1ufDE1IS/lYpQedE+3+GQ3cPZUiplIu195w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, "bin": { - "semver": "bin/semver.js" + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/traverse/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@angular/compiler-cli/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@angular/compiler-cli/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@angular/compiler-cli/node_modules/verkit": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz", + "integrity": "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" } }, "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-22.2.3.tgz", + "integrity": "sha512-ponarFrAZsPutT+htRt3PEmkt2/IB7DyrBy2f48sxsIx3ZA6xw09i2HOEBo+VBphlN6B/ynK9q+o04HPhdJ+dQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { + "@angular/compiler": "22.2.3", "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.15.0" + "zone.js": "~0.15.0 || ~0.16.0" + }, + "peerDependenciesMeta": { + "@angular/compiler": { + "optional": true + }, + "zone.js": { + "optional": true + } } }, "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-22.2.3.tgz", + "integrity": "sha512-TKP8FpeRCY/++vKWsY8GC1J2sNtEkdNNBPdgnMAMLTwheW5JzjwVatuQlbuZEx3WaAjbll1Ux3d+eHeqAVrtQg==", "license": "MIT", "dependencies": { - "tslib": "^2.3.0" + "@standard-schema/spec": "^1.0.0", + "tslib": "^2.3.0", + "zod": "^4.0.10" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/common": "19.2.25", - "@angular/core": "19.2.25", - "@angular/platform-browser": "19.2.25", + "@angular/common": "22.2.3", + "@angular/core": "22.2.3", + "@angular/platform-browser": "22.2.3", "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-22.2.3.tgz", + "integrity": "sha512-zbkQRIFJdarPu8uwHnk77O3836ckejJnX5oT9Lx5Ydq/fN+xkAyedTJMpGD6FsAbtAth5Kv7YiAFbZQvBgNLsQ==", "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", + "@angular/cdk": "22.2.3", + "@angular/common": "^22.0.0 || ^23.0.0", + "@angular/core": "^22.0.0 || ^23.0.0", + "@angular/forms": "^22.0.0 || ^23.0.0", + "@angular/platform-browser": "^22.0.0 || ^23.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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-22.2.3.tgz", + "integrity": "sha512-eWZGsbG4bSrSg9UB/NE8wORGVrh1u+x6rirPGpMWqq/mTi6q+nS+pnPxAxmiEs8wmPH5nCz5b2pRKQeYUkhAGA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/animations": "19.2.25", - "@angular/common": "19.2.25", - "@angular/core": "19.2.25" + "@angular/animations": "22.2.3", + "@angular/common": "22.2.3", + "@angular/core": "22.2.3" }, "peerDependenciesMeta": { "@angular/animations": { @@ -715,38 +2729,38 @@ } }, "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-22.2.3.tgz", + "integrity": "sha512-+WBe2JjaEeK0NpMlBzV7UBkO+ltUBYTDtMfGYkew2xHdIviITnzXX7yUXijB1Y6jxALgz3jEuJa9iLid8s11rg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/common": "19.2.25", - "@angular/compiler": "19.2.25", - "@angular/core": "19.2.25", - "@angular/platform-browser": "19.2.25" + "@angular/common": "22.2.3", + "@angular/compiler": "22.2.3", + "@angular/core": "22.2.3", + "@angular/platform-browser": "22.2.3" } }, "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-22.2.3.tgz", + "integrity": "sha512-h4C3iJ3OXM9HItErmTo9fFrFRDj1DSqbvweHAWl8eYJvyuhDD80gBNgdpN8/5gpt9K1HV+PXk0YbyjyQ0zMfPA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0" + "node": "^22.22.3 || ^24.15.0 || >=26.0.0" }, "peerDependencies": { - "@angular/common": "19.2.25", - "@angular/core": "19.2.25", - "@angular/platform-browser": "19.2.25", + "@angular/common": "22.2.3", + "@angular/core": "22.2.3", + "@angular/platform-browser": "22.2.3", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -775,65 +2789,17 @@ "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==", + "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.26.10", - "@babel/types": "^7.26.10", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", + "@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": { @@ -841,16 +2807,50 @@ } }, "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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-8.0.0.tgz", + "integrity": "sha512-NSpMkMsvvZqzThJ0p1B02cbtA2ObEyfBvq950bmNkyxsxvcxwhvvCB036rKhlEnuBBo30bOrk13u3FzlKSoRrw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.9" + "@babel/types": "^8.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" } }, "node_modules/@babel/helper-compilation-targets": { @@ -881,128 +2881,295 @@ } }, "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==", + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-8.0.7.tgz", + "integrity": "sha512-7ug3KrOhNVPPxFFLTel0/pMzimKzU/vTlNJKVL/dKguCpmNJZjjibyFbWg+Qs8QHmiIZPNuZ2UNnDGdHWGEpOg==", "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" + "@babel/helper-annotate-as-pure": "^8.0.0", + "@babel/helper-member-expression-to-functions": "^8.0.5", + "@babel/helper-optimise-call-expression": "^8.0.0", + "@babel/helper-replace-supers": "^8.0.1", + "@babel/helper-skip-transparent-expression-wrappers": "^8.0.0", + "@babel/traverse": "^8.0.7", + "verkit": "^0.5.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^8.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==", + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.7" + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.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==", + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", "dev": true, - "license": "ISC", + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, "bin": { - "semver": "bin/semver.js" + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/verkit": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz", + "integrity": "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" } }, "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==", + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-8.0.7.tgz", + "integrity": "sha512-pyia4a5cQ9fmUuimPO4pl3p8aX9aGBBMqZyNUmwhJGO/e3bIbbt/26Zun6SE1CRvNaUWiTsfLuZeaLX6EIIUWQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.29.7", - "regexpu-core": "^6.3.1", - "semver": "^6.3.1" + "@babel/helper-annotate-as-pure": "^8.0.0", + "regexpu-core": "^6.5.3", + "verkit": "^0.5.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^8.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==", + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/verkit": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz", + "integrity": "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==", "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": ">=18.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/sxzz" } }, "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==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-1.0.0.tgz", + "integrity": "sha512-9jzVaTeZyXRDKTgUnNzcPQMO8y0ga3o+Z4fKjNet9Fcx7slgKa83qRbz0EwROSd6qO6CoEe/HQszqSPKb5lhkw==", "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" + "@babel/helper-compilation-targets": "^8.0.0", + "@babel/helper-plugin-utils": "^8.0.0", + "lodash.debounce": "^4.0.8" }, "engines": { - "node": ">= 0.4" + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/compat-data": { + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-8.0.5.tgz", + "integrity": "sha512-YLsYoQMvL8l8WrGpN3Zj7O1wK5LEBN+cQtux7BcuHyxIXve724XG+zuJ1n3U1cUweRtTzQOA4IHbuQw3N34SZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-compilation-targets": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-8.0.7.tgz", + "integrity": "sha512-ilAZCdOOlOVA7dQbaFNw2f/59p6GW33NxTopc3DvEE3efp3ZXTrGX/yZScaKw8/vd9bq31Ag0EcXiLw32bAgJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^8.0.5", + "@babel/helper-validator-option": "^8.0.0", + "browserslist": "^4.24.0", + "flru": "1.0.2", + "verkit": "^0.5.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/@babel/helper-validator-option": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-8.0.0.tgz", + "integrity": "sha512-U4Dybxh4WESWHt5XhBeExi4DrY0/DNK1aHpQbsrQXCUbFHuMweT0TpLEWKvaraV2Y6fS+ZXunsZ8zIuZIgvF2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/verkit": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz", + "integrity": "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sxzz" } }, "node_modules/@babel/helper-globals": { @@ -1016,135 +3183,931 @@ } }, "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==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-8.0.5.tgz", + "integrity": "sha512-GLe05QD98BkNFTkjaqeqF9QSRoHLKrrB4tpoplyQuuPrQJ72rtmkM4wvqJLX/sjZPqkbK5MUYSsuUTqdJoOVjA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/traverse": "^8.0.5", + "@babel/types": "^8.0.5" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-member-expression-to-functions/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-8.0.0.tgz", + "integrity": "sha512-NZ7mSS93o4ndX4KrbD7W8Sf3QT8Qe24PrnFyUcuOPDzK6faqDFKjY9RG7he7+I7FdiQ4llpnosFqzrXa+Vy3Ew==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/traverse": "^8.0.0", + "@babel/types": "^8.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-module-imports/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-module-imports/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.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==", + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-8.0.6.tgz", + "integrity": "sha512-YUi+3X0cb0v97xKhuqkLdrwQtP6XXv1eVbhLRCFyMwG481UskbMQk4mjH7K/Jg3oJ1KLskvFwwq4kF/QnABkWQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.29.7", - "@babel/helper-validator-identifier": "^7.29.7", - "@babel/traverse": "^7.29.7" + "@babel/helper-module-imports": "^8.0.0", + "@babel/helper-validator-identifier": "^8.0.6", + "@babel/traverse": "^8.0.6" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^8.0.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-module-transforms/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-module-transforms/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-8.0.0.tgz", + "integrity": "sha512-3W6satvtPuCUkUx63S2jMoW9EQNYkADgs1HTfufmL7gCmAulHMKupA/12WNz4A0GMMFn/YnWWwqOT9IZrJHQjg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.29.7" + "@babel/types": "^8.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.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==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-8.0.1.tgz", + "integrity": "sha512-3PKFgjTyPlhFhorfP+SjKQxLViIL++zWjFOO4hGriYU+Bsm983DxEM1JmDRJVWXV0O9npu+xXRqz7Pbd3mh70g==", "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" + "node": "^22.18.0 || >=24.11.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" + "@babel/core": "^8.0.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==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-8.0.1.tgz", + "integrity": "sha512-B1SZADIcy3tmH8CmWvj4SHi/oAPom4UL3uknTc2QRNsPVLFk/sPnZvQL/8kj7Y5omvjMqie0vklvs6XM4OLW5Q==", "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" + "@babel/helper-member-expression-to-functions": "^8.0.0", + "@babel/helper-optimise-call-expression": "^8.0.0", + "@babel/traverse": "^8.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^8.0.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-replace-supers/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-replace-supers/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-8.0.0.tgz", + "integrity": "sha512-xmCA9kP3IhySsqhzwIdWGlDN/1A4cCKNBO/uwZx/3YzmDoMePwno2Q5/Bq0q+tYaKbeF940YiKV/kaW8Mzvpjw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/traverse": "^8.0.0", + "@babel/types": "^8.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" } }, "node_modules/@babel/helper-split-export-declaration": { @@ -1191,18 +4154,176 @@ } }, "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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-8.0.0.tgz", + "integrity": "sha512-Qpm8+wi5xfDkBfollanwriCcKniFfBmMmaKB01GVM6VGzKXo1fdxosZp04qEr5HM+LKhwr3hG1yRy8+ORsficA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.29.7", - "@babel/traverse": "^7.29.7", - "@babel/types": "^7.29.7" + "@babel/template": "^8.0.0", + "@babel/traverse": "^8.0.0", + "@babel/types": "^8.0.0" }, "engines": { - "node": ">=6.9.0" + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/code-frame": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-8.0.6.tgz", + "integrity": "sha512-uMHhvmDmwFiLuiozaoRYTZHqMFuu3fem/X9JY78lohAuLoh8LSGGC8JqUzo2cVuBsBxkjMZNk56CE7ock8Xxkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^8.0.6", + "js-tokens": "^10.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/generator": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-8.0.6.tgz", + "integrity": "sha512-/pcanjdRsonCexCuxgGD8fKnBLLzk2i9uM4kmcmGyyev2R5YDs+rafMYZ89RvaGY1mW8T7C5au0TyYaEeHBGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^8.0.6", + "@babel/types": "^8.0.6", + "@jridgewell/gen-mapping": "0.4.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/jsesc": "^2.5.0", + "jsesc": "^3.0.2" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/helper-globals": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-8.0.6.tgz", + "integrity": "sha512-OdnA/N52LhzFpeUuVz5YGuSWjc7TPHiFmVYZbPlSgExocO2GwbxVpSni9MVs5wwW+wZ4kPuwBEBN9pIPDYz1mA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/helper-string-parser": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-8.0.6.tgz", + "integrity": "sha512-+6HYEBnsDRZHJtUTAEfMQd0zMDqdFHS7C+5vAsEZqBUr3vEMWOWlHJ0Jz1gS8jJIlCvLsuA6ivmeoqzH936YcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/helper-validator-identifier": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-8.0.6.tgz", + "integrity": "sha512-HYx0YmuchRxRSpnjvcNffnPS8DCauKNmnumIuHG3jnQAVewRA7kfJGwF13ayEpSZs7s4R/oBH4eppuXcAQd5JQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/parser": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-8.0.7.tgz", + "integrity": "sha512-UkDwEbPO1px2JQSrdh4qIgaH1JgG7GO/pFeJkpxhDxIETkT/QvGpnigXIw75ViHYPtIgKITmVUJqLjiO+JuWjA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^8.0.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/template": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-8.0.0.tgz", + "integrity": "sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.0", + "@babel/parser": "^8.0.0", + "@babel/types": "^8.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/traverse": { + "version": "8.0.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-8.0.7.tgz", + "integrity": "sha512-bVV0brinsTWgc6ptSIoQo3GbITtl0VZAqEUJbHHcyfDPEu+q/fEvlYEa+6H85HoK8IdksKBFtKJbJFZ6Kff+zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^8.0.6", + "@babel/generator": "^8.0.6", + "@babel/helper-globals": "^8.0.6", + "@babel/parser": "^8.0.7", + "@babel/template": "^8.0.0", + "@babel/types": "^8.0.6", + "obug": "^3.0.0" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/types": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-8.0.6.tgz", + "integrity": "sha512-c+xgSWboV2pdwXP67BUWDVRHi2BO5Q3KwxyFVs7taVTY+fsK47/L51ZXQoV9rozHJDNHvJ4v4WEsI/IlxV2l2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^8.0.6", + "@babel/helper-validator-identifier": "^8.0.6" + }, + "engines": { + "node": "^22.18.0 || >=24.11.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@jridgewell/gen-mapping": { + "version": "0.4.0-beta.0", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.4.0-beta.0.tgz", + "integrity": "sha512-JdGNkbE4GlNPYQhM0L95fBQr7ctLZJ276QXQLTad4t1oSdnnCI3fDq9DW3BqYAWv8Wc3+HS+4Gsii1oPMCfz1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.6.0-beta.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/js-tokens": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-10.0.0.tgz", + "integrity": "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@babel/helper-wrap-function/node_modules/obug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz", + "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==", + "dev": true, + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" } }, "node_modules/@babel/helpers": { @@ -1235,1169 +4356,12 @@ "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==", + "version": "8.0.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-8.0.5.tgz", + "integrity": "sha512-7NK+Lz3spQ52XsUGTxIEVU4jYN2/dIaX8sTxRFAUtYmttYZnVh3aehiihv+/Gb7+duMNHl2OrFcBQRyOHScxpg==", "dev": true, - "license": "MIT", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } + "license": "MIT" }, "node_modules/@babel/template": { "version": "7.29.7", @@ -2433,23 +4397,6 @@ "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", @@ -2464,6 +4411,13 @@ "node": ">=6.9.0" } }, + "node_modules/@bufbuild/protobuf": { + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.16.0.tgz", + "integrity": "sha512-FWa0sPlqYGJgpTs6OxBRcL/AW4JT0OIO+W1ajerluoTVh8CV0B7XM1qsNCRgnkSCkRCgOICKHRQlY17jrsm0+Q==", + "dev": true, + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", @@ -2475,9 +4429,9 @@ } }, "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==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-1.1.0.tgz", + "integrity": "sha512-Xc3VhU02wqZ1HvHRJUwL09HkZSTvidqY5Ya0NXBSYOxAp+Ln9dcJr9fySI+CkONzP3PekQo9WdzCv0PGER/mOA==", "dev": true, "license": "MIT", "engines": { @@ -2485,9 +4439,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", "cpu": [ "ppc64" ], @@ -2502,9 +4456,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", "cpu": [ "arm" ], @@ -2519,9 +4473,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", "cpu": [ "arm64" ], @@ -2536,9 +4490,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", "cpu": [ "x64" ], @@ -2553,9 +4507,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", "cpu": [ "arm64" ], @@ -2570,9 +4524,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", "cpu": [ "x64" ], @@ -2587,9 +4541,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", "cpu": [ "arm64" ], @@ -2604,9 +4558,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", "cpu": [ "x64" ], @@ -2621,9 +4575,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", "cpu": [ "arm" ], @@ -2638,9 +4592,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", "cpu": [ "arm64" ], @@ -2655,9 +4609,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", "cpu": [ "ia32" ], @@ -2672,9 +4626,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", "cpu": [ "loong64" ], @@ -2689,9 +4643,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", "cpu": [ "mips64el" ], @@ -2706,9 +4660,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", "cpu": [ "ppc64" ], @@ -2723,9 +4677,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", "cpu": [ "riscv64" ], @@ -2740,9 +4694,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", "cpu": [ "s390x" ], @@ -2757,9 +4711,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", "cpu": [ "x64" ], @@ -2774,9 +4728,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", "cpu": [ "arm64" ], @@ -2791,9 +4745,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", "cpu": [ "x64" ], @@ -2808,9 +4762,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", "cpu": [ "arm64" ], @@ -2825,9 +4779,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", "cpu": [ "x64" ], @@ -2842,9 +4796,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", "cpu": [ "arm64" ], @@ -2859,9 +4813,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", "cpu": [ "x64" ], @@ -2876,9 +4830,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", "cpu": [ "arm64" ], @@ -2893,9 +4847,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", "cpu": [ "ia32" ], @@ -2910,9 +4864,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", "cpu": [ "x64" ], @@ -2926,441 +4880,32 @@ "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": { + "node_modules/@harperfast/extended-iterable": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", - "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", + "resolved": "https://registry.npmjs.org/@harperfast/extended-iterable/-/extended-iterable-1.0.3.tgz", + "integrity": "sha512-sSAYhQca3rDWtQUHSAPeO7axFIUJOI6hn1gjRC5APVE1a90tuyT8f5WIgRsFhhWA7htNkju2veB9eWL6YHi/Lw==", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "node_modules/@inquirer/ansi": { + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.9.tgz", + "integrity": "sha512-0Ywt3S8tqM6TWUcsRlBFQ1x+X3/o8kktX0ZiKAnByYb9GFDknnOhse1PVtfiD2BXPI8ar+BWx9PV9R0lQIcygw==", "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": ">=23.5.0 || ^22.13.0 || ^20.17.0" } }, "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==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.9.tgz", + "integrity": "sha512-EAWgUTGQ/Umgga51dE3B2PUHbufuXarDfg86uVgoSgNHNNQnyFKcOrQLWVqYMghuSyHh8+2HUH0Js9cTC1WAdg==", "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": ">=23.5.0 || ^22.13.0 || ^20.17.0" } }, "node_modules/@istanbuljs/schema": { @@ -3384,6 +4929,17 @@ "@jridgewell/trace-mapping": "^0.3.24" } }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@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", @@ -3475,14 +5031,14 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-core/-/fs-core-4.80.0.tgz", + "integrity": "sha512-qMKWshnyjbyhm+NbzqGE3w5y1mckFFEMj0aDPU2/JBNh1BzIjVy9esq9lBmRnNVmhMEkxwDzLZ8Gqh5G1P5Dag==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-node-builtins": "4.75.0", - "@jsonjoy.com/fs-node-utils": "4.75.0", + "@jsonjoy.com/fs-node-builtins": "4.80.0", + "@jsonjoy.com/fs-node-utils": "4.80.0", "thingies": "^2.5.0" }, "engines": { @@ -3497,15 +5053,15 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-fsa/-/fs-fsa-4.80.0.tgz", + "integrity": "sha512-ZBEKl7J6dbkRCfmrFV48Re211A/FHqniTUhsWCsaRteNSOqMgkX3qF1UreVgwB9oSPm81JLAwhIi6Lb/NH/PoA==", "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-core": "4.80.0", + "@jsonjoy.com/fs-node-builtins": "4.80.0", + "@jsonjoy.com/fs-node-utils": "4.80.0", "thingies": "^2.5.0" }, "engines": { @@ -3520,18 +5076,18 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node/-/fs-node-4.80.0.tgz", + "integrity": "sha512-yiBlUfkMMRFFGy8CD/h2zd5rPnrM6bjlF+nx2LRAxNV6hOSiuObQIUEE7m7y2VTMisjxCRtzINH94bFGySWL7g==", "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", + "@jsonjoy.com/fs-core": "4.80.0", + "@jsonjoy.com/fs-node-builtins": "4.80.0", + "@jsonjoy.com/fs-node-utils": "4.80.0", + "@jsonjoy.com/fs-print": "4.80.0", + "@jsonjoy.com/fs-snapshot": "4.80.0", + "glob-to-regex.js": "^1.3.1", "thingies": "^2.5.0" }, "engines": { @@ -3546,9 +5102,9 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-builtins/-/fs-node-builtins-4.80.0.tgz", + "integrity": "sha512-OIOIhqaWiwUySFMny4epIAoviXsyMaQQ63PTc3zH+5HEOvarl5hpUmZIhp2m5+OfyKAh5ylxXnQIgew1OgJDVw==", "dev": true, "license": "Apache-2.0", "engines": { @@ -3563,15 +5119,15 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-to-fsa/-/fs-node-to-fsa-4.80.0.tgz", + "integrity": "sha512-ljeaR5xwtX1EyRmB0wvXANUMQZ3mjKcm7z8s2N8D8SLQ04CcAGtUhHFRZQXFb9mhgFyEVMydQGQtSOFS7pcrFQ==", "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" + "@jsonjoy.com/fs-fsa": "4.80.0", + "@jsonjoy.com/fs-node-builtins": "4.80.0", + "@jsonjoy.com/fs-node-utils": "4.80.0" }, "engines": { "node": ">=10.0" @@ -3585,14 +5141,14 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-utils/-/fs-node-utils-4.80.0.tgz", + "integrity": "sha512-xwHeVVi3f+Khg/Fmb8i5qoYVmQ08QznE5TWhQokUmIZjz4KBPzU+zt/+bahBI6G1ghtqajt27lWuAciIxApuzA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-node-builtins": "4.75.0", - "glob-to-regex.js": "^1.0.1" + "@jsonjoy.com/fs-node-builtins": "4.80.0", + "glob-to-regex.js": "^1.3.1" }, "engines": { "node": ">=10.0" @@ -3606,13 +5162,13 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-print/-/fs-print-4.80.0.tgz", + "integrity": "sha512-1ocZLJw/m/xlq0moaIHO7HV9nHRVBUvdc2zMzhsJGkFOrqfwWvexfCv5cYCPPLRhP+9p3yunoi4Ep5YhRORC9Q==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-node-utils": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.80.0", "tree-dump": "^1.1.0" }, "engines": { @@ -3627,14 +5183,14 @@ } }, "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==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-snapshot/-/fs-snapshot-4.80.0.tgz", + "integrity": "sha512-3AV23Q1H228KTtJKTUE0nNq8FCtxSvtENOLrEat80wkAJCKHuqQEv8yjhpS8Bei2OEFJAnluGXp9Ri2SWBlROw==", "dev": true, "license": "Apache-2.0", "dependencies": { "@jsonjoy.com/buffers": "^17.65.0", - "@jsonjoy.com/fs-node-utils": "4.75.0", + "@jsonjoy.com/fs-node-utils": "4.80.0", "@jsonjoy.com/json-pack": "^17.65.0", "@jsonjoy.com/util": "^17.65.0" }, @@ -3861,49 +5417,10 @@ "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.5.6.tgz", + "integrity": "sha512-mY5FG4TjPAkY4P0w+OhHaUka5mDh2TX2WKYIwuKzJ1zeW3VvRgxdam/lGJTquI+bthTx5CSHDW+BAQCnNAzkEA==", "cpu": [ "arm64" ], @@ -3915,9 +5432,9 @@ ] }, "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.5.6.tgz", + "integrity": "sha512-foa+pwitysO8k+xhs7psBFfTKnVgR69NlZRRTHaFVDqphh7AdGpLeyRzKw/ofatr/sN6TiHRRW6mmop0ZrrppQ==", "cpu": [ "x64" ], @@ -3929,9 +5446,9 @@ ] }, "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.5.6.tgz", + "integrity": "sha512-QR4YRyR5h5Z8eGXrNQjiyo2NNDfqi3tCc9dQG5Is1blCt+qWw1ZoBWhlWAr5d+jshkifMIJjVHzHGKbkKzF8Tw==", "cpu": [ "arm" ], @@ -3943,9 +5460,9 @@ ] }, "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.5.6.tgz", + "integrity": "sha512-HmiyFFdJa38s1heCMSooSPaBSFTHJ3C+ERPp28xAPlDX1YiALJVOgbry065nXd8Y7KISWjnw05zpG1RX8IfftA==", "cpu": [ "arm64" ], @@ -3957,9 +5474,9 @@ ] }, "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.5.6.tgz", + "integrity": "sha512-ADzCuCF2cTNiX9kDScqcz1fjnAkxPpQNneV3KFTdV3wWtVlI2sTGzySoMTgDpinkMMFj1NTJlxA6XR8fwc4hlA==", "cpu": [ "x64" ], @@ -3970,10 +5487,24 @@ "linux" ] }, + "node_modules/@lmdb/lmdb-win32-arm64": { + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-arm64/-/lmdb-win32-arm64-3.5.6.tgz", + "integrity": "sha512-J7A9aEQsQiv0TYtBGL7NDIPp2lOS8nnl+zm4sWZm1xlsTTaQ4PgD096Adzdrk27rw3UxCkDXdCUa4ax41oztBQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.5.6.tgz", + "integrity": "sha512-1g7G0knRX2iV/voDu54yxrGqw5Dk0w2oIYb7dgJq8IkOi+m7wbD8Q3QpPFjh0C01G58S88dqGn03len6UPCXsg==", "cpu": [ "x64" ], @@ -3984,6 +5515,33 @@ "win32" ] }, + "node_modules/@modelcontextprotocol/core": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/core/-/core-2.3.1.tgz", + "integrity": "sha512-laVmIhPGpWi7rG9q+0UigblRN0Hws/Yjlb6qLFtVqryXVLkc4h+yN8z731POD2LnAGQlFe7/tXhUm7Bi0YB91g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "zod": "^4.2.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@modelcontextprotocol/server": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/server/-/server-2.3.1.tgz", + "integrity": "sha512-e59MfWuSssj6DoQ96JCTqdW1AXT5/XtnTl0WWd6MU1Ka434fFUGGosCLJbGNySDhHGvxQWoRWK137FXYFkYNWw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@modelcontextprotocol/core": "2.3.1", + "zod": "^4.2.0" + }, + "engines": { + "node": ">=20" + } + }, "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", @@ -4412,353 +5970,392 @@ "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-22.2.3.tgz", + "integrity": "sha512-N7wSyXM2HIGxSkeCc5Na+N3SCsMIS+GTfQAmoUpLfWfY3dijfOTdLYdfmewTuyzkh+3oRvxqSbpIavfyuyI5/g==", + "deprecated": "Angular's Webpack support is deprecated. Use the esbuild and Vite-based \"@angular/build\" package instead.", "dev": true, "license": "MIT", "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^22.22.3 || ^24.15.0 || >=26.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", + "@angular/compiler-cli": "^22.0.0", + "typescript": ">=6.0 <6.1", "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==", + "node_modules/@noble/hashes": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", + "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", "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" + "node": "^14.21.3 || >=16" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://paulmillr.com/funding/" } }, - "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==", + "node_modules/@oxc-parser/binding-android-arm-eabi": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.150.0.tgz", + "integrity": "sha512-oQef2Zu4Prz1KLKznz3HqZzU9uVoA5PMoDZuuLmqms7hKmKSAPzlaMnLllJq3t+rgKmfJJ2siPrpZfFrW06btw==", + "cpu": [ + "arm" + ], "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.2" - }, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=16 || 14 >=14.17" - }, + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-android-arm64": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.150.0.tgz", + "integrity": "sha512-B6ofpoFiAUwIZ0MJ2IgHPvZK8FAtL4qzSZRwOkAKIfxEobE1mQC8nDdiFZj7pUaJiVUVCsfkMsBJKedzO8rZvA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-darwin-arm64": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.150.0.tgz", + "integrity": "sha512-J+9IHKzx/bSz1JetOfD4zKXSK9sOm4/a7+0qomJODcTL6JsRXGeV/ZdkAPSIDydfFmWzYCraMlQEosSZEyBYkQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-darwin-x64": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.150.0.tgz", + "integrity": "sha512-v6IPfcAcSYrBWXV5Tce1DmxDMXLhEYpIIWiRFPJopgCVscZdLaV4MRQOUxvL3usQlw+yrwYOjBFB9IwBx+jUiQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-freebsd-x64": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.150.0.tgz", + "integrity": "sha512-AoR/4jD02HET0KO0yNT4nbTE+XJUxiO9jB1X/ycEjUE3WrIJ3IjV/Vf+gskhWLcqqeXfvNnkDtBR7epllAm88A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-arm-gnueabihf": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.150.0.tgz", + "integrity": "sha512-A/hycCFjLUrCmLoL5O/vBp40ohlaXO1Ta3v5hqYZxicYFs129wZmgZJggcW4mYGYbZebQLhup+N8JjeQl8qwyw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-arm-musleabihf": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.150.0.tgz", + "integrity": "sha512-pbqahg1Pkz7J4RKmXm30s/iQu99hv64ayXCu8P4p75HcEH5azOdR4eGqiB6lFGkFR3mMpzaYsSKLkS8oJbjmeQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-arm64-gnu": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.150.0.tgz", + "integrity": "sha512-HV11aRbBQGwqv8bEo+K/6qr88uB4fEe1mhXncMhlVCrj+WpBSraxrUzHaPVmeQRU6x6x8v/3DuCbbo93rpp+fw==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-arm64-musl": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.150.0.tgz", + "integrity": "sha512-k6pVkJqALwtEuP4zukVhGRhdIy4+ofChUIUUsAHHyqDZlNsknmel3JjbggrJiWGaes6h/dIcWmEXsKW4SmK9oQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-ppc64-gnu": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.150.0.tgz", + "integrity": "sha512-tEFg39mw/rHO5n8GK2DR4ZMFfsPQZtnQIPbsIpjoQRomJc/2tRfsCSmCT6gNit+NZGoeJG5aH9ATDH5bf0WnoQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-riscv64-gnu": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.150.0.tgz", + "integrity": "sha512-0JO7IFkoek6HqV589Menx3hJySNXi6quRhO4tq2P7kpEHKEXoDATnoPVUpn5B7gDH2KLkdo751N0uIrGJFCTCw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-riscv64-musl": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.150.0.tgz", + "integrity": "sha512-7XPzREnyAS5wHU9aB+49Uaqgoo1gVCklHc3DRlc3fJy2tXD/eAJFN1QFz/crj+Ulup5P1+axNREF+/RGaB/IRA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-s390x-gnu": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.150.0.tgz", + "integrity": "sha512-7n7ZxcbRWDFaTdyj8M8p0O9OfzoMKm8O6syBAIgcSutbOALq0Bb9G52Me+XH0anMLZV+NgXc726gqgG2q39vcQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-x64-gnu": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.150.0.tgz", + "integrity": "sha512-Vx0GSA9ZCRTUiczoEQnIIyXkMvtEY8uc6IiwLQtMe5ci2sXPqjrry0Ek5fsPP1k2kCzkML3ow9UOOEgnEDi7Bw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-linux-x64-musl": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.150.0.tgz", + "integrity": "sha512-ii4/9m3viDLssMnfXU7/Pni/3nYplApuGayceX4qsVGaqqQJCx3tHIH9M/HWIeSty5i8LjS21zPYT6lVIkwLxw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-openharmony-arm64": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.150.0.tgz", + "integrity": "sha512-ZtoxX5rez36ZWkwtiEhjkCPnlTPoQ2I7lIL0IYZ1yjxMYohbvoOjBmUIZzrf9W/HouONq0omIfTeCWEY+R380w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-win32-arm64-msvc": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.150.0.tgz", + "integrity": "sha512-VqeRb5JX/bKYBrff7TUDvJyKY0914UzuCkuXIGxJS4FUmvMNfqkCbc7Sq90iMz9DlmAtlggwaBYQ9eg3h3ltiw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-win32-ia32-msvc": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.150.0.tgz", + "integrity": "sha512-EPqJfeZ4Pgg2BJSsCV8GozxV0FDltRzpVtGVa1r2noJu1iu+opOw3gtBWXwIo9odCT/MdFfyHxdy0/CRqs3OqA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-parser/binding-win32-x64-msvc": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.150.0.tgz", + "integrity": "sha512-n5YMzbqwPQqozbkrexi0lNZrUz5cnPHalYpFWe6Dau7AmKIWNo+y24IwzDuZEQtEdUHuKhXmMMih/MPjOI+CMw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.150.0.tgz", + "integrity": "sha512-rDS5/31E9HfPl/CIzGrn0DOlvBbXFseQ5URJ9sYMfstbKLD/c6Gm9vmRzRGDdAXyOIL4zmO37lc9RIwYqVruZw==", + "dev": true, + "license": "MIT", "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" + "url": "https://github.com/sponsors/oxc-project" } }, "node_modules/@parcel/watcher": { @@ -4768,7 +6365,6 @@ "dev": true, "hasInstallScript": true, "license": "MIT", - "optional": true, "dependencies": { "detect-libc": "^2.0.3", "is-glob": "^4.0.3", @@ -5067,39 +6663,209 @@ "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==", + "node_modules/@peculiar/asn1-cms": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-cms/-/asn1-cms-2.11.0.tgz", + "integrity": "sha512-SlAiDoT/Cd8qaNmbTt78gqyaEvu2fQd6ML6KWJkdjXGrgDKnHHrusVkfQUelkfinL2p665IIADb0JBixtT8W1g==", "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, + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "@peculiar/asn1-x509-attr": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, "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==", + "node_modules/@peculiar/asn1-csr": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-csr/-/asn1-csr-2.11.0.tgz", + "integrity": "sha512-M/ED0yJ05qMK+UADPKnIa8vhAeewOJALSxTAZB7RQ/batRHhIJZkwznCcWAbFO5saHJ1yEQ+m4lncEcG9RnQSg==", + "dev": true, "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" } }, - "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==", + "node_modules/@peculiar/asn1-ecc": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-ecc/-/asn1-ecc-2.11.0.tgz", + "integrity": "sha512-jj1alGEKev7/un+cI+exyVK9m31lmP7cCBMCZuCb0wkFQH2zmKmJzNiG4wqXFNzlcP8timHLnzf3lV3OxBpb/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-pfx": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-pfx/-/asn1-pfx-2.11.0.tgz", + "integrity": "sha512-ykSAWRu8KkmzU8LRpk9ZQC3zuLmBEtoSMjIv9XHVamD5W7amqreV5wttKqnvtjWOzzSJQxA/HVT8/tHwpEEGSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-cms": "^2.11.0", + "@peculiar/asn1-pkcs8": "^2.11.0", + "@peculiar/asn1-rsa": "^2.11.0", + "@peculiar/asn1-schema": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-pkcs8": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs8/-/asn1-pkcs8-2.11.0.tgz", + "integrity": "sha512-lragjkjQGnQ5luxC+sxoAfAO/jBiQ7hOEGlDKJUk7MC5zY3AzjB2DU0GyPUH1Sswdv10t7DurY0zylOYMLb88w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-pkcs9": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-pkcs9/-/asn1-pkcs9-2.11.0.tgz", + "integrity": "sha512-gDdFjpqV0weJjgNUvueUVf4D8uVbpq+VbG0TsxLAY2QGljAkJyL9qwQ7avol9j0jaYSJ7Ey7v7RZp0M3GTcQSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-cms": "^2.11.0", + "@peculiar/asn1-pfx": "^2.11.0", + "@peculiar/asn1-pkcs8": "^2.11.0", + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "@peculiar/asn1-x509-attr": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-rsa": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-rsa/-/asn1-rsa-2.11.0.tgz", + "integrity": "sha512-S2sBJmbfI09Kzdt9cEhE6pDNjHpVTkURs+811+PxS8AvsTLxC4woMNRhxHYaIbClkkNfAVt0tZxJdINVfUmzuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-schema": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.11.0.tgz", + "integrity": "sha512-8xh4avo53/vXO6UEv9yaoJ83hY581geaLTygf61NPIXP5AeIZCPjJhpTaYU23IZkG+NpLN/C9FYzWp7hphIT9A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/utils": "^2.0.2", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-x509": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509/-/asn1-x509-2.11.0.tgz", + "integrity": "sha512-J1sHAwGNlk+8J+FeR1eLVc6Gq0T9f9ITc3HWyPYgJraoW6U8AJuQiWVJ3SCEpltfTdpOY7fHdHT5oKAsbK/jww==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/utils": "^2.0.2", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/asn1-x509-attr": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-x509-attr/-/asn1-x509-attr-2.11.0.tgz", + "integrity": "sha512-Fgvnd9REmLxEj/4cbDP54dNUNUXkzUksXLqEHqs1mHBuSRjSTCUSPM/WQIZYSvrdG7ND9CX1AQtPoIBekhgQSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-schema": "^2.11.0", + "@peculiar/asn1-x509": "^2.11.0", + "asn1js": "^3.0.10", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@peculiar/utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@peculiar/utils/-/utils-2.0.3.tgz", + "integrity": "sha512-+oL3HPFRIZ1St2K50lWCXiioIgSoxzz7R1J3uF6neO2yl1sgmpgY6XXJH4BdpoDkMWznQTeYF6oWNDZLCdQ4eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.8.1" + } + }, + "node_modules/@peculiar/x509": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@peculiar/x509/-/x509-1.14.3.tgz", + "integrity": "sha512-C2Xj8FZ0uHWeCXXqX5B4/gVFQmtSkiuOolzAgutjTfseNOHT3pUjljDZsTSxXFGgio54bCzVFqmEOUrIVk8RDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@peculiar/asn1-cms": "^2.6.0", + "@peculiar/asn1-csr": "^2.6.0", + "@peculiar/asn1-ecc": "^2.6.0", + "@peculiar/asn1-pkcs9": "^2.6.0", + "@peculiar/asn1-rsa": "^2.6.0", + "@peculiar/asn1-schema": "^2.6.0", + "@peculiar/asn1-x509": "^2.6.0", + "pvtsutils": "^1.3.6", + "reflect-metadata": "^0.2.2", + "tslib": "^2.8.1", + "tsyringe": "^4.10.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.8.tgz", + "integrity": "sha512-tN5aztYkKCte4i5SIrrz5yK/HMjEuCqCSCJa418jOV8tZ1cBY3YF2otxB1ktPxzsLA1BeTqwapK0bfjxNvHJVw==", "cpu": [ "arm" ], @@ -5108,12 +6874,15 @@ "optional": true, "os": [ "android" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.8.tgz", + "integrity": "sha512-dIYTWl9XprMUiQFoc55KUyk/oS8SKYH3zFl0LTR7RT0Xj4hgSVyuJcroH8JUu8RcpF8fTB6E0aOwCkZoYPcDSQ==", "cpu": [ "arm64" ], @@ -5122,12 +6891,15 @@ "optional": true, "os": [ "android" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.8.tgz", + "integrity": "sha512-PCSDQGXD2IyTEFrcgPyBM8jJuGmrbCMuoIOXdbEGVemruKACXoLQJrb+A45Z0L5t1RQkdfJprAYPkikbh7dzdA==", "cpu": [ "arm64" ], @@ -5136,12 +6908,15 @@ "optional": true, "os": [ "darwin" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.8.tgz", + "integrity": "sha512-Uk7lRsGhPFHVX/sAUC6D5H9Ol30dFHd6iquokll2th3LpdJ3F5CzQB+7DHn0Ri2mG+U7k2zXiPHDrwZenXhwSA==", "cpu": [ "x64" ], @@ -5150,26 +6925,15 @@ "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" - ] + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.8.tgz", + "integrity": "sha512-DjszaTEVogPqA5bYzsEeqDCQxbcp2fexQwKcRspYji2yzR68fCf+e4fx6kBSRDwX5/brZaHw/hWS9+A/+/w9sQ==", "cpu": [ "x64" ], @@ -5178,46 +6942,32 @@ "optional": true, "os": [ "freebsd" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.8.tgz", + "integrity": "sha512-zmwa7FTmdzB6aaEEuuls18H6Ap5JmJPSoPTuXixeJZV6tG40SyLkApQtz1g8ptZtiEKqj9OM0oNLPh1AgvE31Q==", "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" - ] + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.8.tgz", + "integrity": "sha512-KdYQDPHwJVnbFwdTGMgxsI9SqblBlz6STGM+w1We/d5B8OWWidYH0MwkU/uA1wM5fIpO2MkOVxXrNzzuZhw9ew==", "cpu": [ "arm64" ], @@ -5229,12 +6979,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.8.tgz", + "integrity": "sha512-jFJTifHnNPY+yzOoNZQfSIysrVyXzEQPhPnOUjmD1bcQGHH6s7c8cViKWar8YplQImE5N9JRqMCLrM2CdxOrZA==", "cpu": [ "arm64" ], @@ -5246,46 +6999,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.8.tgz", + "integrity": "sha512-FhiOziBDWPBjbcmRzfLyIJnaP7AVMFXT7YCXPjXxj7wKU3vx24RjrCNN/zjvVa+N2vVoHJwCoUBvsrN/DG3zIA==", "cpu": [ "ppc64" ], @@ -5297,63 +7019,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.8.tgz", + "integrity": "sha512-WnHfADMzOV2Y55wlx1hzzQnar/wDt/VdvWSD99r18Mz9ylNieIGOkRx3UV21h7m/eJvjySYJkO26VvGNFkwsIQ==", "cpu": [ "s390x" ], @@ -5365,12 +7039,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.8.tgz", + "integrity": "sha512-H9tRr5ibfXFVLxbPOseVewewFpl28zcEdjRDt2FTUZU7odxP0gEv1ki4/kGmcGOh78oRwZuuQllGLZ9zTJp84g==", "cpu": [ "x64" ], @@ -5382,12 +7059,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.8.tgz", + "integrity": "sha512-UefiqfM3D6IVNlZ8tSGs9+Ejjud2T+oxO0IHADU45Y+lyEjD2dVFyZHbkfX0LUb5Zugo/oIv1eCO/KVYhgYJYA==", "cpu": [ "x64" ], @@ -5399,26 +7079,15 @@ "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" - ] + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.8.tgz", + "integrity": "sha512-637Ke4kWSy6rp9cxQ9gMOXlxPgIw/c1beASV4M//3+9I4uwBVOOl74G+e3zyU3u19U7RkRl/HuewixZ/Z6+Rjg==", "cpu": [ "arm64" ], @@ -5427,12 +7096,15 @@ "optional": true, "os": [ "openharmony" - ] + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.8.tgz", + "integrity": "sha512-xWBkPOF1Q9k/Gv1nQXnVdLxKu74jXppuOM4Z3mnypVUJJJwLsMl7hNJGRAUJoG8A5MgOI1ACKM+wBFxSJzKy4A==", "cpu": [ "arm64" ], @@ -5441,26 +7113,15 @@ "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" - ] + "engines": { + "node": "^20.19.0 || >=22.12.0" + } }, - "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==", + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.8.tgz", + "integrity": "sha512-uz2ZvfgXbxqNwijjjbxrnvALwpyODDcgc1T1N8N3rf/DXKQmaFwmB4LX4yyjggpwN2obdQLb2rgirX5ffCWYng==", "cpu": [ "x64" ], @@ -5469,132 +7130,37 @@ "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" ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "win32" - ] + "license": "MIT" }, "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==", + "version": "22.2.3", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-22.2.3.tgz", + "integrity": "sha512-DY8wv/LtNf3YD/EEoFdER4ihMyw5yywuOQEKasm4d2uBJ5peGIWV3LXJXXqD7b4WVC8xS1eUAjingyWfI9reHw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "19.2.27", - "@angular-devkit/schematics": "19.2.27", - "jsonc-parser": "3.3.1" + "@angular-devkit/core": "22.2.3", + "@angular-devkit/schematics": "22.2.3", + "jsonc-parser": "3.3.1", + "oxc-parser": "0.150.0", + "typescript": "6.0.3" }, "engines": { - "node": "^18.19.1 || ^20.11.1 || >=22.0.0", + "node": "^22.22.3 || ^24.15.0 || >=26.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", @@ -5602,55 +7168,11 @@ "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/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" }, "node_modules/@types/body-parser": { "version": "1.19.6", @@ -5704,52 +7226,29 @@ "@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==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", "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==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.6.tgz", + "integrity": "sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA==", "dev": true, "license": "MIT", "dependencies": { "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", - "@types/qs": "*", - "@types/serve-static": "^1" + "@types/express-serve-static-core": "^5.0.0", + "@types/serve-static": "^2" } }, "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==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.1.3.tgz", + "integrity": "sha512-dPfW8NFiOF4wOHc7+N/QSxlY9cfSsenewGbAz8C8U/MULPd/YZ27LvJUIlzaXie7e6Ove9YunJGgC9tbHD2cKw==", "dev": true, "license": "MIT", "dependencies": { @@ -5759,6 +7258,13 @@ "@types/send": "*" } }, + "node_modules/@types/gensync": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/gensync/-/gensync-1.0.5.tgz", + "integrity": "sha512-MbsRCT7mTikHwKZ0X+LVUTLRrZZRLipTuXEO9qOYO+zmjMVk81axyClMROf6uoPD9MRVu46bx8zoR0Ad9q3NAg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/http-errors": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", @@ -5766,16 +7272,6 @@ "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", @@ -5783,6 +7279,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@types/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==", + "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", @@ -5790,10 +7293,10 @@ "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==", + "node_modules/@types/less": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@types/less/-/less-3.0.8.tgz", + "integrity": "sha512-Gjm4+H9noDJgu5EdT3rUw5MhPBag46fiOy27BefvWkNL8mlZnKnCaVVVTLKj6RYXed9b62CPKnPav9govyQDzA==", "dev": true, "license": "MIT" }, @@ -5804,16 +7307,6 @@ "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", @@ -5828,13 +7321,6 @@ "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", @@ -5856,35 +7342,13 @@ } }, "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==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==", "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": "*" } }, @@ -5898,19 +7362,6 @@ "@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", @@ -6086,23 +7537,6 @@ "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", @@ -6140,19 +7574,6 @@ "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", @@ -6183,19 +7604,19 @@ } }, "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==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-9.0.0.tgz", + "integrity": "sha512-TQf59BsZnytt8GdJKLPfUZ54g/iaUL2OWDSFCCvMOhsHduDQxO8xC4PNeyIkVcA5KwL2phPSv0douC0fgWzmnA==", "dev": true, "license": "MIT", "engines": { - "node": ">= 14" + "node": ">= 20" } }, "node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "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": { @@ -6280,9 +7701,9 @@ } }, "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==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", "dev": true, "license": "MIT", "engines": { @@ -6342,17 +7763,25 @@ "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==", + "node_modules/asn1js": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/asn1js/-/asn1js-3.1.0.tgz", + "integrity": "sha512-HWYi1THkOqguCiO+vwj09ZkQFD2kKEsejYHAYCtX0D80WVdoDnvRc9IukXX/jeb0T9NRWJnRtqwdbHltnFjwXA==", "dev": true, - "license": "MIT" + "license": "BSD-3-Clause", + "dependencies": { + "pvtsutils": "^1.3.6", + "pvutils": "^1.2.0", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=12.0.0" + } }, "node_modules/autoprefixer": { - "version": "10.4.20", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.20.tgz", - "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.6.0.tgz", + "integrity": "sha512-A26d6qs9kqGgkmImIXMYvXTzqb4Qv7AVgpY1NXzr9Y659J8qHHnLOO/zE8ewIGFMprOolAoRAQYDgNryXIJKBw==", "dev": true, "funding": [ { @@ -6370,11 +7799,10 @@ ], "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", + "browserslist": "^4.28.9", + "caniuse-lite": "^1.0.30001810", + "fraction.js": "^5.3.4", + "picocolors": "^1.1.1", "postcss-value-parser": "^4.2.0" }, "bin": { @@ -6388,73 +7816,46 @@ } }, "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==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-10.1.1.tgz", + "integrity": "sha512-JwKSzk2kjIe7mgPK+/lyZ2QAaJcpahNAdM+hgR2HI8D0OJVkdj8Rl6J3kaLYki9pwF7P2iWnD8qVv80Lq1ABtg==", "dev": true, "license": "MIT", "dependencies": { - "find-cache-dir": "^4.0.0", - "schema-utils": "^4.0.0" + "find-up": "^5.0.0" }, "engines": { - "node": ">= 14.15.0" + "node": "^18.20.0 || ^20.10.0 || >=22.0.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" + "@babel/core": "^7.12.0 || ^8.0.0-beta.1", + "@rspack/core": "^1.0.0 || ^2.0.0-0", + "webpack": ">=5.61.0" }, - "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" + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "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==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-1.0.0.tgz", + "integrity": "sha512-yIkslVjbmml2Xjb6XhFW7lISXHsqk6cesxTdDsXoMom4Lnb99DbD3OQbSOoM5Z+ASh8YXYaLAsRQrU2Jeh3Qig==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.3", - "core-js-compat": "^3.40.0" + "@babel/helper-define-polyfill-provider": "^1.0.0", + "core-js-compat": "^3.48.0" + }, + "engines": { + "node": "^20.19.0 || >=22.12.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" + "@babel/core": "^7.4.0 || ^8.0.0" } }, "node_modules/balanced-match": { @@ -6464,27 +7865,6 @@ "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", @@ -6516,23 +7896,24 @@ "license": "MIT" }, "node_modules/beasties": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/beasties/-/beasties-0.3.2.tgz", - "integrity": "sha512-p4AF8uYzm9Fwu8m/hSVTCPXrRBPmB34hQpHsec2KOaR9CZmgoU8IOv4Cvwq4hgz2p4hLMNbsdNl5XeA6XbAQwA==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/beasties/-/beasties-0.5.4.tgz", + "integrity": "sha512-8/lOOjT+PElYCnaUbmhgd3Uad5R1VTQ4Wg0k4rK8bX04m5WEqHNmnlLy3Q/lJ7dk25XA+72gayzc/skTfKKpcA==", "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", + "css-select": "^7.0.0", + "css-what": "^8.0.0", + "dom-serializer": "^3.0.0", + "domhandler": "^6.0.0", + "htmlparser2": "^12.0.0", "picocolors": "^1.1.1", "postcss": "^8.4.49", - "postcss-media-query-parser": "^0.2.3" + "postcss-media-query-parser": "^0.2.3", + "postcss-safe-parser": "^7.0.1" }, "engines": { - "node": ">=14.0.0" + "node": ">=20.19.0" } }, "node_modules/big.js": { @@ -6558,18 +7939,6 @@ "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", @@ -6637,29 +8006,17 @@ } }, "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==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-2.0.0.tgz", + "integrity": "sha512-DkVaaQHymRhpYEYo9x1oo7Q7B0Y6KJUsjm3c9eTyFDby4MHLBTwZ6ZDWBel5zrYxj1WsZgC5oLpiz+93MluXeA==", "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" + "license": "ISC", + "engines": { + "node": ">=20.19.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/fb55" } }, "node_modules/brace-expansion": { @@ -6720,31 +8077,6 @@ "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", @@ -6753,9 +8085,9 @@ "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==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.1.tgz", + "integrity": "sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==", "dev": true, "license": "MIT", "dependencies": { @@ -6778,120 +8110,14 @@ "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==", + "node_modules/bytestreamjs": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/bytestreamjs/-/bytestreamjs-2.0.1.tgz", + "integrity": "sha512-U1Z/ob71V/bXfVABvNr/Kumf5VyeQRBEm6Txb0PQ6S7V5GpBM3w4Cbqz/xPDicR5tN0uvDifng8C+5qECeGwyQ==", "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" - }, + "license": "BSD-3-Clause", "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": ">=6.0.0" } }, "node_modules/call-bind-apply-helpers": { @@ -6957,17 +8183,13 @@ "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==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, "engines": { - "node": ">=10" + "node": "^12.17.0 || ^14.13 || >=16.0.0" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" @@ -6981,31 +8203,21 @@ "license": "MIT" }, "node_modules/chokidar": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", - "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz", + "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==", "dev": true, "license": "MIT", "dependencies": { - "readdirp": "^4.0.1" + "readdirp": "^5.0.0" }, "engines": { - "node": ">= 14.16.0" + "node": ">= 20.19.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", @@ -7033,30 +8245,47 @@ } }, "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==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-3.4.0.tgz", + "integrity": "sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==", "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=18.20" }, "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==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-6.1.1.tgz", + "integrity": "sha512-06p9vyLahLa4zkGcgsGxU6iEkSOiuI4fhCH6Emhe2lPAcoUv73n72DnODsnHA+5wwXGnV0n9M9/qOQJSjYhFhw==", "dev": true, "license": "MIT", "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^7.0.0" + "slice-ansi": "^9.0.0", + "string-width": "^8.2.0" }, "engines": { - "node": ">=18" + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate/node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -7073,101 +8302,18 @@ } }, "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==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", "dev": true, "license": "ISC", "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.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": ">=20" } }, "node_modules/clone-deep": { @@ -7218,12 +8364,16 @@ "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==", + "node_modules/colorjs.io": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/colorjs.io/-/colorjs.io-0.7.1.tgz", + "integrity": "sha512-LY7OHnJZxHwT5UlzNa9bbhHHDbzB6yE5+3MIPwJEQKRvSCt/T4G7epsj+9j2BExUIIfXFIJGsIXUKdfrK9Q5tA==", "dev": true, - "license": "MIT" + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/color" + } }, "node_modules/commander": { "version": "2.20.3", @@ -7232,13 +8382,6 @@ "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", @@ -7293,16 +8436,6 @@ "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", @@ -7354,16 +8487,17 @@ "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==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-2.0.1.tgz", + "integrity": "sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog==", "dev": true, "license": "MIT", - "dependencies": { - "safe-buffer": "5.2.1" - }, "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/content-type": { @@ -7394,41 +8528,46 @@ } }, "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==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } }, "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==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-3.0.5.tgz", + "integrity": "sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==", "dev": true, "license": "MIT", "dependencies": { - "is-what": "^3.14.1" + "is-what": "^4.1.8" + }, + "engines": { + "node": ">=12.13" }, "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==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-14.0.0.tgz", + "integrity": "sha512-3JLW90aBGeaTLpM7mYQKpnVdgsUZRExY55giiZgLuX/xTQRUs1dOCwbBnWnvY6Q6rfZoXMNwzOQJCSZPppfqXA==", "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" + "serialize-javascript": "^7.0.3", + "tinyglobby": "^0.2.12" }, "engines": { - "node": ">= 18.12.0" + "node": ">= 20.9.0" }, "funding": { "type": "opencollective", @@ -7455,13 +8594,6 @@ "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", @@ -7507,52 +8639,21 @@ } } }, - "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==", + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.5.tgz", + "integrity": "sha512-Q7iAfQkU2twNBryKX/vGAlE+GAmkF7quhSzAGNK8fBimxk3+tqg245rH52UPb9dioBolBc8rP0ihmHBaDTJQBA==", "dev": true, "license": "MIT", "dependencies": { "icss-utils": "^5.1.0", - "postcss": "^8.4.33", + "postcss": "^8.4.40", "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" + "semver": "^7.6.3" }, "engines": { "node": ">= 18.12.0" @@ -7562,7 +8663,7 @@ "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "@rspack/core": "0.x || 1.x", + "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "webpack": "^5.27.0" }, "peerDependenciesMeta": { @@ -7575,32 +8676,37 @@ } }, "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==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-7.0.0.tgz", + "integrity": "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g==", "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" + "boolbase": "^2.0.0", + "css-what": "^8.0.0", + "domhandler": "^6.0.1", + "domutils": "^4.0.2", + "nth-check": "^3.0.1" + }, + "engines": { + "node": ">=20.19.0" }, "funding": { + "type": "github", "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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-8.0.0.tgz", + "integrity": "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw==", "dev": true, "license": "BSD-2-Clause", "engines": { - "node": ">= 6" + "node": ">=20.19.0" }, "funding": { + "type": "github", "url": "https://github.com/sponsors/fb55" } }, @@ -7682,19 +8788,6 @@ "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", @@ -7735,18 +8828,10 @@ "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", @@ -7781,24 +8866,28 @@ } }, "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==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-3.1.1.tgz", + "integrity": "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw==", "dev": true, "license": "MIT", "dependencies": { - "domelementtype": "^2.3.0", - "domhandler": "^5.0.2", - "entities": "^4.2.0" + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0", + "entities": "^8.0.0" + }, + "engines": { + "node": ">=20.19.0" }, "funding": { + "type": "github", "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==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-3.0.0.tgz", + "integrity": "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg==", "dev": true, "funding": [ { @@ -7806,36 +8895,44 @@ "url": "https://github.com/sponsors/fb55" } ], - "license": "BSD-2-Clause" + "license": "BSD-2-Clause", + "engines": { + "node": ">=20.19.0" + } }, "node_modules/domhandler": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", - "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-6.0.1.tgz", + "integrity": "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "domelementtype": "^2.3.0" + "domelementtype": "^3.0.0" }, "engines": { - "node": ">= 4" + "node": ">=20.19.0" }, "funding": { + "type": "github", "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==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-4.0.2.tgz", + "integrity": "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "dom-serializer": "^2.0.0", - "domelementtype": "^2.3.0", - "domhandler": "^5.0.3" + "dom-serializer": "^3.0.0", + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0" + }, + "engines": { + "node": ">=20.19.0" }, "funding": { + "type": "github", "url": "https://github.com/fb55/domutils?sponsor=1" } }, @@ -7854,13 +8951,6 @@ "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", @@ -7892,6 +8982,16 @@ "node": ">= 4" } }, + "node_modules/empathic": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/empathic/-/empathic-2.1.0.tgz", + "integrity": "sha512-AnfC1ATldl49/cvZdLPDjBfrRNwbDO05aibiOtzQu3qtlbJtomNLhF30HEtn/7iBz50dlMECqATo3fG0LrdEgw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, "node_modules/encodeurl": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", @@ -7902,31 +9002,6 @@ "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", @@ -7959,9 +9034,9 @@ } }, "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==", + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz", + "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==", "dev": true, "license": "MIT", "dependencies": { @@ -7989,13 +9064,12 @@ } }, "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, + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", + "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", "license": "BSD-2-Clause", "engines": { - "node": ">=0.12" + "node": ">=20.19.0" }, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" @@ -8024,13 +9098,6 @@ "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", @@ -8096,9 +9163,9 @@ } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -8109,38 +9176,38 @@ "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" + "@esbuild/aix-ppc64": "0.28.2", + "@esbuild/android-arm": "0.28.2", + "@esbuild/android-arm64": "0.28.2", + "@esbuild/android-x64": "0.28.2", + "@esbuild/darwin-arm64": "0.28.2", + "@esbuild/darwin-x64": "0.28.2", + "@esbuild/freebsd-arm64": "0.28.2", + "@esbuild/freebsd-x64": "0.28.2", + "@esbuild/linux-arm": "0.28.2", + "@esbuild/linux-arm64": "0.28.2", + "@esbuild/linux-ia32": "0.28.2", + "@esbuild/linux-loong64": "0.28.2", + "@esbuild/linux-mips64el": "0.28.2", + "@esbuild/linux-ppc64": "0.28.2", + "@esbuild/linux-riscv64": "0.28.2", + "@esbuild/linux-s390x": "0.28.2", + "@esbuild/linux-x64": "0.28.2", + "@esbuild/netbsd-arm64": "0.28.2", + "@esbuild/netbsd-x64": "0.28.2", + "@esbuild/openbsd-arm64": "0.28.2", + "@esbuild/openbsd-x64": "0.28.2", + "@esbuild/openharmony-arm64": "0.28.2", + "@esbuild/sunos-x64": "0.28.2", + "@esbuild/win32-arm64": "0.28.2", + "@esbuild/win32-ia32": "0.28.2", + "@esbuild/win32-x64": "0.28.2" } }, "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==", + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.28.2.tgz", + "integrity": "sha512-GccVwhv3mmOUVQHCQm2Ox/rby8n/EqUwvZxE6Pjfikrq/lWw9g9WX/u9EykWnpot3Ko6j426DgQdea2xWKIAQA==", "dev": true, "license": "MIT", "bin": { @@ -8167,53 +9234,6 @@ "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", @@ -8251,68 +9271,101 @@ "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==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/express/-/express-5.3.0.tgz", + "integrity": "sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g==", "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" + "accepts": "^2.0.0", + "body-parser": "^2.3.0", + "content-disposition": "^2.0.1", + "content-type": "^2.0.0", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.8", + "qs": "^6.16.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.1.0", + "vary": "^1.1.2" }, "engines": { - "node": ">= 0.10.0" + "node": ">= 18" }, "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==", + "node_modules/express/node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", "dev": true, "license": "MIT", "dependencies": { - "ms": "2.0.0" + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express/node_modules/body-parser": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz", + "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^2.0.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.2", + "on-finished": "^2.4.1", + "qs": "^6.15.2", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/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/express/node_modules/encodeurl": { @@ -8326,58 +9379,118 @@ } }, "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==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", "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" + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" }, "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" + "node": ">= 18.0.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "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==", + "node_modules/express/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/express/node_modules/media-typer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", + "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/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/express/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/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/express/node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/express/node_modules/statuses": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", @@ -8388,6 +9501,25 @@ "node": ">= 0.8" } }, + "node_modules/express/node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "dev": true, + "license": "MIT", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/extend": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", @@ -8402,34 +9534,21 @@ "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==", + "node_modules/fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", "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" + "fast-string-truncated-width": "^3.0.2" } }, "node_modules/fast-uri": { @@ -8449,27 +9568,14 @@ ], "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==", + "node_modules/fast-wrap-ansi": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz", + "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==", "dev": true, - "license": "ISC", + "license": "MIT", "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" + "fast-string-width": "^3.0.2" } }, "node_modules/fdir": { @@ -8552,35 +9658,18 @@ "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==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, "license": "MIT", "dependencies": { - "locate-path": "^7.1.0", - "path-exists": "^5.0.0" + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -8603,6 +9692,16 @@ "dev": true, "license": "ISC" }, + "node_modules/flru": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flru/-/flru-1.0.2.tgz", + "integrity": "sha512-kWyh8ADvHBFz6ua5xYOPnUroZTT/bwWfrCeL0Wj1dzG4/YOmOcfJ99W8dOVyyynJN35rZ9aCOtHChqQovV7yog==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/follow-redirects": { "version": "1.16.0", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", @@ -8624,23 +9723,6 @@ } } }, - "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", @@ -8652,27 +9734,27 @@ } }, "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==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz", + "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==", "dev": true, "license": "MIT", "engines": { "node": "*" }, "funding": { - "type": "patreon", + "type": "github", "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==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", "dev": true, "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">= 0.8" } }, "node_modules/fs-extra": { @@ -8690,19 +9772,6 @@ "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", @@ -8756,9 +9825,9 @@ } }, "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==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz", + "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==", "dev": true, "license": "MIT", "engines": { @@ -8843,9 +9912,9 @@ } }, "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==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/glob-to-regex.js/-/glob-to-regex.js-1.3.1.tgz", + "integrity": "sha512-zhWhMRsgnOym+1txhUmYJGD6eUsbUdrZv55gCYKuJX8t2p3+M8My23PD09bEIsreGUs5pnSa/idmcfp2/IlqGg==", "dev": true, "license": "Apache-2.0", "engines": { @@ -8859,34 +9928,6 @@ "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", @@ -8907,13 +9948,6 @@ "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", @@ -8967,69 +10001,26 @@ } }, "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==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-10.1.1.tgz", + "integrity": "sha512-DeOnSPAvOndYKfw075gt8yZzQ7S2hNztw34zBTfhIzLhmBTswIBg5/y+pqu/VD5cYWm5goAFTusDmUEmKZ0PEQ==", "dev": true, "license": "ISC", "dependencies": { - "lru-cache": "^10.0.1" + "lru-cache": "^11.1.0" }, "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^22.22.2 || ^24.15.0 || >=26.0.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==", + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", "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" + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" } }, "node_modules/html-escaper": { @@ -9040,9 +10031,9 @@ "license": "MIT" }, "node_modules/htmlparser2": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz", - "integrity": "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-12.0.0.tgz", + "integrity": "sha512-Tz7u1i95/g2x2jz81+x0FBVhBhY5aRTvD3tXXdFaljuNdzDLJ8UGNRrTcj2cgQvAg3iW/h77Fz15nLW0L0CrZw==", "dev": true, "funding": [ "https://github.com/fb55/htmlparser2?sponsor=1", @@ -9053,39 +10044,15 @@ ], "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" + "domelementtype": "^3.0.0", + "domhandler": "^6.0.0", + "domutils": "^4.0.2", + "entities": "^8.0.0" }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "engines": { + "node": ">=20.19.0" } }, - "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", @@ -9117,13 +10084,6 @@ "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", @@ -9139,52 +10099,45 @@ "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==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-4.2.0.tgz", + "integrity": "sha512-ZA+oNOoM+GLoFTIzhkJptVQov73Srep2LBqhF8hG8CIPKO3nam1jonXVQ/QUH8RbwsmaaVz2SOJdzBNBHNtKbw==", "dev": true, "license": "MIT", "dependencies": { - "@types/http-proxy": "^1.17.15", - "debug": "^4.3.6", - "http-proxy": "^1.18.1", + "debug": "^4.4.3", + "httpxy": "^0.5.4", "is-glob": "^4.0.3", - "is-plain-object": "^5.0.0", + "is-plain-obj": "^4.1.0", "micromatch": "^4.0.8" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^22.15.0 || ^24.0.0 || >=26.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==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-9.1.0.tgz", + "integrity": "sha512-ag87y7cJJ9/3+GxFr8Oy4O5faDsGRGnBGsJj/YjOSsSx/5eadKLYTMPlzuR6obgoCDDm0abAAZitXXQkMOPSpA==", "dev": true, "license": "MIT", "dependencies": { - "agent-base": "^7.1.2", - "debug": "4" + "agent-base": "9.0.0", + "debug": "^4.3.4", + "proxy-agent-negotiate": "1.1.0" }, "engines": { - "node": ">= 14" + "node": ">= 20" } }, + "node_modules/httpxy": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/httpxy/-/httpxy-0.5.5.tgz", + "integrity": "sha512-uDjmnPyp1q4Sgzf3w+J/Fc6UqcCEj0x4Wjp7OqK5dGhNeDgpyrAmnS6ey8QWrX3SWDon2DMKf9sBa5X9+CVyMA==", + "dev": true, + "license": "MIT" + }, "node_modules/hyperdyperid": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/hyperdyperid/-/hyperdyperid-1.2.0.tgz", @@ -9196,9 +10149,9 @@ } }, "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==", + "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": { @@ -9206,10 +10159,6 @@ }, "engines": { "node": ">=0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" } }, "node_modules/icss-utils": { @@ -9225,90 +10174,6 @@ "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", @@ -9333,14 +10198,15 @@ "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==", + "node_modules/import-meta-resolve": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", + "integrity": "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==", "dev": true, "license": "MIT", - "engines": { - "node": ">=0.8.19" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" } }, "node_modules/inflight": { @@ -9362,26 +10228,6 @@ "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", @@ -9412,22 +10258,6 @@ "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", @@ -9455,13 +10285,16 @@ } }, "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==", + "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": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -9480,6 +10313,19 @@ "node": ">=0.10.0" } }, + "node_modules/is-in-ssh": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", + "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-inside-container": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", @@ -9500,13 +10346,16 @@ } }, "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==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-network-error": { @@ -9533,27 +10382,24 @@ } }, "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==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", "dev": true, "license": "MIT", "engines": { - "node": ">=10" + "node": ">=12" }, "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==", + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } + "license": "MIT" }, "node_modules/is-regex": { "version": "1.2.1", @@ -9575,24 +10421,30 @@ } }, "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==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=10" + "node": ">=18" }, "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==", + "version": "4.1.16", + "resolved": "https://registry.npmjs.org/is-what/-/is-what-4.1.16.tgz", + "integrity": "sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=12.13" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" + } }, "node_modules/is-wsl": { "version": "3.1.1", @@ -9610,13 +10462,6 @@ "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", @@ -9674,6 +10519,86 @@ "node": ">=10" } }, + "node_modules/istanbul-lib-instrument/node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "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/istanbul-lib-instrument/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/istanbul-lib-instrument/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/istanbul-lib-instrument/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/istanbul-lib-instrument/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/istanbul-lib-report": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", @@ -9728,22 +10653,6 @@ "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", @@ -9783,21 +10692,15 @@ } }, "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==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", "dev": true, "license": "MIT", "bin": { - "jiti": "bin/jiti.js" + "jiti": "lib/jiti-cli.mjs" } }, - "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", @@ -9842,14 +10745,11 @@ } }, "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==", + "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", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "1.0.0", @@ -9888,16 +10788,6 @@ "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", @@ -9965,6 +10855,76 @@ "node": ">=10.0.0" } }, + "node_modules/karma-coverage/node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "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/karma-coverage/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/karma-coverage/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/karma-coverage/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/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", @@ -10228,58 +11188,60 @@ } }, "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==", + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.14.2.tgz", + "integrity": "sha512-NHJEb30MGBCkmZXLZwz25t37QR4aY03ZzPYUJXOJaOa92uWwExI9SBQUuIznBYc1xkD7cJNGX7oc3Nl3sq2kQQ==", "dev": true, "license": "MIT", "dependencies": { "picocolors": "^1.1.1", - "shell-quote": "^1.8.4" + "shell-quote": "^1.10.0" } }, "node_modules/less": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/less/-/less-4.2.2.tgz", - "integrity": "sha512-tkuLHQlvWUTeQ3doAqnHbNn8T6WX1KA8yvbKG9x4VtKtIjHsVKQZCH11zRgAfbDAXC2UNIg/K9BYAAcEzUIrNg==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/less/-/less-4.9.1.tgz", + "integrity": "sha512-orp15PfJvvNDIqJdVWzMI9Sjpjp3VTiw3sfvbB+67LlISTEn8uVT2EdYSuyl02BLvaftv6sdk9Umnxmm5rckmg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "copy-anything": "^2.0.1", - "parse-node-version": "^1.0.1", - "tslib": "^2.3.0" + "copy-anything": "^3.0.5", + "parse-node-version": "^1.0.1" }, "bin": { "lessc": "bin/lessc" }, "engines": { - "node": ">=6" + "node": ">=18" }, "optionalDependencies": { "errno": "^0.1.1", "graceful-fs": "^4.1.2", - "image-size": "~0.5.0", - "make-dir": "^2.1.0", + "make-dir": "^5.1.0", "mime": "^1.4.1", "needle": "^3.1.0", + "probe-image-size": "^7.2.3", "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==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-13.0.0.tgz", + "integrity": "sha512-TIa8d6znKH634Mg+7OU3jevZT6KeOhh0amW+YeMPD0GM9buUn5Y7HvtyCR5pUDdLaFfqLA8AX5PTSIHMNSexEA==", "dev": true, "license": "MIT", + "dependencies": { + "@types/less": "^3.0.8" + }, "engines": { - "node": ">= 18.12.0" + "node": ">= 22.11.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "@rspack/core": "0.x || 1.x", + "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "less": "^3.5.0 || ^4.0.0", "webpack": "^5.0.0" }, @@ -10293,18 +11255,17 @@ } }, "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==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-5.1.0.tgz", + "integrity": "sha512-IfpFq6UM39dUNiphpA6uDezNx/AvWyhwfICWPR3t1VspkgkMZrL+Rk1RbN1bx+aeNYwOrqGJgEgV3yotk+ZUVw==", "dev": true, "license": "MIT", "optional": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, "engines": { - "node": ">=6" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/less/node_modules/mime": { @@ -10321,17 +11282,6 @@ "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", @@ -10361,6 +11311,279 @@ } } }, + "node_modules/lightningcss": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", @@ -10369,21 +11592,18 @@ "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==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-11.1.0.tgz", + "integrity": "sha512-xsuczF6mWkEo/E80QHaEokQzKmTy7m80KcLRnkUt9wrcePres2w7dbQi5zOsWtDUg8Dac4gPFyu4EJ/IvKwTOg==", "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" + "cli-truncate": "^6.1.1", + "log-update": "^8.0.0", + "wrap-ansi": "^10.0.1" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.13.0" } }, "node_modules/listr2/node_modules/ansi-styles": { @@ -10399,40 +11619,50 @@ "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==", + "node_modules/listr2/node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" }, "engines": { - "node": ">=18" + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/listr2/node_modules/wrap-ansi": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-10.0.2.tgz", + "integrity": "sha512-6OLRNZqRntVGBm26ghZ5eZhCuWWyOkRCSn8XsOIuq5stpCE/tjLbdozd93naILZig0lmD8ANfRwnhn0DLeXGlg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.3", + "string-width": "^8.2.0" + }, + "engines": { + "node": ">=20" }, "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==", + "version": "3.5.6", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.5.6.tgz", + "integrity": "sha512-j3uE8ReKNyUWDjhfEFSJqE/1DLtfTR5Z8yFzVHvBjAk37wNg7HdScjcv8ttPHRvrdgPQMPWxFFI0SsdBzI5lBw==", "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, "dependencies": { + "@harperfast/extended-iterable": "^1.0.3", "msgpackr": "^1.11.2", "node-addon-api": "^6.1.0", "node-gyp-build-optional-packages": "5.2.2", @@ -10443,27 +11673,22 @@ "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" + "@lmdb/lmdb-darwin-arm64": "3.5.6", + "@lmdb/lmdb-darwin-x64": "3.5.6", + "@lmdb/lmdb-linux-arm": "3.5.6", + "@lmdb/lmdb-linux-arm64": "3.5.6", + "@lmdb/lmdb-linux-x64": "3.5.6", + "@lmdb/lmdb-win32-arm64": "3.5.6", + "@lmdb/lmdb-win32-x64": "3.5.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==", + "node_modules/lmdb/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", - "engines": { - "node": ">=6.11.5" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } + "optional": true }, "node_modules/loader-utils": { "version": "3.3.1", @@ -10476,16 +11701,16 @@ } }, "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==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, "license": "MIT", "dependencies": { - "p-locate": "^6.0.0" + "p-locate": "^5.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -10505,38 +11730,47 @@ "dev": true, "license": "MIT" }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT", + "optional": true + }, "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==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-7.0.1.tgz", + "integrity": "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==", "dev": true, "license": "MIT", "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" + "is-unicode-supported": "^2.0.0", + "yoctocolors": "^2.1.1" }, "engines": { - "node": ">=10" + "node": ">=18" }, "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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-8.0.0.tgz", + "integrity": "sha512-lddSgOt3bPASrylL54ZSpy8nBHns+vBVSoILlVOx+dei300pnLRN958rj/EdlVLKuWlSESU3qdnDZdAI7FXYGg==", "dev": true, "license": "MIT", "dependencies": { - "ansi-escapes": "^7.0.0", + "ansi-escapes": "^7.3.0", "cli-cursor": "^5.0.0", - "slice-ansi": "^7.1.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" + "slice-ansi": "^9.0.0", + "string-width": "^8.2.0", + "strip-ansi": "^7.2.0", + "wrap-ansi": "^10.0.0" }, "engines": { - "node": ">=18" + "node": ">=22" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -10555,52 +11789,35 @@ "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==", + "node_modules/log-update/node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", "dev": true, "license": "MIT", "dependencies": { - "get-east-asian-width": "^1.3.1" + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" }, "engines": { - "node": ">=18" + "node": ">=20" }, "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==", + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-10.0.2.tgz", + "integrity": "sha512-6OLRNZqRntVGBm26ghZ5eZhCuWWyOkRCSn8XsOIuq5stpCE/tjLbdozd93naILZig0lmD8ANfRwnhn0DLeXGlg==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" + "ansi-styles": "^6.2.3", + "string-width": "^8.2.0" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" @@ -10634,13 +11851,13 @@ } }, "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==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.1.tgz", + "integrity": "sha512-8lyCu36ErXR0J9uaGKlKQoiLZKmtI63YGLE8G2o9jyRPdr4X47LusSOwgOJOzcVtp81fTAAjxR7BwKz682Jhow==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" + "@jridgewell/sourcemap-codec": "^1.6.0" } }, "node_modules/make-dir": { @@ -10659,29 +11876,6 @@ "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", @@ -10703,23 +11897,23 @@ } }, "node_modules/memfs": { - "version": "4.75.0", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.75.0.tgz", - "integrity": "sha512-ds3qQCghw0FsG9S+CSAR9F1n5nCwlA7Z5Mf8xgRec6iBAVPPwldmD5UxJhMstWhMhOVBwZ/FoBz09B46m3Le/g==", + "version": "4.80.0", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.80.0.tgz", + "integrity": "sha512-N70W2isi44XdGn7uPo9NJ4zRukcdkwSFHlnYx42SWOH/+hzqNc8P7+tVoA2up4z7faHvNi1RSNCFjxoYQ71VPQ==", "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/fs-core": "4.80.0", + "@jsonjoy.com/fs-fsa": "4.80.0", + "@jsonjoy.com/fs-node": "4.80.0", + "@jsonjoy.com/fs-node-builtins": "4.80.0", + "@jsonjoy.com/fs-node-to-fsa": "4.80.0", + "@jsonjoy.com/fs-node-utils": "4.80.0", + "@jsonjoy.com/fs-print": "4.80.0", + "@jsonjoy.com/fs-snapshot": "4.80.0", "@jsonjoy.com/json-pack": "^1.11.0", "@jsonjoy.com/util": "^1.9.0", - "glob-to-regex.js": "^1.0.1", + "glob-to-regex.js": "^1.3.1", "thingies": "^2.5.0", "tree-dump": "^1.0.3", "tslib": "^2.0.0" @@ -10730,11 +11924,14 @@ } }, "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==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", "dev": true, "license": "MIT", + "engines": { + "node": ">=18" + }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } @@ -10746,26 +11943,6 @@ "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", @@ -10829,16 +12006,6 @@ "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", @@ -10853,9 +12020,9 @@ } }, "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==", + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.10.2.tgz", + "integrity": "sha512-AOSS0IdEB95ayVkxn5oGzNQwqAi2J0Jb/kKm43t7H73s8+f5873g0yuj0PNvK4dO75mu5DHg4nlgp4k6Kga8eg==", "dev": true, "license": "MIT", "dependencies": { @@ -10873,13 +12040,6 @@ "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", @@ -10976,178 +12136,6 @@ } } }, - "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", @@ -11227,13 +12215,13 @@ } }, "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==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", "dev": true, "license": "ISC", "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^20.17.0 || >=22.9.0" } }, "node_modules/nanoid": { @@ -11273,100 +12261,22 @@ "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==", + "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": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" + "node": ">= 0.6" } }, - "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==", + "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/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" - } + "license": "MIT" }, "node_modules/node-gyp-build-optional-packages": { "version": "5.2.2", @@ -11384,69 +12294,6 @@ "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", @@ -11457,22 +12304,6 @@ "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", @@ -11483,127 +12314,36 @@ "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==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-14.0.0.tgz", + "integrity": "sha512-69XQh3k+dtGa1p+7RaR57IuG3rCko96xr/nUfN4yDYBXbTYICiWcOpsFKLN2GtGE9cyIljE+f1exnaYt9MvM+Q==", "dev": true, "license": "ISC", "dependencies": { - "hosted-git-info": "^8.0.0", - "proc-log": "^5.0.0", + "hosted-git-info": "^10.1.0", + "proc-log": "^7.0.0", "semver": "^7.3.5", - "validate-npm-package-name": "^6.0.0" + "validate-npm-package-name": "^8.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": "^22.22.2 || ^24.15.0 || >=26.0.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==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-3.0.1.tgz", + "integrity": "sha512-GX0gsdbGVCgnRgbeGaubfjpBXyYRWOOCVeYh08bSQvDZqxz5ndXs1OTfAt/h36G1xvI94YIspsI0sVFqAV9+RQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "boolbase": "^1.0.0" + "boolbase": "^2.0.0" + }, + "engines": { + "node": ">=20.19.0" }, "funding": { + "type": "github", "url": "https://github.com/fb55/nth-check?sponsor=1" } }, @@ -11630,12 +12370,19 @@ "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==", + "node_modules/obug": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/obug/-/obug-2.2.1.tgz", + "integrity": "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==", "dev": true, - "license": "MIT" + "funding": [ + "https://github.com/sponsors/sxzz", + "https://opencollective.com/debug" + ], + "license": "MIT", + "engines": { + "node": ">=12.20.0" + } }, "node_modules/on-finished": { "version": "2.4.1", @@ -11687,40 +12434,119 @@ } }, "node_modules/open": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/open/-/open-10.1.0.tgz", - "integrity": "sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/open/-/open-11.0.4.tgz", + "integrity": "sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==", "dev": true, "license": "MIT", "dependencies": { - "default-browser": "^5.2.1", + "default-browser": "^5.5.1", "define-lazy-prop": "^3.0.0", + "is-in-ssh": "^1.0.0", "is-inside-container": "^1.0.0", - "is-wsl": "^3.1.0" + "powershell-utils": "^0.2.1", + "wsl-utils": "^1.0.0" }, "engines": { - "node": ">=18" + "node": ">=20" }, "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==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-9.4.1.tgz", + "integrity": "sha512-6VlU9MLXbjVQD04AZCMX28hVtA5bUoadvUqO76MUCVA0ilwJbMiHsITRPfyVm6p/BC0Av/BXMujx39WCe1LEqw==", "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" + "chalk": "^5.6.2", + "cli-cursor": "^5.0.0", + "cli-spinners": "^3.2.0", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^2.1.0", + "log-symbols": "^7.0.1", + "stdin-discarder": "^0.3.2", + "string-width": "^8.1.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/string-width": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ordered-binary": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.6.2.tgz", + "integrity": "sha512-BY+qgDArmYpvvmij141xbkB4Cw8RFLBQM5Zj4MODFb1SyXBRE/xO4Xj/QWbR7aUEBxbkjuNdsFVCL2TmbYrlNg==", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/oxc-parser": { + "version": "0.150.0", + "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.150.0.tgz", + "integrity": "sha512-zwajKw1GUa57IOdafIS7/yOObGF2NihwIfZfs5yJTRprMSkiwhWOc/k+n8bwnUPbHr2/XsjfBO8KyTPaW3VpWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "^0.150.0" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/oxc-project" + }, + "optionalDependencies": { + "@oxc-parser/binding-android-arm-eabi": "0.150.0", + "@oxc-parser/binding-android-arm64": "0.150.0", + "@oxc-parser/binding-darwin-arm64": "0.150.0", + "@oxc-parser/binding-darwin-x64": "0.150.0", + "@oxc-parser/binding-freebsd-x64": "0.150.0", + "@oxc-parser/binding-linux-arm-gnueabihf": "0.150.0", + "@oxc-parser/binding-linux-arm-musleabihf": "0.150.0", + "@oxc-parser/binding-linux-arm64-gnu": "0.150.0", + "@oxc-parser/binding-linux-arm64-musl": "0.150.0", + "@oxc-parser/binding-linux-ppc64-gnu": "0.150.0", + "@oxc-parser/binding-linux-riscv64-gnu": "0.150.0", + "@oxc-parser/binding-linux-riscv64-musl": "0.150.0", + "@oxc-parser/binding-linux-s390x-gnu": "0.150.0", + "@oxc-parser/binding-linux-x64-gnu": "0.150.0", + "@oxc-parser/binding-linux-x64-musl": "0.150.0", + "@oxc-parser/binding-openharmony-arm64": "0.150.0", + "@oxc-parser/binding-win32-arm64-msvc": "0.150.0", + "@oxc-parser/binding-win32-ia32-msvc": "0.150.0", + "@oxc-parser/binding-win32-x64-msvc": "0.150.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" }, "engines": { "node": ">=10" @@ -11729,199 +12555,38 @@ "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==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, "license": "MIT", "dependencies": { - "p-limit": "^4.0.0" + "p-limit": "^3.0.2" }, "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" + "node": ">=10" }, "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==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-8.0.1.tgz", + "integrity": "sha512-NAigyu8hfvJe7MsS18mnc4is0MZtau3QMdBklaJKK23oBQb6occO3UPM3vHmTckW8KhfyjMZaUOqdTFEYliHgg==", "dev": true, "license": "MIT", "dependencies": { - "@types/retry": "0.12.2", - "is-network-error": "^1.0.0", - "retry": "^0.13.1" + "is-network-error": "^1.3.0" }, "engines": { - "node": ">=16.17" + "node": ">=22" }, "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", @@ -11954,13 +12619,6 @@ "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", @@ -11972,57 +12630,45 @@ } }, "node_modules/parse5": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz", - "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz", + "integrity": "sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==", "license": "MIT", "dependencies": { - "entities": "^6.0.0" + "entities": "^8.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==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-8.0.1.tgz", + "integrity": "sha512-NaRku2aMpUN1Sh1Gyk1KWUh2A7EJx2c6qYzvwsPtqhoHoaURshdrceYK3LunVCm3WHhm6FS7Vcczbvdh3/UIVw==", "dev": true, "license": "MIT", "dependencies": { - "entities": "^4.3.0", - "parse5": "^7.0.0", - "parse5-sax-parser": "^7.0.0" + "entities": "^8.0.0", + "parse5": "^8.0.0", + "parse5-sax-parser": "^8.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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-8.0.0.tgz", + "integrity": "sha512-/dQ8UzHZwnrzs3EvDj6IkKrD/jIZyTlB+8XrHJvcjNgRdmWruNdN9i9RK/JtxakmlUdPwKubKPTCqvbTgzGhrw==", "dev": true, "license": "MIT", "dependencies": { - "parse5": "^7.0.0" + "parse5": "^8.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", @@ -12034,13 +12680,13 @@ } }, "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==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=8" } }, "node_modules/path-is-absolute": { @@ -12053,65 +12699,15 @@ "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==", + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", "dev": true, "license": "MIT", - "engines": { - "node": ">=18" - }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/picocolors": { @@ -12122,9 +12718,9 @@ "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==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, "license": "MIT", "engines": { @@ -12134,58 +12730,44 @@ "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==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/piscina/-/piscina-5.3.2.tgz", + "integrity": "sha512-vv7l/mM7B9WgrhDaudIqv1x6v4LOBRYYmpWGdWushhpbCmVHp11sUB2v4hj1CAeTGXVxuZFz6xOU1RalAiPKfQ==", "dev": true, "license": "MIT", + "engines": { + "node": ">=20.x" + }, "optionalDependencies": { - "@napi-rs/nice": "^1.0.1" + "@napi-rs/nice": "^1.0.4" } }, - "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==", + "node_modules/pkijs": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/pkijs/-/pkijs-3.4.1.tgz", + "integrity": "sha512-Oo/NZcSWccq8KyoG7gLE9fnltgHns+pNCjCAp/WmjsUySi+sX7y4z4Xqu4fVb42CDHzRPl33fjzT15V1wvcyhA==", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", + "workspaces": [ + "website" + ], "dependencies": { - "find-up": "^6.3.0" + "@noble/hashes": "1.8.0", + "asn1js": "^3.0.6", + "bytestreamjs": "^2.0.1", + "pvtsutils": "^1.3.6", + "pvutils": "^1.1.3", + "tslib": "^2.8.1" }, "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": ">=16.0.0" } }, "node_modules/postcss": { - "version": "8.5.12", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.12.tgz", - "integrity": "sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA==", + "version": "8.5.28", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz", + "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==", "dev": true, "funding": [ { @@ -12203,7 +12785,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.11", + "nanoid": "^3.3.18", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -12212,15 +12794,15 @@ } }, "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==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.2.1.tgz", + "integrity": "sha512-k98jtRzthjj3f76MYTs9JTpRqV1RaaMhEU0Lpw9OTmQZQdppg4B30VZ74BojuBHt3F4KyubHJoXCMUeM8Bqeow==", "dev": true, "license": "MIT", "dependencies": { "cosmiconfig": "^9.0.0", - "jiti": "^1.20.0", - "semver": "^7.5.4" + "jiti": "^2.5.1", + "semver": "^7.6.2" }, "engines": { "node": ">= 18.12.0" @@ -12230,7 +12812,7 @@ "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "@rspack/core": "0.x || 1.x", + "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "postcss": "^7.0.0 || ^8.0.1", "webpack": "^5.0.0" }, @@ -12313,6 +12895,33 @@ "postcss": "^8.1.0" } }, + "node_modules/postcss-safe-parser": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.1.0.tgz", + "integrity": "sha512-1WzZxRLaAFwEh6Do+zyGpjWV3nGJNxxhuh7Ubu/q1ICImMgZJnLwhoaEpRbG4pJppp2Y1ncL9ffA2f+LhrefQg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "engines": { + "node": ">=18.0" + }, + "peerDependencies": { + "postcss": "^8.4.31" + } + }, "node_modules/postcss-selector-parser": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", @@ -12334,41 +12943,100 @@ "dev": true, "license": "MIT" }, + "node_modules/powershell-utils": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.2.1.tgz", + "integrity": "sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/probe-image-size": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.4.0.tgz", + "integrity": "sha512-cdEprVtZxV+awMde9X+4jILBFYh4CARxVrQaMl4wY4YcPWbul9jntXrIW95NInBDyJwcVUP3U0T6yukN8rMBaQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "lodash.merge": "^4.6.2", + "needle": "^2.5.2", + "stream-parser": "~0.3.1" + } + }, + "node_modules/probe-image-size/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/probe-image-size/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", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/probe-image-size/node_modules/needle": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" + }, + "engines": { + "node": ">= 4.4.x" + } + }, "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==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-7.0.0.tgz", + "integrity": "sha512-FYgfaA69XZ93zaXLoMNQ+ViDXGGBgR8aLh03txzcFhV+9xOXx7+8DLCULrKKpR9+GsH9ZfHm82aSUPpozX0Ztg==", "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": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, "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==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz", + "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==", "dev": true, "license": "MIT", "dependencies": { @@ -12377,6 +13045,10 @@ }, "engines": { "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/proxy-addr/node_modules/ipaddr.js": { @@ -12389,6 +13061,24 @@ "node": ">= 0.10" } }, + "node_modules/proxy-agent-negotiate": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-agent-negotiate/-/proxy-agent-negotiate-1.1.0.tgz", + "integrity": "sha512-N8IBcM3UgCVzz2L2Lqv8DVntDnnC8/hiV4nEDUPkqq72TPUgYWjQc+bdZlBPZK9LzPAvOY//gAt0S0DApoOXWQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 20" + }, + "peerDependencies": { + "kerberos": "^2.0.0" + }, + "peerDependenciesMeta": { + "kerberos": { + "optional": true + } + } + }, "node_modules/prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -12404,6 +13094,26 @@ "dev": true, "license": "MIT" }, + "node_modules/pvtsutils": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.6.tgz", + "integrity": "sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^2.8.1" + } + }, + "node_modules/pvutils": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pvutils/-/pvutils-1.2.0.tgz", + "integrity": "sha512-BbubeCEyTuQjVMakvJQ/Sxbc93F2pwmbsxONT/ZRrwU7Ua38d8unYTwXpTVLAKJ4BDuH9IGztCjQcd/N/39Dvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/qjobs": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", @@ -12431,37 +13141,6 @@ "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", @@ -12505,29 +13184,14 @@ "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==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz", + "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==", "dev": true, "license": "MIT", "engines": { - "node": ">= 14.18.0" + "node": ">= 20.19.0" }, "funding": { "type": "individual", @@ -12542,16 +13206,16 @@ "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==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.5.0.tgz", + "integrity": "sha512-1s+CxXjJ71i7LNVy8nYwg47XV4y6lAnOEhsMtSKq3WpmPfhl9LuKlTqKIn/3yUpE8lBz+W+TT88Bxyhnr0U4yw==", "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==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.3.0.tgz", + "integrity": "sha512-9ns8odR8e9q3otKeHj3DE80jZYKg6zVeZKE+zQmRKXFoVUcuiTGeO6iusDhPRoIQQPVPRvH+SfBhrTud4eczuw==", "dev": true, "license": "MIT", "dependencies": { @@ -12561,13 +13225,6 @@ "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", @@ -12576,14 +13233,14 @@ "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==", + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.5.3.tgz", + "integrity": "sha512-E8VgUoSK+LMQrLboDxavm76MTBGrQhx9RiNuomRmYnZ10Uw12HrI8fkxOOncktb2hBpzIZ9SV/347euQHG5z+g==", "dev": true, "license": "MIT", "dependencies": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.2.2", + "regenerate": "^1.5.0", + "regenerate-unicode-properties": "^10.3.0", "regjsgen": "^0.8.0", "regjsparser": "^0.13.0", "unicode-match-property-ecmascript": "^2.0.0", @@ -12601,9 +13258,9 @@ "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==", + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.4.tgz", + "integrity": "sha512-EWV80YgFaVgFrjGCAsV7oybp4GOxbls5RzBg8OB0nKEVXsBJR1JlV8Di1JhCROg3MzTfe1RI8yitIm1eOs68iA==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -12640,27 +13297,6 @@ "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", @@ -12730,27 +13366,6 @@ "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", @@ -12775,49 +13390,65 @@ "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==", + "node_modules/rolldown": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.8.tgz", + "integrity": "sha512-Z67nTmhZe7anqnM/EjI392w5i/ANUinjip7QYsOyN37oayduxt3ksdX0hf5OOamkAd53BiIHfbfSzfUmzKFQqQ==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.8" + "@oxc-project/types": "=0.149.0", + "@rolldown/pluginutils": "^1.0.0" }, "bin": { - "rollup": "dist/bin/rollup" + "rolldown": "bin/cli.mjs" }, "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" + "node": "^20.19.0 || >=22.12.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" + "@rolldown/binding-android-arm-eabi": "1.2.8", + "@rolldown/binding-android-arm64": "1.2.8", + "@rolldown/binding-darwin-arm64": "1.2.8", + "@rolldown/binding-darwin-x64": "1.2.8", + "@rolldown/binding-freebsd-x64": "1.2.8", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.8", + "@rolldown/binding-linux-arm64-gnu": "1.2.8", + "@rolldown/binding-linux-arm64-musl": "1.2.8", + "@rolldown/binding-linux-ppc64-gnu": "1.2.8", + "@rolldown/binding-linux-s390x-gnu": "1.2.8", + "@rolldown/binding-linux-x64-gnu": "1.2.8", + "@rolldown/binding-linux-x64-musl": "1.2.8", + "@rolldown/binding-openharmony-arm64": "1.2.8", + "@rolldown/binding-win32-arm64-msvc": "1.2.8", + "@rolldown/binding-win32-x64-msvc": "1.2.8" + } + }, + "node_modules/rolldown/node_modules/@oxc-project/types": { + "version": "0.149.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.149.0.tgz", + "integrity": "sha512-Efcc+iF0j3Bf67YjEqIqWXbX5XddXoK/Mw4K1/JuXwRCZ8N16VR7iT23nlCc9XrveFVh/E5Rqs2StT0V8v9LdA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/oxc-project" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" } }, "node_modules/run-applescript": { @@ -12833,30 +13464,6 @@ "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", @@ -12913,45 +13520,413 @@ "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==", + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.104.1.tgz", + "integrity": "sha512-yDA+1aIG3EHgN4V/BvuhCvu61FF6hEd4e+9DxikUm9U0CAGuvdIZ/UYy7qbOxjhbbWQraoyLlMuzdRGOSV5Bmw==", "dev": true, "license": "MIT", "dependencies": { - "chokidar": "^4.0.0", - "immutable": "^5.0.2", + "chokidar": "^5.0.0", + "immutable": "^5.1.5", "source-map-js": ">=0.6.2 <2.0.0" }, "bin": { "sass": "sass.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=20.19.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==", + "node_modules/sass-embedded": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded/-/sass-embedded-1.104.1.tgz", + "integrity": "sha512-7LxbtPJ1MWKVbhzOnGx1sHTkHTcHVJ9hbgVsU29p/8gY1VeXt19fcJFr5xsx2f6zfrrR3FeOcYMt0uYDLAxpgw==", "dev": true, "license": "MIT", "dependencies": { - "neo-async": "^2.6.2" + "@bufbuild/protobuf": "^2.5.0", + "colorjs.io": "^0.7.0", + "immutable": "^5.1.5", + "rxjs": "^7.4.0", + "supports-color": "^8.1.1", + "sync-child-process": "^1.0.2", + "varint": "^6.0.0" + }, + "bin": { + "sass": "dist/bin/sass.js" }, "engines": { - "node": ">= 18.12.0" + "node": ">=20.19.0" + }, + "optionalDependencies": { + "sass-embedded-all-unknown": "1.104.1", + "sass-embedded-android-arm": "1.104.1", + "sass-embedded-android-arm64": "1.104.1", + "sass-embedded-android-riscv64": "1.104.1", + "sass-embedded-android-x64": "1.104.1", + "sass-embedded-darwin-arm64": "1.104.1", + "sass-embedded-darwin-x64": "1.104.1", + "sass-embedded-linux-arm": "1.104.1", + "sass-embedded-linux-arm64": "1.104.1", + "sass-embedded-linux-musl-arm": "1.104.1", + "sass-embedded-linux-musl-arm64": "1.104.1", + "sass-embedded-linux-musl-riscv64": "1.104.1", + "sass-embedded-linux-musl-x64": "1.104.1", + "sass-embedded-linux-riscv64": "1.104.1", + "sass-embedded-linux-x64": "1.104.1", + "sass-embedded-unknown-all": "1.104.1", + "sass-embedded-win32-arm64": "1.104.1", + "sass-embedded-win32-x64": "1.104.1" + } + }, + "node_modules/sass-embedded-all-unknown": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-all-unknown/-/sass-embedded-all-unknown-1.104.1.tgz", + "integrity": "sha512-toyMCyUKkT6DsYlHuKZGjd8T6WltaW4TGX07F7HnF4tNJM5m/8VaVsd74zrq3QSPqGE9JjxIDK4NrNc/QY9pkA==", + "cpu": [ + "!arm", + "!arm64", + "!riscv64", + "!x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "sass": "1.104.1" + } + }, + "node_modules/sass-embedded-android-arm": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-android-arm/-/sass-embedded-android-arm-1.104.1.tgz", + "integrity": "sha512-g/XPAJYAzSSQZFP4xCdGD0HLKB4mf24cJ/+5Nls8rMool3jNkBv9+AFO4EV0b+RxN8rLcEsMccH1CR64yIFYcQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-arm64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.104.1.tgz", + "integrity": "sha512-yW3BVW4YFpN2vu2cVQ+Pz5JrRTvoIz36aCdo+J/Mo1A9gEN8eVPV/AL7aeZ803YdKgIitd3qw3pY4wpmT6TXNg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-riscv64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.104.1.tgz", + "integrity": "sha512-ZYY8oMKQS7Q/6FBoC8w3T16O3MucDe3xv8iKym41Nht5uvLCGGpm4fC4OF5nlv7wQkJv8oactYddGG3Wd0Rqkg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-x64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-android-x64/-/sass-embedded-android-x64-1.104.1.tgz", + "integrity": "sha512-5WZKC4lSfjMIjzZdQUlYQUAV+UiatBhD8w28U7cYLLj4/dMgEPOBd4g3VMv0BwpgH2JOaycMS42dXq29W2bcDg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-arm64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.104.1.tgz", + "integrity": "sha512-oatuHzn0NsEg0d9Dcze6CuWUPvuETtMxRK4cv0eRAg7p6R0vHnv5GZRyWG6gEy3nc/ha/L+GtTasWVU82f4jrQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-x64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.104.1.tgz", + "integrity": "sha512-gql/5sHGzUTVwuHfM3QLCDeb6NYwen+LLj22gz81C2NKHF/4nUtDyh4N+fURWdT7J0/EhtMOd0+FLML3sGNP7g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.104.1.tgz", + "integrity": "sha512-WfmshPJOp9vUKxgp8wZ2ncaKBbyrlW9J51M2aUQHWECjMNxTULnGOHWSmD7FViXv4zwn1Co5FIFQUipW7RCxtA==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": "glibc", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.104.1.tgz", + "integrity": "sha512-sVWUKXNTu8sP3X95Df0xo/t49Ce5IseTIMqXHxhFBKVmx7gf7kBWNLK0wH5ym+4khc+B5nNJPgq4IxpelG8tMQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": "glibc", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.104.1.tgz", + "integrity": "sha512-k0cQ/CxBzFVYiQEObg6CpF6CUglkdEhi/DZgZXQbwC27kbGGY+fatmIs/cFPJL2z1ulACwoAr86RQUFzYvw5eg==", + "cpu": [ + "arm" + ], + "dev": true, + "libc": "musl", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.104.1.tgz", + "integrity": "sha512-H7b+LzZ/w8pwNExInM8HDHraqvxCMdUc5ZRGU/aSJJhZ9HjeRKBjF3GxaisVHnx7o18j1l4VQ5cLBL9tTmNzZw==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": "musl", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-riscv64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.104.1.tgz", + "integrity": "sha512-9DYdn4wfrkidjxJVtEd2iCx8HKdZe+uF82GDmrYEZhgu4NjVE6a4fQyW7OLwzn3erZMHKBaObBOH1d37DnXI1A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": "musl", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-x64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.104.1.tgz", + "integrity": "sha512-5xz+nAr01b6yaRdrGVgE7lNvm1lGFjwNdUvnz+teidvHCbD5oTcbhrRVrnDoLHHvq5n3Jve9TzWaaHhezaEfHA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": "musl", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-riscv64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.104.1.tgz", + "integrity": "sha512-oWryPJWTXK5adtlz/FD7wd2kS4I0CEgp6mWLUVb4oMFURMLz9bA9fO87D7lc4SV++lds7T51PU1kykCbOvNHMg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": "glibc", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-x64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.104.1.tgz", + "integrity": "sha512-j/sX/yKTx/wJKepC5/ISlR6kPeSuHKThf76D2za5i2VnbHg0MN19jQq3WMorowR3kRghqt6azs3awogG+e7IRA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": "glibc", + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-unknown-all": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-unknown-all/-/sass-embedded-unknown-all-1.104.1.tgz", + "integrity": "sha512-RaMsYZB5mRioL4qhoI7T5mmNb2OunakbPTJW2cuu3MeIULnGoxo7Wd5QKFxeQvF7sSQL57RuaQ+q9pH+/pQ9Fg==", + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "!android", + "!darwin", + "!linux", + "!win32" + ], + "dependencies": { + "sass": "1.104.1" + } + }, + "node_modules/sass-embedded-win32-arm64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.104.1.tgz", + "integrity": "sha512-fS6DL7lcnTPclqGLF4xRt8egZlFY9cU23d57ufbWqaUbCFu9JTu0+8qB4jMxfx1la6byi3GoSTfbnNOLfWv8sw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-x64": { + "version": "1.104.1", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.104.1.tgz", + "integrity": "sha512-/c4N2A93Ckms6DuRFVftKYISuI1tyC8gmlVJ8WaWFzgCBN/Swq2rARJIBUNeuxlmxjmYXfd3+2f/u887K63wbA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded/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/sass-loader": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-17.0.1.tgz", + "integrity": "sha512-pgJMwCuLjVTSIWsv/2luVRXKlCeaViUGcgSe8dx95zMG4hUwqIMFmjbhq29ypFLflJU0GyiJZeLM9iI1n3KYAA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 22.11.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", + "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0", "sass": "^1.3.0", "sass-embedded": "*", "webpack": "^5.0.0" @@ -12960,9 +13935,6 @@ "@rspack/core": { "optional": true }, - "node-sass": { - "optional": true - }, "sass": { "optional": true }, @@ -12986,9 +13958,9 @@ } }, "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==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.5.0.tgz", + "integrity": "sha512-zJlMCZ0cAR5p/Y4oVpRoqioDMJcGxaXRrQ/4rP4WyR84vc5z/DolXdbvXeDpTwbtocDFr2rhPqHPErDCUtz2kA==", "dev": true, "license": "MIT", "dependencies": { @@ -13005,48 +13977,24 @@ "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==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-5.5.0.tgz", + "integrity": "sha512-ftnu3TW4+3eBfLRFnDEkzGxSF/10BJBkaLJuBHZX0kiPS7bRdlpZGu6YGt4KngMkdTwJE6MbjavFpqHvqVt+Ew==", "dev": true, "license": "MIT", "dependencies": { - "@types/node-forge": "^1.3.0", - "node-forge": "^1" + "@peculiar/x509": "^1.14.2", + "pkijs": "^3.3.3" }, "engines": { - "node": ">=10" + "node": ">=18" } }, "node_modules/semver": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", - "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, "license": "ISC", "bin": { @@ -13057,47 +14005,32 @@ } }, "node_modules/send": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz", - "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", "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" + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" }, "engines": { - "node": ">= 0.8.0" + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "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", @@ -13108,29 +14041,33 @@ "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==", + "node_modules/send/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/send/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/send/node_modules/statuses": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", @@ -13142,13 +14079,13 @@ } }, "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==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-7.1.2.tgz", + "integrity": "sha512-GL2BWwVa6JydKO6l/ljVgjAZF4QJ3S7dWDWi53s5GZT8PJzD2fNxi67HANQGKAqPrwEpL5ba7gUBGi0Ls/sEoQ==", "dev": true, "license": "BSD-3-Clause", - "dependencies": { - "randombytes": "^2.1.0" + "engines": { + "node": ">=20.0.0" } }, "node_modules/serve-index": { @@ -13219,19 +14156,23 @@ "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==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", "dev": true, "license": "MIT", "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "~0.19.1" + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/serve-static/node_modules/encodeurl": { @@ -13264,33 +14205,10 @@ "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==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.12.0.tgz", + "integrity": "sha512-PcByqNyT/38F2kDNi006HAMRJaULuBzq/FOsw3qdZvX/GA9W/jamDaRskgHjubHiftXK5sIFxLNkvrXUwcof6Q==", "dev": true, "license": "MIT", "engines": { @@ -13389,49 +14307,18 @@ "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==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-9.0.1.tgz", + "integrity": "sha512-aBY19bn/XA+hKOKX0qL7Z0UfdBsbQvc9hn993U8ALUjzxCvDcuZqLoRXjGJrUARWAlwMnsRVD9sw2AFNOYvalA==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" + "ansi-styles": "^6.2.3", + "is-fullwidth-code-point": "^5.1.0" }, "engines": { - "node": ">=12" + "node": ">=22" }, "funding": { "url": "https://github.com/chalk/slice-ansi?sponsor=1" @@ -13450,17 +14337,6 @@ "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", @@ -13505,56 +14381,14 @@ "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==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0.tgz", + "integrity": "sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ==", "dev": true, "license": "BSD-3-Clause", "engines": { - "node": ">= 8" + "node": ">= 12" } }, "node_modules/source-map-js": { @@ -13588,19 +14422,6 @@ "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", @@ -13622,87 +14443,6 @@ "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", @@ -13713,6 +14453,49 @@ "node": ">= 0.6" } }, + "node_modules/stdin-discarder": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.3.2.tgz", + "integrity": "sha512-eCPu1qRxPVkl5605OTWF8Wz40b4Mf45NY5LQmVPQ599knfs5QhASUm9GbJ5BDMDOXgrnh0wyEdvzmL//YMlw0A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/stream-parser": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", + "integrity": "sha512-bJ/HgKq41nlKvlhccD5kaCr/P+Hu0wPNKPJOH7en+YrJu/9EgqUF+88w5Jb6KNcjOFMhfX4B2asfeAtIGuHObQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "2" + } + }, + "node_modules/stream-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", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/stream-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", + "optional": true + }, "node_modules/streamroller": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz", @@ -13728,16 +14511,6 @@ "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", @@ -13756,62 +14529,6 @@ "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", @@ -13828,30 +14545,6 @@ "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", @@ -13865,27 +14558,27 @@ "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==", + "node_modules/sync-child-process": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/sync-child-process/-/sync-child-process-1.1.0.tgz", + "integrity": "sha512-1LMf/x0kU0CKFSesh5DfYktvj1KhiqYi5LAh5HU2G4SkKk1TGDhsMFBOL47g/E+mNfYpgs365pVNlIYOIHPvlQ==", "dev": true, "license": "MIT", - "engines": { - "node": ">= 0.4" + "dependencies": { + "sync-message-port": "^1.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=16.0.0" } }, - "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==", + "node_modules/sync-message-port": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/sync-message-port/-/sync-message-port-1.2.0.tgz", + "integrity": "sha512-gAQ9qrUN/UCypHtGFbbe7Rc/f9bzO88IwrG8TDo/aMKAApKyD6E3W4Cm0EfhfBb6Z6SKt59tTCTfD+n1xmAvMg==", "dev": true, "license": "MIT", "engines": { - "node": ">=0.10" + "node": ">=16.0.0" } }, "node_modules/tapable": { @@ -13902,117 +14595,15 @@ "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==", + "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.8.2", + "acorn": "^8.15.0", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, @@ -14023,67 +14614,6 @@ "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", @@ -14175,37 +14705,32 @@ "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==", + "node_modules/tsyringe": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/tsyringe/-/tsyringe-4.10.0.tgz", + "integrity": "sha512-axr3IdNuVIxnaK5XGEUFTu3YmAQ6lllgrvqfEoR16g/HGnYY/6We4oWENtAnzK6/LpJ2ur9PAb80RBt7/U4ugw==", "dev": true, "license": "MIT", "dependencies": { - "@tufjs/models": "3.0.1", - "debug": "^4.4.1", - "make-fetch-happen": "^14.0.3" + "tslib": "^1.9.3" }, "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": ">= 6.0.0" } }, + "node_modules/tsyringe/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true, + "license": "0BSD" + }, "node_modules/type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", @@ -14228,9 +14753,9 @@ "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==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -14312,45 +14837,6 @@ "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", @@ -14419,38 +14905,23 @@ "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==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-8.0.0.tgz", + "integrity": "sha512-SCv6OOV6Xj2/3cXy3dGmADluJTNcL3o7hZAglNPTe+WYuEuvxgJzxPrSDLZhF+CwyQOubqgecjMmTJGMVLWjYQ==", "dev": true, "license": "ISC", "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, + "node_modules/varint": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==", + "dev": true, + "license": "MIT" + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -14461,563 +14932,17 @@ "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==", + "node_modules/verkit": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.3.2.tgz", + "integrity": "sha512-zj/ob3UsvJGN0whEAKFp53REA5X66hvffVqoCtVQAakJKnKlH+/PcOfMoFwIG/o4rElqLv/ycAFlx8ZlXUorCg==", "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" + "node": ">=18.12.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" + "url": "https://github.com/sponsors/sxzz" } }, "node_modules/void-elements": { @@ -15030,40 +14955,6 @@ "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", @@ -15073,9 +14964,9 @@ "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==", + "version": "5.111.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.111.0.tgz", + "integrity": "sha512-A2R74kfE6b3eLKS91iZiol03Ebx7avmJJBOyiP+4LePW9NNeNJGQkKeSQos4dk6R4H0YAMYlv+aOrs1CyWT3eA==", "dev": true, "license": "MIT", "dependencies": { @@ -15084,17 +14975,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", + "enhanced-resolve": "^5.25.0", "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", + "schema-utils": "^4.5.0", "tapable": "^2.3.0", "watchpack": "^2.5.2", "webpack-sources": "^3.5.1" @@ -15116,28 +15005,27 @@ } }, "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==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-8.3.0.tgz", + "integrity": "sha512-jFNNMB29ugmkEUFW9cpWNqcWFQNwuMTMVoRpKVAiz/5nh3gA4x9x6DRPhNHGc/SLre7pEP9yrAPDAmCvdCblKg==", "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" + "ansi-html-community": "^0.0.8", + "memfs": "^4.68.2", + "mime-types": "^3.0.2", + "range-parser": "^1.3.0", + "schema-utils": "^4.3.3" }, "engines": { - "node": ">= 18.12.0" + "node": ">= 20.9.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "webpack": "^5.0.0" + "webpack": "^5.101.0" }, "peerDependenciesMeta": { "webpack": { @@ -15145,54 +15033,78 @@ } } }, + "node_modules/webpack-dev-middleware/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-dev-middleware/node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "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==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-6.0.0.tgz", + "integrity": "sha512-q9SD4ItOGhZLeU6EGT10caDZdHjF50Pz1DtkRZZOPsfluMXOkacWKKOtSBSLVkPqKiF67eFUC0rI88U/tSFPEw==", "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/express": "^5.0.6", + "@types/express-serve-static-core": "^5.1.1", "@types/serve-index": "^1.9.4", - "@types/serve-static": "^1.15.5", - "@types/sockjs": "^0.3.36", - "@types/ws": "^8.5.10", + "@types/serve-static": "^2.2.0", + "@types/ws": "^8.18.1", "ansi-html-community": "^0.0.8", - "bonjour-service": "^1.2.1", - "chokidar": "^3.6.0", - "colorette": "^2.0.10", - "compression": "^1.7.4", + "bonjour-service": "^1.3.0", + "chokidar": "^5.0.0", + "compression": "^1.8.1", "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" + "express": "^5.2.1", + "graceful-fs": "^4.2.11", + "http-proxy-middleware": "^4.1.1", + "ipaddr.js": "^2.3.0", + "launch-editor": "^2.14.1", + "open": "^11.0.0", + "p-retry": "^8.0.0", + "schema-utils": "^4.3.3", + "selfsigned": "^5.5.0", + "serve-index": "^1.9.2", + "tinyglobby": "^0.2.15", + "webpack-dev-middleware": "^8.0.3", + "ws": "^8.20.0" }, "bin": { "webpack-dev-server": "bin/webpack-dev-server.js" }, "engines": { - "node": ">= 18.12.0" + "node": ">= 22.15.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "webpack": "^5.0.0" + "webpack": "^5.101.0" }, "peerDependenciesMeta": { "webpack": { @@ -15203,95 +15115,6 @@ } } }, - "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", @@ -15362,31 +15185,6 @@ "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", @@ -15408,147 +15206,34 @@ "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==", + "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": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.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" + "node": ">=18" }, "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==", + "node_modules/wrap-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": ">=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" + "node": ">=12" }, - "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" + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/wrappy": { @@ -15580,6 +15265,30 @@ } } }, + "node_modules/wsl-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-1.0.1.tgz", + "integrity": "sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0", + "powershell-utils": "^0.2.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/xxhash-wasm": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz", + "integrity": "sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA==", + "dev": true, + "license": "MIT" + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -15598,106 +15307,67 @@ "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==", + "version": "18.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.1.0.tgz", + "integrity": "sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg==", "dev": true, "license": "MIT", "dependencies": { - "cliui": "^8.0.1", + "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", + "string-width": "^8.2.1", "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" }, "engines": { - "node": ">=12" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "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==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", "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": "^20.19.0 || ^22.12.0 || >=23" } }, "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==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz", + "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==", "dev": true, "license": "MIT", "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" }, "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" + "node": ">=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==", + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoctocolors": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.2.0.tgz", + "integrity": "sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==", "dev": true, "license": "MIT", "engines": { @@ -15707,6 +15377,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/zod": { + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.6.tgz", + "integrity": "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "node_modules/zone.js": { "version": "0.15.1", "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.15.1.tgz", diff --git a/spring-angular-ui/package.json b/spring-angular-ui/package.json index 3c10bcb..360cfad 100644 --- a/spring-angular-ui/package.json +++ b/spring-angular-ui/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "ng serve", + "start": "ng serve --proxy-config src/proxy.conf.json", "build": "ng build", "build_dev": "ng build --configuration development", "watch": "ng build --watch --configuration development", @@ -11,38 +11,33 @@ }, "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", + "@angular/animations": "^22.2.3", + "@angular/cdk": "^22.2.3", + "@angular/common": "^22.2.3", + "@angular/compiler": "^22.2.3", + "@angular/core": "^22.2.3", + "@angular/forms": "^22.2.3", + "@angular/material": "^22.2.3", + "@angular/platform-browser": "^22.2.3", + "@angular/platform-browser-dynamic": "^22.2.3", + "@angular/router": "^22.2.3", "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", + "@angular-devkit/build-angular": "^22.2.3", + "@angular/cli": "^22.2.3", + "@angular/compiler-cli": "~22.2.3", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", + "istanbul-lib-instrument": "^6.0.3", "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" + "typescript": "~6.0.3" } } 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 deleted file mode 100644 index 574fc89..0000000 --- a/spring-angular-ui/src/app/_shared/event-bus.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -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 deleted file mode 100644 index f95b6f6..0000000 --- a/spring-angular-ui/src/app/_shared/event-bus.service.ts +++ /dev/null @@ -1,21 +0,0 @@ -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 deleted file mode 100644 index 488e84c..0000000 --- a/spring-angular-ui/src/app/_shared/event.class.ts +++ /dev/null @@ -1,9 +0,0 @@ -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 index 42b4761..16a580d 100644 --- a/spring-angular-ui/src/app/app-routing.module.ts +++ b/spring-angular-ui/src/app/app-routing.module.ts @@ -4,25 +4,20 @@ import { TutorialsListComponent } from './components/tutorials-list/tutorials-li 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'; +import { adminGuard, authGuard } from './helpers/auth.guard'; 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: 'profile', component: ProfileComponent, canActivate: [authGuard] }, + { path: 'admin', component: BoardAdminComponent, canActivate: [adminGuard] }, { path: '', redirectTo: 'home', pathMatch: 'full' }, { path: 'tutorials', component: TutorialsListComponent }, - { path: 'tutorials/:id', component: TutorialDetailsComponent }, - { path: 'add', component: AddTutorialComponent } + { path: 'tutorials/:id', component: TutorialDetailsComponent, canActivate: [authGuard] }, + { path: 'add', component: AddTutorialComponent, canActivate: [authGuard] } ]; @NgModule({ diff --git a/spring-angular-ui/src/app/app.component.html b/spring-angular-ui/src/app/app.component.html index 3b04f43..937c510 100644 --- a/spring-angular-ui/src/app/app.component.html +++ b/spring-angular-ui/src/app/app.component.html @@ -1,79 +1,66 @@ -
-
+ } @else { + - + + + person + Profile + + + + + } + - - - -
- -
- +
+ +
diff --git a/spring-angular-ui/src/app/app.component.scss b/spring-angular-ui/src/app/app.component.scss index 71f33cb..0f93471 100644 --- a/spring-angular-ui/src/app/app.component.scss +++ b/spring-angular-ui/src/app/app.component.scss @@ -1,6 +1,85 @@ -//#header_panel{ -// background-color: #181d1f; -//} -.example-spacer { +@use '@angular/material' as mat; + +.app-toolbar { + @include mat.toolbar-overrides(( + container-background-color: var(--mat-sys-surface-container), + container-text-color: var(--mat-sys-on-surface), + )); + + position: sticky; + top: 0; + z-index: 10; + gap: 8px; + padding: 0 16px; + box-shadow: var(--mat-sys-level2); +} + +// Bootstrap (CDN) подчёркивает ссылки при наведении — для кнопок это лишнее +a, +a:hover { + text-decoration: none; +} + +.brand { + display: flex; + align-items: center; + gap: 8px; + margin-right: 16px; + color: var(--mat-sys-primary); + font: var(--mat-sys-title-large); + white-space: nowrap; +} + +.nav { + display: flex; + gap: 4px; +} + +.nav a { + @include mat.button-overrides(( + text-label-text-color: var(--mat-sys-on-surface-variant), + )); +} + +.nav a.active { + @include mat.button-overrides(( + text-label-text-color: var(--mat-sys-on-secondary-container), + )); + + background-color: var(--mat-sys-secondary-container); +} + +.spacer { flex: 1 1 auto; } + +.actions { + display: flex; + gap: 8px; +} + +// На узких экранах оставляем только иконки +@media (max-width: 768px) { + .brand span, + .label { + display: none; + } + + .user-button mat-icon[iconPositionEnd] { + display: none; + } + + // Без подписи иконка должна стоять по центру кнопки + .nav a, + .actions > *, + .user-button { + min-width: 48px; + padding: 0 12px; + } + + .nav mat-icon, + .actions mat-icon, + .user-button mat-icon { + margin: 0; + } +} diff --git a/spring-angular-ui/src/app/app.component.ts b/spring-angular-ui/src/app/app.component.ts index 819c3b1..d498984 100644 --- a/spring-angular-ui/src/app/app.component.ts +++ b/spring-angular-ui/src/app/app.component.ts @@ -1,113 +1,56 @@ -import {Component, inject, OnInit} from '@angular/core'; +import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; + +import { DialogComponent } from './components/dialog/dialog.component'; +import { AuthService } from './services/auth.service'; 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 + selector: 'app-root', + templateUrl: './app.component.html', + styleUrls: ['./app.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) export class AppComponent implements OnInit { - readonly dialog = inject(MatDialog); - //private authService = new AuthService(provideHttpClient()) - public dialogData : DialogData = {password: "", username: ""}; + private readonly dialog = inject(MatDialog); + private readonly authService = inject(AuthService); + private readonly storageService = inject(TokenStorageService); - 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; + if (!this.isLoggedIn) { + return; } - this.eventBusSub = this.eventBusService.on('logout', () => { - this.logout(); + const user = this.storageService.getUser(); + const roles: string[] = user.roles ?? []; + + this.showAdminBoard = roles.includes('ROLE_ADMIN'); + this.username = user.username; + } + + openDialog(): void { + // Вход выполняет сам диалог и при успехе перезагружает страницу + this.dialog.open(DialogComponent, { + width: '400px', + maxWidth: '95vw', + enterAnimationDuration: '100ms', + exitAnimationDuration: '5ms' }); } logout(): void { this.authService.logout().subscribe({ - next: res => { - console.log(res); + next: () => { this.storageService.clean(); - window.location.reload(); }, - error: err => { - console.log(err); - } + error: err => console.error('Logout failed', 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 index fd99601..747ee26 100644 --- a/spring-angular-ui/src/app/app.module.ts +++ b/spring-angular-ui/src/app/app.module.ts @@ -2,30 +2,32 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; -import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import {FormsModule} 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 {provideHttpClient, withXhr} 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 {MatButtonModule} from "@angular/material/button"; +import {MatCardModule} from "@angular/material/card"; +import {MatInputModule} from "@angular/material/input"; +import {MatListModule} from "@angular/material/list"; 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"; +import {MatMenu, MatMenuItem, MatMenuTrigger} from "@angular/material/menu"; +import {MatDivider} from "@angular/material/divider"; +import {MatPaginatorModule} from "@angular/material/paginator"; +import {MatSortModule} from "@angular/material/sort"; +import {MatTableModule} from "@angular/material/table"; +import {MatTooltipModule} from "@angular/material/tooltip"; @@ -39,9 +41,7 @@ import {MatFormField} from "@angular/material/form-field"; RegisterComponent, HomeComponent, ProfileComponent, - BoardAdminComponent, - BoardModeratorComponent, - BoardUserComponent + BoardAdminComponent ], bootstrap: [AppComponent], @@ -49,23 +49,22 @@ import {MatFormField} from "@angular/material/form-field"; BrowserModule, AppRoutingModule, FormsModule, - LoginComponent, MatToolbar, - MatButton, + MatButtonModule, + MatCardModule, + MatInputModule, + MatListModule, MatIcon, - MatAnchor, - MatChipGrid, - MatChipRow, - MatChipInput, - MatAutocompleteTrigger, - MatAutocomplete, - MatOption, - MatFormField, - MatChipListbox, - MatChipOption, - ReactiveFormsModule + MatMenu, + MatMenuItem, + MatMenuTrigger, + MatDivider, + MatTableModule, + MatSortModule, + MatPaginatorModule, + MatTooltipModule ], - providers: [authInterceptorProviders, provideHttpClient(withInterceptorsFromDi()), provideAnimationsAsync()] }) + providers: [provideHttpClient(withXhr()), provideAnimationsAsync()] }) export class AppModule { } diff --git a/spring-angular-ui/src/app/components/_tutorial-shared.scss b/spring-angular-ui/src/app/components/_tutorial-shared.scss new file mode 100644 index 0000000..6e90b59 --- /dev/null +++ b/spring-angular-ui/src/app/components/_tutorial-shared.scss @@ -0,0 +1,75 @@ +// Общие стили экранов туториалов (список, добавление, редактирование) +@use '@angular/material' as mat; + +.page { + max-width: 960px; + margin: 0 auto; +} + +.page.narrow { + max-width: 560px; +} + +.page-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + margin-bottom: 16px; +} + +.page-title { + margin: 0; + font: var(--mat-sys-headline-small); + color: var(--mat-sys-on-surface); +} + +a, +a:hover { + text-decoration: none; +} + +.status { + display: inline-block; + padding: 2px 10px; + border-radius: 8px; + font: var(--mat-sys-label-medium); + background-color: var(--mat-sys-surface-container-highest); + color: var(--mat-sys-on-surface-variant); +} + +.status.published { + background-color: var(--mat-sys-tertiary-container); + color: var(--mat-sys-on-tertiary-container); +} + +.empty { + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + padding: 48px 16px; + text-align: center; + color: var(--mat-sys-on-surface-variant); + + mat-icon { + width: 48px; + height: 48px; + font-size: 48px; + opacity: 0.6; + } + + p { + margin: 0; + } +} + +.danger { + @include mat.button-overrides(( + text-label-text-color: var(--mat-sys-error), + )); +} + +.full-width { + width: 100%; +} diff --git a/spring-angular-ui/src/app/components/_user-shared.scss b/spring-angular-ui/src/app/components/_user-shared.scss new file mode 100644 index 0000000..5c71ac6 --- /dev/null +++ b/spring-angular-ui/src/app/components/_user-shared.scss @@ -0,0 +1,51 @@ +// Общие стили пользователя: аватар с инициалами и чипы ролей (админка, профиль) + +.avatar { + display: inline-flex; + align-items: center; + justify-content: center; + flex: none; + width: 36px; + height: 36px; + border-radius: 50%; + font: var(--mat-sys-title-small); + text-transform: uppercase; + background-color: var(--mat-sys-primary-container); + color: var(--mat-sys-on-primary-container); +} + +.avatar.large { + width: 88px; + height: 88px; + font: var(--mat-sys-headline-medium); +} + +.roles { + display: flex; + flex-wrap: wrap; + gap: 6px; +} + +.role { + display: inline-block; + padding: 2px 10px; + border-radius: 8px; + font: var(--mat-sys-label-medium); + background-color: var(--mat-sys-surface-container-highest); + color: var(--mat-sys-on-surface-variant); +} + +.role.ROLE_ADMIN { + background-color: var(--mat-sys-error-container); + color: var(--mat-sys-on-error-container); +} + +.role.ROLE_MODERATOR { + background-color: var(--mat-sys-tertiary-container); + color: var(--mat-sys-on-tertiary-container); +} + +.role.ROLE_USER { + background-color: var(--mat-sys-secondary-container); + color: var(--mat-sys-on-secondary-container); +} 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 index bbdb7a3..7058870 100644 --- 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 @@ -1,35 +1,49 @@ -
-
-
-
- - -
- -
- - -
- - -
- -
-

Tutorial was submitted successfully!

- -
+ \ No newline at end of file + + + @if (!submitted) { +
+ + + Title + + Title is required + + + + Description + + {{ description.value.length }} / 255 + + + + + + +
+ } @else { +
+ check_circle +

Tutorial was created successfully!

+
+ Go to list + +
+
+ } +
+
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 index 2824850..6b9776d 100644 --- 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 @@ -1,4 +1,20 @@ -.submit-form { - max-width: 400px; - margin: auto; -} \ No newline at end of file +@use '../tutorial-shared'; + +mat-card-content { + padding-top: 16px; +} + +mat-card-actions { + padding: 8px 16px 16px; +} + +.success mat-icon { + color: var(--mat-sys-primary); + opacity: 1; +} + +.success-actions { + display: flex; + gap: 8px; + margin-top: 8px; +} 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 index 49a057e..0059058 100644 --- 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 @@ -1,26 +1,24 @@ -import { Component, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, Component, inject } from '@angular/core'; +import { MatSnackBar } from '@angular/material/snack-bar'; + +import { httpErrorMessage } from 'src/app/helpers/http-error'; 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 + selector: 'app-add-tutorial', + templateUrl: './add-tutorial.component.html', + styleUrls: ['./add-tutorial.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) -export class AddTutorialComponent implements OnInit { +export class AddTutorialComponent { + private readonly tutorialService = inject(TutorialService); + private readonly snackBar = inject(MatSnackBar); - tutorial: Tutorial = { - title: '', - description: '', - published: false - }; + tutorial: Tutorial = this.emptyTutorial(); submitted = false; - - constructor(private tutorialService: TutorialService) { } - - ngOnInit(): void { - } + saving = false; saveTutorial(): void { const data = { @@ -28,23 +26,25 @@ export class AddTutorialComponent implements OnInit { description: this.tutorial.description }; - this.tutorialService.create(data) - .subscribe( - response => { - console.log(response); - this.submitted = true; - }, - error => { - console.log(error); - }); + this.saving = true; + this.tutorialService.create(data).subscribe({ + next: () => { + this.saving = false; + this.submitted = true; + }, + error: err => { + this.saving = false; + this.snackBar.open(httpErrorMessage(err), 'OK', { duration: 5000 }); + } + }); } newTutorial(): void { this.submitted = false; - this.tutorial = { - title: '', - description: '', - published: false - }; + this.tutorial = this.emptyTutorial(); } -} \ No newline at end of file + + private emptyTutorial(): Tutorial { + return { title: '', description: '', published: false }; + } +} 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 index c986337..7957203 100644 --- 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 @@ -1,51 +1,70 @@ -
-

Users List

-
    -
  • + - > - {{ row.username }} + + Search by name, email or role + search + + @if (search.value) { + + } + - {{ row.email}} - {{ row.password}} + + + + + + - - - - @for (role of row.roles; track $index) { - - {{role.name}} - - - } - - - - @for (role of filteredRoles(row.roles); track role) { - {{role.name}} - } - + + + + - - - + + + + - + + + + + + + + + + +
    User +
    + {{ initials(user) }} + {{ user.username }} + @if (user.id === currentUserId) { + you + } +
    +
    EmailRoles +
    + @for (role of user.roles; track role.id) { + {{ roleLabel(role.name) }} + } +
    +
    + +
    + {{ search.value ? 'No users match "' + search.value + '"' : 'No users yet' }} +
    + + + +
- 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 index fecda9c..dbbbf90 100644 --- 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 @@ -1,3 +1,55 @@ -.example-chip-list { +@use '../tutorial-shared'; +@use '../user-shared'; + +.search { + width: 100%; + margin-bottom: 16px; +} + +.table-card { + overflow: hidden; +} + +table { width: 100%; } + +.user-cell { + display: flex; + align-items: center; + gap: 12px; +} + +.username { + font: var(--mat-sys-title-small); +} + +.you { + padding: 0 6px; + border: 1px solid var(--mat-sys-outline-variant); + border-radius: 6px; + font: var(--mat-sys-label-small); + color: var(--mat-sys-on-surface-variant); +} + +.email { + color: var(--mat-sys-on-surface-variant); +} + +.actions { + width: 56px; + text-align: right; +} + +.no-data { + padding: 32px 16px; + text-align: center; + color: var(--mat-sys-on-surface-variant); +} + +// На узких экранах email не помещается — прячем колонку +@media (max-width: 600px) { + .mat-column-email { + display: none; + } +} 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 index 735ee56..22796a0 100644 --- 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 @@ -1,124 +1,101 @@ -import {Component, computed, model, OnInit} from '@angular/core'; +import { ChangeDetectionStrategy, Component, inject, OnInit, ViewChild } from '@angular/core'; +import { HttpErrorResponse } from '@angular/common/http'; +import { MatDialog } from '@angular/material/dialog'; +import { MatPaginator } from '@angular/material/paginator'; +import { MatSnackBar } from '@angular/material/snack-bar'; +import { MatSort } from '@angular/material/sort'; +import { MatTableDataSource } from '@angular/material/table'; + +import { httpErrorMessage } from 'src/app/helpers/http-error'; +import { Role, roleLabel } from 'src/app/models/role'; +import { User } from 'src/app/models/user.model'; +import { RolesService } from 'src/app/services/roles.service'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; 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"; - - +import { RolesDialogComponent, RolesDialogData } from '../roles-dialog/roles-dialog.component'; @Component({ - selector: 'app-board-admin', - templateUrl: './board-admin.component.html', - styleUrls: ['./board-admin.component.scss'], - standalone: false, - + selector: 'app-board-admin', + templateUrl: './board-admin.component.html', + styleUrls: ['./board-admin.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) export class BoardAdminComponent implements OnInit { - private gridApi: any; + private readonly userService = inject(UserService); + private readonly rolesService = inject(RolesService); + private readonly tokenStorage = inject(TokenStorageService); + private readonly dialog = inject(MatDialog); + private readonly snackBar = inject(MatSnackBar); - readonly separatorKeysCodes: number[] = [ENTER, COMMA]; - rowData?: User[]; - allRoles: any; + readonly displayedColumns = ['username', 'email', 'roles', 'actions']; + readonly dataSource = new MatTableDataSource([]); + readonly roleLabel = roleLabel; + readonly currentUserId = this.tokenStorage.getUser().id; - readonly currentRole = model(''); + private allRoles: Role[] = []; - protected myControl = new FormControl(''); - protected ac = new FormControl(''); + @ViewChild(MatSort) set sort(sort: MatSort) { + this.dataSource.sort = sort; + } - - constructor(private userService: UserService, private roleService: RolesService ) { - this.getAllRoles(); - } + @ViewChild(MatPaginator) set paginator(paginator: MatPaginator) { + this.dataSource.paginator = paginator; + } ngOnInit(): void { + this.dataSource.sortingDataAccessor = (user, column) => + column === 'roles' ? (user.roles ?? []).length : String((user as any)[column] ?? '').toLowerCase(); + this.dataSource.filterPredicate = (user, filter) => + [user.username, user.email, ...(user.roles ?? []).map(role => roleLabel(role.name))] + .some(value => value?.toLowerCase().includes(filter)); - //this.myControl.valueChanges.pipe( - // startWith(''), - // map(value => this._filter(value || '')), - //); + this.userService.getAll().subscribe({ + // На пустой результат сервер отвечает 204 без тела + next: users => this.dataSource.data = users ?? [], + error: err => this.showError(err) + }); + this.rolesService.getAllRoles().subscribe({ + next: roles => this.allRoles = roles ?? [], + error: err => this.showError(err) + }); + } - this.userService.getAdminBoard().subscribe( - (data : any) => { - this.rowData = data; + applyFilter(value: string): void { + this.dataSource.filter = value.trim().toLowerCase(); + this.dataSource.paginator?.firstPage(); + } + + initials(user: User): string { + return (user.username ?? '?').slice(0, 2); + } + + editRoles(user: User): void { + const data: RolesDialogData = { user, allRoles: this.allRoles }; + this.dialog.open(RolesDialogComponent, { width: '360px', data }) + .afterClosed() + .subscribe((roles?: string[]) => { + if (roles) { + this.saveRoles(user, roles); + } + }); + } + + private saveRoles(user: User, roles: string[]): void { + this.userService.updateRoles(user.id, roles).subscribe({ + next: updated => { + this.dataSource.data = this.dataSource.data.map(u => u.id === updated.id ? updated : u); + if (updated.id === this.currentUserId) { + // Собственные роли хранятся в сессии — обновляем, чтобы меню и доступы совпадали с сервером + this.tokenStorage.saveUser({ ...this.tokenStorage.getUser(), roles }); + } + this.snackBar.open(`Roles of ${updated.username} were updated`, 'OK', { duration: 3000 }); }, - (err : any)=> { - this.rowData = JSON.parse(err.error).message; - } - - ); + error: err => this.showError(err) + }); } - 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), - ) + private showError(err: HttpErrorResponse): void { + this.snackBar.open(httpErrorMessage(err), 'OK', { duration: 5000 }); } } 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 deleted file mode 100644 index 16287a2..0000000 --- a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.html +++ /dev/null @@ -1 +0,0 @@ -

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 deleted file mode 100644 index e69de29..0000000 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 deleted file mode 100644 index dff7faa..0000000 --- a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index daad28f..0000000 --- a/spring-angular-ui/src/app/components/board-moderator/board-moderator.component.ts +++ /dev/null @@ -1,16 +0,0 @@ -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 deleted file mode 100644 index 76c5fa7..0000000 --- a/spring-angular-ui/src/app/components/board-user/board-user.component.html +++ /dev/null @@ -1 +0,0 @@ -

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 deleted file mode 100644 index e69de29..0000000 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 deleted file mode 100644 index 23555bb..0000000 --- a/spring-angular-ui/src/app/components/board-user/board-user.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index 487eddf..0000000 --- a/spring-angular-ui/src/app/components/board-user/board-user.component.ts +++ /dev/null @@ -1,16 +0,0 @@ -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 index 9464edd..acc8edf 100644 --- a/spring-angular-ui/src/app/components/dialog/dialog.component.html +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.html @@ -1,29 +1,51 @@ -

Hi

-
-

User name

- - - -

Password

- - Enter your password - - - -
+
+
+ login +

Sign in

+

Welcome back! Enter your details to continue.

+
-
- - -
+ + + Username + person + + Username is required + + + + Password + lock + + + Password is required + + + @if (errorMessage()) { + + } + +

+ info + Demo: Admin / pwd123 +

+
+ + + +

+ No account yet? + Create one +

+
+
diff --git a/spring-angular-ui/src/app/components/dialog/dialog.component.scss b/spring-angular-ui/src/app/components/dialog/dialog.component.scss index 292c1b2..8f3947e 100644 --- a/spring-angular-ui/src/app/components/dialog/dialog.component.scss +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.scss @@ -1,4 +1,102 @@ +.heading { + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + padding: 24px 24px 8px; + text-align: center; +} -.fillField{ +.heading-icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 56px; + height: 56px; + border-radius: 50%; + background-color: var(--mat-sys-primary-container); + color: var(--mat-sys-on-primary-container); +} + +.title { + margin: 0; + font: var(--mat-sys-headline-small); + color: var(--mat-sys-on-surface); +} + +.subtitle { + margin: 0; + font: var(--mat-sys-body-medium); + color: var(--mat-sys-on-surface-variant); +} + +mat-dialog-content { + padding-top: 16px !important; +} + +.full-width { width: 100%; -}; +} + +mat-form-field { + margin-bottom: 4px; +} + +.error-box { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 12px; + padding: 12px; + border-radius: 8px; + font: var(--mat-sys-body-medium); + background-color: var(--mat-sys-error-container); + color: var(--mat-sys-on-error-container); +} + +.demo-hint { + display: flex; + align-items: center; + gap: 8px; + margin: 0; + font: var(--mat-sys-body-small); + color: var(--mat-sys-on-surface-variant); + + mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + } + + code { + padding: 1px 6px; + border-radius: 4px; + font-weight: 500; + background-color: var(--mat-sys-surface-container-highest); + color: var(--mat-sys-primary); + } +} + +.actions { + flex-direction: column; + align-items: stretch; + gap: 8px; + padding: 8px 24px 24px; +} + +.register { + margin: 0; + text-align: center; + font: var(--mat-sys-body-medium); + color: var(--mat-sys-on-surface-variant); + + a { + font-weight: 500; + color: var(--mat-sys-primary); + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } +} diff --git a/spring-angular-ui/src/app/components/dialog/dialog.component.ts b/spring-angular-ui/src/app/components/dialog/dialog.component.ts index ae8be84..de885be 100644 --- a/spring-angular-ui/src/app/components/dialog/dialog.component.ts +++ b/spring-angular-ui/src/app/components/dialog/dialog.component.ts @@ -1,47 +1,55 @@ -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"; - +import { ChangeDetectionStrategy, Component, inject, signal } from '@angular/core'; +import { FormsModule } from '@angular/forms'; +import { RouterLink } from '@angular/router'; +import { MatButtonModule } from '@angular/material/button'; +import { MatDialogModule, MatDialogRef } from '@angular/material/dialog'; +import { MatIcon } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { AuthService } from 'src/app/services/auth.service'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; +// Диалог входа: сам выполняет логин и закрывается только при успехе @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' + selector: 'app-dialog', + imports: [FormsModule, RouterLink, MatButtonModule, MatDialogModule, MatIcon, MatInputModule], + changeDetection: ChangeDetectionStrategy.OnPush, + templateUrl: './dialog.component.html', + styleUrl: './dialog.component.scss' }) export class DialogComponent { - readonly dialogRef = inject(MatDialogRef); - hide = signal(true); + private readonly dialogRef = inject(MatDialogRef); + private readonly authService = inject(AuthService); + private readonly tokenStorage = inject(TokenStorageService); - constructor( - @Inject(MAT_DIALOG_DATA) public data:DialogData) {} + username = ''; + password = ''; + readonly hidePassword = signal(true); + readonly submitting = signal(false); + readonly errorMessage = signal(''); - onNoClick() { - this.dialogRef.close(); - } - - - clickEvent(event: MouseEvent) { - this.hide.set(!this.hide()); + togglePassword(event: MouseEvent): void { + this.hidePassword.update(hide => !hide); event.stopPropagation(); } + + signIn(): void { + this.submitting.set(true); + this.errorMessage.set(''); + + this.authService.login(this.username, this.password).subscribe({ + next: user => { + this.tokenStorage.saveUser(user); + this.dialogRef.close(true); + // Перезагрузка нужна, чтобы шапка и страницы подхватили вошедшего пользователя + window.location.reload(); + }, + error: err => { + this.submitting.set(false); + this.errorMessage.set(err.status === 401 + ? 'Wrong username or password' + : err.error?.message ?? 'Login failed, please try again'); + } + }); + } } - - - diff --git a/spring-angular-ui/src/app/components/home/home.component.html b/spring-angular-ui/src/app/components/home/home.component.html index df77501..f093d8b 100644 --- a/spring-angular-ui/src/app/components/home/home.component.html +++ b/spring-angular-ui/src/app/components/home/home.component.html @@ -1,5 +1,38 @@ -
-
-

{{ content }}

-
-
\ No newline at end of file +
+ @if (!isLoggedIn) { +
+ info +
+ This is a demo project. + Log in as Admin with password pwd123 to try editing tutorials and the admin page. +
+
+ } + + + + @if (tutorials.length) { +
+ @for (tutorial of tutorials; track tutorial.id) { + + + article + {{ tutorial.title }} + + +

{{ tutorial.description || 'No description' }}

+
+
+ } +
+ } @else if (loaded) { + +
+ menu_book +

No published tutorials yet

+
+
+ } +
diff --git a/spring-angular-ui/src/app/components/home/home.component.scss b/spring-angular-ui/src/app/components/home/home.component.scss index e69de29..950b2c2 100644 --- a/spring-angular-ui/src/app/components/home/home.component.scss +++ b/spring-angular-ui/src/app/components/home/home.component.scss @@ -0,0 +1,49 @@ +@use '../tutorial-shared'; + +.grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); + gap: 16px; +} + +.tutorial-card { + height: 100%; +} + +.card-icon { + display: flex; + align-items: center; + justify-content: center; + background-color: var(--mat-sys-primary-container); + color: var(--mat-sys-on-primary-container); +} + +mat-card-content { + padding-top: 12px; +} + +.description { + margin: 0; + white-space: pre-line; + color: var(--mat-sys-on-surface-variant); +} + +.demo-banner { + display: flex; + align-items: flex-start; + gap: 12px; + margin-bottom: 24px; + padding: 16px; + border-radius: 12px; + font: var(--mat-sys-body-medium); + background-color: var(--mat-sys-secondary-container); + color: var(--mat-sys-on-secondary-container); + + code { + padding: 1px 6px; + border-radius: 4px; + font-weight: 500; + background-color: var(--mat-sys-surface); + color: var(--mat-sys-primary); + } +} diff --git a/spring-angular-ui/src/app/components/home/home.component.ts b/spring-angular-ui/src/app/components/home/home.component.ts index b428615..1ff5c09 100644 --- a/spring-angular-ui/src/app/components/home/home.component.ts +++ b/spring-angular-ui/src/app/components/home/home.component.ts @@ -1,25 +1,38 @@ -import { Component, OnInit } from '@angular/core'; -import { UserService } from 'src/app/services/user.service'; +import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core'; +import { MatSnackBar } from '@angular/material/snack-bar'; + +import { httpErrorMessage } from 'src/app/helpers/http-error'; +import { Tutorial } from 'src/app/models/tutorial.model'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; +import { TutorialService } from 'src/app/services/tutorial.service'; @Component({ - selector: 'app-home', - templateUrl: './home.component.html', - styleUrls: ['./home.component.scss'], - standalone: false + selector: 'app-home', + templateUrl: './home.component.html', + styleUrls: ['./home.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) export class HomeComponent implements OnInit { - content?: string; + private readonly tutorialService = inject(TutorialService); + private readonly snackBar = inject(MatSnackBar); - constructor(private userService: UserService) { } + readonly isLoggedIn = inject(TokenStorageService).isLoggedIn(); + + tutorials: Tutorial[] = []; + loaded = false; ngOnInit(): void { - // this.userService.getPublicContent().subscribe( - // (data : any) => { - // this.content = data; - // }, - // (err : any) => { - // this.content = JSON.parse(err.error).message; - // } - // ); + this.tutorialService.getPublished().subscribe({ + // На пустой результат сервер отвечает 204 без тела + next: data => { + this.tutorials = data ?? []; + this.loaded = true; + }, + error: err => { + this.loaded = true; + this.snackBar.open(httpErrorMessage(err), 'OK', { duration: 5000 }); + } + }); } -} \ 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 deleted file mode 100644 index 94b4e7b..0000000 --- a/spring-angular-ui/src/app/components/login/login.component.html +++ /dev/null @@ -1,75 +0,0 @@ -
-
- -
-
- - - -
-
- - - -
-
- -
-
- -
-
- -
- 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 deleted file mode 100644 index 8b13789..0000000 --- a/spring-angular-ui/src/app/components/login/login.component.scss +++ /dev/null @@ -1 +0,0 @@ - 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 deleted file mode 100644 index d2c0e6c..0000000 --- a/spring-angular-ui/src/app/components/login/login.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index f228778..0000000 --- a/spring-angular-ui/src/app/components/login/login.component.ts +++ /dev/null @@ -1,59 +0,0 @@ -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 index d6c4144..f3b6ab8 100644 --- a/spring-angular-ui/src/app/components/profile/profile.component.html +++ b/spring-angular-ui/src/app/components/profile/profile.component.html @@ -1,26 +1,28 @@ -
-
-

- {{ 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 +
+ +
+ {{ user.username?.slice(0, 2) }} +

{{ user.username }}

+
+ @for (role of roles; track role) { + {{ roleLabel(role) }} + } +
+
+ + + + + + person + Username + {{ user.username }} + + + mail + Email + {{ user.email }} + + +
+
diff --git a/spring-angular-ui/src/app/components/profile/profile.component.scss b/spring-angular-ui/src/app/components/profile/profile.component.scss index e69de29..2658fad 100644 --- a/spring-angular-ui/src/app/components/profile/profile.component.scss +++ b/spring-angular-ui/src/app/components/profile/profile.component.scss @@ -0,0 +1,20 @@ +@use '../tutorial-shared'; +@use '../user-shared'; + +.hero { + display: flex; + flex-direction: column; + align-items: center; + gap: 12px; + padding: 32px 16px 24px; +} + +.name { + margin: 0; + font: var(--mat-sys-headline-small); + color: var(--mat-sys-on-surface); +} + +.roles { + justify-content: center; +} diff --git a/spring-angular-ui/src/app/components/profile/profile.component.ts b/spring-angular-ui/src/app/components/profile/profile.component.ts index 3afee3a..a6a36c4 100644 --- a/spring-angular-ui/src/app/components/profile/profile.component.ts +++ b/spring-angular-ui/src/app/components/profile/profile.component.ts @@ -1,18 +1,17 @@ -import { Component, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, Component, inject } from '@angular/core'; + +import { roleLabel } from 'src/app/models/role'; import { TokenStorageService } from 'src/app/services/token-storage.service'; @Component({ - selector: 'app-profile', - templateUrl: './profile.component.html', - styleUrls: ['./profile.component.scss'], - standalone: false + selector: 'app-profile', + templateUrl: './profile.component.html', + styleUrls: ['./profile.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + 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 +export class ProfileComponent { + readonly user = inject(TokenStorageService).getUser(); + readonly roles: string[] = this.user.roles ?? []; + readonly roleLabel = roleLabel; +} diff --git a/spring-angular-ui/src/app/components/register/register.component.html b/spring-angular-ui/src/app/components/register/register.component.html index fae4055..07d2700 100644 --- a/spring-angular-ui/src/app/components/register/register.component.html +++ b/spring-angular-ui/src/app/components/register/register.component.html @@ -1,89 +1,75 @@ -
-
- -
-
- - -
-
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! +
+ + @if (!registeredOnly) { +
+ person_add +

Create account

+

Sign up to add and edit tutorials

-
-
+ +
+ + + Username + person + + @if (username.hasError('required')) { + Username is required + } @else if (username.hasError('minlength')) { + Username must be at least 3 characters + } + {{ form.username.length }} / 20 + + + + Email + mail + + @if (email.hasError('required')) { + Email is required + } @else if (email.hasError('email')) { + Enter a valid email address + } + + + + Password + lock + + + @if (password.hasError('required')) { + Password is required + } @else if (password.hasError('minlength')) { + Password must be at least 6 characters + } + + + @if (errorMessage) { + + } + + + + + +
+ } @else { +
+ check_circle +

Your account was created. Please log in.

+ +
+ } + +
diff --git a/spring-angular-ui/src/app/components/register/register.component.scss b/spring-angular-ui/src/app/components/register/register.component.scss index 8b13789..ba325d1 100644 --- a/spring-angular-ui/src/app/components/register/register.component.scss +++ b/spring-angular-ui/src/app/components/register/register.component.scss @@ -1 +1,60 @@ +@use '../tutorial-shared'; +.page.auth { + max-width: 420px; + margin-top: 24px; +} + +.heading { + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + padding: 24px 16px 8px; + text-align: center; +} + +.heading-icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 56px; + height: 56px; + border-radius: 50%; + background-color: var(--mat-sys-primary-container); + color: var(--mat-sys-on-primary-container); +} + +.subtitle { + margin: 0; + font: var(--mat-sys-body-medium); + color: var(--mat-sys-on-surface-variant); +} + +mat-card-content { + padding-top: 16px; +} + +mat-form-field { + margin-bottom: 4px; +} + +.error-box { + display: flex; + align-items: center; + gap: 8px; + padding: 12px; + border-radius: 8px; + font: var(--mat-sys-body-medium); + background-color: var(--mat-sys-error-container); + color: var(--mat-sys-on-error-container); +} + +.form-actions { + padding: 8px 16px 24px; +} + +.success mat-icon { + color: var(--mat-sys-primary); + opacity: 1; +} diff --git a/spring-angular-ui/src/app/components/register/register.component.ts b/spring-angular-ui/src/app/components/register/register.component.ts index b509035..893a246 100644 --- a/spring-angular-ui/src/app/components/register/register.component.ts +++ b/spring-angular-ui/src/app/components/register/register.component.ts @@ -1,40 +1,64 @@ -import { Component, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, Component, inject } from '@angular/core'; +import { Router } from '@angular/router'; +import { MatDialog } from '@angular/material/dialog'; + import { AuthService } from 'src/app/services/auth.service'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; +import { DialogComponent } from '../dialog/dialog.component'; @Component({ - selector: 'app-register', - templateUrl: './register.component.html', - styleUrls: ['./register.component.scss'], - standalone: false + selector: 'app-register', + templateUrl: './register.component.html', + styleUrls: ['./register.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) -export class RegisterComponent implements OnInit { - form: any = { - username: null, - email: null, - password: null +export class RegisterComponent { + private readonly authService = inject(AuthService); + private readonly tokenStorage = inject(TokenStorageService); + private readonly router = inject(Router); + private readonly dialog = inject(MatDialog); + + form = { + username: '', + email: '', + password: '' }; - isSuccessful = false; - isSignUpFailed = false; + hidePassword = true; + saving = false; errorMessage = ''; - - constructor(private authService: AuthService) { } - - ngOnInit(): void { - } + // Аккаунт создан, но автоматический вход не удался — предлагаем войти вручную + registeredOnly = false; onSubmit(): void { const { username, email, password } = this.form; + this.saving = true; + this.errorMessage = ''; - 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; + this.authService.register(username, email, password).subscribe({ + next: () => this.signIn(username, password), + error: err => { + this.saving = false; + this.errorMessage = err.error?.message ?? 'Registration failed, please try again'; } - ); + }); } -} \ No newline at end of file + + openLogin(): void { + this.dialog.open(DialogComponent, { width: '400px', maxWidth: '95vw' }); + } + + private signIn(username: string, password: string): void { + this.authService.login(username, password).subscribe({ + next: user => { + this.tokenStorage.saveUser(user); + // Перезагрузка нужна, чтобы шапка подхватила вошедшего пользователя + this.router.navigate(['/home']).then(() => window.location.reload()); + }, + error: () => { + this.saving = false; + this.registeredOnly = true; + } + }); + } +} diff --git a/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.html b/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.html new file mode 100644 index 0000000..41ea260 --- /dev/null +++ b/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.html @@ -0,0 +1,19 @@ +

Roles of {{ data.user.username }}

+ + +
+ @for (role of data.allRoles; track role.id) { + + {{ roleLabel(role.name) }} + + } +
+ @if (!result.length) { +

Select at least one role

+ } +
+ + + + + diff --git a/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.scss b/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.scss new file mode 100644 index 0000000..8e2ad25 --- /dev/null +++ b/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.scss @@ -0,0 +1,11 @@ +.options { + display: flex; + flex-direction: column; + gap: 4px; +} + +.hint { + margin: 8px 0 0; + font: var(--mat-sys-body-small); + color: var(--mat-sys-error); +} diff --git a/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.ts b/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.ts new file mode 100644 index 0000000..421181a --- /dev/null +++ b/spring-angular-ui/src/app/components/roles-dialog/roles-dialog.component.ts @@ -0,0 +1,37 @@ +import { ChangeDetectionStrategy, Component, inject } from '@angular/core'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog'; + +import { Role, roleLabel } from 'src/app/models/role'; +import { User } from 'src/app/models/user.model'; + +export interface RolesDialogData { + user: User; + allRoles: Role[]; +} + +// Диалог выбора ролей пользователя; возвращает массив имён ролей или undefined при отмене +@Component({ + selector: 'app-roles-dialog', + templateUrl: './roles-dialog.component.html', + styleUrl: './roles-dialog.component.scss', + imports: [MatDialogModule, MatButtonModule, MatCheckboxModule], + changeDetection: ChangeDetectionStrategy.Eager +}) +export class RolesDialogComponent { + readonly data = inject(MAT_DIALOG_DATA); + readonly roleLabel = roleLabel; + + result: string[] = (this.data.user.roles ?? []).map(role => role.name!); + + isSelected(name: string): boolean { + return this.result.includes(name); + } + + toggle(name: string, checked: boolean): void { + this.result = checked + ? [...this.result, name] + : this.result.filter(selected => selected !== name); + } +} 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 index ef9cf6b..164beca 100644 --- 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 @@ -1,65 +1,61 @@ -
-
-

Tutorial

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

{{ message }}

+
+ -
-
-

Cannot access this Tutorial...

-
-
\ No newline at end of file + @if (currentTutorial.id) { + +
+ + + + {{ currentTutorial.published ? 'Published' : 'Pending' }} + + + + + + + Title + + Title is required + + + + Description + + {{ description.value.length }} / 255 + + + + + + + + + +
+
+ } @else if (notFound) { + +
+ search_off +

This tutorial could not be loaded

+
+
+ } +
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 index 0f56416..43cef6e 100644 --- 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 @@ -1,4 +1,14 @@ -.edit-form { - max-width: 400px; - margin: auto; -} \ No newline at end of file +@use '../tutorial-shared'; + +mat-card-content { + padding-top: 16px; +} + +.actions { + gap: 8px; + padding: 8px 16px 16px; +} + +.spacer { + flex: 1 1 auto; +} 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 index dc54456..188c948 100644 --- 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 @@ -1,89 +1,78 @@ -import { Component, OnInit } from '@angular/core'; -import { TutorialService } from 'src/app/services/tutorial.service'; +import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core'; +import { HttpErrorResponse } from '@angular/common/http'; import { ActivatedRoute, Router } from '@angular/router'; +import { MatSnackBar } from '@angular/material/snack-bar'; + +import { httpErrorMessage } from 'src/app/helpers/http-error'; import { Tutorial } from 'src/app/models/tutorial.model'; +import { TutorialService } from 'src/app/services/tutorial.service'; @Component({ - selector: 'app-tutorial-details', - templateUrl: './tutorial-details.component.html', - styleUrls: ['./tutorial-details.component.scss'], - standalone: false + selector: 'app-tutorial-details', + templateUrl: './tutorial-details.component.html', + styleUrls: ['./tutorial-details.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) export class TutorialDetailsComponent implements OnInit { + private readonly tutorialService = inject(TutorialService); + private readonly route = inject(ActivatedRoute); + private readonly router = inject(Router); + private readonly snackBar = inject(MatSnackBar); currentTutorial: Tutorial = { title: '', description: '', published: false }; - message = ''; - - constructor( - private tutorialService: TutorialService, - private route: ActivatedRoute, - private router: Router) { } + notFound = false; ngOnInit(): void { - this.message = ''; - this.getTutorial(this.route.snapshot.params.id); + this.tutorialService.get(this.route.snapshot.params['id']).subscribe({ + next: data => this.currentTutorial = data, + error: err => { + this.notFound = true; + this.showError(err); + } + }); } - 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); - }); + updatePublished(published: boolean): void { + const data = { ...this.currentTutorial, published }; + this.tutorialService.update(this.currentTutorial.id, data).subscribe({ + next: () => { + this.currentTutorial.published = published; + this.notify(published ? 'Tutorial was published' : 'Tutorial was unpublished'); + }, + error: err => this.showError(err) + }); } 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); - }); + this.tutorialService.update(this.currentTutorial.id, this.currentTutorial).subscribe({ + next: () => this.notify('Tutorial was saved'), + error: err => this.showError(err) + }); } deleteTutorial(): void { - this.tutorialService.delete(this.currentTutorial.id) - .subscribe( - response => { - console.log(response); - this.router.navigate(['/tutorials']); - }, - error => { - console.log(error); - }); + if (!confirm(`Delete "${this.currentTutorial.title}"?`)) { + return; + } + this.tutorialService.delete(this.currentTutorial.id).subscribe({ + next: () => { + this.notify('Tutorial was deleted'); + this.router.navigate(['/tutorials']); + }, + error: err => this.showError(err) + }); } -} \ No newline at end of file + + private notify(message: string): void { + this.snackBar.open(message, 'OK', { duration: 3000 }); + } + + private showError(err: HttpErrorResponse): void { + this.snackBar.open(httpErrorMessage(err), 'OK', { duration: 5000 }); + } +} 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 index a83a76a..ebd216a 100644 --- 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 @@ -1,63 +1,81 @@ -
-
-
- -
- -
-
-
-
-

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 + + + Search by title + search + + @if (title) { + + } + + +
+ + @if (tutorials.length) { + + @for (tutorial of tutorials; track tutorial.id; let i = $index) { + + } + + } @else { +
+ menu_book +

{{ title ? 'Nothing found' : 'No tutorials yet' }}

+
+ } + + @if (isAdmin && tutorials.length) { + + + + } +
+ + + @if (currentTutorial.id) { + + {{ currentTutorial.title }} + + + {{ currentTutorial.published ? 'Published' : 'Pending' }} + + + + +

{{ currentTutorial.description || 'No description' }}

+
+ @if (isLoggedIn) { + + + edit + Edit + + + } + } @else { +
+ touch_app +

Select a tutorial to see the details

+
+ } +
+
+
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 index eace3fb..0c20bd7 100644 --- 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 @@ -1,5 +1,22 @@ -.list { - text-align: left; - max-width: 750px; - margin: auto; -} \ No newline at end of file +@use '../tutorial-shared'; + +.search { + width: 100%; + margin-bottom: 16px; +} + +.layout { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); + gap: 16px; + align-items: start; + + @media (max-width: 768px) { + grid-template-columns: 1fr; + } +} + +.description { + white-space: pre-line; + color: var(--mat-sys-on-surface-variant); +} 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 index 97be787..236073e 100644 --- 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 @@ -1,73 +1,84 @@ -import { Component, OnInit } from '@angular/core'; +import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core'; +import { HttpErrorResponse } from '@angular/common/http'; +import { MatSnackBar } from '@angular/material/snack-bar'; + +import { httpErrorMessage } from 'src/app/helpers/http-error'; import { Tutorial } from 'src/app/models/tutorial.model'; +import { TokenStorageService } from 'src/app/services/token-storage.service'; 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 + selector: 'app-tutorials-list', + templateUrl: './tutorials-list.component.html', + styleUrls: ['./tutorials-list.component.scss'], + changeDetection: ChangeDetectionStrategy.Eager, + standalone: false }) export class TutorialsListComponent implements OnInit { + private readonly tutorialService = inject(TutorialService); + private readonly tokenStorage = inject(TokenStorageService); + private readonly snackBar = inject(MatSnackBar); - tutorials?: Tutorial[]; + tutorials: Tutorial[] = []; currentTutorial: Tutorial = {}; currentIndex = -1; title = ''; - - constructor(private tutorialService: TutorialService) { } + isAdmin = false; + isLoggedIn = false; ngOnInit(): void { + this.isLoggedIn = this.tokenStorage.isLoggedIn(); + this.isAdmin = (this.tokenStorage.getUser().roles ?? []).includes('ROLE_ADMIN'); 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.resetSelection(); + const request = this.title ? this.tutorialService.findByTitle(this.title) : this.tutorialService.getAll(); + request.subscribe({ + // На пустой результат сервер отвечает 204 без тела + next: data => this.tutorials = data ?? [], + error: err => this.showError(err) + }); } - searchTitle(): void { + clearSearch(): void { + this.title = ''; + this.searchTitle(); + } + + removeAllTutorials(): void { + if (!confirm('Delete all tutorials? This cannot be undone.')) { + return; + } + this.tutorialService.deleteAll().subscribe({ + next: () => { + this.snackBar.open('All tutorials were deleted', 'OK', { duration: 3000 }); + this.retrieveTutorials(); + }, + error: err => this.showError(err) + }); + } + + private retrieveTutorials(): void { + this.resetSelection(); + this.tutorialService.getAll().subscribe({ + next: data => this.tutorials = data ?? [], + error: err => this.showError(err) + }); + } + + private resetSelection(): 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 + + private showError(err: HttpErrorResponse): void { + this.snackBar.open(httpErrorMessage(err), 'OK', { duration: 5000 }); + } +} diff --git a/spring-angular-ui/src/app/helpers/auth.guard.ts b/spring-angular-ui/src/app/helpers/auth.guard.ts new file mode 100644 index 0000000..1952974 --- /dev/null +++ b/spring-angular-ui/src/app/helpers/auth.guard.ts @@ -0,0 +1,21 @@ +import { inject } from '@angular/core'; +import { CanActivateFn, Router } from '@angular/router'; +import { MatDialog } from '@angular/material/dialog'; + +import { DialogComponent } from '../components/dialog/dialog.component'; +import { TokenStorageService } from '../services/token-storage.service'; + +// Пускает на страницу только вошедшего пользователя; гостя отправляет на главную и открывает диалог входа +export const authGuard: CanActivateFn = () => { + if (inject(TokenStorageService).isLoggedIn()) { + return true; + } + inject(MatDialog).open(DialogComponent, { width: '400px', maxWidth: '95vw' }); + return inject(Router).createUrlTree(['/home']); +}; + +// Пускает только администратора, остальных отправляет на главную +export const adminGuard: CanActivateFn = () => { + const roles: string[] = inject(TokenStorageService).getUser().roles ?? []; + return roles.includes('ROLE_ADMIN') || inject(Router).createUrlTree(['/home']); +}; diff --git a/spring-angular-ui/src/app/helpers/auth.interceptor.ts b/spring-angular-ui/src/app/helpers/auth.interceptor.ts deleted file mode 100644 index 47204e7..0000000 --- a/spring-angular-ui/src/app/helpers/auth.interceptor.ts +++ /dev/null @@ -1,26 +0,0 @@ -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/helpers/http-error.ts b/spring-angular-ui/src/app/helpers/http-error.ts new file mode 100644 index 0000000..8fe2fb5 --- /dev/null +++ b/spring-angular-ui/src/app/helpers/http-error.ts @@ -0,0 +1,15 @@ +import { HttpErrorResponse } from '@angular/common/http'; + +// Понятный пользователю текст ошибки HTTP-запроса +export function httpErrorMessage(err: HttpErrorResponse): string { + switch (err.status) { + case 401: + return 'Please log in to continue'; + case 403: + return 'You do not have permission to do this'; + case 404: + return err.error?.message ?? 'Not found'; + default: + return err.error?.message ?? 'Something went wrong, please try again'; + } +} diff --git a/spring-angular-ui/src/app/models/role.ts b/spring-angular-ui/src/app/models/role.ts index be13639..5d1b836 100644 --- a/spring-angular-ui/src/app/models/role.ts +++ b/spring-angular-ui/src/app/models/role.ts @@ -2,3 +2,17 @@ export class Role { id?:any; name?:string; } + +// Человекочитаемые названия ролей для интерфейса +export function roleLabel(name?: string): string { + switch (name) { + case 'ROLE_ADMIN': + return 'Admin'; + case 'ROLE_MODERATOR': + return 'Moderator'; + case 'ROLE_USER': + return 'User'; + default: + return name ?? ''; + } +} diff --git a/spring-angular-ui/src/app/models/setting.ts b/spring-angular-ui/src/app/models/setting.ts deleted file mode 100644 index d26db99..0000000 --- a/spring-angular-ui/src/app/models/setting.ts +++ /dev/null @@ -1,5 +0,0 @@ -export class Setting { - id?:any; - name?:string; - value?:boolean; -} diff --git a/spring-angular-ui/src/app/models/user.model.ts b/spring-angular-ui/src/app/models/user.model.ts index 86a49db..0df4134 100644 --- a/spring-angular-ui/src/app/models/user.model.ts +++ b/spring-angular-ui/src/app/models/user.model.ts @@ -1,7 +1,8 @@ +import { Role } from './role'; + export class User { id?:any; username?:string; email?:string; - password?:string; - roles?:any; + roles?:Role[]; } diff --git a/spring-angular-ui/src/app/services/token-storage.service.ts b/spring-angular-ui/src/app/services/token-storage.service.ts index 67fa073..4ca7f54 100644 --- a/spring-angular-ui/src/app/services/token-storage.service.ts +++ b/spring-angular-ui/src/app/services/token-storage.service.ts @@ -1,6 +1,5 @@ import { Injectable } from '@angular/core'; -const TOKEN_KEY = 'auth-token'; const USER_KEY = 'auth-user'; @Injectable({ @@ -9,19 +8,6 @@ const USER_KEY = 'auth-user'; 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)); diff --git a/spring-angular-ui/src/app/services/tutorial.service.ts b/spring-angular-ui/src/app/services/tutorial.service.ts index 31ccf34..0c76d9c 100644 --- a/spring-angular-ui/src/app/services/tutorial.service.ts +++ b/spring-angular-ui/src/app/services/tutorial.service.ts @@ -37,6 +37,10 @@ export class TutorialService { return this.http.delete(baseUrl); } + getPublished(): Observable { + return this.http.get(`${baseUrl}/published`); + } + findByTitle(title: any): Observable { return this.http.get(`${baseUrl}?title=${title}`); } diff --git a/spring-angular-ui/src/app/services/user.service.ts b/spring-angular-ui/src/app/services/user.service.ts index 420251c..e5d3d42 100644 --- a/spring-angular-ui/src/app/services/user.service.ts +++ b/spring-angular-ui/src/app/services/user.service.ts @@ -2,7 +2,6 @@ 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"; // Используем относительный путь вместо хардкода http://localhost:8080/api/users const API_URL = '/api/users'; @@ -13,20 +12,11 @@ const API_URL = '/api/users'; 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 { + getAll(): Observable { return this.http.get(API_URL); } -} + updateRoles(id: any, roles: string[]): Observable { + return this.http.put(`${API_URL}/${id}/roles`, { roles }); + } +} diff --git a/spring-angular-ui/src/index.html b/spring-angular-ui/src/index.html index 2dad7df..2503483 100644 --- a/spring-angular-ui/src/index.html +++ b/spring-angular-ui/src/index.html @@ -12,6 +12,7 @@ integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous" /> + diff --git a/spring-angular-ui/src/main.ts b/spring-angular-ui/src/main.ts index c7b673c..8684856 100644 --- a/spring-angular-ui/src/main.ts +++ b/spring-angular-ui/src/main.ts @@ -1,4 +1,4 @@ -import { enableProdMode } from '@angular/core'; +import { enableProdMode, provideZoneChangeDetection } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; @@ -8,5 +8,5 @@ if (environment.production) { enableProdMode(); } -platformBrowserDynamic().bootstrapModule(AppModule) +platformBrowserDynamic().bootstrapModule(AppModule, { applicationProviders: [provideZoneChangeDetection()], }) .catch(err => console.error(err)); diff --git a/spring-angular-ui/src/proxy.conf.json b/spring-angular-ui/src/proxy.conf.json new file mode 100644 index 0000000..ce0595d --- /dev/null +++ b/spring-angular-ui/src/proxy.conf.json @@ -0,0 +1,10 @@ +{ + "/api": { + "target": "http://localhost:8080", + "secure": false, + "changeOrigin": true, + "logLevel": "debug", + "timeout": 0, + "ws": true + } +} diff --git a/spring-angular-ui/static/3rdpartylicenses.txt b/spring-angular-ui/static/3rdpartylicenses.txt index c29e10f..21f0924 100644 --- a/spring-angular-ui/static/3rdpartylicenses.txt +++ b/spring-angular-ui/static/3rdpartylicenses.txt @@ -5,7 +5,7 @@ License: "MIT" The MIT License -Copyright (c) 2010-2025 Google LLC. https://angular.dev/license +Copyright (c) 2010-2026 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -31,7 +31,7 @@ License: "MIT" The MIT License -Copyright (c) 2010-2025 Google LLC. https://angular.dev/license +Copyright (c) 2010-2026 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -57,33 +57,7 @@ License: "MIT" The MIT License -Copyright (c) 2010-2025 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: @angular/forms -License: "MIT" - -The MIT License - -Copyright (c) 2010-2025 Google LLC. https://angular.dev/license +Copyright (c) 2010-2026 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -109,7 +83,7 @@ License: "MIT" The MIT License -Copyright (c) 2025 Google LLC. +Copyright (c) 2026 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -135,7 +109,33 @@ License: "MIT" The MIT License -Copyright (c) 2025 Google LLC. +Copyright (c) 2026 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +-------------------------------------------------------------------------------- +Package: @angular/forms +License: "MIT" + +The MIT License + +Copyright (c) 2010-2026 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -161,7 +161,7 @@ License: "MIT" The MIT License -Copyright (c) 2010-2025 Google LLC. https://angular.dev/license +Copyright (c) 2010-2026 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -187,7 +187,7 @@ License: "MIT" The MIT License -Copyright (c) 2010-2025 Google LLC. https://angular.dev/license +Copyright (c) 2010-2026 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/spring-angular-ui/static/browser/chunk-5GNKSAOY.js b/spring-angular-ui/static/browser/chunk-5GNKSAOY.js new file mode 100644 index 0000000..2b14d8e --- /dev/null +++ b/spring-angular-ui/static/browser/chunk-5GNKSAOY.js @@ -0,0 +1 @@ +import{R as E,U as Tt,a as me,c as Et}from"./chunk-I6QTZVP2.js";var _=(function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n})(_||{}),z="*";function vt(n,e=null){return{type:_.Sequence,steps:n,options:e}}function Le(n){return{type:_.Style,styles:n,offset:null}}var $=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ee=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,s=0,i=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==r&&this._onFinish()}),a.onDestroy(()=>{++s==r&&this._onDestroy()}),a.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,o)=>Math.max(a,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(s=>{let i=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(i)})}getPosition(){let e=this.players.reduce((t,s)=>t===null||s.totalTime>t.totalTime?s:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},re="!";function bt(n){return new E(3e3,!1)}function bs(){return new E(3100,!1)}function ws(){return new E(3101,!1)}function As(n){return new E(3001,!1)}function Ps(n){return new E(3003,!1)}function Ns(n){return new E(3004,!1)}function At(n,e){return new E(3005,!1)}function Pt(){return new E(3006,!1)}function Nt(){return new E(3007,!1)}function Ct(n,e){return new E(3008,!1)}function Dt(n){return new E(3002,!1)}function Mt(n,e,t,s,i){return new E(3010,!1)}function kt(){return new E(3011,!1)}function Ft(){return new E(3012,!1)}function Ot(){return new E(3200,!1)}function Rt(){return new E(3202,!1)}function Lt(){return new E(3013,!1)}function It(n){return new E(3014,!1)}function zt(n){return new E(3015,!1)}function Kt(n){return new E(3016,!1)}function qt(n){return new E(3500,!1)}function Bt(n){return new E(3501,!1)}function Qt(n,e){return new E(3404,!1)}function Cs(n){return new E(3502,!1)}function Vt(n){return new E(3503,!1)}function $t(){return new E(3300,!1)}function Ut(n){return new E(3504,!1)}function jt(n){return new E(3301,!1)}function Gt(n,e){return new E(3302,!1)}function Wt(n){return new E(3303,!1)}function Ht(n,e){return new E(3400,!1)}function Yt(n){return new E(3401,!1)}function Xt(n){return new E(3402,!1)}function xt(n,e){return new E(3505,!1)}var Ds=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 U(n){switch(n.length){case 0:return new $;case 1:return n[0];default:return new ee(n)}}function qe(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),c=u==a,h=c&&o||new Map;l.forEach((S,y)=>{let d=y,g=S;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case re:g=t.get(y);break;case z:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}h.set(d,g)}),c||r.push(h),o=h,a=u}),i.length)throw Cs(i);return r}function pe(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ie(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ie(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ie(t,"destroy",n)));break}}function Ie(n,e,t){let s=t.totalTime,i=!!t.disabled,r=ge(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function ge(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function F(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Be(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function ye(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function ks(n){return n.substring(1,6)=="ebkit"}var X=null,wt=!1;function Jt(n){X||(X=Os()||{},wt=X.style?"WebkitAppearance"in X.style:!1);let e=!0;return X.style&&!ks(n)&&(e=n in X.style,!e&&wt&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in X.style)),e}function Fs(n){return Ds.has(n)}function Os(){return typeof document<"u"?document.body:null}function Qe(n,e){for(;e;){if(e===n)return!0;e=ye(e)}return!1}function Ve(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var Rs=1e3,$e="{{",Ls="}}",_e="ng-enter",ae="ng-leave",oe="ng-trigger",le=".ng-trigger",Ue="ng-animating",Se=".ng-animating";function V(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ze(parseFloat(e[1]),e[2])}function ze(n,e){return e==="s"?n*Rs:n}function ue(n,e,t){return typeof n=="object"&&n!==null&&Object.hasOwn(n,"duration")?n:zs(n,e,t)}var Is=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function zs(n,e,t){let s,i=0,r="";if(typeof n=="string"){let a=n.match(Is);if(a===null)return e.push(bt(n)),{duration:0,delay:0,easing:""};s=ze(parseFloat(a[1]),a[2]);let o=a[3];o!=null&&(i=ze(parseFloat(o),a[4]));let l=a[5];l&&(r=l)}else s=n;if(!t){let a=!1,o=e.length;s<0&&(e.push(bs()),a=!0),i<0&&(e.push(ws()),a=!0),a&&e.splice(o,0,bt(n))}return{duration:s,delay:i,easing:r}}function Zt(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function je(n){return Array.isArray(n)?new Map(...n):new Map(n)}function K(n,e,t){e.forEach((s,i)=>{let r=Ee(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function G(n,e){e.forEach((t,s)=>{let i=Ee(s);n.style[i]=""})}function te(n){return Array.isArray(n)?n.length==1?n[0]:vt(n):n}function es(n,e,t){let s=e.params||{},i=Ge(n);i.length&&i.forEach(r=>{Object.hasOwn(s,r)||t.push(As(r))})}var Ke=new RegExp(`${$e}\\s*(.+?)\\s*${Ls}`,"g");function Ge(n){let e=[];if(typeof n=="string"){let t;for(;t=Ke.exec(n);)e.push(t[1]);Ke.lastIndex=0}return e}function se(n,e,t){let s=`${n}`,i=s.replace(Ke,(r,a)=>{let o=e[a];return o==null&&(t.push(Ps(a)),o=""),o.toString()});return i==s?n:i}var Ks=/-+([a-z0-9])/g;function Ee(n){return n.replace(Ks,(...e)=>e[1].toUpperCase())}function qs(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ts(n,e){return n===0||e===0}function ss(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,Te(n,o)))}}return e}function O(n,e,t){switch(e.type){case _.Trigger:return n.visitTrigger(e,t);case _.State:return n.visitState(e,t);case _.Transition:return n.visitTransition(e,t);case _.Sequence:return n.visitSequence(e,t);case _.Group:return n.visitGroup(e,t);case _.Animate:return n.visitAnimate(e,t);case _.Keyframes:return n.visitKeyframes(e,t);case _.Style:return n.visitStyle(e,t);case _.Reference:return n.visitReference(e,t);case _.AnimateChild:return n.visitAnimateChild(e,t);case _.AnimateRef:return n.visitAnimateRef(e,t);case _.Query:return n.visitQuery(e,t);case _.Stagger:return n.visitStagger(e,t);default:throw Ns(e.type)}}function Te(n,e){return window.getComputedStyle(n)[e]}var gs=(()=>{class n{validateStyleProperty(t){return Jt(t)}containsElement(t,s){return Qe(t,s)}getParentElement(t){return ye(t)}query(t,s,i){return Ve(t,s,i)}computeStyle(t,s,i){return i||""}animate(t,s,i,r,a,o=[],l){return new $(i,r)}static \u0275fac=function(s){return new(s||n)};static \u0275prov=Tt({token:n,factory:n.\u0275fac})}return n})(),is=class{static NOOP=new gs},Je=class{},Ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Bs=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"]),et=class extends Je{normalizePropertyName(e,t){return Ee(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(At(e,s))}return a+r}};var Pe="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>Vs(s,t,e)):t.push(n),t}function Vs(n,e,t){if(n[0]==":"){let l=$s(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(zt(n)),e;let i=s[1],r=s[2],a=s[3];e.push(ns(i,a));let o=i==Pe&&a==Pe;r[0]=="<"&&!o&&e.push(ns(a,i))}function $s(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var ve=new Set(["true","1"]),be=new Set(["false","0"]);function ns(n,e){let t=ve.has(n)||be.has(n),s=ve.has(e)||be.has(e);return(i,r)=>{let a=n==Pe||n==i,o=e==Pe||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?ve.has(n):be.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?ve.has(e):be.has(e)),a&&o}}var ys=":self",Us=new RegExp(`s*${ys}s*,?`,"g");function dt(n,e,t,s){return new tt(n).build(e,t,s)}var rs="",tt=class{_driver;constructor(e){this._driver=e}build(e,t,s){let i=new st(t);return this._resetContextStyleTimingState(i),O(this,te(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=rs,e.collectedStyles=new Map,e.collectedStyles.set(rs,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Pt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==_.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(Nt())}),{type:_.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Ge(l).forEach(u=>{Object.hasOwn(a,u)||r.add(u)})})}),r.size&&t.errors.push(Ct(e.name,[...r.values()]))}return{type:_.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,te(e.animation),t),i=Qs(e.expr,t.errors);return{type:_.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:x(e.options)}}visitSequence(e,t){return{type:_.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:x(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:_.Group,steps:r,options:x(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Le({});if(r.type==_.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Le(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:_.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===z?s.push(o):t.errors.push(Dt(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf($e)>=0){r=!0;break}}}),{type:_.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(Mt(l,c.startTime,c.endTime,r,i)),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:i}),t.options&&es(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:_.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(kt()),s;let i=1,r=0,a=[],o=!1,l=!1,u=0,c=e.steps.map(w=>{let A=this._makeStyleAst(w,t),D=A.offset!=null?A.offset:Ws(A.styles),N=0;return D!=null&&(r++,N=A.offset=D),l=l||N<0||N>1,o=o||N0&&r{let D=S>0?A==y?1:S*A:a[A],N=D*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(w,t),w.offset=D,s.styles.push(w)}),s}visitReference(e,t){return{type:_.Reference,animation:O(this,te(e.animation),t),options:x(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_.AnimateChild,options:x(e.options)}}visitAnimateRef(e,t){return{type:_.AnimateRef,animation:this.visitReference(e.animation,t),options:x(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,F(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,te(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:_.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:x(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Lt());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ue(e.timings,t.errors,!0);return{type:_.Stagger,animation:O(this,te(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ys);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,le).replace(/@\w+/g,t=>le+"-"+t.slice(1)).replace(/:animating/g,Se),[n,e]}function Gs(n){return n?me({},n):null}var st=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Ws(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(typeof n=="object"&&n!==null&&Object.hasOwn(n,"duration"))return n;if(typeof n=="number"){let r=ue(n,e).duration;return We(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=We(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=ue(t,e);return We(i.duration,i.delay,i.easing)}function x(n){return n?(n=me({},n),n.params&&(n.params=Gs(n.params))):n={},n}function We(n,e,t){return{duration:n,delay:e,easing:t}}function mt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var ne=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",xs=new RegExp(Xs,"g"),Js=":leave",Zs=new RegExp(Js,"g");function pt(n,e,t,s,i,r=new Map,a=new Map,o,l,u=[]){return new it().buildKeyframes(n,e,t,s,i,r,a,o,l,u)}var it=class{buildKeyframes(e,t,s,i,r,a,o,l,u,c=[]){u=u||new ne;let h=new nt(e,t,u,i,r,c,[]);h.options=l;let S=l.delay?V(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([a],null,h.errors,l),O(this,s,h);let y=h.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,h.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[mt(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:V(se(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?V(s.duration):null,o=s.delay!=null?V(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==_.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ne);let a=V(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?V(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?se(s,t.params,t.errors):s;return ue(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==_.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?V(i.delay):0;r&&(t.previousNode.type===_.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ne);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),O(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let S=h.currentTimeline.currentTime;a=Math.max(a,S)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let h=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-h+(i.startTime-s.currentTimeline.startTime)}},Ne={},nt=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ne;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ce(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=V(s.duration)),s.delay!=null&&(i.delay=V(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!Object.hasOwn(a,o))&&(a[o]=se(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ne,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new rt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(xs,"."+this._enterClassName),e=e.replace(Zs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(It(t)),o}},Ce=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||z),this._currentKeyframe.set(t,z);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let u=se(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??z),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((c,h)=>{c===re?e.add(h):c===z&&t.add(h)}),s||u.set("offset",l/this.duration),i.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return mt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},rt=class extends Ce{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",as(o)),r.push(u);let c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]),y=S.get("offset"),d=t+y*s;S.set("offset",as(d/a)),r.push(S)}s=a,t=0,i="",e=r}return mt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function as(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,z)}else for(let[r,a]of i)t.set(r,a)}),t}function os(n,e,t,s,i,r,a,o,l,u,c,h,S){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}var He={},De=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,u,c){let h=[],S=this.ast.options&&this.ast.options.params||He,y=o&&o.params||He,d=this.buildStyles(s,y,h),g=l&&l.params||He,v=this.buildStyles(i,g,h),w=new Set,A=new Map,D=new Map,N=i==="void",J={params:_s(g,S),delay:this.ast.options?.delay},B=c?[]:pt(e,t,this.ast.animation,r,a,d,v,J,u,h),M=0;return B.forEach(k=>{M=Math.max(k.duration+k.delay,M)}),h.length?os(t,this._triggerName,s,i,N,d,v,[],[],A,D,M,h):(B.forEach(k=>{let W=k.element,Z=F(A,W,new Set);k.preStyleProps.forEach(H=>Z.add(H));let gt=F(D,W,new Set);k.postStyleProps.forEach(H=>gt.add(H)),W!==t&&w.add(W)}),os(t,this._triggerName,s,i,N,d,v,B,[...w.values()],A,D,M))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function _s(n,e){let t=me({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var at=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=_s(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=se(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new ot(n,e,t)}var ot=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new at(i.style,r,s))}),ls(this.states,"true","1"),ls(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new De(e,i,this.states))}),this.fallbackTransition=ii(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:_.Sequence,steps:[],options:null},r={type:_.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new De(n,r,e)}function ls(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new ne,lt=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],i=[],r=dt(this._driver,t,s,i);if(s.length)throw Vt(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=qe(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=pt(this._driver,t,r,_e,ae,new Map,new Map,s,ni,i),a.forEach(c=>{let h=F(o,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(i.push($t()),a=[]),i.length)throw Ut(i);o.forEach((c,h)=>{c.forEach((S,y)=>{c.set(y,this._driver.computeStyle(h,y,z))})});let l=a.map(c=>{let h=o.get(c.element);return this._buildPlayer(c,new Map,h)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw jt(e);return t}listen(e,t,s,i){let r=ge(t,"","","");return pe(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},us="ng-animate-queued",ri=".ng-animate-queued",Ye="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",ui=[],Ss={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},q="__ng_removed",ce=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&Object.hasOwn(e,"value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=Et(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},he="void",Xe=new ce(he),ut=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Gt(s,t);if(s==null||s.length==0)throw Wt(t);if(!di(s))throw Ht(s,t);let r=F(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=F(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,oe),I(e,oe+"-"+t),o.set(t,Xe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Yt(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new fe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,oe),I(e,oe+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new ce(s,this.id);if(!(s&&Object.hasOwn(s,"value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Xe),!(u.value===he)&&l.value===u.value){if(!gi(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),w=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{G(e,v),K(e,w)})}return}let S=F(this._engine.playersByElement,e,[]);S.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,us),a.onStart(()=>{ie(e,us)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let w=v.indexOf(a);w>=0&&v.splice(w,1)}}),this.players.push(a),S.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,le,!0);s.forEach(i=>{if(i[q])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,he,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Xe,c=new ce(he),h=new fe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[q];(!r||r===Ss)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=ge(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,pe(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ht=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new ut(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(we(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!we(t))return;let r=t[q];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Ye)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ie(e,Ye))}removeNode(e,t,s){if(we(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[q]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return we(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,le,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Se,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[q];if(t&&t.setForRemoval){if(e[q]=Ss,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ye)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw Xt(e)}_flushAnimations(e,t){let s=new ne,i=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=_e+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],w=new Set,A=new Set;for(let f=0;fw.add(T)):A.add(m))}let D=new Map,N=fs(S,Array.from(w));N.forEach((f,m)=>{let p=ae+g++;D.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ie(T,p))}),N.forEach((f,m)=>{let p=D.get(m);f.forEach(T=>ie(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let J=[],B=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(J.push(T),this.collectedEnterElements.length){let C=P[q];if(C&&C.setForMove){if(C.previousTriggersValues&&C.previousTriggersValues.has(p.triggerName)){let Y=C.previousTriggersValues.get(p.triggerName),L=this.statesByElement.get(p.element);if(L&&L.has(p.triggerName)){let de=L.get(p.triggerName);de.value=Y,L.set(p.triggerName,de)}}T.destroy();return}}let Q=!h||!this.driver.containsElement(h,P),R=D.get(P),j=d.get(P),b=this._buildInstruction(p,s,j,R,Q);if(b.errors&&b.errors.length){B.push(b);return}if(Q){T.onStart(()=>G(P,b.fromStyles)),T.onDestroy(()=>K(P,b.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>G(P,b.fromStyles)),T.onDestroy(()=>K(P,b.toStyles)),i.push(T);return}let St=[];b.timelines.forEach(C=>{C.stretchStartingKeyframe=!0,this.disabledNodes.has(C.element)||St.push(C)}),b.timelines=St,s.append(P,b.timelines);let vs={instruction:b,player:T,element:P};a.push(vs),b.queriedElements.forEach(C=>F(o,C,[]).push(T)),b.preStyleProps.forEach((C,Y)=>{if(C.size){let L=l.get(Y);L||l.set(Y,L=new Set),C.forEach((de,Re)=>L.add(Re))}}),b.postStyleProps.forEach((C,Y)=>{let L=u.get(Y);L||u.set(Y,L=new Set),C.forEach((de,Re)=>L.add(Re))})});if(B.length){let f=[];B.forEach(m=>{f.push(xt(m.triggerName,m.errors))}),J.forEach(m=>m.destroy()),this.reportError(f)}let M=new Map,k=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(k.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,M))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{F(M,m,[]).push(T),T.destroy()})});let W=v.filter(f=>ds(f,l,u)),Z=new Map;cs(Z,this.driver,A,u,z).forEach(f=>{ds(f,l,u)&&W.push(f)});let H=new Map;y.forEach((f,m)=>{cs(H,this.driver,new Set(f),l,re)}),W.forEach(f=>{let m=Z.get(f),p=H.get(f);Z.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Oe=[],yt=[],_t={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>K(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=_t;if(k.size>1){let R=m,j=[];for(;R=R.parentNode;){let b=k.get(R);if(b){P=b;break}j.push(R)}j.forEach(b=>k.set(b,P))}let Q=this._buildAnimation(p.namespaceId,T,M,r,H,Z);if(p.setRealPlayer(Q),P===_t)Oe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else G(m,T.fromStyles),p.onDestroy(()=>K(m,T.toStyles)),yt.push(p),c.has(m)&&i.push(p)}),yt.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!Q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Oe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Oe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==he;o.forEach(u=>{u.queued||!l&&u.triggerName!=i||a.push(u)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let u=l.element,c=u!==r,h=F(s,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),h.push(y)})}G(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[q];if(v&&v.removedBeforeQueried)return new $(d.duration,d.delay);let w=g!==l,A=pi((s.get(g)||ui).map(M=>M.getRealPlayer())).filter(M=>{let k=M;return k.element?k.element===g:!1}),D=r.get(g),N=a.get(g),J=qe(this._normalizer,d.keyframes,D,N),B=this._buildPlayer(d,J,A);if(d.subTimeline&&i&&h.add(g),w){let M=new fe(e,o,g);M.setRealPlayer(B),u.push(M)}return B});u.forEach(d=>{F(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Ue));let y=U(S);return y.onDestroy(()=>{c.forEach(d=>ie(d,Ue)),K(l,t.toStyles)}),h.forEach(d=>{F(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new $(e.duration,e.delay)}},fe=class{namespaceId;triggerName;element;_player=new $;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>pe(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){F(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function we(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function hs(n,e){let t=n.style.display;return n.style.display=e??"none",t}function cs(n,e,t,s,i){let r=[];t.forEach(l=>r.push(hs(l)));let a=[];s.forEach((l,u)=>{let c=new Map;l.forEach(h=>{let S=e.computeStyle(u,h,i);c.set(h,S),(!S||S.length==0)&&(u[q]=hi,a.push(u))}),n.set(u,c)});let o=0;return t.forEach(l=>hs(l,r[o++])),a}function fs(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:i.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ie(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return Es(n,e),e}function Es(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var Me=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new ht(e.body,t,s),this._timelineEngine=new lt(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],u=[],c=dt(this._driver,r,l,u);if(l.length)throw Qt(i,l);o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Be(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Be(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=xe(e[0]),e.length>1&&(s=xe(e[e.length-1]))):e instanceof Map&&(t=xe(e)),t||s?new _i(n,t,s):null}var _i=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,i){this._element=t,this._startStyles=s,this._endStyles=i;let r=n.initialStylesByElement.get(t);r||n.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(G(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(G(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}return n})();function xe(n){let e=null;return n.forEach((t,s)=>{Si(s)&&(e=e||new Map,e.set(s,t))}),e}function Si(n){return n==="display"||n==="position"}var ke=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;let s=()=>this._onFinish();return t.addEventListener("finish",s),this.onDestroy(()=>{t.removeEventListener("finish",s)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){let i=this._convertKeyframesToObject(t);try{return e.animate(i,s)}catch(r){return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:Te(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ct=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Qe(e,t)}getParentElement(e){return ye(e)}query(e,t,s){return Ve(e,t,s)}computeStyle(e,t,s){return Te(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let u=new Map,c=a.filter(y=>y instanceof ke);ts(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let h=Zt(t).map(y=>new Map(y));h=ss(e,h,u);let S=yi(e,h);return new ke(e,h,l,S)}};function Mi(n,e){return n==="noop"?new Me(e,new gs,new Ze):new Me(e,new ct,new et)}var ms=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=dt(e,t,s,[]);if(s.length)throw qt(s);this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?je(t):t,o=Array.isArray(s)?je(s):s,l=[];r=r||new ne;let u=pt(this._driver,e,this._animationAst,_e,ae,a,o,i,r,l);if(l.length)throw Bt(l);return u}},Ae="@",Ts="@.disabled",Fe=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s,i){if(i){this.delegate.removeChild(e,t,s,i);return}this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==Ae&&t==Ts?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s,i){return this.delegate.listen(e,t,s,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},ft=class extends Fe{factory;constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==Ae?t.charAt(1)=="."&&t==Ts?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s,i){if(t.charAt(0)==Ae){let r=Ei(e),a=t.slice(1),o="";return a.charAt(0)!=Ae&&([a,o]=Ti(a)),this.engine.listen(this.namespaceId,r,a,o,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,s,l)})}return this.delegate.listen(e,t,s,i)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ti(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var ps=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,c=u.get(i);if(!c){let h=()=>u.delete(i);c=new Fe("",i,this.engine,h),u.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new ft(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};export{is as AnimationDriver,gs as NoopAnimationDriver,ms as \u0275Animation,Me as \u0275AnimationEngine,ft as \u0275AnimationRenderer,ps as \u0275AnimationRendererFactory,Je as \u0275AnimationStyleNormalizer,Fe as \u0275BaseAnimationRenderer,_e as \u0275ENTER_CLASSNAME,ae as \u0275LEAVE_CLASSNAME,Ze as \u0275NoopAnimationStyleNormalizer,fe as \u0275TransitionAnimationPlayer,ct as \u0275WebAnimationsDriver,ke as \u0275WebAnimationsPlayer,et as \u0275WebAnimationsStyleNormalizer,ts as \u0275allowPreviousPlayerStylesMerge,qs as \u0275camelCaseToDashCase,Qe as \u0275containsElement,Mi as \u0275createEngine,ye as \u0275getParentElement,Ve as \u0275invokeQuery,Zt as \u0275normalizeKeyframes,Jt as \u0275validateStyleProperty,Fs as \u0275validateWebAnimatableStyleProperty}; diff --git a/spring-angular-ui/static/browser/chunk-I6QTZVP2.js b/spring-angular-ui/static/browser/chunk-I6QTZVP2.js new file mode 100644 index 0000000..57b4dd7 --- /dev/null +++ b/spring-angular-ui/static/browser/chunk-I6QTZVP2.js @@ -0,0 +1,4 @@ +var yh=Object.defineProperty,vh=Object.defineProperties;var Eh=Object.getOwnPropertyDescriptors;var Cr=Object.getOwnPropertySymbols;var xc=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable;var Sc=(e,t,n)=>t in e?yh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||={})xc.call(t,n)&&Sc(e,n,t[n]);if(Cr)for(var n of Cr(t))Ac.call(t,n)&&Sc(e,n,t[n]);return e},W=(e,t)=>vh(e,Eh(t));var Ih=(e,t)=>{var n={};for(var r in e)xc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Cr)for(var r of Cr(e))t.indexOf(r)<0&&Ac.call(e,r)&&(n[r]=e[r]);return n};var qt=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var xn=[null],_r=[!1],ct=1,Dh=null,F=Symbol("SIGNAL");function g(e){let t=xn[0];return xn[0]=e,t}function Nr(){return xn[0]}var Ye={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ce(e){if(_r[0])throw new Error("");let t=xn[0];if(t===null)return;t.consumerOnSignalRead(e);let n=t.producersTail;if(n!==void 0&&n.producer===e)return;let r,o=t.recomputing;if(o&&(r=n!==void 0?n.nextProducer:t.producers,r!==void 0&&r.producer===e)){t.producersTail=r,r.lastReadVersion=e.version,r.knownValidAtEpoch=ct;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===t&&(!o||i.knownValidAtEpoch===ct))return;let s=Qt(t),a={producer:e,consumer:t,nextProducer:r,prevConsumer:void 0,knownValidAtEpoch:ct,lastReadVersion:e.version,nextConsumer:void 0};t.producersTail=a,n!==void 0?n.nextProducer=a:t.producers=a,s&&Lc(e,a)}function Rc(){ct++}function Ke(e){if(!(Qt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ct)){if(!e.producerMustRecompute(e)&&!zt(e)){Gt(e);return}e.producerRecomputeValue(e),Gt(e)}}function Ti(e){if(e.consumers===void 0)return;let t=_r[0];_r[0]=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||wh(r)}}finally{_r[0]=t}}function Ci(){return xn[0]?.consumerAllowSignalWrites!==!1}function wh(e){e.dirty=!0,Ti(e),e.consumerMarkedDirty?.(e)}function Gt(e){e.dirty=!1,e.lastCleanEpoch=ct}function Ae(e){return e&&Oc(e),g(e)}function Oc(e){if(e.producersTail?.knownValidAtEpoch===ct){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Je(e,t){g(t),e&&kc(e)}function kc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Qt(e))do n=_i(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function zt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ke(n),r!==n.version))return!0}return!1}function Xe(e){if(Qt(e)){let t=e.producers;for(;t!==void 0;)t=_i(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Lc(e,t){let n=e.consumersTail,r=Qt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Lc(o.producer,o)}function _i(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Qt(t)){let i=t.producers;for(;i!==void 0;)i=_i(i)}return n}function Qt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function An(e){Dh?.(e)}function Rn(e,t){return Object.is(e,t)}function On(e,t){let n=Object.create(bh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ke(n),Ce(n),n.value===ue)throw n.error;return n.value};return r[F]=n,An(n),r}var lt=Symbol("UNSET"),ut=Symbol("COMPUTING"),ue=Symbol("ERRORED"),bh=W(H({},Ye),{value:lt,dirty:!0,error:null,equal:Rn,kind:"computed",producerMustRecompute(e){return e.value===lt||e.value===ut},producerRecomputeValue(e){if(e.value===ut)throw new Error("");let t=e.value;e.value=ut;let n=Ae(e),r,o=!1;try{r=e.computation(),g(null),o=t!==lt&&t!==ue&&r!==ue&&e.equal(t,r)}catch(i){r=ue,e.error=i}finally{Je(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Th(){throw new Error}var Pc=Th;function Fc(e){Pc(e)}function Ni(e){Pc=e}var Ch=null;function Mi(e,t){let n=Object.create(Zt);n.value=e,t!==void 0&&(n.equal=t);let r=()=>jc(n);return r[F]=n,An(n),[r,s=>Re(n,s),s=>Mr(n,s)]}function jc(e){return Ce(e),e.value}function Re(e,t){Ci()||Fc(e),e.equal(e.value,t)||(e.value=t,_h(e))}function Mr(e,t){Ci()||Fc(e),Re(e,t(e.value))}var Zt=W(H({},Ye),{equal:Rn,value:void 0,kind:"signal"});function _h(e){e.version++,Rc(),Ti(e),Ch?.(e)}var Si=W(H({},Ye),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function xi(e){if(e.dirty=!1,e.version>0&&!zt(e))return;e.version++;let t=Ae(e);try{e.cleanup(),e.fn()}finally{Je(e,t)}}var Ai=[void 0];function Sr(){return Ai[0]}function _e(e){let t=Ai[0];return Ai[0]=e,t}var Vc=Symbol("NotFound");function Yt(e){return e===Vc||e?.name==="\u0275NotFound"}function Ri(e,t,n){let r=Object.create(Nh);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Ke(r),Ce(r),r.value===ue)throw r.error;return r.value};return i[F]=r,An(r),i}function Oi(e,t){Ke(e),Re(e,t),Gt(e)}function Hc(e,t){if(Ke(e),e.value===ue)throw e.error;Mr(e,t),Gt(e)}var Nh=W(H({},Ye),{value:lt,dirty:!0,error:null,equal:Rn,kind:"linkedSignal",producerMustRecompute(e){return e.value===lt||e.value===ut},producerRecomputeValue(e){if(e.value===ut)throw new Error("");let t=e.value;e.value=ut;let n=Ae(e),r,o=!1;try{let i=e.source(),s=t!==lt&&t!==ue,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,g(null),o=s&&r!==ue&&e.equal(t,r)}catch(i){r=ue,e.error=i}finally{Je(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Bc(e){let t=g(null);try{return e()}finally{g(t)}}function w(e){return typeof e=="function"}function Kt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var xr=Kt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function dt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var q=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof xr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{$c(i)}catch(s){t=t??[],s instanceof xr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new xr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)$c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&dt(n,t)}remove(t){let{_finalizers:n}=this;n&&dt(n,t),t instanceof e&&t._removeParent(this)}};q.EMPTY=(()=>{let e=new q;return e.closed=!0,e})();var ki=q.EMPTY;function Ar(e){return e instanceof q||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function $c(e){w(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Jt={setTimeout(e,t,...n){let{delegate:r}=Jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Rr(e){Jt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function ft(){}var Uc=Li("C",void 0,void 0);function Wc(e){return Li("E",void 0,e)}function qc(e){return Li("N",e,void 0)}function Li(e,t,n){return{kind:e,value:t,error:n}}var pt=null;function Xt(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!pt;if(t&&(pt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=pt;if(pt=null,n)throw r}}else e()}function Gc(e){me.useDeprecatedSynchronousErrorHandling&&pt&&(pt.errorThrown=!0,pt.error=e)}var ht=class extends q{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ar(t)&&t.add(this)):this.destination=xh}static create(t,n,r){return new Oe(t,n,r)}next(t){this.isStopped?Fi(qc(t),this):this._next(t)}error(t){this.isStopped?Fi(Wc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fi(Uc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Mh=Function.prototype.bind;function Pi(e,t){return Mh.call(e,t)}var ji=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Or(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Or(r)}else Or(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Or(n)}}},Oe=class extends ht{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Pi(t.next,i),error:t.error&&Pi(t.error,i),complete:t.complete&&Pi(t.complete,i)}):o=t}this.destination=new ji(o)}};function Or(e){me.useDeprecatedSynchronousErrorHandling?Gc(e):Rr(e)}function Sh(e){throw e}function Fi(e,t){let{onStoppedNotification:n}=me;n&&Jt.setTimeout(()=>n(e,t))}var xh={closed:!0,next:ft,error:Sh,complete:ft};var en=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ie(e){return e}function Ah(...e){return Vi(e)}function Vi(e){return e.length===0?ie:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=Oh(t)?t:new Oe(t,n,r);return Xt(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=zc(n),new n((r,o)=>{let i=new Oe({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[en](){return this}pipe(...t){return Vi(t)(this)}toPromise(t){return t=zc(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};N.create=e=>new N(e);function zc(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function Rh(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Oh(e){return e&&e instanceof ht||Rh(e)&&Ar(e)}function kh(e){return w(e?.lift)}function b(e){return t=>{if(kh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new Hi(e,t,n,r,o)}var Hi=class extends ht{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Qc=Kt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=class extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new kr(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new Qc}next(t){Xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){Xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){Xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?ki:(this.currentObservers=null,o.push(t),new q(()=>{this.currentObservers=null,dt(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new N;return t.source=this,t}};K.create=(e,t)=>new kr(e,t);var kr=class extends K{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ki}};var kn=class extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Ln={now(){return(Ln.delegate||Date).now()},delegate:void 0};var Pn=class extends K{constructor(t=1/0,n=1/0,r=Ln){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function jr(e){return e&&w(e.schedule)}function Bi(e){return e[e.length-1]}function Vr(e){return w(Bi(e))?e.pop():void 0}function Ne(e){return jr(Bi(e))?e.pop():void 0}function Yc(e,t){return typeof Bi(e)=="number"?e.pop():t}function Jc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Kc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e){return this instanceof yt?(this.v=e,this):new yt(e)}function Xc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(T,S){i.push([f,m,T,S])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof yt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function el(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Kc=="function"?Kc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Hr=(e=>e&&typeof e.length=="number"&&typeof e!="function");function Br(e){return w(e?.then)}function $r(e){return w(e[en])}function Ur(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function Wr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Lh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var qr=Lh();function Gr(e){return w(e?.[qr])}function zr(e){return Xc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield yt(n.read());if(o)return yield yt(void 0);yield yield yt(r)}}finally{n.releaseLock()}})}function Qr(e){return w(e?.getReader)}function R(e){if(e instanceof N)return e;if(e!=null){if($r(e))return Ph(e);if(Hr(e))return Fh(e);if(Br(e))return jh(e);if(Ur(e))return tl(e);if(Gr(e))return Vh(e);if(Qr(e))return Hh(e)}throw Wr(e)}function Ph(e){return new N(t=>{let n=e[en]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fh(e){return new N(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Rr)})}function Vh(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function tl(e){return new N(t=>{Bh(e,t).catch(n=>t.error(n))})}function Hh(e){return tl(zr(e))}function Bh(e,t){var n,r,o,i;return Jc(this,void 0,void 0,function*(){try{for(n=el(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Zr(e,t=0){return b((n,r)=>{n.subscribe(C(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function Yr(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function nl(e,t){return R(e).pipe(Yr(t),Zr(t))}function rl(e,t){return R(e).pipe(Yr(t),Zr(t))}function ol(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function il(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[qr](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function Kr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sl(e,t){return Kr(zr(e),t)}function al(e,t){if(e!=null){if($r(e))return nl(e,t);if(Hr(e))return ol(e,t);if(Br(e))return rl(e,t);if(Ur(e))return Kr(e,t);if(Gr(e))return il(e,t);if(Qr(e))return sl(e,t)}throw Wr(e)}function Me(e,t){return t?al(e,t):R(e)}function $h(...e){let t=Ne(e);return Me(e,t)}function Uh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Wh(e){return!!e&&(e instanceof N||w(e.lift)&&w(e.subscribe))}var jn=Kt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function cl(e){return e instanceof Date&&!isNaN(e)}function ke(e,t){return b((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:qh}=Array;function Gh(e,t){return qh(t)?e(...t):e(t)}function Jr(e){return ke(t=>Gh(e,t))}var{isArray:zh}=Array,{getPrototypeOf:Qh,prototype:Zh,keys:Yh}=Object;function Xr(e){if(e.length===1){let t=e[0];if(zh(t))return{args:t,keys:null};if(Kh(t)){let n=Yh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Kh(e){return e&&typeof e=="object"&&Qh(e)===Zh}function eo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Jh(...e){let t=Ne(e),n=Vr(e),{args:r,keys:o}=Xr(e);if(r.length===0)return Me([],t);let i=new N(Xh(r,t,o?s=>eo(o,s):ie));return n?i.pipe(Jr(n)):i}function Xh(e,t,n=ie){return r=>{ll(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=Me(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ll(e,t,n){e?oe(n,e,t):t()}function ul(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l{i&&t.next(m),l++;let T=!1;R(n(m,u++)).subscribe(C(t,S=>{o?.(S),i?f(S):t.next(S)},()=>{T=!0},void 0,()=>{if(T)try{for(l--;c.length&&lh(S)):h(S)}p()}catch(S){t.error(S)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Le(e,t,n=1/0){return w(t)?Le((r,o)=>ke((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>ul(r,o,e,n)))}function Vn(e=1/0){return Le(ie,e)}function dl(){return Vn(1)}function nn(...e){return dl()(Me(e,Ne(e)))}function eg(e){return new N(t=>{R(e()).subscribe(t)})}function tg(...e){let t=Vr(e),{args:n,keys:r}=Xr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?eo(r,a):a),i.complete())}))}});return t?o.pipe(Jr(t)):o}function to(e=0,t,n=Zc){let r=-1;return t!=null&&(jr(t)?n=t:r=t),new N(o=>{let i=cl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function ng(...e){let t=Ne(e),n=Yc(e,1/0),r=e;return r.length?r.length===1?R(r[0]):Vn(n)(Me(r,t)):mt}function Hn(e,t){return b((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function fl(e){return b((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,l=>{r=!0,o=l,i||R(e(l)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function rg(e,t=gt){return fl(()=>to(e,t))}function pl(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=R(e(s,pl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function og(e,t){return w(t)?Le(e,t,1):Le(e,1)}function ig(e,t=gt){return b((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function hl(e){return b((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function rn(e){return e<=0?()=>mt:b((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function gl(){return b((e,t)=>{e.subscribe(C(t,ft))})}function ml(e){return ke(()=>e)}function $i(e,t){return t?n=>nn(t.pipe(rn(1),gl()),n.pipe($i(e))):Le((n,r)=>R(e(n,r)).pipe(rn(1),ml(n)))}function sg(e,t=gt){let n=to(e,t);return $i(()=>n)}function ag(e,t=ie){return e=e??cg,b((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function cg(e,t){return e===t}function yl(e=lg){return b((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function lg(){return new jn}function ug(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function dg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Hn((o,i)=>e(o,i,r)):ie,rn(1),n?hl(t):yl(()=>new jn))}function fg(e){return e<=0?()=>mt:b((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function pg(){return b((e,t)=>{let n,r=!1;e.subscribe(C(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Wi(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return b((m,T)=>{l++,!d&&!u&&p();let S=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=Ui(h,o))}),S.subscribe(T),!s&&l>0&&(s=new Oe({next:O=>S.next(O),error:O=>{d=!0,p(),a=Ui(f,n,O),S.error(O)},complete:()=>{u=!0,p(),a=Ui(f,r),S.complete()}}),R(m).subscribe(s))})(i)}}function Ui(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Oe({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function hg(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Wi({connector:()=>new Pn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function gg(e){return Hn((t,n)=>e<=n)}function mg(...e){let t=Ne(e);return b((n,r)=>{(t?nn(e,n,t):nn(e,n)).subscribe(r)})}function yg(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;R(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vg(e){return b((t,n)=>{R(e).subscribe(C(n,()=>n.complete(),ft)),!n.closed&&t.subscribe(n)})}function Eg(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ie}var ss="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(zn(t,n)),this.code=t}};function Ig(e){return`NG0${Math.abs(e)}`}function zn(e,t){return`${Ig(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function bl(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function Qn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Qn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` +`);return r>=0?n.slice(0,r):n}function co(e,t){return e?t?`${e} ${t}`:e:t||""}var Dg=A({__forward_ref__:A});function lo(e){return e.__forward_ref__=lo,e}function G(e){return as(e)?e():e}function as(e){return typeof e=="function"&&Object.hasOwn(e,Dg)&&e.__forward_ref__===lo}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function cs(e){return{providers:e.providers||[],imports:e.imports||[]}}function Zn(e){return bg(e,uo)}function wg(e){return Zn(e)!==null}function bg(e,t){return Object.hasOwn(e,t)&&e[t]||null}function Tg(e){let t=e?.[uo]??null;return t||null}function Gi(e){return e&&Object.hasOwn(e,ro)?e[ro]:null}var uo=A({\u0275prov:A}),ro=A({\u0275inj:A}),M=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=ne({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ls(e){return e&&!!e.\u0275providers}var Yn=A({\u0275cmp:A}),Kn=A({\u0275dir:A}),us=A({\u0275pipe:A}),ds=A({\u0275mod:A}),Un=A({\u0275fac:A}),Tt=A({__NG_ELEMENT_ID__:A}),vl=A({__NG_ENV_ID__:A});function Tl(e){return fo(e,"@NgModule"),e[ds]||null}function Be(e){return fo(e,"@Component"),e[Yn]||null}function Jn(e){return fo(e,"@Directive"),e[Kn]||null}function Cl(e){return fo(e,"@Pipe"),e[us]||null}function fo(e,t){if(e==null)throw new D(-919,!1)}function an(e){return typeof e=="string"?e:e==null?"":String(e)}var _l=A({ngErrorCode:A}),Cg=A({ngErrorMessage:A}),_g=A({ngTokenPath:A});function fs(e,t){return Nl("",-200,t)}function po(e,t){throw new D(-201,!1)}function Nl(e,t,n){let r=new D(t,e);return r[_l]=t,r[Cg]=e,n&&(r[_g]=n),r}function Ng(e){return e[_l]}var zi;function Ml(){return zi}function se(e){let t=zi;return zi=e,t}function ps(e,t,n){let r=Zn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;po(e,"")}var Ct=globalThis;var Mg={},vt=Mg,Sg="__NG_DI_FLAG__",Qi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Et(n)||0;try{return this.injector.get(t,r&8?null:vt,r)}catch(o){if(Yt(o))return o;throw o}}};function xg(e,t=0){let n=Sr();if(n===void 0)throw new D(-203,!1);if(n===null)return ps(e,void 0,t);{let r=Ag(t),o=n.retrieve(e,r);if(Yt(o)){if(r.optional)return null;throw o}return o}}function ee(e,t=0){return(Ml()||xg)(G(e),t)}function E(e,t){return ee(e,Et(t))}function Et(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ag(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Zi(e){let t=[];for(let n=0;nArray.isArray(n)?ho(n,t):t(n))}function hs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Al(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function go(e,t,n){let r=cn(e,t);return r>=0?e[r|1]=n:(r=~r,Rl(e,r,t,n)),r}function mo(e,t){let n=cn(e,t);if(n>=0)return e[n|1]}function cn(e,t){return Og(e,t,1)}function Og(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return ho(t,s=>{let a=s;oo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&kl(o,i),n}function kl(e,t){for(let n=0;n{t(i,r)})}}function oo(e,t,n,r){if(e=G(e),!e)return!1;let o=null,i=Gi(e),s=!i&&Be(e);if(!i&&!s){let c=e.ngModule;if(i=Gi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)oo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ho(i.imports,u=>{oo(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&kl(l,t)}if(!a){let l=It(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:ms,useValue:o,multi:!0},o),t({provide:_t,useValue:()=>ee(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;vs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function vs(e,t){for(let n of e)ls(n)&&(n=n.\u0275providers),Array.isArray(n)?vs(n,t):t(n)}var kg=A({provide:String,useValue:A});function Ll(e){return e!==null&&typeof e=="object"&&kg in e}function Lg(e){return!!(e&&e.useExisting)}function Pg(e){return!!(e&&e.useFactory)}function Dt(e){return typeof e=="function"}function Pl(e){return!!e.useClass}var Es=new M(""),no={},El={},qi;function ln(){return qi===void 0&&(qi=new sn),qi}var ye=class{},wt=class extends ye{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ki(t,s=>this.processProvider(s)),this.records.set(gs,on(void 0,this)),o.has("environment")&&this.records.set(ye,on(void 0,this));let i=this.records.get(Es);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ms,J,{self:!0}))}retrieve(t,n){let r=Et(n)||0;try{return this.get(t,vt,r)}catch(o){if(Yt(o))return o;throw o}}destroy(){Bn(this),this._destroyed=!0;let t=g(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),g(t)}}onDestroy(t){return Bn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Bn(this);let n=_e(this),r=se(void 0),o;try{return t()}finally{_e(n),se(r)}}get(t,n=vt,r){if(Bn(this),Object.hasOwn(t,vl))return t[vl](this);let o=Et(r),i,s=_e(this),a=se(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Bg(t)&&Zn(t);u&&this.injectableDefInScope(u)?l=on(Yi(t),no):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?ln():this.parent;return n=o&8&&n===vt?null:n,c.get(t,n)}catch(c){let l=Ng(c);throw l===-200||l===-201?new D(l,null):c}finally{se(a),_e(s)}}resolveInjectorInitializers(){let t=g(null),n=_e(this),r=se(void 0),o;try{let i=this.get(_t,J,{self:!0});for(let s of i)s()}finally{_e(n),se(r),g(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=G(t);let n=Dt(t)?t:G(t&&t.provide),r=jg(t);if(!Dt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=on(void 0,no,!0),o.factory=()=>Zi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=g(null);try{if(n.value===El)throw fs("");return n.value===no&&(n.value=El,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Hg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{g(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=G(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Yi(e){let t=Zn(e),n=t!==null?t.factory:It(e);if(n!==null)return n;if(e instanceof M)throw new D(-204,!1);if(e instanceof Function)return Fg(e);throw new D(-204,!1)}function Fg(e){if(e.length>0)throw new D(-204,!1);let n=Tg(e);return n!==null?()=>n.factory(e):()=>new e}function jg(e){if(Ll(e))return on(void 0,e.useValue);{let t=Is(e);return on(t,no)}}function Is(e,t,n){let r;if(Dt(e)){let o=G(e);return It(o)||Yi(o)}else if(Ll(e))r=()=>G(e.useValue);else if(Pg(e))r=()=>e.useFactory(...Zi(e.deps||[]));else if(Lg(e))r=(o,i)=>ee(G(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=G(e&&(e.useClass||e.provide));if(Vg(e))r=()=>new o(...Zi(e.deps));else return It(o)||Yi(o)}return r}function Bn(e){if(e.destroyed)throw new D(-205,!1)}function on(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vg(e){return!!e.deps}function Hg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ki(e,t){for(let n of e)Array.isArray(n)?Ki(n,t):n&&ls(n)?Ki(n.\u0275providers,t):t(n)}function vo(e,t){let n;e instanceof wt?(Bn(e),n=e):n=new Qi(e);let r,o=_e(n),i=se(void 0);try{return t()}finally{_e(o),se(i)}}function Ds(){return Ml()!==void 0||Sr()!=null}var Ee=0,y=1,I=2,B=3,fe=4,Z=5,Nt=6,un=7,j=8,$e=9,Ie=10,L=11,dn=12,ws=13,nt=14,X=15,rt=16,Mt=17,Se=18,er=19,bs=20,Fe=21,Eo=22,je=23,ae=24,St=25,Fl=26,fn=27,$=28,jl=1,Ts=6,xt=7,tr=8,At=9,V=10;function Ue(e){return Array.isArray(e)&&typeof e[jl]=="object"}function pe(e){return Array.isArray(e)&&e[jl]===!0}function Cs(e){return(e.flags&4)!==0}function We(e){return e.componentOffset>-1}function nr(e){return(e.flags&1)===1}function De(e){return!!e.template}function pn(e){return(e[I]&512)!==0}function Rt(e){return(e[I]&256)===256}var Q=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Q||{}),$n,bt="svg",Io="math",Ji="",Il="*",Xi=()=>Object.create(null);function $g(){return $n||($n=Xi(),et(Q.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),et(Q.STYLE,void 0,[["*",["style"]]]),et(Q.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]]]),et(Q.URL,Io,[["*",["href","xlink:href"]]]),et(Q.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),et(Q.URL,bt,[["a",["href","xlink:href"]]]),et(Q.ATTRIBUTE_NO_BINDING,bt,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),et(Q.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),$n)}function et(e,t,n){let r=t??Ji;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=$n[c]??=Xi(),u=l[r]??=Xi();u[s]=e}}}function Vl(e,t,n){let o=$g()[t.toLowerCase()];if(!o)return Q.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[Il])}if(s===void 0){let a=o[Ji];a&&(s=a[i]??a[Il])}if(s===void 0&&(!n||n===Ji)){let a=o[bt];a&&(s=a[i])}return s??Q.NONE}function Y(e){for(;Array.isArray(e);)e=e[Ee];return e}function _s(e,t){return Y(t[e])}function ce(e,t){return Y(t[e.index])}function Do(e,t){return e.data[t]}function Hl(e,t){return e[t]}function he(e,t){let n=t[e];return Ue(n)?n:n[Ee]}function Bl(e){return(e[I]&4)===4}function wo(e){return(e[I]&128)===128}function $l(e){return pe(e[B])}function le(e,t){return t==null?null:e[t]}function Ns(e){e[Mt]=0}function Ms(e){e[I]&1024||(e[I]|=1024,wo(e)&&Ot(e))}function Ul(e,t){for(;e>0;)t=t[nt],e--;return t}function rr(e){return!!(e[I]&9216||e[ae]?.dirty)}function bo(e){e[Ie].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),rr(e)&&Ot(e)}function Ot(e){e[Ie].changeDetectionScheduler?.notify(0);let t=Ve(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!wo(t)));)t=Ve(t)}function To(e,t){if(Rt(e))throw new D(911,!1);e[Fe]===null&&(e[Fe]=[]),e[Fe].push(t)}function Wl(e,t){if(e[Fe]===null)return;let n=e[Fe].indexOf(t);n!==-1&&e[Fe].splice(n,1)}function Ve(e){let t=e[B];return pe(t)?t[B]:t}function Ss(e){return e[un]??=[]}function xs(e){return e.cleanup??=[]}function ql(e,t,n,r){let o=Ss(t);o.push(n),e.firstCreatePass&&xs(e).push(r,o.length-1)}var _={lFrame:iu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var es=!1;function Gl(){return _.lFrame.elementDepthCount}function zl(){_.lFrame.elementDepthCount++}function As(){_.lFrame.elementDepthCount--}function Rs(){return _.bindingsEnabled}function Os(){return _.skipHydrationRootTNode!==null}function ks(e){return _.skipHydrationRootTNode===e}function Ls(){_.skipHydrationRootTNode=null}function v(){return _.lFrame.lView}function P(){return _.lFrame.tView}function Ql(e){return _.lFrame.contextLView=e,e[j]}function Zl(e){return _.lFrame.contextLView=null,e}function U(){let e=Ps();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ps(){return _.lFrame.currentTNode}function Yl(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hn(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Fs(){return _.lFrame.isParent}function js(){_.lFrame.isParent=!1}function Kl(){return _.lFrame.contextLView}function Vs(){return es}function Wn(e){let t=es;return es=e,t}function Hs(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Jl(){return _.lFrame.bindingIndex}function Xl(e){return _.lFrame.bindingIndex=e}function ot(){return _.lFrame.bindingIndex++}function Co(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function eu(){return _.lFrame.inI18n}function tu(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,_o(t)}function nu(){return _.lFrame.currentDirectiveIndex}function _o(e){_.lFrame.currentDirectiveIndex=e}function ru(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function No(){return _.lFrame.currentQueryIndex}function or(e){_.lFrame.currentQueryIndex=e}function Ug(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function Bs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Ug(i),o===null||(i=i[nt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=ou();return r.currentTNode=t,r.lView=e,!0}function Mo(e){let t=ou(),n=e[y];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ou(){let e=_.lFrame,t=e===null?null:e.child;return t===null?iu(e):t}function iu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function su(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var $s=su;function So(){let e=su();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function au(e){return(_.lFrame.contextLView=Ul(e,_.lFrame.contextLView))[j]}function we(){return _.lFrame.selectedIndex}function it(e){_.lFrame.selectedIndex=e}function kt(){let e=_.lFrame;return Do(e.tView,e.selectedIndex)}function cu(){_.lFrame.currentNamespace=bt}function Us(){return _.lFrame.currentNamespace}var lu=!0;function xo(){return lu}function Ao(e){lu=e}function ts(e,t=null,n=null,r){let o=Ws(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ws(e,t=null,n=null,r,o=new Set){let i=[n||J,Ol(e)],s;return new wt(i,t||ln(),s||null,o)}var te=class e{static THROW_IF_NOT_FOUND=vt;static NULL=new sn;static create(t,n){if(Array.isArray(t))return ts({name:""},n,t,"");{let r=t.name??"";return ts({name:r},t.parent,t.providers,r)}}static \u0275prov=ne({token:e,providedIn:"any",factory:()=>ee(gs)});static __NG_ELEMENT_ID__=-1},Ro=new M(""),de=class{static __NG_ELEMENT_ID__=Wg;static __NG_ENV_ID__=t=>t},io=class extends de{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Rt(this._lView)}onDestroy(t){let n=this._lView;return To(n,t),()=>Wl(n,t)}};function Wg(){return new io(v())}var qs=!1,uu=new M(""),qe=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new kn(!1);debugTaskTracker=E(uu,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})(),ns=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ds()&&(this.destroyRef=E(de,{optional:!0})??void 0,this.pendingTasks=E(qe,{optional:!0})??void 0)}emit(t){let n=g(null);try{super.next(t)}finally{g(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof q&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Pe=ns;function so(...e){}function Gs(e){let t,n;function r(){e=so;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function du(e){return queueMicrotask(()=>e()),()=>{e=so}}var zs="isAngularZone",qn=zs+"_ID",qg=0,z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Pe(!1);onMicrotaskEmpty=new Pe(!1);onStable=new Pe(!1);onError=new Pe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=qs}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Qg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(zs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Gg,so,so);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Gg={};function Qs(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Gs(()=>{e.callbackScheduled=!1,rs(e),e.isCheckStableRunning=!0,Qs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),rs(e)}function Qg(e){let t=()=>{zg(e)},n=qg++;e._inner=e._inner.fork({name:"angular",properties:{[zs]:!0,[qn]:n,[qn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Zg(c))return r.invokeTask(i,s,a,c);try{return Dl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),wl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Dl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Yg(c)&&t(),wl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,rs(e),Qs(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function rs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Dl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wl(e){e._nesting--,Qs(e)}var Gn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Pe;onMicrotaskEmpty=new Pe;onStable=new Pe;onError=new Pe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Zg(e){return fu(e,"__ignore_ng_zone__")}function Yg(e){return fu(e,"__scheduler_tick__")}function fu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var He=class{_console=console;handleError(t){this._console.error("ERROR",t)}};function pu(e){return hu(e)?e:new os(e)}function hu(e){return e instanceof Error||typeof e=="object"&&e!==null&&typeof e.name=="string"&&typeof e.message=="string"}var os=class extends Error{constructor(t){super(String(t),{cause:t}),this.name="ErrorBoundaryWrappedError"}},st=new M("",{factory:()=>{let e=E(z),t=E(ye),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(He),n.handleError(r))})}}}),gu={provide:_t,useValue:()=>{let e=E(He,{optional:!0})},multi:!0};function Oo(e,t){let[n,r,o]=Mi(e,t?.equal),i=n,s=i[F];return i.set=r,i.update=o,i.asReadonly=ir.bind(i),i}function ir(){let e=this[F];if(e.readonlyFn===void 0){let t=()=>this();t[F]=e,e.readonlyFn=t}return e.readonlyFn}var mu=new M("",{factory:()=>Kg}),Kg="ng";var yu=new M(""),Jg=new M("",{providedIn:"platform",factory:()=>"unknown"}),Xg=new M(""),em=new M("",{factory:()=>E(Ro).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var gn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=tm}return e})();function tm(){return new gn(v(),U())}var ve=class{},mn=new M("",{factory:()=>!0});var ko=new M(""),Lo=(()=>{class e{static \u0275prov=ne({token:e,providedIn:"root",factory:()=>new is})}return e})(),is=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},ao=class{[F];constructor(t){this[F]=t}destroy(){this[F].destroy()}};function vu(e,t){let n=t?.injector??E(te),r=t?.manualCleanup!==!0?n.get(de):null,o,i=n.get(gn,null,{optional:!0}),s=n.get(ve);return i!==null?(o=Iu(i.view,s,e),r instanceof io&&r._lView===i.view&&(r=null)):o=om(e,n.get(Lo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ao(o)}var Eu=W(H({},Si),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Wn(!1);try{xi(this)}finally{Wn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=g(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],g(e)}}}),nm=W(H({},Eu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Xe(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),rm=W(H({},Eu),{consumerMarkedDirty(){this.view[I]|=8192,Ot(this.view),this.notifier.notify(13)},destroy(){if(Xe(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[je]?.delete(this)}});function Iu(e,t,n){let r=Object.create(rm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.userFn=n,r.fn=Du(r,n),e[je]??=new Set,e[je].add(r),r.consumerMarkedDirty(r),r}function om(e,t,n){let r=Object.create(nm);return r.userFn=e,r.fn=Du(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Du(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Po(e){return typeof e=="function"&&e[F]!==void 0}function Fo(e){return Po(e)&&typeof e.set=="function"}var Zs=(()=>{class e{internalPendingTasks=E(qe);scheduler=E(ve);errorHandler=E(st);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static \u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();var Nn=Symbol("InputSignalNode#UNSET"),qa=W(H({},Zt),{transformFn:void 0,applyValueToInputSignal(e,t){Re(e,t)}});function yr(e){return{toString:e}.toString()}var x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{}),zo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ld(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ud=null,ym=(()=>{ud=wu;let e=()=>wu;return e.ngInherit=!0,e})();function vm(){return ud}function wu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Im),Em}function Em(){let e=dd(this),t=e?.current;if(t){let n=e.previous;if(n===tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Im(e,t,n,r,o){let i=this.declaredInputs[r],s=dd(e)||Dm(e,{previous:tt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new zo(l&&l.currentValue,n,c===tt),ld(e,t,o,n)}var sa="__ngSimpleChanges__";function dd(e){return Object.hasOwn(e,sa)&&e[sa]||null}function Dm(e,t){return e[sa]=t}var bu=[];var k=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[Mt]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,Tu(a,i)):Tu(a,i)}var En=-1,Pt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Tm(e){return(e.flags&8)!==0}function Cm(e){return(e.flags&16)!==0}function _m(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Zo(e,t){let n=Mm(e),r=t;for(;n>0;)r=r[nt],n--;return r}var aa=!0;function _u(e){let t=aa;return aa=e,t}var Sm=256,md=Sm-1,yd=5,xm=0,xe={};function Am(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:Object.hasOwn(n,Tt)&&(r=n[Tt]),r==null&&(r=n[Tt]=xm++);let o=r&md,i=1<>yd)]|=i}function Yo(e,t){let n=vd(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Ks(r.data,e),Ks(t,null),Ks(r.blueprint,null));let o=Ga(e,t),i=e.injectorIndex;if(gd(o)){let s=Qo(o),a=Zo(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ks(e,t){e.push(0,0,0,0,0,0,0,0,t)}function vd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=bd(o),r===null)return En;if(n++,o=o[nt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return En}function ca(e,t,n){Am(e,t,n)}function Rm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&De(f)&&f.type===n)return c}return null}function cr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Pt){let a=i;if(a.resolving)throw fs("");let c=_u(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?se(a.injectImpl):null,p=Bs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&wm(n,s[n],t)}finally{d!==null&&se(d),_u(c),a.resolving=!1,$s()}}return i}function km(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=Object.hasOwn(e,Tt)?e[Tt]:void 0;return typeof t=="number"?t>=0?t&md:Lm:t}function Nu(e,t,n){let r=1<>yd)]&r)}function Mu(e,t){return!(e&2)&&!(e&1&&t)}var Ge=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Dd(this._tNode,this._lView,t,Et(r),n)}};function Lm(){return new Ge(U(),v())}function Pm(e){return yr(()=>{let t=e.prototype.constructor,n=t[Un]||la(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Un]||la(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function la(e){return as(e)?()=>{let t=la(G(e));return t&&t()}:It(e)}function Fm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!pn(s);){let a=wd(i,s,n,r|2,xe);if(a!==xe)return a;r&=-5;let c=i.parent;if(!c){let l=s[bs];if(l){let u=l.get(n,xe,r);if(u!==xe)return u}c=bd(s),s=s[nt]}i=c}return o}function bd(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function Td(e){return Rm(U(),e)}function Cd(e){let t=Ct.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function $t(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function jm(){return Mn(U(),v())}function Mn(e,t){return new vr(ce(e,t))}var vr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=jm}return e})();function _d(e){return e instanceof vr?e.nativeElement:e}function Vm(){return this._results[Symbol.iterator]()}var Ko=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new K}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=xl(t);(this._changesDetected=!Sl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Vm};function Nd(e){return(e.flags&128)===128}var za=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(za||{}),Md=new Map,Hm=0;function Bm(){return Hm++}function $m(e){Md.set(e[er],e)}function ua(e){Md.delete(e[er])}var Su="__ngContext__";function wn(e,t){Ue(t)?(e[Su]=t[er],$m(t)):e[Su]=t}function Sd(e){return Ad(e[dn])}function xd(e){return Ad(e[fe])}function Ad(e){for(;e!==null&&!pe(e);)e=e[fe];return e}var da;function Um(e){da=e}function Rd(){if(da!==void 0)return da;if(typeof document<"u")return document;throw new D(210,!1)}var Od="r";var kd="di";var Wm=new M(""),Ld=!1,Pd=new M("",{factory:()=>Ld});var qm=new M("");var xu=new WeakMap;function Gm(e,t){if(e==null||typeof e!="object")return;let n=xu.get(e);n||(n=new WeakSet,xu.set(e,n)),n.add(t)}var zm=(e,t,n,r)=>{};function Qm(e,t,n,r){zm(e,t,n,r)}function di(e){return(e.flags&32)===32}var Zm=()=>null;function Fd(e,t,n=!1){return Zm(e,t,n)}function jd(e,t){let n=e.contentQueries;if(n!==null){let r=g(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return jo}function fi(e){return ny()?.createHTML(e)||e}var Vo;function ry(){if(Vo===void 0&&(Vo=null,Ct.trustedTypes))try{Vo=Ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Vo}function Au(e){return ry()?.createScriptURL(e)||e}function oy(e){let t=new Ea(e);return iy()?new va(t):t}var va=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(fi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ea=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=fi(t),n}};function iy(){try{return!!new window.DOMParser().parseFromString(fi(""),"text/html")}catch(e){return!1}}var sy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Za(e){return e=String(e),e.match(sy)?e:"unsafe:"+e}function Qe(e){let t=Object.create(null);for(let n of e.split(","))t[n]=!0;return t}function Er(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var Bd=Qe("area,br,col,hr,img,wbr"),$d=Qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ud=Qe("rp,rt"),ay=Er(Ud,$d),cy=Er($d,Qe("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")),ly=Er(Ud,Qe("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")),Ru=Er(Bd,cy,ly,ay),Wd=Qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),uy=Qe("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"),dy=Qe("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"),fy=Er(Wd,uy,dy),py=Qe("script,style,template"),Ia=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=my(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=gy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ou(t).toLowerCase();if(!Object.hasOwn(Ru,n))return this.sanitizedSomething=!0,!Object.hasOwn(py,n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Ou(t).toLowerCase();Object.hasOwn(Ru,n)&&!Object.hasOwn(Bd,n)&&(this.buf.push(""))}chars(t){this.buf.push(ku(t))}};function hy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw qd(t);return t}function my(e){let t=e.firstChild;if(t&&hy(e,t))throw qd(t);return t}function Ou(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function qd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var yy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vy=/([^\#-~ |!])/g;function ku(e){return e.replace(/&/g,"&").replace(yy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(vy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Ho;function Ey(e,t){let n=null;try{Ho=Ho||oy(e);let r=t?String(t):"";n=Ho.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ho.getInertBodyElement(r)}while(r!==i);let a=new Ia().sanitizeChildren(Lu(n)||n);return fi(a)}finally{if(n){let r=Lu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Lu(e){return"content"in e&&Iy(e)?e.content:null}function Iy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function Dy(e,t){return e.createText(t)}function wy(e,t,n){e.setValue(t,n)}function Gd(e,t,n){return e.createElement(t,n)}function Lt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function zd(e,t,n){e.appendChild(t,n)}function Pu(e,t,n,r,o){r!==null?Lt(e,t,n,r,o):zd(e,t,n)}function Qd(e,t,n,r){e.removeChild(null,t,n,r)}function by(e,t,n){e.setAttribute(t,"style",n)}function Ty(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&_m(e,t,r),o!==null&&Ty(e,t,o),i!==null&&by(e,t,i)}function Cy(e,t=!0){if(e[0]!=":")return[null,e];let n=e.indexOf(":",1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Yd(e){let t=Jd();return t?t.sanitize(Q.URL,e)||"":Qa(e,"URL")?jt(e):Za(an(e))}function Kd(e){let t=Jd();if(t)return Au(t.sanitize(Q.RESOURCE_URL,e)||"");if(Qa(e,"ResourceURL"))return Au(jt(e));throw new D(-904,!1)}function _y(e,t){switch(My(e,t)){case Q.RESOURCE_URL:return Kd;case Q.URL:return Yd;default:return null}}function Ny(e,t,n){return _y(t,n)?.(e)??e}function Jd(){let e=v();return e&&e[Ie].sanitizer}function My(e,t){let[n,r]=Sy(e);return Vl(r,t,n)}function Sy(e){e=e.toLowerCase();let t=Cy(e,!1);if(t[0])return t;let r=we()===-1?null:kt(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=ce(r,v());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&ty[s]}}return[o,e]}function xy(e){return e instanceof Function?e():e}function Ay(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Xd="ng-template";function Ry(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Ly(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=Fu(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Fu(i,o)),t}function By(e){return e.map(Hy).join(",")}function $y(e){let t=[],n=[],r=1,o=2;for(;r=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),yn.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function Gy(e,t,n){let r=tf(n),o=Da.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Da.set(e,[{el:t,declarationView:r}])}var pi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(pi||{}),Ut=new M(""),ju=new Set;function Ze(e){ju.has(e)||(ju.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var hi=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ja=[0,1,2,3],Xa=(()=>{class e{ngZone=E(z);scheduler=E(ve);errorHandler=E(He,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Ut,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(x.AfterRenderHooksStart),this.executing=!0;for(let r of Ja)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&k(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[St]??=[]).push(n),Ot(r),r[I]|=8192):this.addSequence(n)}addSequence(n){this.executing?this.deferredRegistrations.add(n):this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(pi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})(),lr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[St];t&&(this.view[St]=t.filter(n=>n!==this))}};function zy(e,t){let n=t?.injector??E(te);return Ze("NgAfterNextRender"),Zy(e,n,t,!0)}function Qy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Zy(e,t,n,r){let o=t.get(hi);o.impl??=t.get(Xa);let i=t.get(Ut,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(de):null,a=t.get(gn,null,{optional:!0}),c=new lr(o.impl,Qy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var wa=null,nf=null;function Vu(e,t,n,r){wa?.maybeQueueEnterAnimation(e,t,n,r)}function Hu(e,t,n,r){wa===null?r(!1):wa.runLeaveAnimationsWithCallback(e,t,n,r)}function Yy(e){nf?.initViewDetachAnimations(e)}function Ky(e){nf?.clearViewDetachAnimations(e)}function vn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;pe(o)?c=o:Ue(o)&&(l=!0,o=o[Ee]);let u=Y(o);e===0&&r!==null?(Vu(a,r,i,n),s==null?zd(t,r,u):Lt(t,r,u,s||null,!0)):e===1&&r!==null?(Lt(t,r,u,s||null,!0),qy(i,u,a),yn.has(u)||Vu(a,r,i,n)):e===2?(a?.[Fl]?.leave?.has(i.index)&&Gy(i,u,a),yn.delete(u),Hu(a,i,n,d=>{if(yn.has(u)){yn.delete(u);return}Qd(t,u,l,d)})):e===3&&(yn.delete(u),Hu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&cv(t,e,n,c,i,r,s)}}function Jy(e,t){rf(e,t),t[Ee]=null,t[Z]=null}function Xy(e,t,n,r,o,i){r[Ee]=o,r[Z]=t,mi(e,r,n,1,o,i)}function rf(e,t){t[Ie].changeDetectionScheduler?.notify(9),mi(e,t,t[L],2,null,null)}function ev(e){let t=e[dn];if(!t)return Js(e[y],e);for(;t;){let n=null;if(Ue(t))n=t[dn];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)Ue(t)&&Js(t[y],t),t=t[B];t===null&&(t=e),Ue(t)&&Js(t[y],t),n=t&&t[fe]}t=n}}function ec(e,t){let n=e[At],r=n.indexOf(t);n.splice(r,1)}function gi(e,t){if(Rt(t))return;let n=t[L];n.destroyNode&&mi(e,t,n,3,null,null),ev(t)}function Js(e,t){if(Rt(t))return;let n=g(null);try{t[I]&=-129,t[I]|=256,t[ae]&&Xe(t[ae]),nv(e,t),tv(e,t),t[y].type===1&&t[L].destroy();let r=t[rt];if(r!==null&&pe(t[B])){r!==t[B]&&ec(r,t);let o=t[Se];o!==null&&o.detachView(e)}ua(t)}finally{g(n)}}function tv(e,t){let n=e.cleanup,r=t[un];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[un]=null);let o=t[Fe];if(o!==null){t[Fe]=null;for(let s=0;s$&&df(e,t,$,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;k(a,o,n),n(r,o)}finally{it(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;k(a,o,n)}}function sc(e,t,n){Ev(e,t,n),(n.flags&64)===64&&Iv(e,t,n)}function yi(e,t,n=ce){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function yv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function pf(e,t,n,r,o,i){let s=t[y];if(ac(e,s,t,n,r)){We(e)&&vv(t,e.index);return}e.type&3&&(n=yv(n)),hf(e,t,n,r,o,i)}function hf(e,t,n,r,o,i){if(e.type&3){let s=ce(e,t);r=i!=null?i(r,e.value||"",n):r,r=gf(n,s,r),o.setProperty(s,n,r)}else e.type&12}function gf(e,t,n){return e==="src"&&(t.tagName==="IMG"||t.tagName==="VIDEO")?n==null?"":jt(n):n}function vv(e,t){let n=he(t,e);n[I]&16||(n[I]|=64)}function Ev(e,t,n){let r=n.directiveStart,o=n.directiveEnd;We(n)&&fv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Yo(n,t);let i=n.initialInputs;for(let s=r;s=a&&f<=c){let h=t.data[f],m=d[p+1];Vt(h,n[f],m,i),l=!0}else if(f>c)break}}return s!==null&&Object.hasOwn(r.inputs,o)&&(Vt(r,n[s],o,i),l=!0),l}function Nv(e,t){let n=he(t,e),r=n[y];Mv(r,n);let o=n[Ee];o!==null&&n[Nt]===null&&(n[Nt]=Fd(o,n[$e])),k(x.ComponentStart);try{cc(r,n,n[j])}finally{k(x.ComponentEnd,n[j])}}function Mv(e,t){for(let n=t.length;n{Ot(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function kv(e){let t=e[ae]??Object.create(Lv);return t.lView=e,t}var Lv=W(H({},Ye),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ve(e.lView);for(;t&&!wf(t[y]);)t=Ve(t);t&&Ms(t)},consumerOnSignalRead(){this.lView[ae]=this}});function wf(e){return e.type!==2}function bf(e){if(e[je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[je])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[je]===null))return;t=n&&!!(e[I]&8192)}}var Pv=100;function Tf(e,t=0){let r=e[Ie].rendererFactory,o=!1;o||r.begin?.();try{Fv(e,t)}finally{o||r.end?.()}}function Fv(e,t){let n=Vs();try{Wn(!0),Ta(e,t);let r=0;for(;rr(e);){if(r===Pv)throw new D(103,!1);r++,Ta(e,1)}}finally{Wn(n)}}function jv(e,t,n,r){if(Rt(t))return;let o=t[I],i=!1,s=!1;Mo(t);let a=!0,c=null,l=null;i||(wf(e)?(l=xv(t),c=Ae(l)):Nr()===null?(a=!1,l=kv(t),c=Ae(l)):t[ae]&&(Xe(t[ae]),t[ae]=null));try{Ns(t),Xl(e.bindingStartIndex),n!==null&&ff(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Uo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Wo(t,f,0,null),Ys(t,0)}if(s||Vv(t),bf(t),Cf(t,0),e.contentQueries!==null&&jd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Uo(t,f)}else{let f=e.contentHooks;f!==null&&Wo(t,f,1),Ys(t,1)}Bv(e,t);let d=e.components;d!==null&&Nf(t,d,0);let p=e.viewQuery;if(p!==null&&fa(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Uo(t,f)}else{let f=e.viewHooks;f!==null&&Wo(t,f,2),Ys(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Eo]){for(let f of t[Eo])f();t[Eo]=null}i||(If(t),t[I]&=-73)}catch(u){let d=!1,p=u,f=t;for(;f!==null;){if(pe(f)){f=f[B];continue}let h=f[fn];if(h)try{let m=t[X][j],T=m?.constructor,S={declarationInstance:m,declarationType:T,caughtBy:h},O=g(null);try{h(pu(p),S)}finally{g(O)}d=!0;break}catch(m){p=m}f=f[B]}if(!d)throw i||Ot(t),p}finally{l!==null&&(Je(l,c),a&&Rv(l)),So()}}function Cf(e,t){for(let n=Sd(e);n!==null;n=xd(n))for(let r=V;r0&&(e[n-1][fe]=r[fe]);let i=Xn(e,V+t);Jy(r[y],r);let s=i[Se];s!==null&&s.detachView(i[y]),r[B]=null,r[fe]=null,r[I]&=-129}return r}function $v(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][fe]=t),r-1&&(dr(t,r),Xn(n,r))}this._attachedToViewContainer=!1}gi(this._lView[y],this._lView)}onDestroy(t){To(this._lView,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){bo(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Tf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=pn(this._lView),n=this._lView[rt];n!==null&&!t&&ec(n,this._lView),rf(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=pn(this._lView),r=this._lView[rt];r!==null&&!n&&Af(r,this._lView),bo(this._lView)}};var fr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Uv;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Dr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new at(i)}}return e})();function Uv(){return vi(U(),v())}function vi(e,t){return e.type&4?new fr(t,e,Mn(e,t)):null}function Sn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Wv(e,t,n,r,o),eu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Yl();i.injectorIndex=s===null?-1:s.injectorIndex}return hn(i,!0),i}function Wv(e,t,n,r,o){let i=Ps(),s=Fs(),a=s?i:i&&i.parent,c=e.data[t]=Gv(e,a,n,t,r,o);return qv(e,c,i,s),c}function qv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Gv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Os()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Us(),attrs:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function zv(e){let t=e[Ts]??[],r=e[B][L],o=[];for(let i of t)i.data[kd]!==void 0?o.push(i):Qv(i,r);e[Ts]=o}function Qv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Od];for(;nnull,Yv=()=>null;function Xo(e,t){return Zv(e,t)}function Rf(e,t,n){return Yv(e,t,n)}var Of=class{},pr=class{},Ca=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>Kv()};function Kv(){let e=v(),t=U(),n=he(t.index,e);return(Ue(n)?n:e)[L]}var kf=(()=>{class e{static \u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();function Lf(e){return e.debugInfo?.className||e.type.name||null}var Go={},ei=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Go,r);return o!==Go||n===Go?o:this.parentInjector.get(t,n,r)}};function Pf(e,t,n){return e[t]=n}function Jv(e,t){return e[t]}function ge(e,t,n){if(n===re)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Xv(e,t,n,r){let o=ge(e,t,n);return ge(e,t+1,r)||o}function In(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Gm(o,i);let s=We(e)?he(e.index,t):t;lc(s,5);let a=t[j],c=$u(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=$u(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function $u(e,t,n,r){let o=g(null);try{return k(x.OutputStart,t,n),n(r)!==!1}catch(i){return Cv(e,i),!1}finally{k(x.OutputEnd,t,n),g(o)}}function Ff(e,t,n,r,o,i,s,a){let c=nr(e),l=!1,u=null;if(!r&&c&&(u=tE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ce(e,n),p=r?r(d):d;Qm(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!eE(i)){let h=r?m=>r(Y(m[e.index])):e.index;jf(h,t,n,i,a,f,!1)}}return l}function eE(e){return e.startsWith("animation")||e.startsWith("transition")}function tE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function jf(e,t,n,r,o,i,s){let a=t.firstCreatePass?xs(t):null,c=Ss(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Uu(e,t,n,r,o){let i=null,s=null,a=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l=="number"?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d=s&&p<=a)c=!0,ti(e,t,p,u[d+1],r,o);else if(p>a)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,ti(e,t,i,r,r,o)),c}function ti(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);jf(e.index,a,t,o,i,d,!0)}function nE(){rE()}function rE(){let e=v(),t=P(),n=U();if(t.firstCreatePass&&sE(t,n),n.controlDirectiveIndex===-1)return;Ze("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new ni(e,t,n))}function oE(){iE()}function iE(){let e=v(),t=P(),n=kt();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new ni(e,t,n))}var ni=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ce(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Uu(this.tNode,this.lView,r,t,In(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Uu(this.tNode,this.lView,r,n,In(this.tNode,this.lView,t))}setInputOnDirectives(t,n,r){let o=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!o&&!i)return!1;let s=!1;if(o)for(let a of o){if(a===this.tNode.controlDirectiveIndex)continue;let c=this.lView[a],l=this.tView.data[a];(!r||r(qu(c,l,t)))&&(Vt(l,c,t,n),s=!0)}if(i)for(let a=0;a0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=Wu(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a1){t.flags|=4096;return}aE(e,t)}function aE(e,t){for(let n=t.directiveStart;n{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return!1;for(let a=0;a=f&&c<=h)return t.flags|=o,t.customControlIndex=p,!0}}}return!1};if(n("value",1024)||n("checked",2048))return}}function Gu(e,t){return cE(e,t)&&lE(e,t+"Change")}function cE(e,t){return t in e.inputs}function lE(e,t){return t in e.outputs}var _a=Symbol("BINDING");var Vf=new M("");function ri(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vE(e,t,n){if(n){if(t.exportAs)for(let r=0;r{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ir.SignalBased)!==0};return o&&(i.transform=o),i})}function bE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function TE(e,t,n){let r=t instanceof ye?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ei(n,r):n}function CE(e){let t=e.get(pr,null);if(t===null)throw new D(407,!1);let n=e.get(kf,null),r=e.get(ve,null),o=e.get(Ut,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function _E(e,t,n){let r=qf(e);return Gd(t,r,r==="svg"?bt:r==="math"?Io:n)}function NE(e){if((e&&"localName"in e&&typeof e.localName=="string"?e.localName:e?.tagName)?.toLowerCase()==="script")throw new D(905,!1)}function qf(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ht=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=wE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=bE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=By(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a,c){k(x.DynamicComponentStart);let l=g(null);try{let u=this.componentDef,d=TE(u,o||this.ngModule,t),p=CE(d),f=p.tracingService;return f&&f.componentCreate?f.componentCreate(Lf(u),()=>this.createComponentRef(p,d,n,r,i,s,a,c)):this.createComponentRef(p,d,n,r,i,s,a,c)}finally{g(l)}}createComponentRef(t,n,r,o,i,s,a,c){let l=this.componentDef,u=ME(o,l,s,i,c),d=t.rendererFactory.createRenderer(null,l),p=o?hv(d,o,l.encapsulation,n):_E(l,d,a??null);NE(p);let f=n.get(Vf,null),h=SE(p,()=>n.get(Ro,null)??Rd());f&&f.addHost(h);let m=s?.some(Yu)||i?.some(O=>typeof O!="function"&&O.bindings.some(Yu)),T=oc(null,u,null,512|lf(l),null,null,t,d,n,null,Fd(p,n,!0));f&&Wf&&h instanceof ShadowRoot&&To(T,()=>{f.removeHost(h)}),T[$]=p,Mo(T);let S=null;try{let O=$f($,T,2,"#host",()=>u.directiveRegistry,!0,0);Zd(d,p,O),wn(p,T),sc(u,T,O),Vd(u,O,T),Uf(u,O),r!==void 0&&AE(O,this.ngContentSelectors,r),S=he(O.index,T),T[j]=S[j],cc(u,T,null)}catch(O){throw S!==null&&ua(S),ua(T),O}finally{k(x.DynamicComponentEnd),So()}return new oi(this.componentType,T,!!m)}};function ME(e,t,n,r,o){let i=e?["ng-version","22.2.3"]:$y(t.selectors[0]),s=null,a=null,c=0;if(n)for(let d of n)c+=d[_a].requiredVars,d.create&&(d.targetIdx=0,(s??=[]).push(d)),d.update&&(d.targetIdx=0,(a??=[]).push(d));if(r)for(let d=0;d{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Yu(e){let t=e[_a].kind;return t==="input"||t==="twoWay"}var oi=class extends Of{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Do(n[y],$),this.location=Mn(this._tNode,n),this.instance=he(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new at(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=ac(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=he(r.index,o);lc(s,1)}get injector(){return new Ge(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function AE(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=RE}return e})();function RE(){let e=U();return Gf(e,v())}var Na=class e extends Ii{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Mn(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ga(this._hostTNode,this._hostLView);if(gd(t)){let n=Zo(t,this._hostLView),r=Qo(t),o=n[y].data[r+8];return new Ge(o,n)}else return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ku(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i,s;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector,s=r.onError);let a=Xo(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},i,a);return s&&(c._lView[fn]=s),this.insertImpl(c,o,bn(this._hostTNode,a)),c}createComponent(t,n,r,o,i,s,a){let c,l,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings,l=u.onError;let d=new Ht(Be(t)),p=r||this.parentInjector;if(!i&&d.ngModule==null){let O=this.parentInjector.get(ye,null);O&&(i=O)}let f=Be(d.componentType??{}),h=Xo(this._lContainer,f?.id??null),m=h?.firstChild??null,T=d.create(p,o,m,i,s,a,this._getHostElementNamespace());return l&&(T.hostView._lView[fn]=l),this.insertImpl(T.hostView,c,bn(this._hostTNode,h)),T}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[Z];return t!==null&&t.type&2&&typeof t.value=="string"&&t.value.toLowerCase()==="foreignobject"?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if($l(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new e(c,c[Z],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return wr(s,o,i,r),t.attachToViewContainerRef(),hs(Xs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ku(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=dr(this._lContainer,n);r&&(Xn(Xs(this._lContainer),n),gi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=dr(this._lContainer,n);return r&&Xn(Xs(this._lContainer),n)!=null?new at(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ku(e){return e[tr]}function Xs(e){return e[tr]||(e[tr]=[])}function Gf(e,t){let n,r=t[e.index];return pe(r)?n=r:(n=Mf(r,t,null,e),t[e.index]=n,ic(t,n)),kE(n,t,e,r),new Na(n,e,t)}function OE(e,t){let n=e[L],r=n.createComment(""),o=ce(t,e),i=n.parentNode(o);return Lt(n,i,r,n.nextSibling(o),!1),r}var kE=FE,LE=()=>!1;function PE(e,t,n){return LE(e,t,n)}function FE(e,t,n,r){if(e[xt])return;let o;n.type&8?o=Y(r):o=OE(t,n),e[xt]=o}var Ma=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Sa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=V;dt.trim())}function Kf(e,t,n){e.queries===null&&(e.queries=new xa),e.queries.track(new Aa(t,n))}function UE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function dc(e,t){return e.queries.getByIndex(t)}function Jf(e,t){let n=e[y],r=dc(n,t);return r.crossesNgTemplate?Ra(n,e,t,[]):zf(n,e,r,t)}function Xf(e,t,n){let r,o=On(()=>{r._dirtyCounter();let i=WE(r,e);if(t&&i===void 0)throw new D(-951,!1);return i});return r=o[F],r._dirtyCounter=Oo(0),r._flatValue=void 0,o}function fc(e){return Xf(!0,!1,e)}function pc(e){return Xf(!0,!0,e)}function ep(e,t){let n=e[F];n._lView=v(),n._queryIndex=t,n._queryList=uc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function WE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:J;let o=uc(n,r),i=Jf(n,r);return o.reset(i,_d),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function hc(e){return!!e&&typeof e.then=="function"}function tp(e){return!!e&&typeof e.subscribe=="function"}var Tn=class{},np=class{};var hr=class extends Tn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Tl(t);this._bootstrapComponents=xy(i.bootstrap),this._r3Injector=Ws(t,n,[{provide:Tn,useValue:this},...r],Qn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},gr=class extends np{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new hr(this.moduleType,t,[])}};function rp(e,t,n){return new hr(e,t,n,!1)}var si=class extends Tn{injector;instance=null;constructor(t){super();let n=new wt([...t.providers,{provide:Tn,useValue:this}],t.parent||ln(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function op(e,t,n=null){return new si({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var qE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ys(!1,n.type),o=r.length>0?op([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=ne({token:e,providedIn:"environment",factory:()=>new e(ee(ye))})}return e})();function GE(e){return yr(()=>{let t=sp(e),n=W(H({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==za.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(qE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ze("NgStandalone"),ap(n);let r=e.dependencies;return n.directiveDefs=Ju(r,zE),n.pipeDefs=Ju(r,Cl),n.id=KE(n),n})}function zE(e){return Be(e)||Jn(e)}function ip(e){return yr(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function QE(e,t){if(e==null)return tt;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ir.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function ZE(e){if(e==null)return tt;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function YE(e){return yr(()=>{let t=sp(e);return ap(t),t})}function sp(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||tt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:QE(e.inputs,t),outputs:ZE(e.outputs),debugInfo:null}}function ap(e){e.features?.forEach(t=>t(e))}function Ju(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function KE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var gc=new M("");function JE(e){return yo([{provide:gc,multi:!0,useValue:e}])}var mc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(gc,{optional:!0})??[];injector=E(te);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=vo(this.injector,o);if(hc(i))n.push(i);else if(tp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$t({token:e,factory:e.\u0275fac})}return e})(),Oa=new Map,XE=new Set;function cp(e){return qt(this,null,function*(){let t=Oa;Oa=new Map;let n=new Map;function r(i){let s=n.get(i);if(s)return s;let a=e(i).then(c=>eI(i,c));return n.set(i,a),a}let o=Array.from(t).map(a=>qt(null,[a],function*([i,s]){if(s.styleUrl&&s.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");let c=[];s.templateUrl&&c.push(r(s.templateUrl).then(p=>{s.template=p}));let l=typeof s.styles=="string"?[s.styles]:s.styles??[];s.styles=l;let{styleUrl:u,styleUrls:d}=s;if(u&&(d=[u],s.styleUrl=void 0),d?.length){let p=Promise.all(d.map(f=>r(f))).then(f=>{l.push(...f),s.styleUrls=void 0});c.push(p)}yield Promise.all(c),XE.delete(i)}));yield Promise.all(o)})}function lp(){return Oa.size===0}function eI(e,t){return qt(this,null,function*(){if(typeof t=="string")return t;if(t.status!==void 0&&t.status!==200)throw new D(918,!1);return t.text()})}function tI(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}}function nI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=rI,n.hostDirectives=r?e.map(ka):[e]):r?n.hostDirectives.unshift(...e.map(ka)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function rI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i{oI(s.declaredInputs,i.inputs)}),[t,r,o]}function up(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)Xu(ka(s),t,n,r)}else Xu(o,t,n,r)}function Xu(e,t,n,r){let o=Jn(e.directive);if(up(o,t,n,r),n.has(o)){let i=n.get(o);ed(i,e.inputs,"input"),ed(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function ed(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!Object.hasOwn(r,o)||r[o]===i)&&(r[o]=i)})}function ka(e){return typeof e=="function"?{directive:G(e),inputs:{},outputs:{}}:{directive:G(e.directive),inputs:td(e.inputs),outputs:td(e.outputs)}}function td(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Dn(o.hostAttrs,n=Dn(n,o.hostAttrs))}}function ea(e){return e===tt?{}:e===J?[]:e}function cI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function lI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function uI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function fp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Dn(e.mergedAttrs,e.attrs);let u=e.tView=rc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),hn(e,!1);let c=fI(n,t,e,r);xo()&&tc(n,t,c,e),wn(c,t);let l=Mf(c,t,c,e);t[r+$]=l,ic(t,l),PE(l,e,t)}function dI(e,t,n,r,o,i,s,a,c,l,u){let d=n+$,p;return t.firstCreatePass?(p=Sn(t,d,4,s||null,a||null),Rs()&&Hf(t,e,p,le(t.consts,l),mf),fd(t,p)):p=t.data[d],fp(p,e,t,n,r,o,i,c),nr(p)&&sc(t,e,p),l!=null&&yi(e,p,u),p}function Cn(e,t,n,r,o,i,s,a,c,l,u){let d=n+$,p;if(t.firstCreatePass){if(p=Sn(t,d,4,s||null,a||null),l!=null){let f=le(t.consts,l);p.localNames=[];for(let h=0;h{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var gp=new M(""),mp=new M(""),yp=new M("USE_PENDING_TASKS",{providedIn:"root",factory:()=>typeof Zone>"u"}),gI=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=E(qe);_usePendingTasks=E(yp);constructor(n,r,o){this._ngZone=n,this.registry=r,Ds()&&(this._destroyRef=E(de,{optional:!0})??void 0),yc||(Ep(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r,o;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(r=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),o=this._ngZone.onStable.subscribe({next:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r?.unsubscribe(),o.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(ee(z),ee(vp),ee(mp))};static \u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),vp=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yc?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ep(e){yc=e}var yc,Ip=new M("");function Dp(){Ni(e=>{let t="";throw new D(-600,t)})}var mI=10;function vc(e,t){return Array.isArray(t)?t.reduce(vc,e):H(H({},e),t)}var Wt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(st);afterRenderManager=E(hi);zonelessEnabled=E(mn);rootEffectScheduler=E(Lo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(qe);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ke(n=>!n))}constructor(){E(Ut,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(ye);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=te.NULL){return this._injector.get(z).run(()=>{if(k(x.BootstrapComponentStart),!this._injector.get(mc).done){let S="";throw new D(405,S)}let a=Be(n),c=this._injector.get(Tn),l=new Ht(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=yI(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,T=h.injector.get(gp,null);return T?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),ar(this.components,h),T?.unregisterApplication(m)}),this._loadComponent(h),k(x.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(pi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(x.ChangeDetectionEnd),new D(101,!1);let n=g(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,g(n),this.afterTick.next(),k(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(pr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++rr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ar(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Ip,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ar(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$t({token:e,factory:e.\u0275fac})}return e})();function yI(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function ar(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wp(e,t,n,r){let o=v(),i=ot();if(ge(o,i,t)){let s=P(),a=kt();wv(a,o,e,t,n,r)}return wp}var La=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ta(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){g(r);let l=t.length-1;for(g(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=ta(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],m=ta(a,f,l,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let T=n(s,u),S=n(a,f),O=n(s,d);if(Object.is(O,S)){let bi=n(l,h);Object.is(bi,T)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ai,i??=rd(e,s,a,n),Pa(e,o,s,O))e.updateValue(s,d),s++,a++;else if(i.has(O))o.set(T,e.detach(s)),a--;else{let bi=e.create(s,t[s]);e.attach(s,bi),s++,a++}}for(;s<=l;)nd(e,o,n,s,t[s]),s++}else if(t!=null){g(r);let l=t[Symbol.iterator]();g(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=ta(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new ai,i??=rd(e,s,a,n);let h=n(s,p);if(Pa(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let m=n(s,d);o.set(m,e.detach(s)),a--}}}for(;!u.done;)nd(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Pa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function nd(e,t,n,r,o){if(Pa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function rd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ai=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function EI(e,t,n,r,o,i,s,a){Ze("NgControlFlow");let c=v(),l=P(),u=le(l.consts,i);return Cn(c,l,e,t,n,r,o,u,256,s,a),Ec}function Ec(e,t,n,r,o,i,s,a){return Ze("NgControlFlow"),II(e,t,n,r,o,i,s,a),Ec}function II(e,t,n,r,o,i,s,a){let c=v(),l=P(),u=le(l.consts,i);Cn(c,l,e,t,n,r,o,u,512,s,a)}function DI(e,t){Ze("NgControlFlow");let n=v(),r=ot(),o=n[r]!==re?n[r]:-1,i=o!==-1?ci(n,$+o):void 0,s=0;if(ge(n,r,e)){let a=g(null);try{if(i!==void 0&&xf(i,s),e!==-1){let c=$+e,l=ci(n,c),u=Ha(n[y],c),d=Rf(l,u,n),p=Dr(n,u,t,{dehydratedView:d});wr(l,p,s,bn(u,d))}}finally{g(a)}}else if(i!==void 0){let a=Sf(i,s);a!==void 0&&(a[j]=t)}}var Fa=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function wI(e){return e}function bI(e,t){return t}var ja=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function TI(e,t,n,r,o,i,s,a,c,l,u,d,p){Ze("NgControlFlow");let f=v(),h=P(),m=c!==void 0,T=v(),S=a?s.bind(T[X][j]):s,O=new ja(m,S);T[$+e]=O,Cn(f,h,e+1,t,n,r,o,le(h.consts,i),256),m&&Cn(f,h,e+2,c,l,u,d,le(h.consts,p),512)}var Va=class extends La{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Nt];this.needsIndexUpdate||=t!==this.length,wr(this.lContainer,n,t,bn(this.templateTNode,r)),_I(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,NI(this.lContainer,t),MI(this.lContainer,t)}create(t,n){let r=Xo(this.lContainer,this.templateTNode.tView.ssrId);return Dr(this.hostLView,this.templateTNode,new Fa(this.lContainer,n,t),{dehydratedView:r})}destroy(t){gi(t[y],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(od(e,t,o,a,r),li))}}return od(e,t,o,a,r),li}function od(e,t,n,r,o){if(yf(r,n,e,t,_p),nr(r)){let i=n[y];sc(i,n,r),Vd(i,r,n)}o!=null&&yi(n,r)}function Ic(){let e=P(),t=U(),n=vf(t);return e.firstCreatePass&&Uf(e,n),ks(n)&&Ls(),As(),n.classesWithoutHost!=null&&Tm(n)&&Ba(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Cm(n)&&Ba(e,n,v(),n.stylesWithoutHost,!1),Ic}function Tp(e,t,n,r){return li(e,t,n,r),Ic(),Tp}function Dc(e,t,n,r){let o=v(),i=o[y],s=e+$,a=i.firstCreatePass?IE(s,i,2,t,n,r):i.data[s];return yf(a,o,e,t,_p),r!=null&&yi(o,a),Dc}function wc(){let e=U(),t=vf(e);return ks(t)&&Ls(),As(),wc}function Cp(e,t,n,r){return Dc(e,t,n,r),wc(),Cp}var _p=(e,t,n,r,o)=>(Ao(!0),Gd(t[L],r,Us()));function xI(){return v()}function Np(e,t,n){let r=v(),o=ot();if(ge(r,o,t)){let i=P(),s=kt();hf(s,r,e,t,r[L],n)}return Np}var br="en-US";var AI=br;function Mp(e){typeof e=="string"&&(AI=e.toLowerCase().replace(/_/g,"-"))}function Sp(e,t,n){let r=v(),o=P(),i=U();return Ap(o,r,r[L],i,e,t,n),Sp}function xp(e,t,n){let r=v(),o=P(),i=U();return(i.type&3||n)&&Ff(i,o,r,n,r[L],e,t,In(i,r,t)),xp}function Ap(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=In(r,t,i),Ff(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d>17&32767}function BI(e){return(e&2)==2}function $I(e,t){return e&131071|t<<17}function $a(e){return e|2}function _n(e){return(e&131068)>>2}function na(e,t){return e&-131069|t<<2}function UI(e){return(e&1)===1}function Ua(e){return e|1}function WI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Bt(s),c=_n(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||cn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Bt(e[a+1]);e[r+1]=Bo(p,a),p!==0&&(e[p+1]=na(e[p+1],r)),e[a+1]=$I(e[a+1],r)}else e[r+1]=Bo(a,0),a!==0&&(e[a+1]=na(e[a+1],r)),a=r;else e[r+1]=Bo(c,0),a===0?a=r:e[c+1]=na(e[c+1],r),c=r;l&&(e[r+1]=$a(e[r+1])),id(e,u,r,!0),id(e,u,r,!1),qI(t,u,e,r,i),s=Bo(a,c),i?t.classBindings=s:t.styleBindings=s}function qI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&cn(i,t)>=0&&(n[r+1]=Ua(n[r+1]))}function id(e,t,n,r){let o=e[n+1],i=t===null,s=r?Bt(o):_n(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];GI(c,t)&&(a=!0,e[s+1]=r?Ua(l):$a(l)),s=r?Bt(l):_n(l)}a&&(e[n+1]=r?$a(o):Ua(o))}function GI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?cn(e,t)>=0:!1}var Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zI(e){return e.substring(Te.key,Te.keyEnd)}function QI(e){return ZI(e),Pp(e,Fp(e,0,Te.textEnd))}function Pp(e,t){let n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=YI(e,Te.key=t,n),Fp(e,t,n))}function ZI(e){Te.key=0,Te.keyEnd=0,Te.value=0,Te.valueEnd=0,Te.textEnd=e.length}function Fp(e,t,n){for(;t32;)t++;return t}function jp(e,t){return XI(e,t,null,!0),jp}function KI(e){eD(sD,JI,e,!0)}function JI(e,t){for(let n=QI(t);n>=0;n=Pp(t,n))go(e,zI(t),!0)}function XI(e,t,n,r){let o=v(),i=P(),s=Co(2);if(i.firstUpdatePass&&Hp(i,e,s,r),t!==re&&ge(o,s,t)){let a=i.data[we()];Bp(i,a,o,o[L],e,o[s+1]=cD(t,n),r,s)}}function eD(e,t,n,r){let o=P(),i=Co(2);o.firstUpdatePass&&Hp(o,null,i,r);let s=v();if(n!==re&&ge(s,i,n)){let a=o.data[we()];if($p(a,r)&&!Vp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=co(c,n||"")),Ba(o,a,s,n,r)}else aD(o,a,s,s[L],s[i+1],s[i+1]=iD(e,t,n),r,i)}}function Vp(e,t){return t>=e.expandoStartIndex}function Hp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=Vp(e,n);$p(i,r)&&t===null&&!s&&(t=!1),t=tD(o,i,t,r),WI(o,i,t,n,s,r)}}function tD(e,t,n,r){let o=ru(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ra(null,e,t,n,r),n=mr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ra(o,e,t,n,r),i===null){let c=nD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ra(null,e,t,c[1],r),c=mr(c,t.attrs,r),rD(e,t,r,c))}else i=oD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function nD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(_n(r)!==0)return e[Bt(r)]}function rD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Bt(o)]=r}function oD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===re&&(p=d?J:void 0);let f=d?mo(p,r):u===r?p:void 0;if(l&&!ui(f)&&(f=mo(c,r)),ui(f)&&(a=f,s))return a;let h=e[o+1];o=s?Bt(h):_n(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=mo(c,r))}return a}function ui(e){return e!==void 0}function cD(e,t){return e==null||e===""||(typeof t=="string"?e=jt(e)+t:typeof e=="object"&&(e=Qn(jt(e)))),e}function $p(e,t){return(e.flags&(t?8:16))!==0}function lD(e,t=""){let n=v(),r=P(),o=e+$,i=r.firstCreatePass?Sn(r,o,1,t,null):r.data[o],s=uD(r,n,i,t);n[o]=s,xo()&&tc(r,n,s,i),hn(i,!1)}var uD=(e,t,n,r)=>(Ao(!0),Dy(t[L],r));function dD(e,t,n,r=""){return ge(e,ot(),n)?t+an(n)+r:re}function fD(e,t,n,r,o,i=""){let s=Jl(),a=Xv(e,s,n,o);return Co(2),a?t+an(n)+r+an(o)+i:re}function Up(e){return bc("",e),Up}function bc(e,t,n){let r=v(),o=dD(r,e,t,n);return o!==re&&qp(r,we(),o),bc}function Wp(e,t,n,r,o){let i=v(),s=fD(i,e,t,n,r,o);return s!==re&&qp(i,we(),s),Wp}function qp(e,t,n){let r=_s(t,e);wy(e[L],r,n)}function Gp(e,t,n){Fo(t)&&(t=t());let r=v(),o=ot();if(ge(r,o,t)){let i=P(),s=kt();pf(s,r,e,t,r[L],n)}return Gp}function pD(e,t){let n=Fo(e);return n&&e.set(t),n}function zp(e,t){let n=v(),r=P(),o=U();return Ap(r,n,n[L],o,e,t),zp}function ad(e,t,n){let r=P();r.firstCreatePass&&Qp(t,r.data,r.blueprint,De(e),n)}function Qp(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i>20;if(Dt(e)||!e.multi){let f=new Pt(l,o,Ei,null),h=ia(c,t,o?u:u+p,d);h===-1?(ca(Yo(a,s),i,c),oa(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ia(c,t,u+p,d),h=ia(c,t,u,u+p),m=f>=0&&n[f],T=h>=0&&n[h];if(o&&!T||!o&&!m){ca(Yo(a,s),i,c);let S=mD(o?gD:hD,n.length,o,r,l,e);!o&&T&&(n[h].providerFactory=S),oa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Zp(n[o?h:f],l,!o&&r);oa(i,e,f>-1?f:h,S)}!o&&r&&T&&n[h].componentProviders++}}}function oa(e,t,n,r){let o=Dt(t),i=Pl(t);if(o||i){let c=(i?G(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Zp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ia(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>ad(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>ad(r,o?o(t):t,!0))}}function vD(e,t){let n=Hs()+e,r=v();return r[n]===re?Pf(r,n,t()):Jv(r,n)}function ED(e,t,n){return DD(v(),Hs(),e,t,n)}function ID(e,t){let n=e[t];return n===re?void 0:n}function DD(e,t,n,r,o,i){let s=t+n;return ge(e,s,o)?Pf(e,s+1,i?r.call(i,o):r(o)):ID(e,s+1)}function wD(e,t){return vi(e,t)}var $o=null;function Yp(e){$o!==null&&(e.defaultEncapsulation!==$o.defaultEncapsulation||e.preserveWhitespaces!==$o.preserveWhitespaces)||($o=e)}var Kp=(()=>{class e{applicationErrorHandler=E(st);appRef=E(Wt);taskService=E(qe);ngZone=E(z);zonelessEnabled=E(mn);tracing=E(Ut,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(qn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(ko,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?du:Gs;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(qn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$t({token:e,factory:e.\u0275fac})}return e})();function Jp(){return[{provide:ve,useExisting:Kp},{provide:z,useClass:Gn},{provide:mn,useValue:!0}]}var bD=(()=>{class e{compileModuleSync(n){return new gr(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$t({token:e,factory:e.\u0275fac})}return e})(),Xp=new M("");function TD(){return typeof $localize<"u"&&$localize.locale||br}var Tc=new M("",{factory:()=>E(Tc,{optional:!0,skipSelf:!0})||TD()});var Di=class{destroyed=!1;listeners=null;errorHandler=E(He,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=E(de);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(zn(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=g(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&CD(this.listeners)),g(n),this.isEmitting=!1}}};function CD(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function _D(e,t){return On(e,t?.equal)}function nh(e){return Bc(e)}var eh=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e("IDLE");static LOADING=new e("LOADING")},ND=e=>e;function MD(e,t){if(typeof e=="function"){let n=Ri(e,ND,t?.equal);return th(n,t?.debugName,t?.set)}else{let n=Ri(e.source,e.computation,e.equal);return th(n,e.debugName,e.set)}}function th(e,t,n){let r=e[F],o=e;if(n!==void 0){let i=s=>Oi(r,s);o.set=s=>n(s,i),o.update=s=>n(s(nh(e)),i)}else o.set=i=>Oi(r,i),o.update=i=>Hc(r,i);return o.asReadonly=ir.bind(e),o}function dh(e,t){let n=Object.create(qa);n.value=e,n.transformFn=t?.transform;function r(){if(Ce(n),n.value===Nn){let o=null;throw new D(-950,o)}return n.value}return r[F]=n,r}var rh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Td(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},VP=(()=>{let e=new M("");return e.__NG_ELEMENT_ID__=t=>{let n=U();if(n===null)throw new D(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new D(-204,!1)},e})();function HP(e){return SD(e)?e.default:e}function SD(e){return e&&typeof e=="object"&&"default"in e}function oh(e,t){return dh(e,t)}function xD(e){return dh(Nn,e)}var BP=(oh.required=xD,oh);function fh(e,t){let n=Object.create(qa),r=new Di;n.value=e;function o(){return Ce(n),ih(n.value),n.value}return o[F]=n,o.asReadonly=ir.bind(o),o.set=i=>{n.equal(n.value,i)||(Re(n,i),r.emit(i))},o.update=i=>{ih(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function ih(e){if(e===Nn)throw new D(952,!1)}function sh(e,t){return fh(e,t)}function AD(e){return fh(Nn,e)}var $P=(sh.required=AD,sh);function ah(e,t){return fc(t)}function RD(e,t){return pc(t)}var UP=(ah.required=RD,ah);function ch(e,t){return fc(t)}function OD(e,t){return pc(t)}var WP=(ch.required=OD,ch);var qP=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(ee(Wt))};static \u0275mod=ip({type:e});static \u0275inj=cs({})}return e})();var kD=1e4;var GP=kD-1e3;var zP=(()=>{class e{static __NG_ELEMENT_ID__=LD}return e})();function LD(e){return PD(U(),v(),(e&16)===16)}function PD(e,t,n){if(We(e)&&!n){let r=he(e.index,t);return new at(r,r)}else if(e.type&175){let r=t[X];return new at(r,t)}return null}var FD=(()=>{class e{zone=E(z);changeDetectionScheduler=E(ve);applicationRef=E(Wt);applicationErrorHandler=E(st);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.applicationRef._runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$t({token:e,factory:e.\u0275fac})}return e})(),jD=new M("",{factory:()=>!1});function VD({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new z(W(H({},ph()),{scheduleInRootZone:t})),[{provide:mn,useValue:!1},{provide:z,useFactory:e},{provide:_t,multi:!0,useFactory:()=>{let n=E(FD,{optional:!0});return()=>n.initialize()}},{provide:_t,multi:!0,useFactory:()=>{let n=E(HD);return()=>{n.initialize()}}},{provide:ko,useValue:t??qs}]}function QP(e){let t=e?.scheduleInRootZone,n=VD({ngZoneFactory:()=>{let r=ph(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&Ze("NgZone_CoalesceEvent"),new z(r)},scheduleInRootZone:t});return yo([{provide:jD,useValue:!0},n])}function ph(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var HD=(()=>{class e{subscription=new q;initialized=!1;zone=E(z);pendingTasks=E(qe);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$t({token:e,factory:e.\u0275fac})}return e})();function BD(e,t,n){let r=new gr(n);return Promise.resolve(r)}function lh(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var wi=new M(""),$D=new M("");function Tr(e){return!e.moduleRef}function UD(e){let t=Tr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(z);return n.run(()=>{Tr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(st),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Tr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(wi);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(wi);s.add(i),e.moduleRef.onDestroy(()=>{ar(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qD(r,n,()=>{let i=t.get(qe),s=i.add(),a=t.get(mc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Tc,br);if(Mp(c||br),!t.get($D,!0))return Tr(e)?t.get(Wt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Tr(e)){let u=t.get(Wt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return hh?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var hh;function uh(){hh=WD}function WD(e,t){let n=e.injector.get(Wt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}function qD(e,t,n){try{let r=n();return hc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var gh=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=[Jp(),...r?.applicationProviders??[],gu],i=rp(n.moduleType,this.injector,o);return uh(),UD({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=vc({},r);return uh(),BD(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(wi,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(ee(te))};static \u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Nc=null;function GD(e){if(Mc())throw new D(400,!1);Dp(),Nc=e;let t=e.get(gh);return YD(e),t}function zD(e,t,n=[]){let r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Mc();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??GD(QD(a,r))}return ZD(o)}}function QD(e=[],t){return te.create({name:t,providers:[{provide:Es,useValue:"platform"},{provide:wi,useValue:new Set([()=>Nc=null])},...e]})}function ZD(e){let t=Mc();if(!t)throw new D(-401,!1);return t}function Mc(){return Nc?.get(gh)??null}function YD(e){let t=e.get(yu,null);vo(e,()=>{t?.forEach(n=>n())})}function ZP(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function YP(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Cc=Symbol("NOT_SET"),mh=new Set,KD=W(H({},Zt),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Cc,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(Ce(u),u.value),u.signal[F]=u,u.registerCleanupFn=d=>(u.cleanup??=new Set).add(d),this.nodes[c]=u,this.hooks[c]=d=>u.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??mh)n()}finally{Xe(t)}}};function KP(e,t){let n=t?.injector??E(te),r=n.get(ve),o=n.get(hi),i=n.get(Ut,null,{optional:!0});o.impl??=n.get(Xa);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(gn,null,{optional:!0}),c=new _c(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null),void 0);return o.impl.register(c),c}var JP=zD(null,"core",[]);function XP(e,t){let n=Be(e),r=t.elementInjector||ln(),i=new Ht(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings);return t.onError&&(i.hostView._lView[fn]=t.onError),i}function eF(e){let t=Be(e);if(!t)return null;let n=new Ht(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{H as a,W as b,Ih as c,qt as d,q as e,Ah as f,N as g,K as h,kn as i,Pn as j,mt as k,Me as l,$h as m,Uh as n,Wh as o,jn as p,ke as q,Jh as r,Le as s,Vn as t,nn as u,eg as v,tg as w,ng as x,Hn as y,rg as z,pl as A,og as B,ig as C,rn as D,sg as E,ag as F,ug as G,dg as H,fg as I,pg as J,Wi as K,hg as L,gg as M,mg as N,yg as O,vg as P,Eg as Q,D as R,zn as S,lo as T,ne as U,cs as V,wg as W,M as X,Ct as Y,ee as Z,E as _,yo as $,Es as aa,ye as ba,vo as ca,Q as da,Ql as ea,Zl as fa,cu as ga,te as ha,Ro as ia,de as ja,qe as ka,Pe as la,z as ma,He as na,st as oa,Oo as pa,mu as qa,yu as ra,Jg as sa,Xg as ta,em as ua,ve as va,vu as wa,Po as xa,Fo as ya,Zs as za,ym as Aa,Pm as Ba,Td as Ca,$t as Da,vr as Ea,Ko as Fa,Um as Ga,Wm as Ha,qm as Ia,Ft as Ja,jt as Ka,Qa as La,Ym as Ma,Km as Na,Jm as Oa,Xm as Pa,ey as Qa,Za as Ra,Ey as Sa,Ny as Ta,Jo as Ua,Wy as Va,Ut as Wa,Ze as Xa,zy as Ya,pv as Za,fr as _a,pr as $a,Ca as ab,nE as bb,oE as cb,Vf as db,Ei as eb,uE as fb,Ii as gb,hc as hb,Tn as ib,np as jb,op as kb,GE as lb,ip as mb,YE as nb,JE as ob,tI as pb,nI as qb,dp as rb,pp as sb,hp as tb,hI as ub,gp as vb,mp as wb,gI as xb,vp as yb,Ip as zb,Wt as Ab,wp as Bb,EI as Cb,DI as Db,wI as Eb,bI as Fb,TI as Gb,CI as Hb,bp as Ib,li as Jb,Ic as Kb,Tp as Lb,Dc as Mb,wc as Nb,Cp as Ob,xI as Pb,Np as Qb,Sp as Rb,xp as Sb,RI as Tb,kI as Ub,LI as Vb,Rp as Wb,Op as Xb,FI as Yb,jI as Zb,kp as _b,Lp as $b,VI as ac,HI as bc,jp as cc,KI as dc,lD as ec,Up as fc,bc as gc,Wp as hc,Gp as ic,pD as jc,zp as kc,yD as lc,vD as mc,ED as nc,wD as oc,bD as pc,_D as qc,nh as rc,MD as sc,rh as tc,VP as uc,HP as vc,BP as wc,$P as xc,UP as yc,WP as zc,qP as Ac,zP as Bc,QP as Cc,zD as Dc,ZP as Ec,YP as Fc,KP as Gc,JP as Hc,XP as Ic,eF as Jc}; diff --git a/spring-angular-ui/static/browser/chunk-QGX6IMNZ.js b/spring-angular-ui/static/browser/chunk-QGX6IMNZ.js deleted file mode 100644 index 79314c7..0000000 --- a/spring-angular-ui/static/browser/chunk-QGX6IMNZ.js +++ /dev/null @@ -1 +0,0 @@ -import{U as E,X as Tt,a as me,c as Et}from"./chunk-ZQSDF5TI.js";var _=(function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n})(_||{}),z="*";function vt(n,e=null){return{type:_.Sequence,steps:n,options:e}}function Le(n){return{type:_.Style,styles:n,offset:null}}var $=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ee=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,s=0,i=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==r&&this._onFinish()}),a.onDestroy(()=>{++s==r&&this._onDestroy()}),a.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,o)=>Math.max(a,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(s=>{let i=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(i)})}getPosition(){let e=this.players.reduce((t,s)=>t===null||s.totalTime>t.totalTime?s:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},re="!";function bt(n){return new E(3e3,!1)}function bs(){return new E(3100,!1)}function ws(){return new E(3101,!1)}function Ps(n){return new E(3001,!1)}function As(n){return new E(3003,!1)}function Ns(n){return new E(3004,!1)}function Pt(n,e){return new E(3005,!1)}function At(){return new E(3006,!1)}function Nt(){return new E(3007,!1)}function Ct(n,e){return new E(3008,!1)}function Dt(n){return new E(3002,!1)}function Mt(n,e,t,s,i){return new E(3010,!1)}function kt(){return new E(3011,!1)}function Ft(){return new E(3012,!1)}function Rt(){return new E(3200,!1)}function Ot(){return new E(3202,!1)}function Lt(){return new E(3013,!1)}function It(n){return new E(3014,!1)}function zt(n){return new E(3015,!1)}function Kt(n){return new E(3016,!1)}function qt(n){return new E(3500,!1)}function Bt(n){return new E(3501,!1)}function Qt(n,e){return new E(3404,!1)}function Cs(n){return new E(3502,!1)}function Vt(n){return new E(3503,!1)}function $t(){return new E(3300,!1)}function Ut(n){return new E(3504,!1)}function Gt(n){return new E(3301,!1)}function jt(n,e){return new E(3302,!1)}function Wt(n){return new E(3303,!1)}function Ht(n,e){return new E(3400,!1)}function Yt(n){return new E(3401,!1)}function Xt(n){return new E(3402,!1)}function xt(n,e){return new E(3505,!1)}var Ds=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 U(n){switch(n.length){case 0:return new $;case 1:return n[0];default:return new ee(n)}}function qe(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),c=u==a,h=c&&o||new Map;l.forEach((S,y)=>{let d=y,g=S;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case re:g=t.get(y);break;case z:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}h.set(d,g)}),c||r.push(h),o=h,a=u}),i.length)throw Cs(i);return r}function pe(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ie(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ie(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ie(t,"destroy",n)));break}}function Ie(n,e,t){let s=t.totalTime,i=!!t.disabled,r=ge(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function ge(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function F(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Be(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function ye(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function ks(n){return n.substring(1,6)=="ebkit"}var X=null,wt=!1;function Jt(n){X||(X=Rs()||{},wt=X.style?"WebkitAppearance"in X.style:!1);let e=!0;return X.style&&!ks(n)&&(e=n in X.style,!e&&wt&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in X.style)),e}function Fs(n){return Ds.has(n)}function Rs(){return typeof document<"u"?document.body:null}function Qe(n,e){for(;e;){if(e===n)return!0;e=ye(e)}return!1}function Ve(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var Os=1e3,$e="{{",Ls="}}",_e="ng-enter",ae="ng-leave",oe="ng-trigger",le=".ng-trigger",Ue="ng-animating",Se=".ng-animating";function V(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ze(parseFloat(e[1]),e[2])}function ze(n,e){return e==="s"?n*Os:n}function ue(n,e,t){return n.hasOwnProperty("duration")?n:Is(n,e,t)}function Is(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(bt(n)),{duration:0,delay:0,easing:""};i=ze(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=ze(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(bs()),o=!0),r<0&&(e.push(ws()),o=!0),o&&e.splice(l,0,bt(n))}return{duration:i,delay:r,easing:a}}function Zt(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function Ge(n){return Array.isArray(n)?new Map(...n):new Map(n)}function K(n,e,t){e.forEach((s,i)=>{let r=Ee(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function j(n,e){e.forEach((t,s)=>{let i=Ee(s);n.style[i]=""})}function te(n){return Array.isArray(n)?n.length==1?n[0]:vt(n):n}function es(n,e,t){let s=e.params||{},i=je(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Ps(r))})}var Ke=new RegExp(`${$e}\\s*(.+?)\\s*${Ls}`,"g");function je(n){let e=[];if(typeof n=="string"){let t;for(;t=Ke.exec(n);)e.push(t[1]);Ke.lastIndex=0}return e}function se(n,e,t){let s=`${n}`,i=s.replace(Ke,(r,a)=>{let o=e[a];return o==null&&(t.push(As(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function Ee(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Ks(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ts(n,e){return n===0||e===0}function ss(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,Te(n,o)))}}return e}function R(n,e,t){switch(e.type){case _.Trigger:return n.visitTrigger(e,t);case _.State:return n.visitState(e,t);case _.Transition:return n.visitTransition(e,t);case _.Sequence:return n.visitSequence(e,t);case _.Group:return n.visitGroup(e,t);case _.Animate:return n.visitAnimate(e,t);case _.Keyframes:return n.visitKeyframes(e,t);case _.Style:return n.visitStyle(e,t);case _.Reference:return n.visitReference(e,t);case _.AnimateChild:return n.visitAnimateChild(e,t);case _.AnimateRef:return n.visitAnimateRef(e,t);case _.Query:return n.visitQuery(e,t);case _.Stagger:return n.visitStagger(e,t);default:throw Ns(e.type)}}function Te(n,e){return window.getComputedStyle(n)[e]}var gs=(()=>{class n{validateStyleProperty(t){return Jt(t)}containsElement(t,s){return Qe(t,s)}getParentElement(t){return ye(t)}query(t,s,i){return Ve(t,s,i)}computeStyle(t,s,i){return i||""}animate(t,s,i,r,a,o=[],l){return new $(i,r)}static \u0275fac=function(s){return new(s||n)};static \u0275prov=Tt({token:n,factory:n.\u0275fac})}return n})(),is=class{static NOOP=new gs},Je=class{},Ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},qs=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"]),et=class extends Je{normalizePropertyName(e,t){return Ee(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(qs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(Pt(e,s))}return a+r}};var Ae="*";function Bs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>Qs(s,t,e)):t.push(n),t}function Qs(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(zt(n)),e;let i=s[1],r=s[2],a=s[3];e.push(ns(i,a));let o=i==Ae&&a==Ae;r[0]=="<"&&!o&&e.push(ns(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var ve=new Set(["true","1"]),be=new Set(["false","0"]);function ns(n,e){let t=ve.has(n)||be.has(n),s=ve.has(e)||be.has(e);return(i,r)=>{let a=n==Ae||n==i,o=e==Ae||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?ve.has(n):be.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?ve.has(e):be.has(e)),a&&o}}var ys=":self",$s=new RegExp(`s*${ys}s*,?`,"g");function dt(n,e,t,s){return new tt(n).build(e,t,s)}var rs="",tt=class{_driver;constructor(e){this._driver=e}build(e,t,s){let i=new st(t);return this._resetContextStyleTimingState(i),R(this,te(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=rs,e.collectedStyles=new Map,e.collectedStyles.set(rs,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(At()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==_.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(Nt())}),{type:_.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{je(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(Ct(e.name,[...r.values()]))}return{type:_.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=R(this,te(e.animation),t),i=Bs(e.expr,t.errors);return{type:_.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:x(e.options)}}visitSequence(e,t){return{type:_.Sequence,steps:e.steps.map(s=>R(this,s,t)),options:x(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=R(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:_.Group,steps:r,options:x(e.options)}}visitAnimate(e,t){let s=Ws(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Le({});if(r.type==_.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Le(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:_.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===z?s.push(o):t.errors.push(Dt(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf($e)>=0){r=!0;break}}}),{type:_.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(Mt(l,c.startTime,c.endTime,r,i)),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:i}),t.options&&es(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:_.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(kt()),s;let i=1,r=0,a=[],o=!1,l=!1,u=0,c=e.steps.map(w=>{let P=this._makeStyleAst(w,t),D=P.offset!=null?P.offset:js(P.styles),N=0;return D!=null&&(r++,N=P.offset=D),l=l||N<0||N>1,o=o||N0&&r{let D=S>0?P==y?1:S*P:a[P],N=D*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(w,t),w.offset=D,s.styles.push(w)}),s}visitReference(e,t){return{type:_.Reference,animation:R(this,te(e.animation),t),options:x(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_.AnimateChild,options:x(e.options)}}visitAnimateRef(e,t){return{type:_.AnimateRef,animation:this.visitReference(e.animation,t),options:x(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=Us(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,F(t.collectedStyles,t.currentQuerySelector,new Map);let o=R(this,te(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:_.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:x(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Lt());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ue(e.timings,t.errors,!0);return{type:_.Stagger,animation:R(this,te(e.animation),t),timings:s,options:null}}};function Us(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ys);return e&&(n=n.replace($s,"")),n=n.replace(/@\*/g,le).replace(/@\w+/g,t=>le+"-"+t.slice(1)).replace(/:animating/g,Se),[n,e]}function Gs(n){return n?me({},n):null}var st=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function js(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ws(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=ue(n,e).duration;return We(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=We(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=ue(t,e);return We(i.duration,i.delay,i.easing)}function x(n){return n?(n=me({},n),n.params&&(n.params=Gs(n.params))):n={},n}function We(n,e,t){return{duration:n,delay:e,easing:t}}function mt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var ne=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Hs=1,Ys=":enter",Xs=new RegExp(Ys,"g"),xs=":leave",Js=new RegExp(xs,"g");function pt(n,e,t,s,i,r=new Map,a=new Map,o,l,u=[]){return new it().buildKeyframes(n,e,t,s,i,r,a,o,l,u)}var it=class{buildKeyframes(e,t,s,i,r,a,o,l,u,c=[]){u=u||new ne;let h=new nt(e,t,u,i,r,c,[]);h.options=l;let S=l.delay?V(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([a],null,h.errors,l),R(this,s,h);let y=h.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,h.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[mt(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:V(se(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?V(s.duration):null,o=s.delay!=null?V(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),R(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==_.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ne);let a=V(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>R(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?V(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),R(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?se(s,t.params,t.errors):s;return ue(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==_.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?V(i.delay):0;r&&(t.previousNode.type===_.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ne);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),R(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let S=h.currentTimeline.currentTime;a=Math.max(a,S)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let h=c.currentTime;R(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-h+(i.startTime-s.currentTimeline.startTime)}},Ne={},nt=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ne;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ce(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=V(s.duration)),s.delay!=null&&(i.delay=V(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=se(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ne,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new rt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Xs,"."+this._enterClassName),e=e.replace(Js,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(It(t)),o}},Ce=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Hs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||z),this._currentKeyframe.set(t,z);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=se(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??z),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((c,h)=>{c===re?e.add(h):c===z&&t.add(h)}),s||u.set("offset",l/this.duration),i.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return mt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},rt=class extends Ce{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",as(o)),r.push(u);let c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]),y=S.get("offset"),d=t+y*s;S.set("offset",as(d/a)),r.push(S)}s=a,t=0,i="",e=r}return mt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function as(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Zs(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,z)}else for(let[r,a]of i)t.set(r,a)}),t}function os(n,e,t,s,i,r,a,o,l,u,c,h,S){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}var He={},De=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ei(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,u,c){let h=[],S=this.ast.options&&this.ast.options.params||He,y=o&&o.params||He,d=this.buildStyles(s,y,h),g=l&&l.params||He,v=this.buildStyles(i,g,h),w=new Set,P=new Map,D=new Map,N=i==="void",J={params:_s(g,S),delay:this.ast.options?.delay},B=c?[]:pt(e,t,this.ast.animation,r,a,d,v,J,u,h),M=0;return B.forEach(k=>{M=Math.max(k.duration+k.delay,M)}),h.length?os(t,this._triggerName,s,i,N,d,v,[],[],P,D,M,h):(B.forEach(k=>{let W=k.element,Z=F(P,W,new Set);k.preStyleProps.forEach(H=>Z.add(H));let gt=F(D,W,new Set);k.postStyleProps.forEach(H=>gt.add(H)),W!==t&&w.add(W)}),os(t,this._triggerName,s,i,N,d,v,B,[...w.values()],P,D,M))}};function ei(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function _s(n,e){let t=me({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var at=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=_s(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=se(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function ti(n,e,t){return new ot(n,e,t)}var ot=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new at(i.style,r,s))}),ls(this.states,"true","1"),ls(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new De(e,i,this.states))}),this.fallbackTransition=si(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function si(n,e,t){let s=[(a,o)=>!0],i={type:_.Sequence,steps:[],options:null},r={type:_.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new De(n,r,e)}function ls(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ii=new ne,lt=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],i=[],r=dt(this._driver,t,s,i);if(s.length)throw Vt(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=qe(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=pt(this._driver,t,r,_e,ae,new Map,new Map,s,ii,i),a.forEach(c=>{let h=F(o,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(i.push($t()),a=[]),i.length)throw Ut(i);o.forEach((c,h)=>{c.forEach((S,y)=>{c.set(y,this._driver.computeStyle(h,y,z))})});let l=a.map(c=>{let h=o.get(c.element);return this._buildPlayer(c,new Map,h)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Gt(e);return t}listen(e,t,s,i){let r=ge(t,"","","");return pe(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},us="ng-animate-queued",ni=".ng-animate-queued",Ye="ng-animate-disabled",ri=".ng-animate-disabled",ai="ng-star-inserted",oi=".ng-star-inserted",li=[],Ss={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},q="__ng_removed",ce=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=ci(i),s){let r=e,{value:a}=r,o=Et(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},he="void",Xe=new ce(he),ut=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw jt(s,t);if(s==null||s.length==0)throw Wt(t);if(!fi(s))throw Ht(s,t);let r=F(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=F(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,oe),I(e,oe+"-"+t),o.set(t,Xe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Yt(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new fe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,oe),I(e,oe+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new ce(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Xe),!(u.value===he)&&l.value===u.value){if(!pi(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),w=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{j(e,v),K(e,w)})}return}let S=F(this._engine.playersByElement,e,[]);S.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,us),a.onStart(()=>{ie(e,us)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let w=v.indexOf(a);w>=0&&v.splice(w,1)}}),this.players.push(a),S.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,le,!0);s.forEach(i=>{if(i[q])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,he,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Xe,c=new ce(he),h=new fe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[q];(!r||r===Ss)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=ge(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,pe(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ht=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new ut(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(we(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!we(t))return;let r=t[q];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Ye)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ie(e,Ye))}removeNode(e,t,s){if(we(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[q]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return we(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,le,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Se,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[q];if(t&&t.setForRemoval){if(e[q]=Ss,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ye)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ri,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw Xt(e)}_flushAnimations(e,t){let s=new ne,i=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ni,!0);for(let p=0;p{let p=_e+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],w=new Set,P=new Set;for(let f=0;fw.add(T)):P.add(m))}let D=new Map,N=fs(S,Array.from(w));N.forEach((f,m)=>{let p=ae+g++;D.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ie(T,p))}),N.forEach((f,m)=>{let p=D.get(m);f.forEach(T=>ie(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let J=[],B=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,A=p.element;if(J.push(T),this.collectedEnterElements.length){let C=A[q];if(C&&C.setForMove){if(C.previousTriggersValues&&C.previousTriggersValues.has(p.triggerName)){let Y=C.previousTriggersValues.get(p.triggerName),L=this.statesByElement.get(p.element);if(L&&L.has(p.triggerName)){let de=L.get(p.triggerName);de.value=Y,L.set(p.triggerName,de)}}T.destroy();return}}let Q=!h||!this.driver.containsElement(h,A),O=D.get(A),G=d.get(A),b=this._buildInstruction(p,s,G,O,Q);if(b.errors&&b.errors.length){B.push(b);return}if(Q){T.onStart(()=>j(A,b.fromStyles)),T.onDestroy(()=>K(A,b.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>j(A,b.fromStyles)),T.onDestroy(()=>K(A,b.toStyles)),i.push(T);return}let St=[];b.timelines.forEach(C=>{C.stretchStartingKeyframe=!0,this.disabledNodes.has(C.element)||St.push(C)}),b.timelines=St,s.append(A,b.timelines);let vs={instruction:b,player:T,element:A};a.push(vs),b.queriedElements.forEach(C=>F(o,C,[]).push(T)),b.preStyleProps.forEach((C,Y)=>{if(C.size){let L=l.get(Y);L||l.set(Y,L=new Set),C.forEach((de,Oe)=>L.add(Oe))}}),b.postStyleProps.forEach((C,Y)=>{let L=u.get(Y);L||u.set(Y,L=new Set),C.forEach((de,Oe)=>L.add(Oe))})});if(B.length){let f=[];B.forEach(m=>{f.push(xt(m.triggerName,m.errors))}),J.forEach(m=>m.destroy()),this.reportError(f)}let M=new Map,k=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(k.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,M))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{F(M,m,[]).push(T),T.destroy()})});let W=v.filter(f=>ds(f,l,u)),Z=new Map;cs(Z,this.driver,P,u,z).forEach(f=>{ds(f,l,u)&&W.push(f)});let H=new Map;y.forEach((f,m)=>{cs(H,this.driver,new Set(f),l,re)}),W.forEach(f=>{let m=Z.get(f),p=H.get(f);Z.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Re=[],yt=[],_t={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>K(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let A=_t;if(k.size>1){let O=m,G=[];for(;O=O.parentNode;){let b=k.get(O);if(b){A=b;break}G.push(O)}G.forEach(b=>k.set(b,A))}let Q=this._buildAnimation(p.namespaceId,T,M,r,H,Z);if(p.setRealPlayer(Q),A===_t)Re.push(p);else{let O=this.playersByElement.get(A);O&&O.length&&(p.parentPlayer=U(O)),i.push(p)}}else j(m,T.fromStyles),p.onDestroy(()=>K(m,T.toStyles)),yt.push(p),c.has(m)&&i.push(p)}),yt.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!Q.destroyed);A.length?di(this,m,A):this.processLeaveNode(m)}return v.length=0,Re.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Re}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==he;o.forEach(u=>{u.queued||!l&&u.triggerName!=i||a.push(u)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let u=l.element,c=u!==r,h=F(s,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),h.push(y)})}j(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[q];if(v&&v.removedBeforeQueried)return new $(d.duration,d.delay);let w=g!==l,P=mi((s.get(g)||li).map(M=>M.getRealPlayer())).filter(M=>{let k=M;return k.element?k.element===g:!1}),D=r.get(g),N=a.get(g),J=qe(this._normalizer,d.keyframes,D,N),B=this._buildPlayer(d,J,P);if(d.subTimeline&&i&&h.add(g),w){let M=new fe(e,o,g);M.setRealPlayer(B),u.push(M)}return B});u.forEach(d=>{F(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>hi(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Ue));let y=U(S);return y.onDestroy(()=>{c.forEach(d=>ie(d,Ue)),K(l,t.toStyles)}),h.forEach(d=>{F(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new $(e.duration,e.delay)}},fe=class{namespaceId;triggerName;element;_player=new $;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>pe(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){F(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hi(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function ci(n){return n??null}function we(n){return n&&n.nodeType===1}function fi(n){return n=="start"||n=="done"}function hs(n,e){let t=n.style.display;return n.style.display=e??"none",t}function cs(n,e,t,s,i){let r=[];t.forEach(l=>r.push(hs(l)));let a=[];s.forEach((l,u)=>{let c=new Map;l.forEach(h=>{let S=e.computeStyle(u,h,i);c.set(h,S),(!S||S.length==0)&&(u[q]=ui,a.push(u))}),n.set(u,c)});let o=0;return t.forEach(l=>hs(l,r[o++])),a}function fs(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:i.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ie(n,e){n.classList?.remove(e)}function di(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function mi(n){let e=[];return Es(n,e),e}function Es(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var Me=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new ht(e.body,t,s),this._timelineEngine=new lt(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],u=[],c=dt(this._driver,r,l,u);if(l.length)throw Qt(i,l);o=ti(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Be(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Be(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function gi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=xe(e[0]),e.length>1&&(s=xe(e[e.length-1]))):e instanceof Map&&(t=xe(e)),t||s?new yi(n,t,s):null}var yi=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,i){this._element=t,this._startStyles=s,this._endStyles=i;let r=n.initialStylesByElement.get(t);r||n.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}return n})();function xe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var ke=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:Te(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ct=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Qe(e,t)}getParentElement(e){return ye(e)}query(e,t,s){return Ve(e,t,s)}computeStyle(e,t,s){return Te(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let u=new Map,c=a.filter(y=>y instanceof ke);ts(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let h=Zt(t).map(y=>new Map(y));h=ss(e,h,u);let S=gi(e,h);return new ke(e,h,l,S)}};function Ci(n,e){return n==="noop"?new Me(e,new gs,new Ze):new Me(e,new ct,new et)}var ms=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=dt(e,t,s,[]);if(s.length)throw qt(s);this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?Ge(t):t,o=Array.isArray(s)?Ge(s):s,l=[];r=r||new ne;let u=pt(this._driver,e,this._animationAst,_e,ae,a,o,i,r,l);if(l.length)throw Bt(l);return u}},Pe="@",Ts="@.disabled",Fe=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==Pe&&t==Ts?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s,i){return this.delegate.listen(e,t,s,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},ft=class extends Fe{factory;constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==Pe?t.charAt(1)=="."&&t==Ts?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s,i){if(t.charAt(0)==Pe){let r=Si(e),a=t.slice(1),o="";return a.charAt(0)!=Pe&&([a,o]=Ei(a)),this.engine.listen(this.namespaceId,r,a,o,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,s,l)})}return this.delegate.listen(e,t,s,i)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var ps=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,c=u.get(i);if(!c){let h=()=>u.delete(i);c=new Fe("",i,this.engine,h),u.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new ft(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};export{is as AnimationDriver,gs as NoopAnimationDriver,ms as \u0275Animation,Me as \u0275AnimationEngine,ft as \u0275AnimationRenderer,ps as \u0275AnimationRendererFactory,Je as \u0275AnimationStyleNormalizer,Fe as \u0275BaseAnimationRenderer,_e as \u0275ENTER_CLASSNAME,ae as \u0275LEAVE_CLASSNAME,Ze as \u0275NoopAnimationStyleNormalizer,fe as \u0275TransitionAnimationPlayer,ct as \u0275WebAnimationsDriver,ke as \u0275WebAnimationsPlayer,et as \u0275WebAnimationsStyleNormalizer,ts as \u0275allowPreviousPlayerStylesMerge,Ks as \u0275camelCaseToDashCase,Qe as \u0275containsElement,Ci as \u0275createEngine,ye as \u0275getParentElement,Ve as \u0275invokeQuery,Zt as \u0275normalizeKeyframes,Jt as \u0275validateStyleProperty,Fs as \u0275validateWebAnimatableStyleProperty}; diff --git a/spring-angular-ui/static/browser/chunk-ZQSDF5TI.js b/spring-angular-ui/static/browser/chunk-ZQSDF5TI.js deleted file mode 100644 index 5894e1e..0000000 --- a/spring-angular-ui/static/browser/chunk-ZQSDF5TI.js +++ /dev/null @@ -1,7 +0,0 @@ -var Od=Object.defineProperty,Ad=Object.defineProperties;var Pd=Object.getOwnPropertyDescriptors;var In=Object.getOwnPropertySymbols;var ea=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable;var Xs=(e,t,n)=>t in e?Od(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})ea.call(t,n)&&Xs(e,n,t[n]);if(In)for(var n of In(t))ta.call(t,n)&&Xs(e,n,t[n]);return e},J=(e,t)=>Ad(e,Pd(t));var TI=(e,t)=>{var n={};for(var r in e)ea.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&In)for(var r of In(e))t.indexOf(r)<0&&ta.call(e,r)&&(n[r]=e[r]);return n};function go(e,t){return Object.is(e,t)}var F=null,En=!1,mo=1,W=Symbol("SIGNAL");function D(e){let t=F;return F=e,t}function yo(){return F}var st={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function at(e){if(En)throw new Error("");if(F===null)return;F.consumerOnSignalRead(e);let t=F.nextProducerIndex++;if(Cn(F),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function bn(e){Cn(e);for(let t=0;t0}function Cn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function oa(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ia(e){return e.producerNode!==void 0}function xn(e,t){let n=Object.create(Fd);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(vo(n),at(n),n.value===wn)throw n.error;return n.value};return r[W]=n,r}var fo=Symbol("UNSET"),po=Symbol("COMPUTING"),wn=Symbol("ERRORED"),Fd=J($({},st),{value:fo,dirty:!0,error:null,equal:go,kind:"computed",producerMustRecompute(e){return e.value===fo||e.value===po},producerRecomputeValue(e){if(e.value===po)throw new Error("Detected cycle in computations.");let t=e.value;e.value=po;let n=Ht(e),r,o=!1;try{r=e.computation(),D(null),o=t!==fo&&t!==wn&&r!==wn&&e.equal(t,r)}catch(i){r=wn,e.error=i}finally{Dn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function jd(){throw new Error}var sa=jd;function aa(e){sa(e)}function wo(e){sa=e}var Vd=null;function Do(e,t){let n=Object.create(_n);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(at(n),n.value);return r[W]=n,r}function ct(e,t){Eo()||aa(e),e.equal(e.value,t)||(e.value=t,Hd(e))}function bo(e,t){Eo()||aa(e),ct(e,t(e.value))}var _n=J($({},st),{equal:go,value:void 0,kind:"signal"});function Hd(e){e.version++,na(),Io(e),Vd?.()}function Mo(e){let t=D(null);try{return e()}finally{D(t)}}var Co;function Bt(){return Co}function De(e){let t=Co;return Co=e,t}var Tn=Symbol("NotFound");function I(e){return typeof e=="function"}function lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Nn=lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ve(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof Nn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ca(i)}catch(s){t=t??[],s instanceof Nn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Nn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ca(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ve(n,t)}remove(t){let{_finalizers:n}=this;n&&Ve(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var xo=L.EMPTY;function Sn(e){return e instanceof L||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function ca(e){I(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ut={setTimeout(e,t,...n){let{delegate:r}=ut;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ut;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function kn(e){ut.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function He(){}var la=_o("C",void 0,void 0);function ua(e){return _o("E",void 0,e)}function da(e){return _o("N",e,void 0)}function _o(e,t,n){return{kind:e,value:t,error:n}}var $e=null;function dt(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=$e;if($e=null,n)throw r}}else e()}function fa(e){ae.useDeprecatedSynchronousErrorHandling&&$e&&($e.errorThrown=!0,$e.error=e)}var Be=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Sn(t)&&t.add(this)):this.destination=zd}static create(t,n,r){return new be(t,n,r)}next(t){this.isStopped?No(da(t),this):this._next(t)}error(t){this.isStopped?No(ua(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?No(la,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},qd=Function.prototype.bind;function To(e,t){return qd.call(e,t)}var So=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rn(r)}else Rn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rn(n)}}},be=class extends Be{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&To(t.next,i),error:t.error&&To(t.error,i),complete:t.complete&&To(t.complete,i)}):o=t}this.destination=new So(o)}};function Rn(e){ae.useDeprecatedSynchronousErrorHandling?fa(e):kn(e)}function Wd(e){throw e}function No(e,t){let{onStoppedNotification:n}=ae;n&&ut.setTimeout(()=>n(e,t))}var zd={closed:!0,next:He,error:Wd,complete:He};var ft=typeof Symbol=="function"&&Symbol.observable||"@@observable";function z(e){return e}function Gd(...e){return ko(e)}function ko(e){return e.length===0?z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Qd(n)?n:new be(n,r,o);return dt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=pa(r),new r((o,i)=>{let s=new be({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ft](){return this}pipe(...n){return ko(n)(this)}toPromise(n){return n=pa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function pa(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function Zd(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Qd(e){return e&&e instanceof Be||Zd(e)&&Sn(e)}function Ro(e){return I(e?.lift)}function y(e){return t=>{if(Ro(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new Oo(e,t,n,r,o)}var Oo=class extends Be{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ao(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Po=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ro(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Ao()(this)}};var ha=lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new On(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ha}next(n){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?xo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Ve(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new On(t,n),e})(),On=class extends re{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:xo}};var Ut=class extends re{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var qt={now(){return(qt.delegate||Date).now()},delegate:void 0};var An=class extends re{constructor(t=1/0,n=1/0,r=qt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function jn(e){return e&&I(e.schedule)}function Lo(e){return e[e.length-1]}function Vn(e){return I(Lo(e))?e.pop():void 0}function fe(e){return jn(Lo(e))?e.pop():void 0}function ma(e,t){return typeof Lo(e)=="number"?e.pop():t}function va(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(f){s(f)}}function c(u){try{l(r.throw(u))}catch(f){s(f)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function ya(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function We(e){return this instanceof We?(this.v=e,this):new We(e)}function Ia(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(g){return new Promise(function(R,_){i.push([d,g,R,_])>1||c(d,g)})},h&&(o[d]=h(o[d])))}function c(d,h){try{l(r[d](h))}catch(g){p(i[0][3],g)}}function l(d){d.value instanceof We?Promise.resolve(d.value.v).then(u,f):p(i[0][2],d)}function u(d){c("next",d)}function f(d){c("throw",d)}function p(d,h){d(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ea(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ya=="function"?ya(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Hn=e=>e&&typeof e.length=="number"&&typeof e!="function";function $n(e){return I(e?.then)}function Bn(e){return I(e[ft])}function Un(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function qn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Yd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wn=Yd();function zn(e){return I(e?.[Wn])}function Gn(e){return Ia(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield We(n.read());if(o)return yield We(void 0);yield yield We(r)}}finally{n.releaseLock()}})}function Zn(e){return I(e?.getReader)}function N(e){if(e instanceof T)return e;if(e!=null){if(Bn(e))return Jd(e);if(Hn(e))return Kd(e);if($n(e))return Xd(e);if(Un(e))return wa(e);if(zn(e))return ef(e);if(Zn(e))return tf(e)}throw qn(e)}function Jd(e){return new T(t=>{let n=e[ft]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kd(e){return new T(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,kn)})}function ef(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wa(e){return new T(t=>{nf(e,t).catch(n=>t.error(n))})}function tf(e){return wa(Gn(e))}function nf(e,t){var n,r,o,i;return va(this,void 0,void 0,function*(){try{for(n=Ea(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function K(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Qn(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function Yn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Da(e,t){return N(e).pipe(Yn(t),Qn(t))}function ba(e,t){return N(e).pipe(Yn(t),Qn(t))}function Ma(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ca(e,t){return new T(n=>{let r;return K(n,t,()=>{r=e[Wn](),K(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function Jn(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{K(n,t,()=>{let r=e[Symbol.asyncIterator]();K(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xa(e,t){return Jn(Gn(e),t)}function _a(e,t){if(e!=null){if(Bn(e))return Da(e,t);if(Hn(e))return Ma(e,t);if($n(e))return ba(e,t);if(Un(e))return Jn(e,t);if(zn(e))return Ca(e,t);if(Zn(e))return xa(e,t)}throw qn(e)}function pe(e,t){return t?_a(e,t):N(e)}function rf(...e){let t=fe(e);return pe(e,t)}function of(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function sf(e){return!!e&&(e instanceof T||I(e.lift)&&I(e.subscribe))}var ze=lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ta(e){return e instanceof Date&&!isNaN(e)}function Me(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:af}=Array;function cf(e,t){return af(t)?e(...t):e(t)}function Kn(e){return Me(t=>cf(e,t))}var{isArray:lf}=Array,{getPrototypeOf:uf,prototype:df,keys:ff}=Object;function Xn(e){if(e.length===1){let t=e[0];if(lf(t))return{args:t,keys:null};if(pf(t)){let n=ff(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function pf(e){return e&&typeof e=="object"&&uf(e)===df}function er(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function hf(...e){let t=fe(e),n=Vn(e),{args:r,keys:o}=Xn(e);if(r.length===0)return pe([],t);let i=new T(gf(r,t,o?s=>er(o,s):z));return n?i.pipe(Kn(n)):i}function gf(e,t,n=z){return r=>{Na(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=pe(e[c],t),u=!1;l.subscribe(m(r,f=>{i[c]=f,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Na(e,t,n){e?K(n,e,t):t()}function Sa(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,f=!1,p=()=>{f&&!c.length&&!l&&t.complete()},d=g=>l{i&&t.next(g),l++;let R=!1;N(n(g,u++)).subscribe(m(t,_=>{o?.(_),i?d(_):t.next(_)},()=>{R=!0},void 0,()=>{if(R)try{for(l--;c.length&&lh(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(m(t,d,()=>{f=!0,p()})),()=>{a?.()}}function Ce(e,t,n=1/0){return I(t)?Ce((r,o)=>Me((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>Sa(r,o,e,n)))}function zt(e=1/0){return Ce(z,e)}function ka(){return zt(1)}function ht(...e){return ka()(pe(e,fe(e)))}function mf(e){return new T(t=>{N(e()).subscribe(t)})}function yf(...e){let t=Vn(e),{args:n,keys:r}=Xn(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{f||(f=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!f)&&(l||i.next(r?er(r,a):a),i.complete())}))}});return t?o.pipe(Kn(t)):o}function tr(e=0,t,n=ga){let r=-1;return t!=null&&(jn(t)?n=t:r=t),new T(o=>{let i=Ta(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function vf(...e){let t=fe(e),n=ma(e,1/0),r=e;return r.length?r.length===1?N(r[0]):zt(n)(pe(r,t)):qe}function Ge(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ra(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||N(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function If(e,t=Ue){return Ra(()=>tr(e,t))}function Oa(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=N(e(s,Oa(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Aa(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let f=l++;c=a?e(c,u,f):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ef(e,t){return I(t)?Ce(e,t,1):Ce(e,1)}function wf(e,t=Ue){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Gt(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function gt(e){return e<=0?()=>qe:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Pa(){return y((e,t)=>{e.subscribe(m(t,He))})}function La(e){return Me(()=>e)}function Fo(e,t){return t?n=>ht(t.pipe(gt(1),Pa()),n.pipe(Fo(e))):Ce((n,r)=>N(e(n,r)).pipe(gt(1),La(n)))}function Df(e,t=Ue){let n=tr(e,t);return Fo(()=>n)}function bf(e,t=z){return e=e??Mf,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Mf(e,t){return e===t}function nr(e=Cf){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Cf(){return new ze}function xf(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _f(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ge((o,i)=>e(o,i,r)):z,gt(1),n?Gt(t):nr(()=>new ze))}function jo(e){return e<=0?()=>qe:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Tf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ge((o,i)=>e(o,i,r)):z,jo(1),n?Gt(t):nr(()=>new ze))}function Nf(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Sf(e,t){return y(Aa(e,t,arguments.length>=2,!0))}function Ho(e={}){let{connector:t=()=>new re,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,f=!1,p=()=>{a?.unsubscribe(),a=void 0},d=()=>{p(),s=c=void 0,u=f=!1},h=()=>{let g=s;d(),g?.unsubscribe()};return y((g,R)=>{l++,!f&&!u&&p();let _=c=c??t();R.add(()=>{l--,l===0&&!f&&!u&&(a=Vo(h,o))}),_.subscribe(R),!s&&l>0&&(s=new be({next:de=>_.next(de),error:de=>{f=!0,p(),a=Vo(d,n,de),_.error(de)},complete:()=>{u=!0,p(),a=Vo(d,r),_.complete()}}),N(g).subscribe(s))})(i)}}function Vo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new be({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function kf(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ho({connector:()=>new An(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Rf(e){return Ge((t,n)=>e<=n)}function Of(...e){let t=fe(e);return y((n,r)=>{(t?ht(e,n,t):ht(e,n)).subscribe(r)})}function Af(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=m(r,f=>r.next(t?t(c,f,u,l++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Pf(e){return y((t,n)=>{N(e).subscribe(m(n,()=>n.complete(),He)),!n.closed&&t.subscribe(n)})}function Lf(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):z}var Oc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(Ac(t,n)),this.code=t}};function Ff(e){return`NG0${Math.abs(e)}`}function Ac(e,t){return`${Ff(e)}${t?": "+t:""}`}var zr=Symbol("InputSignalNode#UNSET"),Pc=J($({},_n),{transformFn:void 0,applyValueToInputSignal(e,t){ct(e,t)}});function Lc(e,t){let n=Object.create(Pc);n.value=e,n.transformFn=t?.transform;function r(){if(at(n),n.value===zr){let o=null;throw new b(-950,o)}return n.value}return r[W]=n,r}function un(e){return{toString:e}.toString()}var rr="__parameters__";function jf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Fc(e,t,n){return un(()=>{let r=jf(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let f=c.hasOwnProperty(rr)?c[rr]:Object.defineProperty(c,rr,{value:[]})[rr];for(;f.length<=u;)f.push(null);return(f[u]=f[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Kt=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function Vf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(X).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` -`);return r>=0?n.slice(0,r):n}function ti(e,t){return e?t?`${e} ${t}`:e:t||""}var Hf=k({__forward_ref__:k});function jc(e){return e.__forward_ref__=jc,e.toString=function(){return X(this())},e}function H(e){return Vc(e)?e():e}function Vc(e){return typeof e=="function"&&e.hasOwnProperty(Hf)&&e.__forward_ref__===jc}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $f(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gr(e){return Fa(e,Hc)||Fa(e,$c)}function i_(e){return Gr(e)!==null}function Fa(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bf(e){let t=e&&(e[Hc]||e[$c]);return t||null}function ja(e){return e&&(e.hasOwnProperty(Va)||e.hasOwnProperty(Uf))?e[Va]:null}var Hc=k({\u0275prov:k}),Va=k({\u0275inj:k}),$c=k({ngInjectableDef:k}),Uf=k({ngInjectorDef:k}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Bc(e){return e&&!!e.\u0275providers}var qf=k({\u0275cmp:k}),Wf=k({\u0275dir:k}),zf=k({\u0275pipe:k}),Gf=k({\u0275mod:k}),hr=k({\u0275fac:k}),Jt=k({__NG_ELEMENT_ID__:k}),Ha=k({__NG_ENV_ID__:k});function xe(e){return typeof e=="string"?e:e==null?"":String(e)}function Zf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():xe(e)}function Uc(e,t){throw new b(-200,e)}function us(e,t){throw new b(-201,!1)}var x=(function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e})(x||{}),ni;function qc(){return ni}function oe(e){let t=ni;return ni=e,t}function Wc(e,t,n){let r=Gr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;us(e,"Injector")}var Qf={},Ze=Qf,ri="__NG_DI_FLAG__",gr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?Tn:Ze,r)}},mr="ngTempTokenPath",Yf="ngTokenPath",Jf=/\n/gm,Kf="\u0275",$a="__source";function Xf(e,t=x.Default){if(Bt()===void 0)throw new b(-203,!1);if(Bt()===null)return Wc(e,void 0,t);{let n=Bt(),r;return n instanceof gr?r=n.injector:r=n,r.get(e,t&x.Optional?null:void 0,t)}}function te(e,t=x.Default){return(qc()||Xf)(H(e),t)}function C(e,t=x.Default){return te(e,Zr(t))}function Zr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function oi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Jf,` - `)}`}var rp=zc(Fc("Optional"),8);var op=zc(Fc("SkipSelf"),4);function Dt(e,t){let n=e.hasOwnProperty(hr);return n?e[hr]:null}function ip(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?ds(n,t):t(n))}function Gc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ap(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function fs(e,t,n){let r=dn(e,t);return r>=0?e[r|1]=n:(r=~r,cp(e,r,t,n)),r}function $o(e,t){let n=dn(e,t);if(n>=0)return e[n|1]}function dn(e,t){return lp(e,t,1)}function lp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return ds(t,s=>{let a=s;ii(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Xc(o,i),n}function Xc(e,t){for(let n=0;n{t(i,r)})}}function ii(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ja(e),s=!i&&Le(e);if(!i&&!s){let c=e.ngModule;if(i=ja(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ii(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ds(i.imports,u=>{ii(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Xc(l,t)}if(!a){let l=Dt(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:Qc,useValue:o,multi:!0},o),t({provide:vr,useValue:()=>te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ps(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ps(e,t){for(let n of e)Bc(n)&&(n=n.\u0275providers),Array.isArray(n)?ps(n,t):t(n)}var pp=k({provide:String,useValue:k});function el(e){return e!==null&&typeof e=="object"&&pp in e}function hp(e){return!!(e&&e.useExisting)}function gp(e){return!!(e&&e.useFactory)}function bt(e){return typeof e=="function"}function mp(e){return!!e.useClass}var tl=new S(""),lr={},Ba={},Bo;function Qr(){return Bo===void 0&&(Bo=new Ir),Bo}var Fe=class{},Xt=class extends Fe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ai(t,s=>this.processProvider(s)),this.records.set(Zc,mt(void 0,this)),o.has("environment")&&this.records.set(Fe,mt(void 0,this));let i=this.records.get(tl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qc,G,x.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?Tn:Ze,r)}destroy(){Qt(this),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return Qt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Qt(this);let n=De(this),r=oe(void 0),o;try{return t()}finally{De(n),oe(r)}}get(t,n=Ze,r=x.Default){if(Qt(this),t.hasOwnProperty(Ha))return t[Ha](this);r=Zr(r);let o,i=De(this),s=oe(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=wp(t)&&Gr(t);l&&this.injectableDefInScope(l)?c=mt(si(t),lr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&x.Self?Qr():this.parent;return n=r&x.Optional&&n===Ze?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[mr]=a[mr]||[]).unshift(X(t)),i)throw a;return tp(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),De(i)}}resolveInjectorInitializers(){let t=D(null),n=De(this),r=oe(void 0),o;try{let i=this.get(vr,G,x.Self);for(let s of i)s()}finally{De(n),oe(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=bt(t)?t:H(t&&t.provide),r=vp(t);if(!bt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=mt(void 0,lr,!0),o.factory=()=>oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{return n.value===Ba?Uc(X(t)):n.value===lr&&(n.value=Ba,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Ep(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function si(e){let t=Gr(e),n=t!==null?t.factory:Dt(e);if(n!==null)return n;if(e instanceof S)throw new b(204,!1);if(e instanceof Function)return yp(e);throw new b(204,!1)}function yp(e){if(e.length>0)throw new b(204,!1);let n=Bf(e);return n!==null?()=>n.factory(e):()=>new e}function vp(e){if(el(e))return mt(void 0,e.useValue);{let t=nl(e);return mt(t,lr)}}function nl(e,t,n){let r;if(bt(e)){let o=H(e);return Dt(o)||si(o)}else if(el(e))r=()=>H(e.useValue);else if(gp(e))r=()=>e.useFactory(...oi(e.deps||[]));else if(hp(e))r=(o,i)=>te(H(e.useExisting),i!==void 0&&i&x.Optional?x.Optional:void 0);else{let o=H(e&&(e.useClass||e.provide));if(Ip(e))r=()=>new o(...oi(e.deps));else return Dt(o)||si(o)}return r}function Qt(e){if(e.destroyed)throw new b(205,!1)}function mt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ip(e){return!!e.deps}function Ep(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function wp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function ai(e,t){for(let n of e)Array.isArray(n)?ai(n,t):n&&Bc(n)?ai(n.\u0275providers,t):t(n)}function rl(e,t){let n;e instanceof Xt?(Qt(e),n=e):n=new gr(e);let r,o=De(n),i=oe(void 0);try{return t()}finally{De(o),oe(i)}}function hs(){return qc()!==void 0||Bt()!=null}function gs(e){if(!hs())throw new b(-203,!1)}function Dp(e){let t=Kt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function bp(e){return typeof e=="function"}var Se=0,E=1,v=2,U=3,ue=4,ee=5,Mt=6,Er=7,j=8,Ct=9,_e=10,A=11,en=12,Ua=13,Rt=14,ne=15,Ye=16,yt=17,Te=18,Yr=19,ol=20,Ae=21,Uo=22,Je=23,ie=24,Et=25,q=26,il=1;var Ke=7,wr=8,xt=9,B=10;function Pe(e){return Array.isArray(e)&&typeof e[il]=="object"}function ke(e){return Array.isArray(e)&&e[il]===!0}function sl(e){return(e.flags&4)!==0}function Ot(e){return e.componentOffset>-1}function ms(e){return(e.flags&1)===1}function me(e){return!!e.template}function Dr(e){return(e[v]&512)!==0}function At(e){return(e[v]&256)===256}var ci=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function al(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var s_=(()=>{let e=()=>cl;return e.ngInherit=!0,e})();function cl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cp),Mp}function Mp(){let e=ul(this),t=e?.current;if(t){let n=e.previous;if(n===ge)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Cp(e,t,n,r,o){let i=this.declaredInputs[r],s=ul(e)||xp(e,{previous:ge,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ci(l&&l.currentValue,n,c===ge),al(e,t,o,n)}var ll="__ngSimpleChanges__";function ul(e){return e[ll]||null}function xp(e,t){return e[ll]=t}var qa=null;var O=function(e,t=null,n){qa?.(e,t,n)},dl="svg",_p="math";function ye(e){for(;Array.isArray(e);)e=e[Se];return e}function fl(e,t){return ye(t[e])}function Ee(e,t){return ye(t[e.index])}function ys(e,t){return e.data[t]}function Tp(e,t){return e[t]}function Np(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ve(e,t){let n=t[e];return Pe(n)?n:n[Se]}function Sp(e){return(e[v]&4)===4}function vs(e){return(e[v]&128)===128}function kp(e){return ke(e[U])}function _t(e,t){return t==null?null:e[t]}function pl(e){e[yt]=0}function hl(e){e[v]&1024||(e[v]|=1024,vs(e)&&Pt(e))}function Rp(e,t){for(;e>0;)t=t[Rt],e--;return t}function Jr(e){return!!(e[v]&9216||e[ie]?.dirty)}function li(e){e[_e].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),Jr(e)&&Pt(e)}function Pt(e){e[_e].changeDetectionScheduler?.notify(0);let t=Xe(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!vs(t)));)t=Xe(t)}function gl(e,t){if(At(e))throw new b(911,!1);e[Ae]===null&&(e[Ae]=[]),e[Ae].push(t)}function Op(e,t){if(e[Ae]===null)return;let n=e[Ae].indexOf(t);n!==-1&&e[Ae].splice(n,1)}function Xe(e){let t=e[U];return ke(t)?t[U]:t}function Is(e){return e[Er]??=[]}function Es(e){return e.cleanup??=[]}function Ap(e,t,n,r){let o=Is(t);o.push(n),e.firstCreatePass&&Es(e).push(r,o.length-1)}var M={lFrame:Cl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ui=!1;function Pp(){return M.lFrame.elementDepthCount}function Lp(){M.lFrame.elementDepthCount++}function Fp(){M.lFrame.elementDepthCount--}function ml(){return M.bindingsEnabled}function yl(){return M.skipHydrationRootTNode!==null}function jp(e){return M.skipHydrationRootTNode===e}function Vp(){M.skipHydrationRootTNode=null}function w(){return M.lFrame.lView}function P(){return M.lFrame.tView}function a_(e){return M.lFrame.contextLView=e,e[j]}function c_(e){return M.lFrame.contextLView=null,e}function Q(){let e=vl();for(;e!==null&&e.type===64;)e=e.parent;return e}function vl(){return M.lFrame.currentTNode}function Hp(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Il(){return M.lFrame.isParent}function El(){M.lFrame.isParent=!1}function $p(){return M.lFrame.contextLView}function wl(){return ui}function br(e){let t=ui;return ui=e,t}function Bp(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Dl(){return M.lFrame.bindingIndex}function Up(e){return M.lFrame.bindingIndex=e}function it(){return M.lFrame.bindingIndex++}function Kr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qp(){return M.lFrame.inI18n}function Wp(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,di(t)}function zp(){return M.lFrame.currentDirectiveIndex}function di(e){M.lFrame.currentDirectiveIndex=e}function Gp(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ws(){return M.lFrame.currentQueryIndex}function Xr(e){M.lFrame.currentQueryIndex=e}function Zp(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function bl(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Zp(i),o===null||(i=i[Rt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Ml();return r.currentTNode=t,r.lView=e,!0}function Ds(e){let t=Ml(),n=e[E];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ml(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Cl(e):t}function Cl(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function xl(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=xl;function bs(){let e=xl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Qp(e){return(M.lFrame.contextLView=Rp(e,M.lFrame.contextLView))[j]}function we(){return M.lFrame.selectedIndex}function et(e){M.lFrame.selectedIndex=e}function fn(){let e=M.lFrame;return ys(e.tView,e.selectedIndex)}function l_(){M.lFrame.currentNamespace=dl}function Tl(){return M.lFrame.currentNamespace}var Nl=!0;function Ms(){return Nl}function Cs(e){Nl=e}function Yp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=cl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Sl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[yt]+=65536),(a>14>16&&(e[v]&3)===t&&(e[v]+=16384,Wa(a,i)):Wa(a,i)}var wt=-1,tt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Kp(e){return(e.flags&8)!==0}function Xp(e){return(e.flags&16)!==0}function eh(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Cr(e,t){let n=nh(e),r=t;for(;n>0;)r=r[Rt],n--;return r}var fi=!0;function Ga(e){let t=fi;return fi=e,t}var rh=256,Al=rh-1,Pl=5,oh=0,he={};function ih(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jt)&&(r=n[Jt]),r==null&&(r=n[Jt]=oh++);let o=r&Al,i=1<>Pl)]|=i}function xr(e,t){let n=Ll(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Wo(r.data,e),Wo(t,null),Wo(r.blueprint,null));let o=xs(e,t),i=e.injectorIndex;if(Ol(o)){let s=Mr(o),a=Cr(o,t),c=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Wo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ll(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function xs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=$l(o),r===null)return wt;if(n++,o=o[Rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wt}function pi(e,t,n){ih(e,t,n)}function sh(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,f=r?a:a+u,p=o?a+u:l;for(let d=f;d=c&&h.type===n)return d}if(o){let d=s[c];if(d&&me(d)&&d.type===n)return c}return null}function nn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof tt){let a=i;a.resolving&&Uc(Zf(s[n]));let c=Ga(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?oe(a.injectImpl):null,f=bl(e,r,x.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Yp(n,s[n],t)}finally{u!==null&&oe(u),Ga(c),a.resolving=!1,_l()}}return i}function ch(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Jt)?e[Jt]:void 0;return typeof t=="number"?t>=0?t&Al:lh:t}function Za(e,t,n){let r=1<>Pl)]&r)}function Qa(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var Qe=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Vl(this._tNode,this._lView,t,Zr(r),n)}};function lh(){return new Qe(Q(),w())}function u_(e){return un(()=>{let t=e.prototype.constructor,n=t[hr]||hi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[hr]||hi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function hi(e){return Vc(e)?()=>{let t=hi(H(e));return t&&t()}:Dt(e)}function uh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!Dr(s);){let a=Hl(i,s,n,r|x.Self,he);if(a!==he)return a;let c=i.parent;if(!c){let l=s[ol];if(l){let u=l.get(n,he,r);if(u!==he)return u}c=$l(s),s=s[Rt]}i=c}return o}function $l(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function dh(e){return sh(Q(),e)}function Ya(e,t=null,n=null,r){let o=Bl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Bl(e,t=null,n=null,r,o=new Set){let i=[n||G,fp(e)];return r=r||(typeof e=="object"?void 0:X(e)),new Xt(i,t||Qr(),r||null,o)}var Ie=class e{static THROW_IF_NOT_FOUND=Ze;static NULL=new Ir;static create(t,n){if(Array.isArray(t))return Ya({name:""},n,t,"");{let r=t.name??"";return Ya({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>te(Zc)});static __NG_ELEMENT_ID__=-1};var Ja=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>dh(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},fh=new S("");fh.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new b(204,!1)};var Ul=!1,Ft=(()=>{class e{static __NG_ELEMENT_ID__=ph;static __NG_ENV_ID__=n=>n}return e})(),_r=class extends Ft{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return At(n)?(t(),()=>{}):(gl(n,t),()=>Op(n,t))}};function ph(){return new _r(w())}var nt=class{},ql=new S("",{providedIn:"root",factory:()=>!1});var Wl=new S(""),zl=new S(""),eo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ut(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})();var gi=class extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hs()&&(this.destroyRef=C(Ft,{optional:!0})??void 0,this.pendingTasks=C(eo,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Oe=gi;function rn(...e){}function Gl(e){let t,n;function r(){e=rn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ka(e){return queueMicrotask(()=>e()),()=>{e=rn}}var _s="isAngularZone",Tr=_s+"_ID",hh=0,Z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Oe(!1);onMicrotaskEmpty=new Oe(!1);onStable=new Oe(!1);onError=new Oe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ul}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,yh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_s)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,gh,rn,rn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},gh={};function Ts(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function mh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Gl(()=>{e.callbackScheduled=!1,mi(e),e.isCheckStableRunning=!0,Ts(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),mi(e)}function yh(e){let t=()=>{mh(e)},n=hh++;e._inner=e._inner.fork({name:"angular",properties:{[_s]:!0,[Tr]:n,[Tr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(vh(c))return r.invokeTask(i,s,a,c);try{return Xa(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ec(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Xa(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ih(c)&&t(),ec(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,mi(e),Ts(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function mi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Xa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ec(e){e._nesting--,Ts(e)}var Nr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Oe;onMicrotaskEmpty=new Oe;onStable=new Oe;onError=new Oe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function vh(e){return Zl(e,"__ignore_ng_zone__")}function Ih(e){return Zl(e,"__scheduler_tick__")}function Zl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Eh(e="zone.js",t){return e==="noop"?new Nr:e==="zone.js"?new Z(t):e}var je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},wh=new S("",{providedIn:"root",factory:()=>{let e=C(Z),t=C(je);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),yi=class{destroyed=!1;listeners=null;errorHandler=C(je,{optional:!0});destroyRef=C(Ft);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Ac(953,!1));return}if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function tc(e,t){return Lc(e,t)}function Dh(e){return Lc(zr,e)}var d_=(tc.required=Dh,tc);function bh(){return jt(Q(),w())}function jt(e,t){return new to(Ee(e,t))}var to=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=bh}return e})();function Ql(e){return e instanceof to?e.nativeElement:e}function Mh(e){return typeof e=="function"&&e[W]!==void 0}function Ch(e,t){let n=Do(e,t?.equal),r=n[W];return n.set=o=>ct(r,o),n.update=o=>bo(r,o),n.asReadonly=Yl.bind(n),n}function Yl(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}function Jl(e){return Mh(e)&&typeof e.set=="function"}function xh(){return this._results[Symbol.iterator]()}var vi=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new re}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sp(t);(this._changesDetected=!ip(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=xh};function Kl(e){return(e.flags&128)===128}var Xl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Xl||{}),eu=new Map,_h=0;function Th(){return _h++}function Nh(e){eu.set(e[Yr],e)}function Ii(e){eu.delete(e[Yr])}var nc="__ngContext__";function pn(e,t){Pe(t)?(e[nc]=t[Yr],Nh(t)):e[nc]=t}function tu(e){return ru(e[en])}function nu(e){return ru(e[ue])}function ru(e){for(;e!==null&&!ke(e);)e=e[ue];return e}var Ei;function f_(e){Ei=e}function Sh(){if(Ei!==void 0)return Ei;if(typeof document<"u")return document;throw new b(210,!1)}var p_=new S("",{providedIn:"root",factory:()=>kh}),kh="ng",Rh=new S(""),h_=new S("",{providedIn:"platform",factory:()=>"unknown"});var g_=new S(""),m_=new S("",{providedIn:"root",factory:()=>Sh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Oh="h",Ah="b";var ou=!1,Ph=new S("",{providedIn:"root",factory:()=>ou});var Ns=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ns||{}),no=new S(""),rc=new Set;function hn(e){rc.has(e)||(rc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ss=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Lh}return e})();function Lh(){return new Ss(w(),Q())}var vt=(function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e})(vt||{}),iu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fh=[vt.EarlyRead,vt.Write,vt.MixedReadWrite,vt.Read],jh=(()=>{class e{ngZone=C(Z);scheduler=C(nt);errorHandler=C(je,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(no,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(16),this.executing=!0;for(let r of Fh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(17)}register(n){let{view:r}=n;r!==void 0?((r[Et]??=[]).push(n),Pt(r),r[v]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ns.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),wi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Et];t&&(this.view[Et]=t.filter(n=>n!==this))}};function Vh(e,t){!t?.injector&&gs(Vh);let n=t?.injector??C(Ie);return hn("NgAfterRender"),su(e,n,t,!1)}function Hh(e,t){!t?.injector&&gs(Hh);let n=t?.injector??C(Ie);return hn("NgAfterNextRender"),su(e,n,t,!0)}function $h(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function su(e,t,n,r){let o=t.get(iu);o.impl??=t.get(jh);let i=t.get(no,null,{optional:!0}),s=n?.phase??vt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Ft):null,c=t.get(Ss,null,{optional:!0}),l=new wi(o.impl,$h(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Bh=(e,t,n,r)=>{};function Uh(e,t,n,r){Bh(e,t,n,r)}var qh=()=>null;function au(e,t,n=!1){return qh(e,t,n)}function cu(e,t){let n=e.contentQueries;if(n!==null){let r=D(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch{}return or}function ro(e){return Wh()?.createHTML(e)||e}var ir;function zh(){if(ir===void 0&&(ir=null,Kt.trustedTypes))try{ir=Kt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ir}function oc(e){return zh()?.createScriptURL(e)||e}var Ne=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Oc})`}},bi=class extends Ne{getTypeName(){return"HTML"}},Mi=class extends Ne{getTypeName(){return"Style"}},Ci=class extends Ne{getTypeName(){return"Script"}},xi=class extends Ne{getTypeName(){return"URL"}},_i=class extends Ne{getTypeName(){return"ResourceURL"}};function oo(e){return e instanceof Ne?e.changingThisBreaksApplicationSecurity:e}function uu(e,t){let n=Gh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Oc})`)}return n===t}function Gh(e){return e instanceof Ne&&e.getTypeName()||null}function y_(e){return new bi(e)}function v_(e){return new Mi(e)}function I_(e){return new Ci(e)}function E_(e){return new xi(e)}function w_(e){return new _i(e)}function Zh(e){let t=new Ni(e);return Qh()?new Ti(t):t}var Ti=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(ro(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ni=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ro(t),n}};function Qh(){try{return!!new window.DOMParser().parseFromString(ro(""),"text/html")}catch{return!1}}var Yh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function du(e){return e=String(e),e.match(Yh)?e:"unsafe:"+e}function Re(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function gn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fu=Re("area,br,col,hr,img,wbr"),pu=Re("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hu=Re("rp,rt"),Jh=gn(hu,pu),Kh=gn(pu,Re("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")),Xh=gn(hu,Re("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")),ic=gn(fu,Kh,Xh,Jh),gu=Re("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eg=Re("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"),tg=Re("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"),ng=gn(gu,eg,tg),rg=Re("script,style,template"),Si=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=sg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ig(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=sc(t).toLowerCase();if(!ic.hasOwnProperty(n))return this.sanitizedSomething=!0,!rg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=sc(t).toLowerCase();ic.hasOwnProperty(n)&&!fu.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ac(t))}};function og(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ig(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mu(t);return t}function sg(e){let t=e.firstChild;if(t&&og(e,t))throw mu(t);return t}function sc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ag=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cg=/([^\#-~ |!])/g;function ac(e){return e.replace(/&/g,"&").replace(ag,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(cg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var sr;function D_(e,t){let n=null;try{sr=sr||Zh(e);let r=t?String(t):"";n=sr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=sr.getInertBodyElement(r)}while(r!==i);let a=new Si().sanitizeChildren(cc(n)||n);return ro(a)}finally{if(n){let r=cc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function cc(e){return"content"in e&&lg(e)?e.content:null}function lg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function ug(e,t){return e.createText(t)}function dg(e,t,n){e.setValue(t,n)}function yu(e,t,n){return e.createElement(t,n)}function Sr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function vu(e,t,n){e.appendChild(t,n)}function lc(e,t,n,r,o){r!==null?Sr(e,t,n,r,o):vu(e,t,n)}function fg(e,t,n){e.removeChild(null,t,n)}function pg(e,t,n){e.setAttribute(t,"style",n)}function hg(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Iu(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&eh(e,t,r),o!==null&&hg(e,t,o),i!==null&&pg(e,t,i)}var ks=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(ks||{});function gg(e){let t=Eu();return t?t.sanitize(ks.URL,e)||"":uu(e,"URL")?oo(e):du(xe(e))}function mg(e){let t=Eu();if(t)return oc(t.sanitize(ks.RESOURCE_URL,e)||"");if(uu(e,"ResourceURL"))return oc(oo(e));throw new b(904,!1)}var yg={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function vg(e,t){return yg[e.toLowerCase()]?.[t.toLowerCase()]===!0?mg:gg}function b_(e,t,n){return vg(t,n)(e)}function Ig(e){if(e.toLowerCase().startsWith("on"))throw new b(306,!1)}function Eu(){let e=w();return e&&e[_e].sanitizer}function wu(e){return e instanceof Function?e():e}function Eg(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Du="ng-template";function wg(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?f="":f=o[u+1].toLowerCase(),r&2&&l!==f){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function Mg(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(t+=uc(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=uc(i,o)),t}function Sg(e){return e.map(Ng).join(",")}function kg(e){let t=[],n=[],r=1,o=2;for(;rq&&xu(e,t,q,!1),O(s?2:0,o),n(r,o)}finally{et(i),O(s?3:1,o)}}function Ls(e,t,n){Hg(e,t,n),(n.flags&64)===64&&$g(e,t,n)}function Tu(e,t,n=Ee){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function jg(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function so(e,t,n,r,o,i,s,a){if(!a&&Fs(t,e,n,r,o)){Ot(t)&&Vg(n,t.index);return}if(t.type&3){let c=Ee(t,n);r=jg(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Vg(e,t){let n=ve(t,e);n[v]&16||(n[v]|=64)}function Hg(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ot(n)&&Ag(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||xr(n,t);let i=n.initialInputs;for(let s=r;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Er]=null);let o=t[Ae];if(o!==null){t[Ae]=null;for(let s=0;s{Pt(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function pm(e){let t=e[ie]??Object.create(hm);return t.lView=e,t}var hm=J($({},st),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Xe(e.lView);for(;t&&!Fu(t[E]);)t=Xe(t);t&&hl(t)},consumerOnSignalRead(){this.lView[ie]=this}});function Fu(e){return e.type!==2}function ju(e){if(e[Je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Je])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var gm=100;function Vu(e,t=!0,n=0){let o=e[_e].rendererFactory,i=!1;i||o.begin?.();try{mm(e,n)}catch(s){throw t&&zg(e,s),s}finally{i||o.end?.()}}function mm(e,t){let n=wl();try{br(!0),Ai(e,t);let r=0;for(;Jr(e);){if(r===gm)throw new b(103,!1);r++,Ai(e,1)}}finally{br(n)}}function ym(e,t,n,r){if(At(t))return;let o=t[v],i=!1,s=!1;Ds(t);let a=!0,c=null,l=null;i||(Fu(e)?(l=lm(t),c=Ht(l)):yo()===null?(a=!1,l=pm(t),c=Ht(l)):t[ie]&&($t(t[ie]),t[ie]=null));try{pl(t),Up(e.bindingStartIndex),n!==null&&_u(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&ur(t,d,null)}else{let d=e.preOrderHooks;d!==null&&dr(t,d,0,null),qo(t,0)}if(s||vm(t),ju(t),Hu(t,0),e.contentQueries!==null&&cu(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&ur(t,d)}else{let d=e.contentHooks;d!==null&&dr(t,d,1),qo(t,1)}Em(e,t);let f=e.components;f!==null&&Bu(t,f,0);let p=e.viewQuery;if(p!==null&&Di(2,p,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&ur(t,d)}else{let d=e.viewHooks;d!==null&&dr(t,d,2),qo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Uo]){for(let d of t[Uo])d();t[Uo]=null}i||(Pu(t),t[v]&=-73)}catch(u){throw i||Pt(t),u}finally{l!==null&&(Dn(l,c),a&&dm(l)),bs()}}function Hu(e,t){for(let n=tu(e);n!==null;n=nu(n))for(let r=B;r0&&(e[n-1][ue]=r[ue]);let i=yr(e,B+t);Jg(r[E],r);let s=i[Te];s!==null&&s.detachView(i[E]),r[U]=null,r[ue]=null,r[v]&=-129}return r}function wm(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][ue]=t),r-1&&(sn(t,r),yr(n,r))}this._attachedToViewContainer=!1}ao(this._lView[E],this._lView)}onDestroy(t){gl(this._lView,t)}markForCheck(){qs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){li(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Vu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dr(this._lView),n=this._lView[Ye];n!==null&&!t&&$s(n,this._lView),Su(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Dr(this._lView),r=this._lView[Ye];r!==null&&!n&&zu(r,this._lView),li(this._lView)}};var Rr=(()=>{class e{static __NG_ELEMENT_ID__=Mm}return e})(),Dm=Rr,bm=class extends Dm{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=mn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new an(o)}};function Mm(){return lo(Q(),w())}function lo(e,t){return e.type&4?new bm(t,e,jt(e,t)):null}function vn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Cm(e,t,n,r,o),qp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Hp();i.injectorIndex=s===null?-1:s.injectorIndex}return Lt(i,!0),i}function Cm(e,t,n,r,o){let i=vl(),s=Il(),a=s?i:i&&i.parent,c=e.data[t]=_m(e,a,n,t,r,o);return xm(e,c,i,s),c}function xm(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function _m(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return yl()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Tl(),attrs:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var __=new RegExp(`^(\\d+)*(${Ah}|${Oh})*(.*)`);var Tm=()=>null;function Nt(e,t){return Tm(e,t)}var Nm=class{},Gu=class{},Pi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${X(t)}.`)}},uo=class{static NULL=new Pi},Or=class{},k_=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Sm()}return e})();function Sm(){let e=w(),t=Q(),n=ve(t.index,e);return(Pe(n)?n:e)[A]}var km=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();var Go={},Li=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Zr(r);let o=this.injector.get(t,Go,r);return o!==Go||n===Go?o:this.parentInjector.get(t,n,r)}};function fc(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function $m(e,t,n){if(n){if(t.exportAs)for(let r=0;r{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&io.SignalBased)!==0};return o&&(i.transform=o),i})}function qm(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Wm(e,t,n){let r=t instanceof Fe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Li(n,r):n}function zm(e){let t=e.get(Or,null);if(t===null)throw new b(407,!1);let n=e.get(km,null),r=e.get(nt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Gm(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return yu(t,n,n==="svg"?dl:n==="math"?_p:null)}var rt=class extends Gu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Um(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=qm(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Sg(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){O(22);let i=D(null);try{let s=this.componentDef,a=r?["ng-version","19.2.25"]:kg(this.componentDef.selectors[0]),c=Os(0,null,null,1,0,null,null,null,null,[a],null),l=Wm(s,o||this.ngModule,t),u=zm(l),f=u.rendererFactory.createRenderer(null,s),p=r?Pg(f,r,s.encapsulation,l):Gm(s,f),d=As(null,c,null,512|Mu(s),null,null,u,f,l,null,au(p,l,!0));d[q]=p,Ds(d);let h=null;try{let g=Yu(q,c,d,"#host",()=>[this.componentDef],!0,0);p&&(Iu(f,p,g),pn(p,d)),Ls(c,d,g),lu(c,g,d),Ju(c,g),n!==void 0&&Zm(g,this.ngContentSelectors,n),h=ve(g.index,d),d[j]=h[j],js(c,d,null)}catch(g){throw h!==null&&Ii(h),Ii(d),g}finally{O(23),bs()}return new Fi(this.componentType,d)}finally{D(i)}}},Fi=class extends Nm{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=ys(n[E],q),this.location=jt(this._tNode,n),this.instance=ve(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new an(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Fs(r,o[E],o,t,n);this.previousInputValues.set(t,n);let s=ve(r.index,o);qs(s,1)}get injector(){return new Qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Zm(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=Qm}return e})();function Qm(){let e=Q();return Xu(e,w())}var Ym=zs,Ku=class extends Ym{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return jt(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){let t=xs(this._hostTNode,this._hostLView);if(Ol(t)){let n=Cr(t,this._hostLView),r=Mr(t),o=n[E].data[r+8];return new Qe(o,n)}else return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=mc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Nt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Tt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!bp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new rt(Le(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Fe,null);g&&(i=g)}let u=Le(c.componentType??{}),f=Nt(this._lContainer,u?.id??null),p=f?.firstChild??null,d=c.create(l,o,p,i);return this.insertImpl(d.hostView,a,Tt(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(kp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new Ku(c,c[ee],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return yn(s,o,i,r),t.attachToViewContainerRef(),Gc(Zo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=mc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=sn(this._lContainer,n);r&&(yr(Zo(this._lContainer),n),ao(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=sn(this._lContainer,n);return r&&yr(Zo(this._lContainer),n)!=null?new an(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function mc(e){return e[wr]}function Zo(e){return e[wr]||(e[wr]=[])}function Xu(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Uu(r,t,null,e),t[e.index]=n,Ps(t,n)),Km(n,t,e,r),new Ku(n,e,t)}function Jm(e,t){let n=e[A],r=n.createComment(""),o=Ee(t,e),i=n.parentNode(o);return Sr(n,i,r,n.nextSibling(o),!1),r}var Km=ty,Xm=()=>!1;function ey(e,t,n){return Xm(e,t,n)}function ty(e,t,n,r){if(e[Ke])return;let o;n.type&8?o=ye(r):o=Jm(t,n),e[Ke]=o}var ji=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Vi=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let f=B;ft.trim())}function rd(e,t,n){e.queries===null&&(e.queries=new Hi),e.queries.track(new $i(t,n))}function cy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Zs(e,t){return e.queries.getByIndex(t)}function od(e,t){let n=e[E],r=Zs(n,t);return r.crossesNgTemplate?Bi(n,e,t,[]):ed(n,e,r,t)}function id(e,t,n){let r,o=xn(()=>{r._dirtyCounter();let i=fy(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[W],r._dirtyCounter=Ch(0),r._flatValue=void 0,o}function ly(e){return id(!0,!1,e)}function uy(e){return id(!0,!0,e)}function dy(e,t){let n=e[W];n._lView=w(),n._queryIndex=t,n._queryList=Gs(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function fy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:G;let o=Gs(n,r),i=od(n,r);return o.reset(i,Ql),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function yc(e,t){return ly(t)}function py(e,t){return uy(t)}var A_=(yc.required=py,yc);function sd(e,t){let n=Object.create(Pc),r=new yi;n.value=e;function o(){return at(n),vc(n.value),n.value}return o[W]=n,o.asReadonly=Yl.bind(o),o.set=i=>{n.equal(n.value,i)||(ct(n,i),r.emit(i))},o.update=i=>{vc(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function vc(e){if(e===zr)throw new b(952,!1)}function Ic(e,t){return sd(e,t)}function hy(e){return sd(zr,e)}var P_=(Ic.required=hy,Ic);function gy(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Iy))}return i}return Lr.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(l=>{o.template=l}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.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");if(o.styleUrls?.length){let l=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((f,p)=>{a.push(""),s.push(r(f).then(d=>{a[l+p]=d,u.splice(u.indexOf(f),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(l=>{a.push(l),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Ey(i));t.push(c)}),yy(),Promise.all(t).then(()=>{})}var Lr=new Map,my=new Set;function yy(){let e=Lr;return Lr=new Map,e}function vy(){return Lr.size===0}function Iy(e){return typeof e=="string"?e:e.text()}function Ey(e){my.delete(e)}var cn=class{},wy=class{};var Fr=class extends cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ar(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Yc(t);this._bootstrapComponents=wu(i.bootstrap),this._r3Injector=Bl(t,n,[{provide:cn,useValue:this},{provide:uo,useValue:this.componentFactoryResolver},...r],X(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},jr=class extends wy{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Fr(this.moduleType,t,[])}};function Dy(e,t,n){return new Fr(e,t,n,!1)}var Ui=class extends cn{injector;componentFactoryResolver=new Ar(this);instance=null;constructor(t){super();let n=new Xt([...t.providers,{provide:cn,useValue:this},{provide:uo,useValue:this.componentFactoryResolver}],t.parent||Qr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function by(e,t,n=null){return new Ui({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var My=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Kc(!1,n.type),o=r.length>0?by([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=V({token:e,providedIn:"environment",factory:()=>new e(te(Fe))})}return e})();function j_(e){return un(()=>{let t=ad(e),n=J($({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(My).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&hn("NgStandalone"),cd(n);let r=e.dependencies;return n.directiveDefs=Ec(r,!1),n.pipeDefs=Ec(r,!0),n.id=Sy(n),n})}function Cy(e){return Le(e)||Jc(e)}function xy(e){return e!==null}function _y(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ty(e,t){if(e==null)return ge;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=io.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Ny(e){if(e==null)return ge;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function V_(e){return un(()=>{let t=ad(e);return cd(t),t})}function ad(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ge,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ty(e.inputs,t),outputs:Ny(e.outputs),debugInfo:null}}function cd(e){e.features?.forEach(t=>t(e))}function Ec(e,t){if(!e)return null;let n=t?up:Cy;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(xy)}function Sy(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ky(e){return Object.getPrototypeOf(e.prototype).constructor}function Ry(e){let t=ky(e.type),n=!0,r=[e];for(;t;){let o;if(me(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Qo(e.inputs),s.declaredInputs=Qo(e.declaredInputs),s.outputs=Qo(e.outputs);let a=o.hostBindings;a&&Fy(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Py(e,c),l&&Ly(e,l),Oy(e,o),Vf(e.outputs,o.outputs),me(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function Qo(e){return e===ge?{}:e===G?[]:e}function Py(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Ly(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Fy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function H_(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=ld,n.hostDirectives=r?e.map(qi):[e]):r?n.hostDirectives.unshift(...e.map(qi)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function ld(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)wc(qi(i),t,n)}else wc(r,t,n)}function wc(e,t,n){let r=Jc(e.directive);jy(r.declaredInputs,e.inputs),ld(r,t,n),n.set(r,e),t.push(r)}function qi(e){return typeof e=="function"?{directive:H(e),inputs:ge,outputs:ge}:{directive:H(e.directive),inputs:Dc(e.inputs),outputs:Dc(e.outputs)}}function Dc(e){if(e===void 0||e.length===0)return ge;let t={};for(let n=0;n{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Zy=new S(""),Qy=new S(""),B_=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,hs()&&(this._destroyRef=C(Ft,{optional:!0})??void 0),Qs||(Jy(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(te(Z),te(Yy),te(Qy))};static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),Yy=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Qs?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Jy(e){Qs=e}var Qs,fd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new Wi})}return e})(),Wi=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function pd(e){return!!e&&typeof e.then=="function"}function Ky(e){return!!e&&typeof e.subscribe=="function"}var hd=new S("");function U_(e){return dp([{provide:hd,multi:!0,useValue:e}])}var gd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(hd,{optional:!0})??[];injector=C(Ie);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=rl(this.injector,o);if(pd(i))n.push(i);else if(Ky(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xy=new S("");function ev(){wo(()=>{throw new b(600,!1)})}function tv(e){return e.isBoundToModule}var nv=10;function md(e,t){return Array.isArray(t)?t.reduce(md,e):$($({},e),t)}var St=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(wh);afterRenderManager=C(iu);zonelessEnabled=C(ql);rootEffectScheduler=C(fd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new re;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(eo).hasPendingTasks.pipe(Me(n=>!n));constructor(){C(no,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Fe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ie.NULL){O(10);let i=n instanceof Gu;if(!this._injector.get(gd).done){let d="";throw new b(405,d)}let a;i?a=n:a=this._injector.get(uo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=tv(a)?void 0:this._injector.get(cn),l=r||a.selector,u=a.create(o,[],l,c),f=u.location.nativeElement,p=u.injector.get(Zy,null);return p?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),pr(this.components,u),p?.unregisterApplication(f)}),this._loadComponent(u),O(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ns.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),O(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Or,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++Jr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;pr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Xy,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function rv(e,t,n,r){if(!n&&!Jr(e))return;Vu(e,t,n&&!r?0:1)}function ov(e,t,n,r){let o=w(),i=it();if(se(o,i,t)){let s=P(),a=fn();Ug(a,o,e,t,n,r)}return ov}function yd(e,t,n,r){return se(e,it(),n)?t+xe(n)+r:Y}function iv(e,t,n,r,o,i){let s=Dl(),a=dd(e,s,n,o);return Kr(2),a?t+xe(n)+r+xe(o)+i:Y}function sv(e,t,n,r,o,i,s,a){let c=Dl(),l=Uy(e,c,n,o,s);return Kr(3),l?t+xe(n)+r+xe(o)+i+xe(s)+a:Y}function ar(e,t){return e<<17|t<<2}function ot(e){return e>>17&32767}function av(e){return(e&2)==2}function cv(e,t){return e&131071|t<<17}function zi(e){return e|2}function kt(e){return(e&131068)>>2}function Yo(e,t){return e&-131069|t<<2}function lv(e){return(e&1)===1}function Gi(e){return e|1}function uv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ot(s),c=kt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let f=n;u=f[1],(u===null||dn(f,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ot(e[a+1]);e[r+1]=ar(p,a),p!==0&&(e[p+1]=Yo(e[p+1],r)),e[a+1]=cv(e[a+1],r)}else e[r+1]=ar(a,0),a!==0&&(e[a+1]=Yo(e[a+1],r)),a=r;else e[r+1]=ar(c,0),a===0?a=r:e[c+1]=Yo(e[c+1],r),c=r;l&&(e[r+1]=zi(e[r+1])),bc(e,u,r,!0),bc(e,u,r,!1),dv(t,u,e,r,i),s=ar(a,c),i?t.classBindings=s:t.styleBindings=s}function dv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&dn(i,t)>=0&&(n[r+1]=Gi(n[r+1]))}function bc(e,t,n,r){let o=e[n+1],i=t===null,s=r?ot(o):kt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];fv(c,t)&&(a=!0,e[s+1]=r?Gi(l):zi(l)),s=r?ot(l):kt(l)}a&&(e[n+1]=r?zi(o):Gi(o))}function fv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?dn(e,t)>=0:!1}var le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pv(e){return e.substring(le.key,le.keyEnd)}function hv(e){return gv(e),vd(e,Id(e,0,le.textEnd))}function vd(e,t){let n=le.textEnd;return n===t?-1:(t=le.keyEnd=mv(e,le.key=t,n),Id(e,t,n))}function gv(e){le.key=0,le.keyEnd=0,le.value=0,le.valueEnd=0,le.textEnd=e.length}function Id(e,t,n){for(;t32;)t++;return t}function yv(e,t,n){let r=w(),o=it();if(se(r,o,t)){let i=P(),s=fn();so(i,s,r,e,t,r[A],n,!1)}return yv}function Zi(e,t,n,r,o){Fs(t,e,n,o?"class":"style",r)}function vv(e,t){return Ev(e,t,null,!0),vv}function q_(e){wv(_v,Iv,e,!0)}function Iv(e,t){for(let n=hv(t);n>=0;n=vd(t,n))fs(e,pv(t),!0)}function Ev(e,t,n,r){let o=w(),i=P(),s=Kr(2);if(i.firstUpdatePass&&wd(i,e,s,r),t!==Y&&se(o,s,t)){let a=i.data[we()];Dd(i,a,o,o[A],e,o[s+1]=Nv(t,n),r,s)}}function wv(e,t,n,r){let o=P(),i=Kr(2);o.firstUpdatePass&&wd(o,null,i,r);let s=w();if(n!==Y&&se(s,i,n)){let a=o.data[we()];if(bd(a,r)&&!Ed(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ti(c,n||"")),Zi(o,a,s,n,r)}else Tv(o,a,s,s[A],s[i+1],s[i+1]=xv(e,t,n),r,i)}}function Ed(e,t){return t>=e.expandoStartIndex}function wd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=Ed(e,n);bd(i,r)&&t===null&&!s&&(t=!1),t=Dv(o,i,t,r),uv(o,i,t,n,s,r)}}function Dv(e,t,n,r){let o=Gp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Jo(null,e,t,n,r),n=ln(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Jo(o,e,t,n,r),i===null){let c=bv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Jo(null,e,t,c[1],r),c=ln(c,t.attrs,r),Mv(e,t,r,c))}else i=Cv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function bv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(kt(r)!==0)return e[ot(r)]}function Mv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ot(o)]=r}function Cv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,f=u===null,p=n[o+1];p===Y&&(p=f?G:void 0);let d=f?$o(p,r):u===r?p:void 0;if(l&&!Hr(d)&&(d=$o(c,r)),Hr(d)&&(a=d,s))return a;let h=e[o+1];o=s?ot(h):kt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=$o(c,r))}return a}function Hr(e){return e!==void 0}function Nv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=X(oo(e)))),e}function bd(e,t){return(e.flags&(t?8:16))!==0}var Qi=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ko(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Sv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],f=Ko(i,l,i,u,n);if(f!==0){f<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),d=t[c],h=Ko(s,p,c,d,n);if(h!==0){h<0&&e.updateValue(s,d),s--,c--;continue}let g=n(i,l),R=n(s,p),_=n(i,u);if(Object.is(_,R)){let de=n(c,d);Object.is(de,g)?(e.swap(i,s),e.updateValue(s,d),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new $r,o??=xc(e,i,s,n),Yi(e,r,i,_))e.updateValue(i,u),i++,s++;else if(o.has(_))r.set(g,e.detach(i)),s--;else{let de=e.create(i,t[i]);e.attach(i,de),i++,s++}}for(;i<=c;)Cc(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),f=l.value,p=Ko(i,u,i,f,n);if(p!==0)p<0&&e.updateValue(i,f),i++,l=c.next();else{r??=new $r,o??=xc(e,i,s,n);let d=n(i,f);if(Yi(e,r,i,d))e.updateValue(i,f),i++,s++,l=c.next();else if(!o.has(d))e.attach(i,e.create(i,f)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Cc(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Yi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Cc(e,t,n,r,o){if(Yi(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var $r=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function W_(e,t){hn("NgControlFlow");let n=w(),r=it(),o=n[r]!==Y?n[r]:-1,i=o!==-1?Br(n,q+o):void 0,s=0;if(se(n,r,e)){let a=D(null);try{if(i!==void 0&&Wu(i,s),e!==-1){let c=q+e,l=Br(n,c),u=es(n[E],c),f=Nt(l,u.tView.ssrId),p=mn(n,u,t,{dehydratedView:f});yn(l,p,s,Tt(u,f))}}finally{D(a)}}else if(i!==void 0){let a=qu(i,s);a!==void 0&&(a[j]=t)}}var Ji=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function z_(e){return e}function G_(e,t){return t}var Ki=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Z_(e,t,n,r,o,i,s,a,c,l,u,f,p){hn("NgControlFlow");let d=w(),h=P(),g=c!==void 0,R=w(),_=a?s.bind(R[ne][j]):s,de=new Ki(g,_);R[q+e]=de,Vr(d,h,e+1,t,n,r,o,_t(h.consts,i)),g&&Vr(d,h,e+2,c,l,u,f,_t(h.consts,p))}var Xi=class extends Qi{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Mt];this.needsIndexUpdate||=t!==this.length,yn(this.lContainer,n,t,Tt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,kv(this.lContainer,t)}create(t,n){let r=Nt(this.lContainer,this.templateTNode.tView.ssrId),o=mn(this.hostLView,this.templateTNode,new Ji(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ao(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Cs(!0),yu(r,o,Tl()));function Y_(){return w()}function Pv(e,t,n){let r=w(),o=it();if(se(r,o,t)){let i=P(),s=fn();so(i,s,r,e,t,r[A],n,!0)}return Pv}var Ur="en-US";var Lv=Ur;function Fv(e){typeof e=="string"&&(Lv=e.toLowerCase().replace(/_/g,"-"))}function _c(e,t,n){return function r(o){if(o===Function)return n;let i=Ot(e)?ve(e.index,t):t;qs(i,5);let s=t[j],a=Tc(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Tc(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Tc(e,t,n,r){let o=D(null);try{return O(6,t,n),n(r)!==!1}catch(i){return jv(e,i),!1}finally{O(7,t,n),D(o)}}function jv(e,t){let n=e[Ct],r=n?n.get(je,null):null;r&&r.handleError(t)}function Nc(e,t,n,r,o,i){let s=t[n],a=t[E],l=a.data[n].outputs[r],u=s[l],f=a.firstCreatePass?Es(a):null,p=Is(t),d=u.subscribe(i),h=p.length;p.push(i,d),f&&f.push(o,e.index,h,-(h+1))}function Vv(e,t,n,r){let o=w(),i=P(),s=Q();return xd(i,o,o[A],s,e,t,r),Vv}function Hv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function xd(e,t,n,r,o,i,s){let a=ms(r),l=e.firstCreatePass?Es(e):null,u=Is(t),f=!0;if(r.type&3||s){let p=Ee(r,t),d=s?s(p):p,h=u.length,g=s?_=>s(ye(_[r.index])):r.index,R=null;if(!s&&a&&(R=Hv(e,t,o,r.index)),R!==null){let _=R.__ngLastListenerFn__||R;_.__ngNextListenerFn__=i,R.__ngLastListenerFn__=i,f=!1}else{i=_c(r,t,i),Uh(t,d,o,i);let _=n.listen(d,o,i);u.push(i,_),l&&l.push(o,g,h,h+1)}}else i=_c(r,t,i);if(f){let p=r.outputs?.[o],d=r.hostDirectiveOutputs?.[o];if(d&&d.length)for(let h=0;h(Cs(!0),ug(t[A],r));function Wv(e){return _d("",e,""),Wv}function _d(e,t,n){let r=w(),o=yd(r,e,t,n);return o!==Y&&Ys(r,we(),o),_d}function zv(e,t,n,r,o){let i=w(),s=iv(i,e,t,n,r,o);return s!==Y&&Ys(i,we(),s),zv}function Gv(e,t,n,r,o,i,s){let a=w(),c=sv(a,e,t,n,r,o,i,s);return c!==Y&&Ys(a,we(),c),Gv}function Ys(e,t,n){let r=fl(t,e);dg(e[A],r,n)}function Zv(e,t,n){Jl(t)&&(t=t());let r=w(),o=it();if(se(r,o,t)){let i=P(),s=fn();so(i,s,r,e,t,r[A],n,!1)}return Zv}function cT(e,t){let n=Jl(e);return n&&e.set(t),n}function Qv(e,t){let n=w(),r=P(),o=Q();return xd(r,n,n[A],o,e,t),Qv}var Yv={};function Jv(e){let t=P(),n=w(),r=e+q,o=vn(t,r,128,null,null);return Lt(o,!1),Np(t,n,r,Yv),Jv}function Kv(e,t,n){let r=P();if(r.firstCreatePass){let o=me(e);ts(n,r.data,r.blueprint,o,!0),ts(t,r.data,r.blueprint,o,!1)}}function ts(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i>20;if(bt(e)||!e.multi){let d=new tt(l,o,Ws),h=ei(c,t,o?u:u+p,f);h===-1?(pi(xr(a,s),i,c),Xo(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(d),s.push(d)):(n[h]=d,s[h]=d)}else{let d=ei(c,t,u+p,f),h=ei(c,t,u,u+p),g=d>=0&&n[d],R=h>=0&&n[h];if(o&&!R||!o&&!g){pi(xr(a,s),i,c);let _=tI(o?eI:Xv,n.length,o,r,l);!o&&R&&(n[h].providerFactory=_),Xo(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Td(n[o?h:d],l,!o&&r);Xo(i,e,d>-1?d:h,_)}!o&&r&&R&&n[h].componentProviders++}}}function Xo(e,t,n,r){let o=bt(t),i=mp(t);if(o||i){let c=(i?H(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Td(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ei(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Kv(r,o?o(e):e,t)}}function uT(e,t,n){let r=Bp()+e,o=w();return o[r]===Y?$y(o,r,n?t.call(n):t()):By(o,r)}function dT(e,t){return lo(e,t)}var cr=null;function nI(e){cr!==null&&(e.defaultEncapsulation!==cr.defaultEncapsulation||e.preserveWhitespaces!==cr.preserveWhitespaces)||(cr=e)}var rs=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},fT=new rs("19.2.25"),os=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},pT=(()=>{class e{compileModuleSync(n){return new jr(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Yc(n),i=wu(o.declarations).reduce((s,a)=>{let c=Le(a);return c&&s.push(new rt(c)),s},[]);return new os(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rI=new S("");function oI(e,t,n){let r=new jr(n);return Promise.resolve(r)}function Sc(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var iI=(()=>{class e{zone=C(Z);changeDetectionScheduler=C(nt);applicationRef=C(St);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Z(J($({},Nd()),{scheduleInRootZone:n})),[{provide:Z,useFactory:e},{provide:vr,multi:!0,useFactory:()=>{let r=C(iI,{optional:!0});return()=>r.initialize()}},{provide:vr,multi:!0,useFactory:()=>{let r=C(aI);return()=>{r.initialize()}}},t===!0?{provide:Wl,useValue:!0}:[],{provide:zl,useValue:n??Ul}]}function Nd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var aI=(()=>{class e{subscription=new L;initialized=!1;zone=C(Z);pendingTasks=C(eo);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cI=(()=>{class e{appRef=C(St);taskService=C(eo);ngZone=C(Z);zonelessEnabled=C(ql);tracing=C(no,{optional:!0});disableScheduling=C(Wl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(zl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ka:Gl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Tr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ka(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lI(){return typeof $localize<"u"&&$localize.locale||Ur}var Sd=new S("",{providedIn:"root",factory:()=>C(Sd,x.Optional|x.SkipSelf)||lI()});var qr=new S(""),uI=new S("");function Zt(e){return!e.moduleRef}function dI(e){let t=Zt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Z);return n.run(()=>{Zt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(je,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Zt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(qr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(qr);s.add(i),e.moduleRef.onDestroy(()=>{pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return pI(r,n,()=>{let i=t.get(gd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Sd,Ur);if(Fv(s||Ur),!t.get(uI,!0))return Zt(e)?t.get(St):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Zt(e)){let c=t.get(St);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return fI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function fI(e,t){let n=e.injector.get(St);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new b(-403,!1);t.push(e)}function pI(e,t,n){try{let r=n();return pd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var kd=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Eh(r?.ngZone,J($({},Nd({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[sI({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:nt,useExisting:cI}],c=Dy(n.moduleType,this.injector,a);return dI({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=md({},r);return oI(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(qr,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(te(Ie))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Js=null;function hI(e){if(Ks())throw new b(400,!1);ev(),Js=e;let t=e.get(kd);return vI(e),t}function gI(e,t,n=[]){let r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Ks();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??hI(mI(a,r))}return yI(o)}}function mI(e=[],t){return Ie.create({name:t,providers:[{provide:tl,useValue:"platform"},{provide:qr,useValue:new Set([()=>Js=null])},...e]})}function yI(e){let t=Ks();if(!t)throw new b(401,!1);return t}function Ks(){return Js?.get(kd)??null}function vI(e){let t=e.get(Rh,null);rl(e,()=>{t?.forEach(n=>n())})}var hT=(()=>{class e{static __NG_ELEMENT_ID__=II}return e})();function II(e){return EI(Q(),w(),(e&16)===16)}function EI(e,t,n){if(Ot(e)&&!n){let r=ve(e.index,t);return new an(r,r)}else if(e.type&175){let r=t[ne];return new an(r,t)}return null}var is=class{constructor(){}supports(t){return ud(t)}create(t){return new ss(t)}},wI=(e,t)=>t,ss=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||wI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new as(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Wr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Wr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},as=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},cs=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Wr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new cs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function kc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{class e{factories;static \u0275prov=V({token:e,providedIn:"root",factory:Rc});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rc()),deps:[[e,new op,new rp]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();var gT=gI(null,"core",[]),mT=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(te(St))};static \u0275mod=_y({type:e});static \u0275inj=$f({})}return e})();function yT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function vT(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function IT(e){return Mo(e)}function ET(e,t){return xn(e,t?.equal)}var ls=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function bI(e,t){!t?.injector&&gs(bI);let n=t?.injector??C(Ie),r=t?.manualCleanup!==!0?n.get(Ft):null,o,i=n.get(Ss,null,{optional:!0}),s=n.get(nt);return i!==null&&!t?.forceRoot?(o=xI(i.view,s,e),r instanceof _r&&r._lView===i.view&&(r=null)):o=_I(e,n.get(fd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ls(o)}var Rd=J($({},st),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:rn,run(){if(this.dirty=!1,this.hasRun&&!bn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Ht(this),n=br(!1);try{this.maybeCleanup(),this.fn(e)}finally{br(n),Dn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),MI=J($({},Rd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),CI=J($({},Rd),{consumerMarkedDirty(){this.view[v]|=8192,Pt(this.view),this.notifier.notify(13)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Je]?.delete(this)}});function xI(e,t,n){let r=Object.create(CI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Je]??=new Set,e[Je].add(r),r.consumerMarkedDirty(r),r}function _I(e,t,n){let r=Object.create(MI);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function wT(e,t){let n=Le(e),r=t.elementInjector||Qr();return new rt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function DT(e){let t=Le(e);if(!t)return null;let n=new rt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{$ as a,J as b,TI as c,L as d,Gd as e,T as f,Ao as g,Po as h,re as i,Ut as j,qe as k,pe as l,rf as m,of as n,sf as o,ze as p,Me as q,hf as r,Ce as s,zt as t,ht as u,mf as v,yf as w,vf as x,Ge as y,If as z,Oa as A,Ef as B,wf as C,Gt as D,gt as E,Df as F,bf as G,xf as H,_f as I,jo as J,Tf as K,Nf as L,Sf as M,Ho as N,kf as O,Rf as P,Of as Q,Af as R,Pf as S,Lf as T,b as U,Kt as V,jc as W,V as X,$f as Y,i_ as Z,S as _,x as $,te as aa,C as ba,dp as ca,tl as da,Fe as ea,rl as fa,s_ as ga,a_ as ha,c_ as ia,l_ as ja,u_ as ka,dh as la,Ie as ma,Ja as na,Ft as oa,nt as pa,eo as qa,Oe as ra,Z as sa,je as ta,d_ as ua,to as va,Mh as wa,Ch as xa,vi as ya,f_ as za,p_ as Aa,Rh as Ba,h_ as Ca,g_ as Da,m_ as Ea,no as Fa,hn as Ga,Vh as Ha,Hh as Ia,on as Ja,oo as Ka,uu as La,y_ as Ma,v_ as Na,I_ as Oa,E_ as Pa,w_ as Qa,du as Ra,D_ as Sa,ks as Ta,b_ as Ua,M_ as Va,Ri as Wa,Rr as Xa,Or as Ya,k_ as Za,Ws as _a,R_ as $a,zs as ab,A_ as bb,P_ as cb,cn as db,wy as eb,by as fb,j_ as gb,_y as hb,V_ as ib,Ry as jb,H_ as kb,Wy as lb,$_ as mb,Zy as nb,Qy as ob,B_ as pb,Yy as qb,pd as rb,U_ as sb,Xy as tb,St as ub,ov as vb,yv as wb,vv as xb,q_ as yb,W_ as zb,z_ as Ab,G_ as Bb,Z_ as Cb,Q_ as Db,Md as Eb,Cd as Fb,Ov as Gb,Y_ as Hb,Pv as Ib,Vv as Jb,J_ as Kb,K_ as Lb,X_ as Mb,Uv as Nb,eT as Ob,tT as Pb,nT as Qb,rT as Rb,oT as Sb,iT as Tb,sT as Ub,aT as Vb,Wv as Wb,_d as Xb,zv as Yb,Gv as Zb,Zv as _b,cT as $b,Qv as ac,Jv as bc,lT as cc,uT as dc,dT as ec,fT as fc,pT as gc,gI as hc,hT as ic,DI as jc,gT as kc,mT as lc,yT as mc,vT as nc,IT as oc,ET as pc,bI as qc,wT as rc,DT as sc}; diff --git a/spring-angular-ui/static/browser/index.html b/spring-angular-ui/static/browser/index.html index 55268fa..32c63a7 100644 --- a/spring-angular-ui/static/browser/index.html +++ b/spring-angular-ui/static/browser/index.html @@ -7,9 +7,10 @@ + - + - + diff --git a/spring-angular-ui/static/browser/main-5G3BRW7V.js b/spring-angular-ui/static/browser/main-5G3BRW7V.js new file mode 100644 index 0000000..3ed80e0 --- /dev/null +++ b/spring-angular-ui/static/browser/main-5G3BRW7V.js @@ -0,0 +1,4789 @@ +import{$ as An,$a as Jt,$b as am,A as Ni,Aa as Dt,Ab as Ye,Ac as dm,B as Qn,Ba as Rt,Bb as H,Bc as xt,C as Ii,Ca as ol,Cb as C,Cc as mm,D as Gt,Da as I,Db as k,Dc as um,E as Rd,Ea as R,Eb as em,Ec as j,F as nl,Fa as ei,Fb as Oa,Fc as Li,G as Ai,Ga as jd,Gb as Tn,Gc as bl,H as Nn,Ha as Ud,Hb as On,Hc as hm,I as il,Ia as sl,Ib as mt,Ic as to,J as al,Ja as Gr,Jb as h,Jc as vl,K as Td,Ka as ni,Kb as u,L as rl,La as Oi,Lb as dt,M as Hr,Ma as Hd,Mb as qt,N as Ft,Na as $d,Nb as te,O as Mt,Oa as Gd,Ob as sn,P as kt,Pa as Wd,Pb as Nt,Q as Wt,Qa as qd,Qb as ee,R as W,Ra as Kd,Rb as B,S as In,Sa as Yd,Sb as nm,T as se,Ta as Xd,Tb as w,U as $,Ua as Fi,Ub as _t,V as q,Va as Zd,Vb as V,W as Od,Wa as Aa,Wb as ne,X as v,Xa as Ra,Xb as Kt,Y as xn,Ya as Pt,Yb as P,Z as T,Za as p,Zb as L,_ as c,_a as Te,_b as im,a as g,aa as Fd,ab as pt,ac as hl,b as ct,ba as zt,bb as Tt,bc as yt,ca as le,cb as Ot,cc as z,d as wt,da as he,db as Ta,dc as Fe,e as Et,ea as at,eb as U,ec as f,f as Js,fa as rt,fb as Rn,fc as Lt,g as oe,ga as $r,gb as Oe,gc as It,h as E,ha as K,hb as Pi,hc as Zr,i as xe,ia as F,ib as Wr,ic as jt,j as tl,ja as on,jb as Qd,jc as Ut,k as we,ka as Pd,kb as qr,kc as Ht,l as Zt,la as Q,lb as S,lc as ft,m as A,ma as O,mb as Y,mc as Qr,n as Vr,na as Jn,nb as x,nc as rm,o as zr,oa as Na,ob as ll,oc as pl,p as Ad,pa as X,pb as cl,pc as om,q as st,qa as Ia,qb as Jd,qc as pe,r as Da,ra as Ld,rb as ot,rc as et,s as an,sa as Ri,sb as Ke,sc as fl,t as Ea,ta as Ti,tb as Kr,tc as Jr,u as jr,ua as ti,ub as dl,uc as sm,v as rn,va as Bd,vb as tm,vc as gl,w as Ur,wa as qe,wb as Yr,wc as ii,x as Qt,xa as Re,xb as Xr,xc as lm,y as vt,ya as Vd,yb as ml,yc as Fa,z as el,za as zd,zb as ul,zc as cm}from"./chunk-I6QTZVP2.js";var pm=null;function Me(){return pm}function _l(n){pm??=n}var Pa=class{},wn=(()=>{class n{historyGo(t){throw new Error("")}static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:()=>c(fm),providedIn:"platform"})}return n})(),yl=new v(""),fm=(()=>{class n extends wn{_location;_history;_doc=c(F);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Me().getBaseHref(this._doc)}onPopState(t){let e=Me().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){let e=Me().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,e,a){this._history.pushState(t,e,a)}replaceState(t,e,a){this._history.replaceState(t,e,a)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function eo(n,i){return n?i?n.endsWith("/")?i.startsWith("/")?n+i.slice(1):n+i:i.startsWith("/")?n+i:`${n}/${i}`:n:i}function gm(n){let i=n.search(/#|\?|$/);return n[i-1]==="/"?n.slice(0,i-1)+n.slice(i):n}function Xe(n){return n&&n[0]!=="?"?`?${n}`:n}var Ze=(()=>{class n{historyGo(t){throw new Error("")}static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:()=>c(io),providedIn:"root"})}return n})(),no=new v(""),io=(()=>{class n extends Ze{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??c(F).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return eo(this._baseHref,t)}path(t=!1){let e=this._platformLocation.pathname+Xe(this._platformLocation.search),a=this._platformLocation.hash;return a&&t?`${e}${a}`:e}pushState(t,e,a,r){let o=this.prepareExternalUrl(a+Xe(r));this._platformLocation.pushState(t,e,o)}replaceState(t,e,a,r){let o=this.prepareExternalUrl(a+Xe(r));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(e){return new(e||n)(T(wn),T(no,8))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ln=(()=>{class n{_subject=new E;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let e=this._locationStrategy.getBaseHref();this._basePath=jf(gm(bm(e))),this._locationStrategy.onPopState(a=>{let r={url:this.path(!0),pop:!0,state:a.state,type:a.type};a.hasUAVisualTransition&&(r.hasUAVisualTransition=!0),this._subject.next(r)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Xe(e))}normalize(t){return n.stripTrailingSlash(zf(this._basePath,bm(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",a=null){this._locationStrategy.pushState(a,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Xe(e)),a)}replaceState(t,e="",a=null){this._locationStrategy.replaceState(a,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Xe(e)),a)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}),()=>{let e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(a=>a(t,e))}subscribe(t,e,a){return this._subject.subscribe({next:t,error:e??void 0,complete:a??void 0})}static normalizeQueryParams=Xe;static joinWithSlash=eo;static stripTrailingSlash=gm;static \u0275fac=function(e){return new(e||n)(T(Ze))};static \u0275prov=$({token:n,factory:()=>Vf(),providedIn:"root"})}return n})();function Vf(){return new ln(T(Ze))}function zf(n,i){if(!n||!i.startsWith(n))return i;let t=i.substring(n.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function bm(n){return n.replace(/\/index\.html$/,"")}function jf(n){if(new RegExp("^(https?:)?//").test(n)){let[,t]=n.split(/\/\/[^\/]+/);return t}return n}var xl=(()=>{class n extends Ze{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,e){super(),this._platformLocation=t,e!=null&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash??"#";return e.length>0?e.substring(1):e}prepareExternalUrl(t){let e=eo(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,a,r){let o=this.prepareExternalUrl(a+Xe(r))||this._platformLocation.pathname;this._platformLocation.pushState(t,e,o)}replaceState(t,e,a,r){let o=this.prepareExternalUrl(a+Xe(r))||this._platformLocation.pathname;this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(e){return new(e||n)(T(wn),T(no,8))};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})();var wl=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=c(K);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let a=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,a,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,e,a)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,e,a):!1,get:(t,e,a)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,e,a)}})}static \u0275fac=function(e){return new(e||n)(U(Oe))};static \u0275dir=x({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Dt]})}return n})();var Sl=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({})}return n})();function La(n,i){i=encodeURIComponent(i);for(let t of n.split(";")){let e=t.indexOf("="),[a,r]=e==-1?[t,""]:[t.slice(0,e),t.slice(e+1)];if(a.trim()!==i)continue;let o=r;try{o=decodeURIComponent(r)}catch(s){}return o.length>1&&o[0]==='"'&&o[o.length-1]==='"'&&(o=o.slice(1,-1)),o}return null}var Hf=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Cl=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:function(e){let a=null;return e?a=new(e||n):a=T(Hf),a},providedIn:"root"})}return n})();var Ml="browser";function _m(n){return n===Ml}var Dl=(()=>{class n{static \u0275prov=$({token:n,providedIn:"root",factory:()=>new kl(c(F),window)})}return n})(),kl=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,t){this.window.scrollTo(ct(g({},t),{left:i[0],top:i[1]}))}scrollToAnchor(i,t){let e=Wf(this.document,i);e&&(this.scrollToElement(e,t),e.focus({preventScroll:!0}))}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch(t){console.warn(In(2400,!1))}}scrollToElement(i,t){let e=i.getBoundingClientRect(),a=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(ct(g({},t),{left:a-o[0],top:r-o[1]}))}};function Wf(n,i){let t=n.getElementById(i)||n.getElementsByName(i)[0];if(t)return t;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let e=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),a=e.currentNode;for(;a;){let r=a.shadowRoot;if(r){let o=r.getElementById(i)||r.querySelector(`[name="${CSS.escape(i)}"]`);if(o)return o}a=e.nextNode()}}return null}var Ba=class{_doc;constructor(i){this._doc=i}manager},ao=(()=>{class n extends Ba{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,a,r){return t.addEventListener(e,a,r),()=>this.removeEventListener(t,e,a,r)}removeEventListener(t,e,a,r){return t.removeEventListener(e,a,r)}static \u0275fac=function(e){return new(e||n)(T(F))};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})(),so=new v(""),Al=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,e){this._zone=e,t.forEach(o=>{o.manager=this});let a=t.filter(o=>!(o instanceof ao));this._plugins=a.slice().reverse();let r=t.find(o=>o instanceof ao);r&&this._plugins.push(r)}addEventListener(t,e,a,r){return this._findPluginFor(e).addEventListener(t,e,a,r)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find(r=>r.supports(t)),!e)throw new W(-5101,!1);return this._eventNameToPlugin.set(t,e),e}static \u0275fac=function(e){return new(e||n)(T(so),T(O))};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})(),El="ng-app-id";function ym(n){for(let i of n)i.remove()}function xm(n,i){let t=i.createElement("style");return t.textContent=n,t}function Kf(n,i,t,e){let a=n.head?.querySelectorAll(`style[${El}="${i}"],link[${El}="${i}"]`);if(!a||a.length===0)return!1;for(let r of a)r.removeAttribute(El),r instanceof HTMLLinkElement?e.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&t.set(r.textContent,{usage:0,elements:[r]});return!0}function Il(n,i){let t=i.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",n),t}var Rl=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,e,a,r={}){this.doc=t,this.appId=e,this.nonce=a,Kf(t,e,this.inline,this.external)&&this.hosts.add(t.head)}addStyles(t,e){for(let a of t)this.addUsage(a,this.inline,xm);e?.forEach(a=>this.addUsage(a,this.external,Il))}removeStyles(t,e){for(let a of t)this.removeUsage(a,this.inline);e?.forEach(a=>this.removeUsage(a,this.external))}addUsage(t,e,a){let r=e.get(t);r?r.usage++:e.set(t,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,a(t,this.doc)))})}removeUsage(t,e){let a=e.get(t);a&&(a.usage--,a.usage<=0&&(ym(a.elements),e.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])ym(t);this.hosts.clear()}addHost(t){if(!this.hosts.has(t)){this.hosts.add(t);for(let[e,{elements:a}]of this.inline)a.push(this.addElement(t,xm(e,this.doc)));for(let[e,{elements:a}]of this.external)a.push(this.addElement(t,Il(e,this.doc)))}}removeHost(t){this.hosts.delete(t);for(let e of[...this.inline.values(),...this.external.values()]){let a=[];for(let r of e.elements)r.parentNode===t?r.remove():a.push(r);e.elements=a}}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),t.appendChild(e)}static \u0275fac=function(e){return new(e||n)(T(F),T(Ia),T(ti,8),T(Ri))};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})(),Nl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Tl=/%COMP%/g;var Sm="%COMP%",Yf=`_nghost-${Sm}`,Xf=`_ngcontent-${Sm}`,Zf=!0,Qf=new v("",{factory:()=>Zf}),Jf=new v("");function tg(n){return Xf.replace(Tl,n)}function eg(n){return Yf.replace(Tl,n)}function Cm(n,i){return i.map(t=>t.replace(Tl,n))}var za=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(t,e,a,r,o,s,l=null,d=null,m=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=a,this.removeStylesOnCompDestroy=r,this.doc=o,this.ngZone=s,this.nonce=l,this.tracingService=d,this.cssVarNamespace=m??"",this.defaultRenderer=new Bi(t,o,s,this.tracingService,this.cssVarNamespace)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;let a=this.getOrCreateRenderer(t,e);return a instanceof oo?a.applyToHost(t):a instanceof Va&&a.applyStyles(),a}getOrCreateRenderer(t,e){let a=this.rendererByCompId,r=a.get(e.id);if(!r){let o=this.doc,s=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,_=this.tracingService;switch(e.encapsulation){case Gr.Emulated:r=new oo(l,d,e,this.appId,m,o,s,_,this.cssVarNamespace);break;case Gr.ShadowDom:return new ro(l,t,e,o,s,this.nonce,_,this.cssVarNamespace,d);case Gr.ExperimentalIsolatedShadowDom:return new ro(l,t,e,o,s,this.nonce,_,this.cssVarNamespace);default:r=new Va(l,d,e,m,o,s,_,this.cssVarNamespace);break}a.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(e){return new(e||n)(T(Al),T(Ta),T(Ia),T(Qf),T(F),T(O),T(ti),T(Aa,8),T(Jf,8))};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})(),Bi=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,t,e,a,r=""){this.eventManager=i,this.doc=t,this.ngZone=e,this.tracingService=a,this.cssVarNamespace=r}destroy(){}destroyNode=null;createElement(i,t){return t?this.doc.createElementNS(Nl[t]||t,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,t){(wm(i)?i.content:i).appendChild(t)}insertBefore(i,t,e){if(i){let a=wm(i)?i.content:i;if(e!=null&&e.parentNode!==a)throw new W(-5106,!1);a.insertBefore(t,e)}}removeChild(i,t){t.remove()}selectRootElement(i,t){let e=typeof i=="string"?this.doc.querySelector(i):i;if(!e)throw new W(-5104,!1);return t||(e.textContent=""),e}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,t,e,a){if(a){t=a+":"+t;let r=Nl[a];r?i.setAttributeNS(r,t,e):i.setAttribute(t,e)}else i.setAttribute(t,e)}removeAttribute(i,t,e){if(e){let a=Nl[e];a?i.removeAttributeNS(a,t):i.removeAttribute(`${e}:${t}`)}else i.removeAttribute(t)}addClass(i,t){i.classList.add(t)}removeClass(i,t){i.classList.remove(t)}setStyle(i,t,e,a){let r=t.startsWith("--");r&&(t=t.replace("%NS%",this.cssVarNamespace)),r||a&(Fi.DashCase|Fi.Important)?i.style.setProperty(t,e,a&Fi.Important?"important":""):i.style[t]=e}removeStyle(i,t,e){let a=t.startsWith("--");a&&(t=t.replace("%NS%",this.cssVarNamespace)),a||e&Fi.DashCase?i.style.removeProperty(t):i.style[t]=""}setProperty(i,t,e){i!=null&&(i[t]=e)}setValue(i,t){i.nodeValue=t}listen(i,t,e,a){if(typeof i=="string"&&(i=Me().getGlobalEventTarget(this.doc,i),!i))throw new W(-5102,!1);let r=this.decoratePreventDefault(e);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(i,t,r)),this.eventManager.addEventListener(i,t,r,a)}decoratePreventDefault(i){return t=>{if(t==="__ngUnwrap__")return i;i(t)===!1&&t.preventDefault()}}};function km(n){n instanceof Bi&&(n.throwOnSyntheticProps=!1)}function wm(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var ro=class extends Bi{hostEl;sharedStylesHost;shadowRoot;constructor(i,t,e,a,r,o,s,l,d){super(i,a,r,s,l),this.hostEl=t,this.sharedStylesHost=d,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let m=e.styles;m=Cm(e.id,m).map(b=>b.replace(/%NS%/g,l));for(let b of m){let M=document.createElement("style");o&&M.setAttribute("nonce",o),M.textContent=b,this.shadowRoot.appendChild(M)}let _=e.getExternalStyles?.();if(_)for(let b of _){let M=Il(b,a);o&&M.setAttribute("nonce",o),this.shadowRoot.appendChild(M)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,t){return super.appendChild(this.nodeOrShadowRoot(i),t)}insertBefore(i,t,e){return super.insertBefore(this.nodeOrShadowRoot(i),t,e)}removeChild(i,t){return super.removeChild(null,t)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Va=class extends Bi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,t,e,a,r,o,s,l,d){super(i,r,o,s,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=a;let m=e.styles,_=d?Cm(d,m):m;this.styles=_.map(b=>b.replace(/%NS%/g,l)),this.styleUrls=e.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Zd.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},oo=class extends Va{contentAttr;hostAttr;constructor(i,t,e,a,r,o,s,l,d){let m=a+"-"+e.id;super(i,t,e,r,o,s,l,d,m),this.contentAttr=tg(m),this.hostAttr=eg(m)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,t){let e=super.createElement(i,t);return super.setAttribute(e,this.contentAttr,""),e}};var lo=class n extends Pa{supportsDOMEvents=!0;static makeCurrent(){_l(new n)}onAndCancel(i,t,e,a){return i.addEventListener(t,e,a),()=>{i.removeEventListener(t,e,a)}}dispatchEvent(i,t){i.dispatchEvent(t)}remove(i){i.remove()}createElement(i,t){return t=t||this.getDefaultDocument(),t.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,t){return t==="window"?window:t==="document"?i:t==="body"?i.body:null}getBaseHref(i){let t=ng();return t==null?null:ig(t)}resetBaseElement(){ja=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return La(document.cookie,i)}},ja=null;function ng(){return ja=ja||document.head.querySelector("base"),ja?ja.getAttribute("href"):null}function ig(n){return new URL(n,document.baseURI).pathname}var co=class{addToWindow(i){xn.getAngularTestability=(e,a=!0)=>{let r=i.findTestabilityInTree(e,a);if(r==null)throw new W(5103,!1);return r},xn.getAllAngularTestabilities=()=>i.getAllTestabilities(),xn.getAllAngularRootElements=()=>i.getAllRootElements();let t=e=>{let a=xn.getAllAngularTestabilities(),r=a.length,o=function(){r--,r==0&&e()};a.forEach(s=>{s.whenStable(o)})};xn.frameworkStabilizers||(xn.frameworkStabilizers=[]),xn.frameworkStabilizers.push(t)}findTestabilityInTree(i,t,e){if(t==null)return null;let a=i.getTestability(t);return a??(e?Me().isShadowRoot(t)?this.findTestabilityInTree(i,t.host,!0):this.findTestabilityInTree(i,t.parentElement,!0):null)}},Mm=["alt","control","meta","shift"],ag={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rg={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Dm=(()=>{class n extends Ba{constructor(t){super(t)}supports(t){return n.parseEventName(t)!=null}addEventListener(t,e,a,r){let o=n.parseEventName(e),s=n.eventCallback(o.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Me().onAndCancel(t,o.domEventName,s,r))}static parseEventName(t){let e=t.toLowerCase().split("."),a=e.shift();if(e.length===0||!(a==="keydown"||a==="keyup"))return null;let r=n._normalizeKey(e.pop()),o="",s=e.indexOf("code");if(s>-1&&(e.splice(s,1),o="code."),Mm.forEach(d=>{let m=e.indexOf(d);m>-1&&(e.splice(m,1),o+=d+".")}),o+=r,e.length!=0||r.length===0)return null;let l={};return l.domEventName=a,l.fullKey=o,l}static matchEventFullKeyCode(t,e){let a=ag[t.key]||t.key,r="";return e.indexOf("code.")>-1&&(a=t.code,r="code."),a==null||!a?!1:(a=a.toLowerCase(),a===" "?a="space":a==="."&&(a="dot"),Mm.forEach(o=>{if(o!==a){let s=rg[o];s(t)&&(r+=o+".")}}),r+=a,r===e)}static eventCallback(t,e,a){return r=>{n.matchEventFullKeyCode(r,t)&&a.runGuarded(()=>e(r))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(e){return new(e||n)(T(F))};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})();function og(){lo.makeCurrent()}function sg(){return new Jn}function lg(){return jd(document),document}var cg=[{provide:Ri,useValue:Ml},{provide:Ld,useValue:og,multi:!0},{provide:F,useFactory:lg}],Ol=um(hm,"browser",cg);var dg=[{provide:Yr,useClass:co},{provide:tm,useClass:Xr,deps:[O,ml,Yr]},{provide:Xr,useClass:Xr,deps:[O,ml,Yr]}],mg=[{provide:Fd,useValue:"root"},{provide:Jn,useFactory:sg},{provide:so,useClass:ao,multi:!0},{provide:so,useClass:Dm,multi:!0},za,{provide:Ta,useClass:Rl},{provide:Rl,useExisting:Ta},Al,{provide:Jt,useExisting:za},[]],Fl=(()=>{class n{constructor(){}static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({providers:[...mg,...dg],imports:[Sl,dm]})}return n})();var Pe=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` +`).forEach(t=>{let e=t.indexOf(":");if(e>0){let a=t.slice(0,e),r=t.slice(e+1).trim();this.addHeaderEntry(a,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((t,e)=>{this.addHeaderEntry(e,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([t,e])=>{this.setHeaderEntries(t,e)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let t=this.headers.get(i.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,t){return this.clone({name:i,value:t,op:"a"})}set(i,t){return this.clone({name:i,value:t,op:"s"})}delete(i,t){return this.clone({name:i,value:t,op:"d"})}maybeSetNormalizedName(i,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,i)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init();for(let[t,e]of i.headers.entries())this.headers.set(t,e),this.normalizedNames.set(t,i.normalizedNames.get(t))}clone(i){let t=new n;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([i]),t}applyUpdate(i){let t=i.name.toLowerCase();switch(i.op){case"a":case"s":let e=i.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(i.name,t);let a=i.op==="a"?(this.headers.get(t)||[]).slice():[];a.push(...e),this.headers.set(t,a);break;case"d":let r=i.value;if(r===void 0)this.headers.delete(t),this.normalizedNames.delete(t);else{let o=Array.isArray(r)?r:[r],s=this.headers.get(t);if(!s)return;s=s.filter(l=>o.indexOf(l)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(i,t){let e=i.toLowerCase();this.maybeSetNormalizedName(i,e),this.headers.has(e)?this.headers.get(e).push(t):this.headers.set(e,[t])}setHeaderEntries(i,t){let e=(Array.isArray(t)?t:[t]).map(r=>r.toString()),a=i.toLowerCase();this.headers.set(a,e),this.maybeSetNormalizedName(i,a)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>i(this.normalizedNames.get(t),this.headers.get(t)))}};var uo=class{map=new Map;set(i,t){return this.map.set(i,t),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}},ho=class{encodeKey(i){return Em(i)}encodeValue(i){return Em(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function ug(n,i){let t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(a=>{let r=a.indexOf("="),[o,s]=r==-1?[i.decodeKey(a),""]:[i.decodeKey(a.slice(0,r)),i.decodeValue(a.slice(r+1))],l=t.get(o)||[];l.push(s),t.set(o,l)}),t}var hg=/[&+#]/g;function Em(n){return encodeURI(n).replace(hg,encodeURIComponent)}function mo(n){return`${n}`}var Sn=class n{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new ho,i.fromString){if(i.fromObject)throw new W(2805,!1);this.map=ug(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(t=>{let e=i.fromObject[t],a=Array.isArray(e)?e.map(mo):[mo(e)];this.map.set(t,a)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let t=this.map.get(i);return t?t[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,t){return this.clone({param:i,value:t,op:"a"})}appendAll(i){let t=[];return Object.keys(i).forEach(e=>{let a=i[e];Array.isArray(a)?a.forEach(r=>{t.push({param:e,value:r,op:"a"})}):t.push({param:e,value:a,op:"a"})}),this.clone(t)}set(i,t){return this.clone({param:i,value:t,op:"s"})}delete(i,t){return this.clone({param:i,value:t,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let t=this.encoder.encodeKey(i);return this.map.get(i).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let t=new n({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(i),t}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[i,t]of this.cloneFrom.map.entries())this.map.set(i,t);this.updates.forEach(i=>{switch(i.op){case"a":case"s":let t=i.op==="a"?(this.map.get(i.param)||[]).slice():[];t.push(mo(i.value)),this.map.set(i.param,t);break;case"d":if(i.value!==void 0){let e=(this.map.get(i.param)||[]).slice(),a=e.indexOf(mo(i.value));a!==-1&&e.splice(a,1),e.length>0?this.map.set(i.param,e):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null}}};function pg(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Nm(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Im(n){return typeof Blob<"u"&&n instanceof Blob}function Am(n){return typeof FormData<"u"&&n instanceof FormData}function fg(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var Ua="Content-Type",po="Accept",Om="text/plain",Fm="application/json",Pm=`${Fm}, ${Om}, */*`,Vi=class n{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,t,e,a){this.url=t,this.method=i.toUpperCase();let r;if(pg(this.method)||a?(this.body=e!==void 0?e:null,r=a):r=e,r){if(this.reportProgress=!!r.reportProgress,this.reportUploadProgress=!!r.reportUploadProgress,this.reportDownloadProgress=!!r.reportDownloadProgress,this.withCredentials=!!r.withCredentials,this.keepalive=!!r.keepalive,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),r.priority&&(this.priority=r.priority),r.cache&&(this.cache=r.cache),r.credentials&&(this.credentials=r.credentials),typeof r.timeout=="number"){if(r.timeout<1||!Number.isInteger(r.timeout))throw new W(2822,"");this.timeout=r.timeout}r.mode&&(this.mode=r.mode),r.redirect&&(this.redirect=r.redirect),r.integrity&&(this.integrity=r.integrity),r.referrer!==void 0&&(this.referrer=r.referrer),r.referrerPolicy&&(this.referrerPolicy=r.referrerPolicy),this.transferCache=r.transferCache}if(this.headers??=new Pe,this.context??=new uo,!this.params)this.params=new Sn,this.urlWithParams=t;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=t;else{let s=t,l="",d=t.indexOf("#");d!==-1&&(l=t.substring(d),s=t.substring(0,d));let m=s.indexOf("?"),_=m===-1?"?":mnn.set(Ae,i.setHeaders[Ae]),ke)),i.setParams&&(At=Object.keys(i.setParams).reduce((nn,Ae)=>nn.set(Ae,i.setParams[Ae]),At)),new n(t,e,lt,{params:At,headers:ke,context:We,reportProgress:nt,reportUploadProgress:it,reportDownloadProgress:re,responseType:a,withCredentials:$t,transferCache:D,keepalive:r,cache:s,priority:o,timeout:Z,mode:l,redirect:d,credentials:m,referrer:_,integrity:b,referrerPolicy:M})}},dn=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(dn||{}),zi=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,t=200,e="OK"){this.headers=i.headers||new Pe,this.status=i.status!==void 0?i.status:t,this.statusText=i.statusText||e,this.url=i.url||null,this.redirected=i.redirected,this.responseType=i.responseType,this.ok=this.status>=200&&this.status<300}},Ha=class n extends zi{constructor(i={}){super(i)}type=dn.ResponseHeader;clone(i={}){return new n({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},ji=class n extends zi{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=dn.Response;clone(i={}){return new n({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected,responseType:i.responseType??this.responseType})}},cn=class extends zi{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},Lm=200,gg=204;var bg=/^\)\]\}',?\n/,gS=1024*1024,Bm=new v("",{factory:()=>null}),fo=(()=>{class n{fetchImpl=c(Ll,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=c(O);destroyRef=c(on);maxResponseSize=c(Bm);handle(t){return new oe(e=>{let a=new AbortController,r=!1,o={next:l=>{l.type===dn.Response&&(r=!0),e.next(l)},error:l=>{r=!0,e.error(l)},complete:()=>{r=!0,e.complete()}};this.doRequest(t,a.signal,o).then(Bl,l=>o.error(new cn({error:l})));let s;return t.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{a.signal.aborted||a.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{s!==void 0&&clearTimeout(s),!r&&!a.signal.aborted&&a.abort()}})}doRequest(t,e,a){return wt(this,null,function*(){let r=this.createRequestInit(t),o;try{let lt=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,g({signal:e},r)));vg(lt),a.next({type:dn.Sent}),o=yield lt}catch(lt){a.error(new cn({error:lt,status:lt.status??0,statusText:lt.statusText,url:t.urlWithParams,headers:lt.headers}));return}let s=new Pe(o.headers),l=o.statusText,d=o.url||t.urlWithParams,m=o.status,_=null,b=t.reportProgress||t.reportDownloadProgress;if(b&&a.next(new Ha({headers:s,status:m,statusText:l,url:d})),o.body){let lt=o.headers.get(Ua)??"",$t=o.headers.get("content-length"),nt=$t!==null?Number($t):NaN;this.maxResponseSize!==null&&Number.isFinite(nt)&&nt>this.maxResponseSize&&(yield o.body.cancel(),Rm(this.maxResponseSize));let it=[],re=o.body.getReader(),ke=0,At,We,nn=typeof Zone<"u"&&Zone.current,Ae=!1;if(yield this.ngZone.runOutsideAngular(()=>wt(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield re.cancel(),Ae=!0;break}let{done:ht,value:y}=yield re.read();if(ht)break;if(it.push(y),ke+=y.length,this.maxResponseSize!==null&&ke>this.maxResponseSize&&(yield re.cancel(),Rm(this.maxResponseSize)),b){We=t.responseType==="text"?(We??"")+(At??=Tm(lt)).decode(y,{stream:!0}):void 0;let bt=()=>a.next({type:dn.DownloadProgress,total:Number.isFinite(nt)?nt:void 0,loaded:ke,partialText:We});nn?nn.run(bt):bt()}}})),Ae){a.complete();return}let J=this.concatChunks(it,ke);try{_=this.parseBody(t,J,lt,m)}catch(ht){a.error(new cn({error:ht,headers:new Pe(o.headers),status:o.status,statusText:o.statusText,url:o.url||t.urlWithParams}));return}}m===0&&(m=_?Lm:0);let M=m>=200&&m<300,D=o.redirected,Z=o.type;M?(a.next(new ji({body:_,headers:s,status:m,statusText:l,url:d,redirected:D,responseType:Z})),a.complete()):a.error(new cn({error:_,headers:s,status:m,statusText:l,url:d,redirected:D,responseType:Z}))})}parseBody(t,e,a,r){switch(t.responseType){case"json":let o=new TextDecoder().decode(e).replace(bg,"");if(o==="")return null;try{return JSON.parse(o)}catch(s){if(r<200||r>=300)return o;throw s}case"text":return Tm(a).decode(e);case"blob":return new Blob([e],{type:a});case"arraybuffer":return e.buffer}}createRequestInit(t){if(t.reportUploadProgress)throw new W(2824,!1);let e={},a;if(a=t.credentials,t.withCredentials&&(a="include"),t.headers.forEach((r,o)=>e[r]=o.join(",")),t.headers.has(po)||(e[po]=Pm),!t.headers.has(Ua)){let r=t.detectContentTypeHeader();r!==null&&(e[Ua]=r)}return{body:t.serializeBody(),method:t.method,headers:e,credentials:a,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,e){let a=new Uint8Array(e),r=0;for(let o of t)a.set(o,r),r+=o.length;return a}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Ll=class{};function Bl(){}function vg(n){n.then(Bl,Bl)}function Rm(n){throw new W(-2825,!1)}var _g=/charset=\s*["']?([^;"'\s]+)["']?/i;function Tm(n){let i=n.match(_g);if(i!==null)try{return new TextDecoder(i[1])}catch(t){}return new TextDecoder}var yg=new v("",{factory:()=>!0}),xg="XSRF-TOKEN",wg=new v("",{factory:()=>xg}),Sg="X-XSRF-TOKEN",Cg=new v("",{factory:()=>Sg}),kg=(()=>{class n{cookieName=c(wg);doc=c(F);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=La(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Vm=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:function(e){let a=null;return e?a=new(e||n):a=T(kg),a},providedIn:"root"})}return n})();function zm(n,i){if(!c(yg)||n.method==="GET"||n.method==="HEAD")return i(n);try{let a=c(wn).href,{origin:r}=new URL(a),{origin:o}=new URL(n.url,r);if(r!==o)return i(n)}catch(a){return i(n)}let t=c(Vm).getToken(),e=c(Cg);return t!=null&&!n.headers.has(e)&&(n=n.clone({headers:n.headers.set(e,t)})),i(n)}function Mg(n,i){return i(n)}function Dg(n,i,t){return(e,a)=>le(t,()=>i(e,r=>n(r,a)))}var jm=new v("",{factory:()=>[zm]}),Um=new v(""),Hm=new v("",{factory:()=>!0});var bo=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:function(e){let a=null;return e?a=new(e||n):a=T(fo),a},providedIn:"root"})}return n})();var go=(()=>{class n{backend;injector;chain=null;pendingTasks=c(zd);contributeToStability=c(Hm);constructor(t,e){this.backend=t,this.injector=e}handle(t){if(this.chain===null){let a=this.injector.get(vo,null,{skipSelf:!0}),r=a!==null&&this.backend===a,o=this.injector.get(Um,[],r?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(jm),...o]));this.chain=s.reduceRight((l,d)=>Dg(l,d,this.injector),Mg)}let e=this.chain;if(this.contributeToStability){let a=this.pendingTasks.add();return et(()=>e(t,r=>this.backend.handle(r))).pipe(Ai(a))}else return et(()=>e(t,a=>this.backend.handle(a)))}static \u0275fac=function(e){return new(e||n)(T(bo),T(zt))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),vo=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:function(e){let a=null;return e?a=new(e||n):a=T(go),a},providedIn:"root"})}return n})();function Pl(n,i){return g({body:i},n)}var Le=(()=>{class n{handler;constructor(t){this.handler=t}request(t,e,a={}){let r;if(t instanceof Vi)r=t;else{let l;a.headers instanceof Pe?l=a.headers:l=new Pe(a.headers);let d;a.params&&(a.params instanceof Sn?d=a.params:d=new Sn({fromObject:a.params})),r=new Vi(t,e,a.body!==void 0?a.body:null,{headers:l,context:a.context,params:d,reportProgress:a.reportProgress,reportUploadProgress:a.reportUploadProgress,reportDownloadProgress:a.reportDownloadProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials,transferCache:a.transferCache,keepalive:a.keepalive,priority:a.priority,cache:a.cache,mode:a.mode,redirect:a.redirect,credentials:a.credentials,referrer:a.referrer,referrerPolicy:a.referrerPolicy,integrity:a.integrity,timeout:a.timeout})}let o=A(r).pipe(Qn(l=>this.handler.handle(l)));if(t instanceof Vi||a.observe==="events")return o;let s=o.pipe(vt(l=>l instanceof ji));switch(a.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(st(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new W(2806,!1);return l.body}));case"blob":return s.pipe(st(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new W(2807,!1);return l.body}));case"text":return s.pipe(st(l=>{if(l.body!==null&&typeof l.body!="string")throw new W(2808,!1);return l.body}));default:return s.pipe(st(l=>l.body))}case"response":return s;default:throw new W(2809,!1)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:new Sn().append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,a={}){return this.request("PATCH",t,Pl(a,e))}post(t,e,a={}){return this.request("POST",t,Pl(a,e))}put(t,e,a={}){return this.request("PUT",t,Pl(a,e))}static \u0275fac=function(e){return new(e||n)(T(vo))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Eg=/^\)\]\}',?\n/;var Vl=(()=>{class n{xhrFactory;tracingService=c(Aa,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new W(-2800,!1);let e=this.xhrFactory;return A(null).pipe(Mt(()=>new oe(r=>{let o=e.build();if(o.open(t.method,t.urlWithParams),t.withCredentials&&(o.withCredentials=!0),t.headers.forEach((nt,it)=>o.setRequestHeader(nt,it.join(","))),t.headers.has(po)||o.setRequestHeader(po,Pm),!t.headers.has(Ua)){let nt=t.detectContentTypeHeader();nt!==null&&o.setRequestHeader(Ua,nt)}if(t.timeout&&(o.timeout=t.timeout),t.responseType){let nt=t.responseType.toLowerCase();o.responseType=nt!=="json"?nt:"text"}let s=t.serializeBody(),l=null,d=()=>{if(l!==null)return l;let nt=o.statusText||"OK",it=new Pe(o.getAllResponseHeaders()),re=o.responseURL||t.url;return l=new Ha({headers:it,status:o.status,statusText:nt,url:re}),l},m=this.maybePropagateTrace(()=>{let{headers:nt,status:it,statusText:re,url:ke}=d(),At=null;it!==gg&&(At=typeof o.response>"u"?o.responseText:o.response),it===0&&(it=At?Lm:0);let We=it>=200&&it<300;if(t.responseType==="json"&&typeof At=="string"){let nn=At;At=At.replace(Eg,"");try{At=At!==""?JSON.parse(At):null}catch(Ae){At=nn,We&&(We=!1,At={error:Ae,text:At})}}We?(r.next(new ji({body:At,headers:nt,status:it,statusText:re,url:ke||void 0})),r.complete()):r.error(new cn({error:At,headers:nt,status:it,statusText:re,url:ke||void 0}))}),_=this.maybePropagateTrace(nt=>{let{url:it}=d(),re=new cn({error:nt,status:o.status||0,statusText:o.statusText||"Unknown Error",url:it||void 0});r.error(re)}),b=_;t.timeout&&(b=this.maybePropagateTrace(nt=>{let{url:it}=d(),re=new cn({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:it||void 0});r.error(re)}));let M=!1,D=this.maybePropagateTrace(nt=>{M||(r.next(d()),M=!0);let it={type:dn.DownloadProgress,loaded:nt.loaded};nt.lengthComputable&&(it.total=nt.total),t.responseType==="text"&&o.responseText&&(it.partialText=o.responseText),r.next(it)}),Z=this.maybePropagateTrace(nt=>{let it={type:dn.UploadProgress,loaded:nt.loaded};nt.lengthComputable&&(it.total=nt.total),r.next(it)});o.addEventListener("load",m),o.addEventListener("error",_),o.addEventListener("timeout",b),o.addEventListener("abort",_);let lt=t.reportProgress||t.reportUploadProgress,$t=t.reportProgress||t.reportDownloadProgress;return $t&&o.addEventListener("progress",D),lt&&s!==null&&o.upload&&o.upload.addEventListener("progress",Z),o.send(s),r.next({type:dn.Sent}),()=>{o.removeEventListener("error",_),o.removeEventListener("abort",_),o.removeEventListener("load",m),o.removeEventListener("timeout",b),$t&&o.removeEventListener("progress",D),lt&&s!==null&&o.upload&&o.upload.removeEventListener("progress",Z),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(e){return new(e||n)(T(Cl))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),zl=(function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n[n.Xhr=7]="Xhr",n})(zl||{});function Ng(n,i){return{\u0275kind:n,\u0275providers:i}}function jl(...n){let i=[Le,fo,go,{provide:vo,useExisting:go},{provide:bo,useFactory:()=>c(fo)},{provide:jm,useValue:zm,multi:!0}];for(let t of n)i.push(...t.\u0275providers);return An(i)}function Ul(){return Ng(zl.Xhr,[Vl,{provide:bo,useExisting:Vl}])}var $m=(()=>{class n{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(e){return new(e||n)(T(F))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ga=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:function(e){let a=null;return e?a=new(e||n):a=T(Ig),a},providedIn:"root"})}return n})(),Ig=(()=>{class n extends Ga{_doc=c(F);sanitize(t,e){if(e==null)return null;switch(t){case he.NONE:return e;case he.HTML:return Oi(e,"HTML")?ni(e):Yd(this._doc,String(e)).toString();case he.STYLE:return Oi(e,"Style")?ni(e):e;case he.SCRIPT:if(Oi(e,"Script"))return ni(e);throw new W(5200,!1);case he.URL:return Oi(e,"URL")?ni(e):Kd(String(e));case he.RESOURCE_URL:if(Oi(e,"ResourceURL"))return ni(e);throw new W(-5201,!1);default:throw new W(5202,!1)}}bypassSecurityTrustHtml(t){return Hd(t)}bypassSecurityTrustStyle(t){return $d(t)}bypassSecurityTrustScript(t){return Gd(t)}bypassSecurityTrustUrl(t){return Wd(t)}bypassSecurityTrustResourceUrl(t){return qd(t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var tt="primary",ar=Symbol("RouteTitle"),Yl=class{params;constructor(i){this.params=i||{}}has(i){return Object.hasOwn(this.params,i)}get(i){if(this.has(i)){let t=this.params[i];return Array.isArray(t)?t[0]:t}return null}getAll(i){if(this.has(i)){let t=this.params[i];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function ri(n){return new Yl(n)}function $l(n,i,t){for(let e=0;en.length||t.pathMatch==="full"&&(i.hasChildren()||e.lengthn.length||t.pathMatch==="full"&&i.hasChildren()&&t.path!=="**")return null;let s={};return!$l(r,n.slice(0,r.length),s)||!$l(o,n.slice(n.length-o.length),s)?null:{consumed:n,posParams:s}}function Co(n){return new Promise((i,t)=>{n.pipe(Nn()).subscribe({next:e=>i(e),error:e=>t(e)})})}function Ag(n,i){if(n.length!==i.length)return!1;for(let t=0;te[r]===a)}else return n===i}function Rg(n){return n.length>0?n[n.length-1]:null}function li(n){return zr(n)?n:Pi(n)?Zt(Promise.resolve(n)):A(n)}function eu(n){return zr(n)?Co(n):Promise.resolve(n)}var Tg={exact:iu,subset:au},nu={exact:Og,subset:Fg,ignored:()=>!0},dc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Wi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function mc(n,i,t){let e=n instanceof ge?n:i.parseUrl(n);return pe(()=>ko(i.lastSuccessfulNavigation()?.finalUrl??new ge,e,t))}function ko(n,i,t){let e=g(g({},Wi),t||{});return Tg[e.paths](n.root,i.root,e.matrixParams)&&nu[e.queryParams](n.queryParams,i.queryParams)&&!(e.fragment==="exact"&&n.fragment!==i.fragment)}function Og(n,i){return un(n,i)}function iu(n,i,t){if(!ai(n.segments,i.segments)||!xo(n.segments,i.segments,t)||n.numberOfChildren!==i.numberOfChildren)return!1;for(let e in i.children)if(!n.children[e]||!iu(n.children[e],i.children[e],t))return!1;return!0}function Fg(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(t=>tu(n[t],i[t]))}function au(n,i,t){return ru(n,i,i.segments,t)}function ru(n,i,t,e){if(n.segments.length>t.length){let a=n.segments.slice(0,t.length);return!(!ai(a,t)||i.hasChildren()||!xo(a,t,e))}else if(n.segments.length===t.length){if(!ai(n.segments,t)||!xo(n.segments,t,e))return!1;for(let a in i.children)if(!n.children[a]||!au(n.children[a],i.children[a],e))return!1;return!0}else{let a=t.slice(0,n.segments.length),r=t.slice(n.segments.length);return!ai(n.segments,a)||!xo(n.segments,a,e)||!n.children[tt]?!1:ru(n.children[tt],i,r,e)}}function xo(n,i,t){return i.every((e,a)=>nu[t](n[a].parameters,e.parameters))}var ge=class{root;queryParams;fragment;_queryParamMap;constructor(i=new gt([],{}),t={},e=null){this.root=i,this.queryParams=t,this.fragment=e}get queryParamMap(){return this._queryParamMap??=ri(this.queryParams),this._queryParamMap}toString(){return Vg.serialize(this)}},gt=class{segments;children;parent=null;constructor(i,t){this.segments=i,this.children=t,Object.values(t).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wo(this)}},Fn=class{path;parameters;_parameterMap;constructor(i,t){this.path=i,this.parameters=t}get parameterMap(){return this._parameterMap??=ri(this.parameters),this._parameterMap}toString(){return su(this)}};function Pg(n,i){return ai(n,i)&&n.every((t,e)=>un(t.parameters,i[e].parameters))}function ai(n,i){return n.length!==i.length?!1:n.every((t,e)=>t.path===i[e].path)}function Lg(n,i){let t=[];return Object.entries(n.children).forEach(([e,a])=>{e===tt&&(t=t.concat(i(a,e)))}),Object.entries(n.children).forEach(([e,a])=>{e!==tt&&(t=t.concat(i(a,e)))}),t}var Vn=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:()=>new Cn})}return n})(),Cn=class{parse(i){let t=new Ql(i);return new ge(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(i){let t=`/${Wa(i.root,!0)}`;Bg(t)&&(t="/");let e=Ug(i.queryParams),a=typeof i.fragment=="string"?`#${zg(i.fragment)}`:"";return`${t}${e}${a}`}},Gm="http://fake";function Bg(n){try{let i=new URL(n,Gm);return i.origin!==Gm||i.pathname.startsWith("//")}catch(i){return!0}}var Vg=new Cn;function wo(n){return n.segments.map(i=>su(i)).join("/")}function Wa(n,i){if(!n.hasChildren())return wo(n);if(i){let t=n.children[tt]?Wa(n.children[tt],!1):"",e=[];return Object.entries(n.children).forEach(([a,r])=>{a!==tt&&e.push(`${a}:${Wa(r,!1)}`)}),e.length>0?`${t}(${e.join("//")})`:t}else{let t=Lg(n,(e,a)=>a===tt?[Wa(n.children[tt],!1)]:[`${a}:${Wa(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[tt]!=null?`${wo(n)}/${t[0]}`:`${wo(n)}/(${t.join("//")})`}}function ou(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _o(n){return ou(n).replace(/%3B/gi,";")}function zg(n){return encodeURI(n)}function Zl(n){return ou(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function So(n){return decodeURIComponent(n)}function Wm(n){return So(n.replace(/\+/g,"%20"))}function su(n){return`${Zl(n.path)}${jg(n.parameters)}`}function jg(n){return Object.entries(n).map(([i,t])=>`;${Zl(i)}=${Zl(t)}`).join("")}function Ug(n){let i=Object.entries(n).map(([t,e])=>Array.isArray(e)?e.map(a=>`${_o(t)}=${_o(a)}`).join("&"):`${_o(t)}=${_o(e)}`).filter(t=>t);return i.length?`?${i.join("&")}`:""}var Gl=1073741824;function Mo(n,i,t){Number(i)>=32&&!Object.hasOwn(n,Gl)&&(n[Gl]=t,delete n[Gl]),n[i]=t}var Hg=/^[^\/()?;#]+/;function Wl(n){let i=n.match(Hg);return i?i[0]:""}var $g=/^[^\/()?;=#]+/;function Gg(n){let i=n.match($g);return i?i[0]:""}var Wg=/^[^=?&#]+/;function qg(n){let i=n.match(Wg);return i?i[0]:""}var Kg=/^[^&#]+/;function Yg(n){let i=n.match(Kg);return i?i[0]:""}var Ql=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(i=0){if(i>50)throw new W(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0,i));let a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1,i)),(t.length>0||Object.keys(e).length>0)&&(a[tt]=new gt(t,e)),a}parseSegment(){let i=Wl(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new W(4009,!1);return this.capture(i),new Fn(So(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let t=Gg(this.remaining);if(!t)return;this.capture(t);let e="";if(this.consumeOptional("=")){let a=Wl(this.remaining);a&&(e=a,this.capture(e))}Mo(i,So(t),So(e))}parseQueryParam(i){let t=qg(this.remaining);if(!t)return;this.capture(t);let e="";if(this.consumeOptional("=")){let o=Yg(this.remaining);o&&(e=o,this.capture(e))}let a=Wm(t),r=Wm(e);if(Object.hasOwn(i,a)){let o=i[a];Array.isArray(o)||(o=[o],i[a]=o),o.push(r)}else i[a]=r}parseParens(i,t){let e=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let a=Wl(this.remaining),r=this.remaining[a.length];if(r!=="/"&&r!==")"&&r!==";")throw new W(4010,!1);let o;a.indexOf(":")>-1?(o=a.slice(0,a.indexOf(":")),this.capture(o),this.capture(":")):i&&(o=tt);let s=this.parseChildren(t+1),l=Object.keys(s).length===1&&s[tt]?s[tt]:new gt([],s);Mo(e,o??tt,l),this.consumeOptional("//")}return e}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new W(4011,!1)}};function lu(n){return n.segments.length>0?new gt([],{[tt]:n}):n}function cu(n){let i=Object.create(null);for(let[e,a]of Object.entries(n.children)){let r=cu(a);if(e===tt&&r.segments.length===0&&r.hasChildren())for(let[o,s]of Object.entries(r.children))Mo(i,o,s);else(r.segments.length>0||r.hasChildren())&&Mo(i,e,r)}let t=new gt(n.segments,i);return Xg(t)}function Xg(n){if(n.numberOfChildren===1&&n.children[tt]){let i=n.children[tt];return new gt(n.segments.concat(i.segments),i.children)}return n}function Pn(n){return n instanceof ge}function du(n,i,t=null,e=null,a=new Cn){let r=mu(n);return uu(r,i,t,e,a)}function mu(n){let i;function t(r){let o={};for(let l of r.children){let d=t(l);o[l.outlet]=d}let s=new gt(r.url,o);return r===n&&(i=s),s}let e=t(n.root),a=lu(e);return i??a}function uu(n,i,t,e,a){let r=n;for(;r.parent;)r=r.parent;if(i.length===0)return ql(r,r,r,t,e,a);let o=Zg(i);if(o.toRoot())return ql(r,r,new gt([],{}),t,e,a);let s=Qg(o,r,n),l=s.processChildren?Ka(s.segmentGroup,s.index,o.commands):pu(s.segmentGroup,s.index,o.commands);return ql(r,s.segmentGroup,l,t,e,a)}function Do(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Za(n){return typeof n=="object"&&n!=null&&n.outlets}function qm(n,i,t){n||="\u0275";let e=new ge;return e.queryParams={[n]:i},t.parse(t.serialize(e)).queryParams[n]}function ql(n,i,t,e,a,r){let o={};for(let[d,m]of Object.entries(e??{}))o[d]=Array.isArray(m)?m.map(_=>qm(d,_,r)):qm(d,m,r);let s;n===i?s=t:s=hu(n,i,t);let l=lu(cu(s));return new ge(l,o,a)}function hu(n,i,t){let e=Object.create(null);return Object.entries(n.children).forEach(([a,r])=>{r===i?e[a]=t:e[a]=hu(r,i,t)}),new gt(n.segments,e)}var Eo=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,t,e){if(this.isAbsolute=i,this.numberOfDoubleDots=t,this.commands=e,i&&e.length>0&&Do(e[0]))throw new W(4003,!1);let a=e.find(Za);if(a&&a!==Rg(e))throw new W(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Zg(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Eo(!0,0,n);let i=0,t=!1,e=n.reduce((a,r,o)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([l,d])=>{s[l]=typeof d=="string"?d.split("/"):d}),[...a,{outlets:s}]}if(r.segmentPath)return[...a,r.segmentPath]}return typeof r!="string"?[...a,r]:o===0?(r.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?t=!0:s===".."?i++:s!=""&&a.push(s))}),a):[...a,r]},[]);return new Eo(t,i,e)}var Hi=class{segmentGroup;processChildren;index;constructor(i,t,e){this.segmentGroup=i,this.processChildren=t,this.index=e}};function Qg(n,i,t){if(n.isAbsolute)return new Hi(i,!0,0);if(!t)return new Hi(i,!1,NaN);if(t.parent===null)return new Hi(t,!0,0);let e=Do(n.commands[0])?0:1,a=t.segments.length-1+e;return Jg(t,a,n.numberOfDoubleDots)}function Jg(n,i,t){let e=n,a=i,r=t;for(;r>a;){if(r-=a,e=e.parent,!e)throw new W(4005,!1);a=e.segments.length}return new Hi(e,!1,a-r)}function tb(n){return Za(n[0])?n[0].outlets:{[tt]:n}}function pu(n,i,t){if(n??=new gt([],{}),n.segments.length===0&&n.hasChildren())return Ka(n,i,t);let e=eb(n,i,t),a=t.slice(e.commandIndex);if(e.match&&e.pathIndexr!==tt)&&n.children[tt]&&n.numberOfChildren===1&&n.children[tt].segments.length===0){let r=Ka(n.children[tt],i,t);return new gt(n.segments,r.children)}return Object.entries(e).forEach(([r,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(a[r]=pu(n.children[r],i,o))}),Object.entries(n.children).forEach(([r,o])=>{e[r]===void 0&&(a[r]=o)}),new gt(n.segments,a)}}function eb(n,i,t){let e=0,a=i,r={match:!1,pathIndex:0,commandIndex:0};for(;a=t.length)return r;let o=n.segments[a],s=t[e];if(Za(s))break;let l=`${s}`,d=e0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!Ym(l,d,o))return r;e+=2}else{if(!Ym(l,{},o))return r;e++}a++}return{match:!0,pathIndex:a,commandIndex:e}}function Jl(n,i,t){let e=n.segments.slice(0,i),a=0;for(;a{typeof e=="string"&&(e=[e]),e!==null&&(i[t]=Jl(new gt([],{}),0,e))}),i}function Km(n){let i={};return Object.entries(n).forEach(([t,e])=>i[t]=`${e}`),i}function Ym(n,i,t){return n==t.path&&un(i,t.parameters)}var No=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new Ln(this.rootInjector)}resetChildren(){this.children=new Ln(this.rootInjector)}},Ln=(()=>{class n{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,e){let a=this.getOrCreateContext(t);a.outlet=e,this.contexts.set(t,a)}onChildOutletDestroyed(t){let e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new No(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(e){return new(e||n)(T(zt))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Io=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let t=this.pathFromRoot(i);return t.length>1?t[t.length-2]:null}children(i){let t=tc(i,this._root);return t?t.children.map(e=>e.value):[]}firstChild(i){let t=tc(i,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(i){let t=ec(i,this._root);return t.length<2?[]:t[t.length-2].children.map(a=>a.value).filter(a=>a!==i)}pathFromRoot(i){return ec(i,this._root).map(t=>t.value)}};function tc(n,i){if(n===i.value)return i;for(let t of i.children){let e=tc(n,t);if(e)return e}return null}function ec(n,i){if(n===i.value)return[i];for(let t of i.children){let e=ec(n,t);if(e.length)return e.unshift(i),e}return[]}var fe=class{value;children;constructor(i,t){this.value=i,this.children=t}toString(){return`TreeNode(${this.value})`}};function Ui(n){let i={};return n&&n.children.forEach(t=>i[t.value.outlet]=t),i}var Qa=class extends Io{snapshot;constructor(i,t){super(i),this.snapshot=t,hc(this,i)}toString(){return this.snapshot.toString()}};function fu(n,i){let t=ib(n,i),e=new xe([new Fn("",{})]),a=new xe({}),r=new xe({}),o=new xe({}),s=new xe(""),l=new Je(e,a,o,s,r,tt,n,t.root);return l.snapshot=t.root,new Qa(new fe(l,[]),t)}function ib(n,i){let t={},e={},a={},o=new qi([],t,a,"",e,tt,n,null,{},i);return new Ja("",new fe(o,[]))}var Je=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(i,t,e,a,r,o,s,l){this.urlSubject=i,this.paramsSubject=t,this.queryParamsSubject=e,this.fragmentSubject=a,this.dataSubject=r,this.outlet=o,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(st(d=>d[ar]))??A(void 0),this.url=i,this.params=t,this.queryParams=e,this.fragment=a,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(st(i=>ri(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(st(i=>ri(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(i){this._futureSnapshot=i,this.pending?.set(!0)}},ab="always";function uc(n,i,t){let e,{routeConfig:a}=n;return i!==null&&(t==="always"||a?.path===""||!i.component&&!i.routeConfig?.loadComponent)?e={params:Object.keys(n.params).length===0?i.params:Object.freeze(g(g({},i.params),n.params)),data:Object.freeze(g(g({},i.data),n.data)),resolve:g(g(g(g({},n.data),i.data),a?.data),n._resolvedData)}:e={params:Object.freeze(g({},n.params)),data:Object.freeze(g({},n.data)),resolve:g(g({},n.data),n._resolvedData??{})},a&&bu(a)&&(e.resolve[ar]=a.title),e}var qi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[ar]}constructor(i,t,e,a,r,o,s,l,d,m){this.url=i,this.params=t,this.queryParams=e,this.fragment=a,this.data=r,this.outlet=o,this.component=s,this.routeConfig=l,this._resolve=d,this._environmentInjector=m}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ri(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ri(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(e=>e.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${t}')`}},Ja=class extends Io{url;constructor(i,t){super(t),this.url=i,hc(this,t)}toString(){return gu(this._root)}};function hc(n,i){i.value._routerState=n,i.children.forEach(t=>hc(n,t))}function gu(n){let i=n.children.length>0?` { ${n.children.map(gu).join(", ")} } `:"";return`${n.value}${i}`}function Kl(n){if(n.snapshot){let i=n.snapshot,t=n._futureSnapshot;n.snapshot=t,un(i.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),i.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),un(i.params,t.params)||n.paramsSubject.next(t.params),Ag(i.url,t.url)||n.urlSubject.next(t.url),un(i.data,t.data)||n.dataSubject.next(t.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function nc(n,i){let t=un(n.params,i.params)&&Pg(n.url,i.url),e=!n.parent!=!i.parent;return t&&!e&&(!n.parent||nc(n.parent,i.parent))}function bu(n){return typeof n.title=="string"||n.title===null}var vu=new v(""),rr=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=tt;activateEvents=new Q;deactivateEvents=new Q;attachEvents=new Q;detachEvents=new Q;routerOutletData=ii();parentContexts=c(Ln);location=c(Oe);changeDetector=c(xt);inputBinder=c(or,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:e,previousValue:a}=t.name;if(e)return;this.isTrackedInParentContexts(a)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(a)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new W(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new W(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new W(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new W(4013,!1);this._activatedRoute=t;let a=this.location,o=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new ic(t,s,a.injector,this.routerOutletData);this.activated=a.createComponent(o,{index:a.length,injector:l,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Dt]})}return n})(),ic=class{route;childContexts;parent;outletData;constructor(i,t,e,a){this.route=i,this.childContexts=t,this.parent=e,this.outletData=a}get(i,t){return i===Je?this.route:i===Ln?this.childContexts:i===vu?this.outletData:this.parent.get(i,t)}},or=new v(""),_u=(()=>{class n{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(t,e=null){this.options=t,this.feature=e,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(t,e){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t,e)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t),this.outletSeenKeys.delete(t),this.outletEffects.get(t)?.forEach(e=>e.destroy()),this.outletEffects.delete(t)}subscribeToRouteData(t,e){let{activatedRoute:a}=t,r=[],o=[];if(this.feature?.createResourceOutletBindingEffects&&t.activatedComponentRef){let{handledKeys:l,createdEffects:d}=this.feature.createResourceOutletBindingEffects(t.activatedComponentRef,a);r.push(...d),o=l}r.length>0&&this.outletEffects.set(t,r);let s=Da([this.options.queryParams?a.queryParams:A({}),a.params,a.data]).pipe(Mt(([l,d,m],_)=>(m=g(g(g(g({},l),d),m),a.resources),_===0?A(m):Promise.resolve(m)))).subscribe(l=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==a||a.component===null){this.unsubscribeFromRouteData(t);return}let d=vl(a.component);if(!d){this.unsubscribeFromRouteData(t);return}let m=this.outletSeenKeys.get(t);m||(m=new Set,this.outletSeenKeys.set(t,m));for(let b of Object.keys(l))m.add(b);let _=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:b}of d.inputs){if(o.includes(b))continue;let M=l[b];(M!==void 0||_==="alwaysUndefined"||m.has(b))&&t.activatedComponentRef.setInput(b,M)}});this.outletDataSubscriptions.set(t,s)}static \u0275fac=function(e){Rn()};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})(),pc=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(e,a){e&1&&dt(0,"router-outlet")},dependencies:[rr],encapsulation:2,changeDetection:1})}return n})();function fc(n){let i=n.children&&n.children.map(fc),t=i?ct(g({},n),{children:i}):g({},n);return!t.component&&!t.loadComponent&&(i||t.loadChildren)&&t.outlet&&t.outlet!==tt&&(t.component=pc),t}var $i="imperative",Yt=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(Yt||{}),De=class{id;url;constructor(i,t){this.id=i,this.url=t}},Bn=class extends De{type=Yt.NavigationStart;navigationTrigger;restoredState;constructor(i,t,e="imperative",a=null){super(i,t),this.navigationTrigger=e,this.restoredState=a}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ee=class extends De{urlAfterRedirects;type=Yt.NavigationEnd;constructor(i,t,e){super(i,t),this.urlAfterRedirects=e}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ae=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(ae||{}),Ki=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(Ki||{}),Be=class extends De{reason;code;type=Yt.NavigationCancel;constructor(i,t,e,a){super(i,t),this.reason=e,this.code=a}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function yu(n){return n instanceof Be&&(n.code===ae.Redirect||n.code===ae.SupersededByNewNavigation)}var hn=class extends De{reason;code;type=Yt.NavigationSkipped;constructor(i,t,e,a){super(i,t),this.reason=e,this.code=a}},oi=class extends De{error;target;type=Yt.NavigationError;constructor(i,t,e,a){super(i,t),this.error=e,this.target=a}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},tr=class extends De{urlAfterRedirects;state;type=Yt.RoutesRecognized;constructor(i,t,e,a){super(i,t),this.urlAfterRedirects=e,this.state=a}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ao=class extends De{urlAfterRedirects;state;type=Yt.GuardsCheckStart;constructor(i,t,e,a){super(i,t),this.urlAfterRedirects=e,this.state=a}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ro=class extends De{urlAfterRedirects;state;shouldActivate;type=Yt.GuardsCheckEnd;constructor(i,t,e,a,r){super(i,t),this.urlAfterRedirects=e,this.state=a,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},To=class extends De{urlAfterRedirects;state;type=Yt.ResolveStart;constructor(i,t,e,a){super(i,t),this.urlAfterRedirects=e,this.state=a}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Oo=class extends De{urlAfterRedirects;state;type=Yt.ResolveEnd;constructor(i,t,e,a){super(i,t),this.urlAfterRedirects=e,this.state=a}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fo=class{route;type=Yt.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Po=class{route;type=Yt.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Lo=class{snapshot;type=Yt.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bo=class{snapshot;type=Yt.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vo=class{snapshot;type=Yt.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zo=class{snapshot;type=Yt.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yi=class{routerEvent;position;anchor;scrollBehavior;type=Yt.Scroll;constructor(i,t,e,a){this.routerEvent=i,this.position=t,this.anchor=e,this.scrollBehavior=a}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},Xi=class{},er=class{},Zi=class{url;navigationBehaviorOptions;constructor(i,t){this.url=i,this.navigationBehaviorOptions=t}};function rb(n){return!(n instanceof Xi)&&!(n instanceof Zi)&&!(n instanceof er)}function ob(n,i,t){let e=new Set,a=nr(n,i._root,t?t._root:void 0,e);return{newlyCreatedRoutes:e,state:new Qa(a,i)}}function nr(n,i,t,e){if(t&&n.shouldReuseRoute(i.value,t.value.snapshot)){let a=t.value;a._setPending(i.value);let r=sb(n,i,t,e);return new fe(a,r)}else{if(n.shouldAttach(i.value)){let o=n.retrieve(i.value);if(o!==null){let s=o.route;return s.value._setPending(i.value),s.children=i.children.map(l=>nr(n,l,void 0,e)),s}}let a=lb(i.value);a._setPending(i.value),e.add(a);let r=i.children.map(o=>nr(n,o,void 0,e));return new fe(a,r)}}function sb(n,i,t,e){return i.children.map(a=>{for(let r of t.children)if(n.shouldReuseRoute(a.value,r.value.snapshot))return nr(n,a,r,e);return nr(n,a,void 0,e)})}function lb(n){return new Je(new xe(n.url),new xe(n.params),new xe(n.queryParams),new xe(n.fragment),new xe(n.data),n.outlet,n.component,n)}var si=class n extends Error{redirectTo;navigationBehaviorOptions;constructor(i,t){super(),this.redirectTo=i,this.navigationBehaviorOptions=t,Object.setPrototypeOf(this,n.prototype)}},xu="ngNavigationCancelingError";function Ya(n,i){let{redirectTo:t,navigationBehaviorOptions:e}=Pn(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,a=wu(!1,ae.Redirect);return a.url=t,a.navigationBehaviorOptions=e,a}function wu(n,i){let t=new Error(`NavigationCancelingError: ${n||""}`);return t[xu]=!0,t.cancellationCode=i,t}function cb(n){return Su(n)&&Pn(n.url)}function Su(n){return!!n&&n[xu]}var ac=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,t,e,a,r){this.routeReuseStrategy=i,this.futureState=t,this.currState=e,this.forwardEvent=a,this.inputBindingEnabled=r}activate(i){let t=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,e,i),Kl(this.futureState.root),this.activateChildRoutes(t,e,i)}deactivateChildRoutes(i,t,e){let a=Ui(t);i.children.forEach(r=>{let o=r.value.outlet;this.deactivateRoutes(r,a[o],e),delete a[o]}),Object.values(a).forEach(r=>{this.deactivateRouteAndItsChildren(r,e)})}deactivateRoutes(i,t,e){let a=i.value,r=t?t.value:null;if(a===r)if(a.component){let o=e.getContext(a.outlet);o&&this.deactivateChildRoutes(i,t,o.children)}else this.deactivateChildRoutes(i,t,e);else r&&this.deactivateRouteAndItsChildren(t,e)}deactivateRouteAndItsChildren(i,t){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,t):this.deactivateRouteAndOutlet(i,t)}detachAndStoreRouteSubtree(i,t){let e=t.getContext(i.value.outlet),a=e&&i.value.component?e.children:t,r=Ui(i);for(let o of Object.values(r))this.deactivateRouteAndItsChildren(o,a);if(e&&e.outlet){let o=e.outlet.detach(),s=e.children.contexts;e.resetChildren(),this.routeReuseStrategy.store(i.value.snapshot,{componentRef:o,route:i,contexts:s})}}deactivateRouteAndOutlet(i,t){let e=t.getContext(i.value.outlet),a=e&&i.value.component?e.children:t,r=Ui(i);for(let o of Object.values(r))this.deactivateRouteAndItsChildren(o,a);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null),i.value._localInjector?.destroy()}activateChildRoutes(i,t,e){let a=Ui(t);i.children.forEach(r=>{this.activateRoutes(r,a[r.value.outlet],e),this.forwardEvent(new zo(r.value.snapshot))}),i.children.length&&this.forwardEvent(new Bo(i.value.snapshot))}activateRoutes(i,t,e){let a=i.value,r=t?t.value:null;if(Kl(a),a===r)if(a.component){let o=e.getOrCreateContext(a.outlet);this.activateChildRoutes(i,t,o.children)}else this.activateChildRoutes(i,t,e);else if(a.component){let o=e.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){let s=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),Kl(s.route.value),this.activateChildRoutes(i,null,o.children)}else o.attachRef=null,o.route=a,o.outlet&&o.outlet.activateWith(a,o.injector),this.activateChildRoutes(i,null,o.children)}else this.activateChildRoutes(i,null,e)}},jo=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},Gi=class{component;route;constructor(i,t){this.component=i,this.route=t}};function db(n,i,t){let e=n._root,a=i?i._root:null;return qa(e,a,t,[e.value])}function mb(n){let i=n.routeConfig?n.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:n,guards:i}}function Ji(n,i){let t=Symbol(),e=i.get(n,t);return e===t?typeof n=="function"&&!Od(n)?n:i.get(n):e}function qa(n,i,t,e,a={canDeactivateChecks:[],canActivateChecks:[]}){let r=Ui(i);return n.children.forEach(o=>{ub(o,r[o.value.outlet],t,e.concat([o.value]),a),delete r[o.value.outlet]}),Object.entries(r).forEach(([o,s])=>Xa(s,t.getContext(o),t,a)),a}function ub(n,i,t,e,a={canDeactivateChecks:[],canActivateChecks:[]}){let r=n.value,o=i?i.value:null,s=t?t.getContext(n.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){let l=hb(o,r,r.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new jo(e)):(r.data=o.data,r._resolvedData=o._resolvedData),r.component?qa(n,i,s?s.children:null,e,a):qa(n,i,t,e,a),l&&s&&s.outlet&&s.outlet.isActivated&&a.canDeactivateChecks.push(new Gi(s.outlet.component,o))}else o&&Xa(i,s,t,a),a.canActivateChecks.push(new jo(e)),r.component?qa(n,null,s?s.children:null,e,a):qa(n,null,t,e,a);return a}function hb(n,i,t){if(typeof t=="function")return le(i._environmentInjector,()=>t(n,i));switch(t){case"pathParamsChange":return!ai(n.url,i.url);case"pathParamsOrQueryParamsChange":return!ai(n.url,i.url)||!un(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nc(n,i)||!un(n.queryParams,i.queryParams);default:return!nc(n,i)}}function Xa(n,i,t,e){let a=Ui(n),r=n.value;Object.entries(a).forEach(([o,s])=>{r.component?i?Xa(s,i.children.getContext(o),i.children,e):Xa(s,null,null,e):Xa(s,t?t.getContext(o):null,t,e)}),r.component?i&&i.outlet&&i.outlet.isActivated?e.canDeactivateChecks.push(new Gi(i.outlet.component,r)):e.canDeactivateChecks.push(new Gi(null,r)):e.canDeactivateChecks.push(new Gi(null,r))}function sr(n){return typeof n=="function"}function pb(n){return typeof n=="boolean"}function fb(n){return n&&sr(n.canLoad)}function gb(n){return n&&sr(n.canActivate)}function bb(n){return n&&sr(n.canActivateChild)}function vb(n){return n&&sr(n.canDeactivate)}function _b(n){return n&&sr(n.canMatch)}function Cu(n){return n instanceof Ad||n?.name==="EmptyError"}var yo=Symbol("INITIAL_VALUE");function Qi(){return Mt(n=>Da(n.map(i=>i.pipe(Gt(1),Ft(yo)))).pipe(st(i=>{for(let t of i)if(t!==!0){if(t===yo)return yo;if(t===!1||yb(t))return t}return!0}),vt(i=>i!==yo),Gt(1)))}function yb(n){return Pn(n)||n instanceof si}function ku(n){return new oe(i=>{if(n.aborted){i.next(),i.complete();return}let t=()=>{i.next(),i.complete()};return n.addEventListener("abort",t),()=>n.removeEventListener("abort",t)})}function Mu(n){return kt(ku(n))}function xb(n){return an(i=>{let{targetSnapshot:t,currentSnapshot:e,guards:{canActivateChecks:a,canDeactivateChecks:r}}=i;return r.length===0&&a.length===0?A(ct(g({},i),{guardsResult:!0})):wb(r,t,e).pipe(an(o=>o&&pb(o)?Sb(t,a,n):A(o)),st(o=>ct(g({},i),{guardsResult:o})))})}function wb(n,i,t){return Zt(n).pipe(an(e=>Eb(e.component,e.route,t,i)),Nn(e=>e!==!0,!0))}function Sb(n,i,t){return Zt(i).pipe(Qn(e=>jr(kb(e.route.parent,t),Cb(e.route,t),Db(n,e.path),Mb(n,e.route))),Nn(e=>e!==!0,!0))}function Cb(n,i){return n!==null&&i&&i(new Vo(n)),A(!0)}function kb(n,i){return n!==null&&i&&i(new Lo(n)),A(!0)}function Mb(n,i){let t=i.routeConfig?i.routeConfig.canActivate:null;if(!t||t.length===0)return A(!0);let e=t.map(a=>rn(()=>{let r=i._environmentInjector,o=Ji(a,r),s=gb(o)?o.canActivate(i,n):le(r,()=>o(i,n));return li(s).pipe(Nn())}));return A(e).pipe(Qi())}function Db(n,i){let t=i[i.length-1],a=i.slice(0,i.length-1).reverse().map(r=>mb(r)).filter(r=>r!==null).map(r=>rn(()=>{let o=r.guards.map(s=>{let l=r.node._environmentInjector,d=Ji(s,l),m=bb(d)?d.canActivateChild(t,n):le(l,()=>d(t,n));return li(m).pipe(Nn())});return A(o).pipe(Qi())}));return A(a).pipe(Qi())}function Eb(n,i,t,e){let a=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!a||a.length===0)return A(!0);let r=a.map(o=>{let s=i._environmentInjector,l=Ji(o,s),d=vb(l)?l.canDeactivate(n,i,t,e):le(s,()=>l(n,i,t,e));return li(d).pipe(Nn())});return A(r).pipe(Qi())}function Nb(n,i,t,e,a){let r=i.canLoad;if(r===void 0||r.length===0)return A(!0);let o=r.map(s=>{let l=Ji(s,n),d=fb(l)?l.canLoad(i,t):le(n,()=>l(i,t)),m=li(d);return a?m.pipe(Mu(a)):m});return A(o).pipe(Qi(),Du(e))}function Du(n){return Js(Wt(i=>{if(typeof i!="boolean")throw Ya(n,i)}),st(i=>i===!0))}function Ib(n,i,t,e,a,r){let o=i.canMatch;if(!o||o.length===0)return A(!0);let s=o.map(l=>{let d=Ji(l,n),m=_b(d)?d.canMatch(i,t,a):le(n,()=>d(i,t,a));return li(m).pipe(Mu(r))});return A(s).pipe(Qi(),Du(e))}var mn=class n extends Error{name="NoMatch";segmentGroup;constructor(i){super(),this.segmentGroup=i||null,Object.setPrototypeOf(this,n.prototype)}},ir=class n extends Error{urlTree;name="AbsoluteRedirect";constructor(i){super(),this.urlTree=i,Object.setPrototypeOf(this,n.prototype)}};function Ab(n){throw new W(4e3,!1)}function Rb(n){throw wu(!1,ae.GuardRejected)}var rc=class{urlSerializer;urlTree;constructor(i,t){this.urlSerializer=i,this.urlTree=t}lineralizeSegments(i,t){return wt(this,null,function*(){let e=[],a=t.root;for(;;){if(e=e.concat(a.segments),a.numberOfChildren===0)return e;if(a.numberOfChildren>1||!a.children[tt])throw Ab(`${i.redirectTo}`);a=a.children[tt]}})}applyRedirectCommands(i,t,e,a,r){return wt(this,null,function*(){let o=yield Tb(t,a,r);if(o instanceof ge)throw new ir(o);let s=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),i,e);if(o[0]==="/")throw new ir(s);return s})}applyRedirectCreateUrlTree(i,t,e,a){let r=this.createSegmentGroup(i,t.root,e,a);return new ge(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(i,t){let e={};return Object.entries(i).forEach(([a,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);e[a]=t[s]}else e[a]=r}),e}createSegmentGroup(i,t,e,a){let r=this.createSegments(i,t.segments,e,a),o=Object.create(null);return Object.entries(t.children).forEach(([s,l])=>{o[s]=this.createSegmentGroup(i,l,e,a)}),new gt(r,o)}createSegments(i,t,e,a){return t.map(r=>r.path[0]===":"?this.findPosParam(i,r,a):this.findOrReturn(r,e))}findPosParam(i,t,e){let a=e[t.path.substring(1)];if(!a)throw new W(4001,!1);return a}findOrReturn(i,t){let e=0;for(let a of t){if(a.path===i.path)return t.splice(e),a;e++}return i}};function Tb(n,i,t){if(typeof n=="string")return Promise.resolve(n);let e=n;return Co(li(le(t,()=>e(i))))}function Ob(n,i){return n.providers&&!n._injector&&(n._injector=qr(n.providers,i,`Route: ${n.path}`)),n._injector??i}function Qe(n){return n.outlet||tt}function Fb(n,i){let t=n.filter(e=>Qe(e)===i);return t.push(...n.filter(e=>Qe(e)!==i)),t}var oc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Eu(n){return{routeConfig:n.routeConfig,url:n.url,params:n.params,queryParams:n.queryParams,fragment:n.fragment,data:n.data,outlet:n.outlet,title:n.title,paramMap:n.paramMap,queryParamMap:n.queryParamMap}}function Pb(n,i,t,e,a,r,o){let s=Nu(n,i,t);if(!s.matched)return A(s);let l=Eu(r(s));return e=Ob(i,e),Ib(e,i,t,a,l,o).pipe(st(d=>d===!0?s:g({},oc)))}function Nu(n,i,t){if(i.path==="")return i.pathMatch==="full"&&(n.hasChildren()||t.length>0)?g({},oc):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let a=(i.matcher||Jm)(t,n,i);if(!a)return g({},oc);let r={};Object.entries(a.posParams??{}).forEach(([s,l])=>{r[s]=l.path});let o=a.consumed.length>0?g(g({},r),a.consumed[a.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:a.consumed,remainingSegments:t.slice(a.consumed.length),parameters:o,positionalParamSegments:a.posParams??{}}}function Xm(n,i,t,e,a){return t.length>0&&Vb(n,t,e,a)?{segmentGroup:new gt(i,Bb(e,new gt(t,n.children))),slicedSegments:[]}:t.length===0&&zb(n,t,e)?{segmentGroup:new gt(n.segments,Lb(n,t,e,n.children)),slicedSegments:t}:{segmentGroup:new gt(n.segments,n.children),slicedSegments:t}}function Lb(n,i,t,e){let a={};for(let r of t)if(Ho(n,i,r)&&!e[Qe(r)]){let o=new gt([],{});a[Qe(r)]=o}return g(g({},e),a)}function Bb(n,i){let t={};t[tt]=i;for(let e of n)if(e.path===""&&Qe(e)!==tt){let a=new gt([],{});t[Qe(e)]=a}return t}function Vb(n,i,t,e){return t.some(a=>!Ho(n,i,a)||!(Qe(a)!==tt)?!1:!(e!==void 0&&Qe(a)===e))}function zb(n,i,t){return t.some(e=>Ho(n,i,e))}function Ho(n,i,t){return(n.hasChildren()||i.length>0)&&t.pathMatch==="full"?!1:t.path===""}function jb(n,i,t){return i.length===0&&!n.hasChildren()}var sc=class{};function Ub(n,i,t,e,a,r,o,s){return wt(this,null,function*(){return new lc(n,i,t,e,a,o,r,s).recognize()})}var Hb=31,lc=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(i,t,e,a,r,o,s,l){this.injector=i,this.configLoader=t,this.rootComponentType=e,this.config=a,this.urlTree=r,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.abortSignal=l,this.applyRedirects=new rc(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(g({},this.urlTree.queryParams))}noMatchError(i){return new W(4002,`'${i.segmentGroup}'`)}recognize(){return wt(this,null,function*(){let i=Xm(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:e}=yield this.match(i),a=new fe(e,t),r=new Ja("",a),o=du(e,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(o),{state:r,tree:o}})}match(i){return wt(this,null,function*(){let t=new qi([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),tt,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,i,tt,t),rootSnapshot:t}}catch(e){if(e instanceof ir)return this.absoluteRedirectCount++,this.absoluteRedirectCount>Hb&&(this.allowRedirects=!1),this.urlTree=e.urlTree,this.queryParams=Object.freeze(g({},this.urlTree.queryParams)),this.match(e.urlTree.root);throw e instanceof mn?this.noMatchError(e):e}})}processSegmentGroup(i,t,e,a,r){return wt(this,null,function*(){if(e.segments.length===0&&e.hasChildren())return this.processChildren(i,t,e,r);let o=yield this.processSegment(i,t,e,e.segments,a,!0,r);return o instanceof fe?[o]:[]})}processChildren(i,t,e,a){return wt(this,null,function*(){let r=[];for(let l of Object.keys(e.children))l==="primary"?r.unshift(l):r.push(l);let o=[];for(let l of r){let d=e.children[l],m=Fb(t,l),_=yield this.processSegment(i,m,d,d.segments,l,!0,a);_ instanceof fe&&o.push(_)}let s=Iu(o);return $b(s),s})}processSegment(i,t,e,a,r,o,s){return wt(this,null,function*(){for(let l of t)try{return yield this.processSegmentAgainstRoute(l._injector??i,t,l,e,a,r,o,s)}catch(d){if(d instanceof mn||Cu(d))continue;throw d}if(jb(e,a))return new sc;throw new mn(e)})}processSegmentAgainstRoute(i,t,e,a,r,o,s,l){return wt(this,null,function*(){if(Qe(e)!==o&&(o===tt||!Ho(a,r,e)||!e.children?.length&&!e.loadChildren||r.length===0&&!a.hasChildren()))throw new mn(a);if(e.redirectTo===void 0)return this.matchSegmentAgainstRoute(i,a,e,r,o,l);if(this.allowRedirects&&s)return this.expandSegmentAgainstRouteUsingRedirect(i,a,t,e,r,o,l);throw new mn(a)})}expandSegmentAgainstRouteUsingRedirect(i,t,e,a,r,o,s){return wt(this,null,function*(){let{matched:l,parameters:d,consumedSegments:m,positionalParamSegments:_,remainingSegments:b}=Nu(t,a,r);if(!l)throw new mn(t);let M=this.createSnapshot(i,a,r,d,s);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let D=yield this.applyRedirects.applyRedirectCommands(m,a.redirectTo,_,Eu(M),i),Z=yield this.applyRedirects.lineralizeSegments(a,D);return this.processSegment(i,e,t,Z.concat(b),o,!1,s)})}createSnapshot(i,t,e,a,r){let o=new qi(e,a,this.queryParams,this.urlTree.fragment,qb(t),Qe(t),t.component??t._loadedComponent??null,t,Kb(t),i),s=uc(o,r,this.paramsInheritanceStrategy);return o.params=s.params,o.data=s.data,o}matchSegmentAgainstRoute(i,t,e,a,r,o){return wt(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let s=it=>this.createSnapshot(i,e,it.consumedSegments,it.parameters,o),l=yield Co(Pb(t,e,a,i,this.urlSerializer,s,this.abortSignal));if(e.path==="**"&&(t.children={}),!l?.matched)throw new mn(t);i=e._injector??i;let{routes:d}=yield this.getChildConfig(i,e,a),m=e._loadedInjector??i,{parameters:_,consumedSegments:b,remainingSegments:M}=l,D=this.createSnapshot(i,e,b,_,o),{segmentGroup:Z,slicedSegments:lt}=Xm(t,b,M,d,r),$t=Qe(e)===r;if($t&<.length===0&&Z.hasChildren()){let it=yield this.processChildren(m,d,Z,D);return new fe(D,it)}if($t&&d.length===0&<.length===0)return new fe(D,[]);let nt=yield this.processSegment(m,d,Z,lt,$t?tt:r,!0,D);if(!$t&&!(nt instanceof fe))throw new mn(t);return new fe(D,nt instanceof fe?[nt]:[])})}getChildConfig(i,t,e){return wt(this,null,function*(){if(t.children)return{routes:t.children,injector:i};if(t.loadChildren){if(t._loadedRoutes!==void 0){let r=t._loadedNgModuleFactory;return r&&!t._loadedInjector&&(t._loadedInjector=r.create(i).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Co(Nb(i,t,e,this.urlSerializer,this.abortSignal))){let r=yield this.configLoader.loadChildren(i,t);return t._loadedRoutes=r.routes,t._loadedInjector=r.injector,t._loadedNgModuleFactory=r.factory,r}throw Rb(t)}return{routes:[],injector:i}})}};function $b(n){n.sort((i,t)=>i.value.outlet===tt?-1:t.value.outlet===tt?1:i.value.outlet.localeCompare(t.value.outlet))}function Gb(n){let i=n.value.routeConfig;return i&&i.path===""}function Iu(n){let i=[],t=new Set;for(let a of n){if(!Gb(a)){i.push(a);continue}let r=i.find(o=>a.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...a.children),t.add(r)):i.push(a)}for(let a of t){let r=Iu(a.children);i.push(new fe(a.value,r))}let e=i.filter(a=>!t.has(a));return Wb(e),e}function Wb(n){let i=Object.create(null);n.forEach(t=>{let e=i[t.value.outlet];if(e){let a=e.url.map(o=>o.toString()).join("/"),r=t.value.url.map(o=>o.toString()).join("/");throw new W(4006,!1)}i[t.value.outlet]=t.value})}function qb(n){return n.data||{}}function Kb(n){return n.resolve||{}}function Yb(n,i,t,e,a,r,o){return an(s=>wt(null,null,function*(){let{state:l,tree:d}=yield Ub(n,i,t,e,s.extractedUrl,a,r,o);return ct(g({},s),{targetSnapshot:l,urlAfterRedirects:d})}))}function Xb(n){return an(i=>{let{targetSnapshot:t,guards:{canActivateChecks:e}}=i;if(!e.length)return A(i);let a=new Set(e.map(s=>s.route)),r=new Set;for(let s of a)if(!r.has(s))for(let l of Au(s))r.add(l);let o=0;return Zt(r).pipe(Qn(s=>a.has(s)?Zb(s,t,n):(s.data=uc(s,s.parent,n).resolve,A(void 0))),Wt(()=>o++),il(1),an(s=>o===r.size?A(i):we))})}function Au(n){let i=n.children.map(t=>Au(t)).flat();return[n,...i]}function Zb(n,i,t){let e=n.routeConfig,a=n._resolve;return e?.title!==void 0&&!bu(e)&&(a[ar]=e.title),rn(()=>(n.data=uc(n,n.parent,t).resolve,Qb(a,n,i).pipe(st(r=>(n._resolvedData=r,n.data=g(g({},n.data),r),null)))))}function Qb(n,i,t){let e=Xl(n);if(e.length===0)return A({});let a={};return Zt(e).pipe(an(r=>Jb(n[r],i,t).pipe(Nn(),Wt(o=>{if(o instanceof si)throw Ya(new Cn,o);a[r]=o}))),il(1),st(()=>a),Ni(r=>Cu(r)?we:Vr(r)))}function Jb(n,i,t){let e=i._environmentInjector,a=Ji(n,e),r=a.resolve?a.resolve(i,t):le(e,()=>a(i,t));return li(r)}var gc=new v("");function cc(n){return Mt(i=>{let t=n(i);return t?Zt(t).pipe(st(()=>i)):A(i)})}var bc=(()=>{class n{buildTitle(t){let e,a=t.root;for(;a!==void 0;)e=this.getResolvedTitleForRoute(a)??e,a=a.children.find(r=>r.outlet===tt);return e}getResolvedTitleForRoute(t){return t.data[ar]}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:()=>c(Ru)})}return n})(),Ru=(()=>{class n extends bc{title;constructor(t){super(),this.title=t}updateTitle(t){let e=this.buildTitle(t);e!==void 0&&this.title.setTitle(e)}static \u0275fac=function(e){return new(e||n)(T($m))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),zn=new v("",{factory:()=>({})}),ta=new v(""),$o=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=c(om);loadComponent(t,e){return wt(this,null,function*(){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Promise.resolve(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let a=wt(this,null,function*(){try{let r=yield eu(le(t,()=>e.loadComponent())),o=yield Ou(gl(r));return this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o,o}finally{this.componentLoaders.delete(e)}});return this.componentLoaders.set(e,a),a})}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return Promise.resolve({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);let a=wt(this,null,function*(){try{let r=yield Tu(e,this.compiler,t,this.onLoadEndListener);return e._loadedRoutes=r.routes,e._loadedInjector=r.injector,e._loadedNgModuleFactory=r.factory,r}finally{this.childrenLoaders.delete(e)}});return this.childrenLoaders.set(e,a),a}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function Tu(n,i,t,e){return wt(this,null,function*(){let a=yield eu(le(t,()=>n.loadChildren())),r=yield Ou(gl(a)),o;r instanceof Qd||Array.isArray(r)?o=r:o=yield i.compileModuleAsync(r),e&&e(n);let s,l,d=!1,m;return Array.isArray(o)?(l=o,d=!0):(s=o.create(t).injector,m=o,l=s.get(ta,[],{optional:!0,self:!0}).flat()),{routes:l.map(fc),injector:s,factory:m}})}function Ou(n){return wt(this,null,function*(){return n})}var Go=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:()=>c(tv)})}return n})(),tv=(()=>{class n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),vc=new v(""),_c=new v("");function Fu(n,i,t,e){let a=n.get(_c),r=n.get(F);if(e){a.skipNextTransition=!1;return}if(!r.startViewTransition||a.skipNextTransition)return a.skipNextTransition=!1,new Promise(m=>setTimeout(m));let o,s=new Promise(m=>{o=m}),l=r.startViewTransition(()=>(o(),ev(n)));l.updateCallbackDone.catch(m=>{}),l.ready.catch(m=>{}),l.finished.catch(m=>{});let{onViewTransitionCreated:d}=a;return d&&le(n,()=>d({transition:l,from:i,to:t})),s}function ev(n){return new Promise(i=>{Pt({read:()=>setTimeout(i)},{injector:n})})}var nv=()=>{},yc=new v(""),Wo=(()=>{class n{currentNavigation=X(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=X(null);events=new E;transitionAbortWithErrorSubject=new E;configLoader=c($o);environmentInjector=c(zt);destroyRef=c(on);urlSerializer=c(Vn);rootContexts=c(Ln);location=c(ln);inputBindingEnabled=c(or,{optional:!0})!==null;titleStrategy=c(bc);options=c(zn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||ab;urlHandlingStrategy=c(Go);createViewTransition=c(vc,{optional:!0});navigationErrorHandler=c(yc,{optional:!0});routerResourcesFeature=c(gc,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>A(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=a=>this.events.next(new Fo(a)),e=a=>this.events.next(new Po(a));this.configLoader.onLoadEndListener=e,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let e=++this.navigationId;et(()=>{this.transitions?.next(ct(g({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:e,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new xe(null),this.transitions.pipe(vt(e=>e!==null),Mt(e=>{let a=!0,r=!1,o=new AbortController,s=()=>!r&&this.currentTransition?.id===e.id;return A(e).pipe(Mt(l=>{if(this.navigationId>e.id)return this.cancelNavigationTransition(e,"",ae.SupersededByNewNavigation),we;this.currentTransition=e;let d=this.lastSuccessfulNavigation();this.currentNavigation.set({id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:d?ct(g({},d),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:l.routesRecognizeHandler,beforeActivateHandler:l.beforeActivateHandler});let m=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!m&&_!=="reload")return this.events.next(new hn(l.id,this.urlSerializer.serialize(l.rawUrl),"",Ki.IgnoredSameUrlNavigation)),l.resolve(!1),we;if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return A(l).pipe(Mt(b=>(this.events.next(new Bn(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),b.id!==this.navigationId?we:Promise.resolve(b))),Yb(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),Wt(b=>{e.targetSnapshot=b.targetSnapshot,e.urlAfterRedirects=b.urlAfterRedirects,this.currentNavigation.update(M=>(M.finalUrl=b.urlAfterRedirects,M)),this.events.next(new er)}),Mt(b=>Zt(e.routesRecognizeHandler.deferredHandle??A(void 0)).pipe(st(()=>b))),Wt(()=>{let b=new tr(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(b)}));if(m&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:b,extractedUrl:M,source:D,restoredState:Z,extras:lt}=l,$t=new Bn(b,this.urlSerializer.serialize(M),D,Z);this.events.next($t);let nt=fu(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=e=ct(g({},l),{targetSnapshot:nt,urlAfterRedirects:M,extras:ct(g({},lt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(it=>(it.finalUrl=M,it)),A(e)}else return this.events.next(new hn(l.id,this.urlSerializer.serialize(l.extractedUrl),"",Ki.IgnoredByUrlHandlingStrategy)),l.resolve(!1),we}),st(l=>{let d=new Ao(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);return this.events.next(d),this.currentTransition=e=ct(g({},l),{guards:db(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),e}),xb(l=>this.events.next(l)),Mt(l=>{if(e.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Ya(this.urlSerializer,l.guardsResult);let d=new Ro(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);if(this.events.next(d),!s())return we;if(!l.guardsResult)return this.cancelNavigationTransition(l,"",ae.GuardRejected),we;if(l.guards.canActivateChecks.length===0)return A(l);let m=new To(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);if(this.events.next(m),!s())return we;let _=!1;return A(l).pipe(Xb(this.paramsInheritanceStrategy),Wt({next:()=>{_=!0;let b=new Oo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(b)},complete:()=>{_||this.cancelNavigationTransition(l,"",ae.NoDataFromResolver)}}))}),cc(l=>{let d=_=>{let b=[];if(_.routeConfig?._loadedComponent)_.component=_.routeConfig?._loadedComponent;else if(_.routeConfig?.loadComponent){let M=_._environmentInjector;b.push(this.configLoader.loadComponent(M,_.routeConfig).then(D=>{_.component=D}))}for(let M of _.children)b.push(...d(M));return b},m=d(l.targetSnapshot.root);return m.length===0?A(l):Zt(Promise.all(m).then(()=>l))}),Mt(l=>{let{newlyCreatedRoutes:d,state:m}=ob(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=e=l=ct(g({},l),{targetRouterState:m,newlyCreatedRoutes:d}),this.currentNavigation.update(_=>(_.targetRouterState=m,_)),A(l)}),this.routerResourcesFeature?.setupAndRunResources(o.signal)??(l=>l),cc(()=>this.afterPreactivation()),Mt(()=>{let{currentSnapshot:l,targetSnapshot:d}=e,m=this.createViewTransition?.(this.environmentInjector,l.root,d.root,e.hasUAVisualTransition);return m?Zt(m).pipe(st(()=>e)):A(e)}),Gt(1),Mt(l=>{a=!1,this.events.next(new Xi);let d=e.beforeActivateHandler.deferredHandle;return d?Zt(d.then(()=>l)):A(l)}),Wt(l=>{new ac(t.routeReuseStrategy,e.targetRouterState,e.currentRouterState,d=>this.events.next(d),this.inputBindingEnabled).activate(this.rootContexts),l.newlyCreatedRoutes?.clear(),s()&&(Pu(l.targetRouterState),r=!0,this.currentNavigation.update(d=>(d.abort=nv,d)),this.lastSuccessfulNavigation.set(et(this.currentNavigation)),this.events.next(new Ee(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0))}),kt(ku(o.signal).pipe(vt(()=>!r&&a),Wt(()=>{this.cancelNavigationTransition(e,o.signal.reason+"",ae.Aborted)}))),Wt({complete:()=>{r=!0}}),kt(this.transitionAbortWithErrorSubject.pipe(Wt(l=>{throw l}))),Ai(()=>{o.abort(),r||this.cancelNavigationTransition(e,"",ae.SupersededByNewNavigation),this.currentTransition?.id===e.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ni(l=>{if(r=!0,Zm(e),this.destroyed)return e.resolve(!1),we;if(l instanceof si&&(l=Ya(this.urlSerializer,l)),Su(l))this.events.next(new Be(e.id,this.urlSerializer.serialize(e.extractedUrl),l.message,l.cancellationCode)),cb(l)?this.events.next(new Zi(l.url,l.navigationBehaviorOptions)):e.resolve(!1);else{let d=new oi(e.id,this.urlSerializer.serialize(e.extractedUrl),l,e.targetSnapshot??void 0);try{let m=le(this.environmentInjector,()=>this.navigationErrorHandler?.(d));if(m instanceof si){let{message:_,cancellationCode:b}=Ya(this.urlSerializer,m);this.events.next(new Be(e.id,this.urlSerializer.serialize(e.extractedUrl),_,b)),this.events.next(new Zi(m.redirectTo,m.navigationBehaviorOptions))}else throw this.events.next(d),l}catch(m){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(m)}}return we}))}))}cancelNavigationTransition(t,e,a){Zm(t);let r=new Be(t.id,this.urlSerializer.serialize(t.extractedUrl),e,a);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=et(this.currentNavigation),a=e?.targetBrowserUrl??e?.extractedUrl;return t.toString()!==a?.toString()&&!e?.extras.skipLocationChange}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function iv(n){return n!==$i}function Zm(n){for(let i of n.newlyCreatedRoutes??[])i._localInjector?.destroy(),i._localInjector=void 0;Pu(n.targetRouterState)}function Pu(n){if(!n)return;let i=t=>{t.value.pending?.set(!1),t.children.forEach(i)};i(n._root)}var Lu=new v("");var Bu=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:()=>c(av)})}return n})(),Uo=class{shouldDetach(i){return!1}store(i,t){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,t){return i.routeConfig===t.routeConfig}shouldDestroyInjector(i){return!0}},av=(()=>{class n extends Uo{static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),qo=(()=>{class n{urlSerializer=c(Vn);options=c(zn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=c(ln);urlHandlingStrategy=c(Go);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ge;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:e,targetBrowserUrl:a}){let r=t!==void 0?this.urlHandlingStrategy.merge(t,e):e,o=a??r;return o instanceof ge?this.urlSerializer.serialize(o):o}routerUrlState(t){return t?.targetBrowserUrl===void 0||t?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(t.finalUrl)}}commitTransition({targetRouterState:t,finalUrl:e,initialUrl:a}){e&&t?(this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(e,a),this.routerState=t):this.rawUrlTree=a}routerState=fu(null,c(zt));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:()=>c(rv)})}return n})(),rv=(()=>{class n extends qo{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{e.type==="popstate"&&setTimeout(()=>{t(e.url,e.state,"popstate",{replaceUrl:!0},e.hasUAVisualTransition)})})}handleRouterEvent(t,e){t instanceof Bn?this.updateStateMemento():t instanceof hn?this.commitTransition(e):t instanceof tr?this.urlUpdateStrategy==="eager"&&(e.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof Xi?(this.commitTransition(e),this.urlUpdateStrategy==="deferred"&&!e.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof Be?yu(t)?t.code===ae.Redirect&&this.routerState===e.targetRouterState&&this.resetInternalState(e):this.restoreHistory(e):t instanceof oi?this.restoreHistory(e,!0):t instanceof Ee&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,e){let{extras:a,id:r}=e,{replaceUrl:o,state:s}=a;if(this.location.isCurrentPathEqualTo(t)||o){let l=this.browserPageId,d=g(g({},s),this.generateNgRouterState(r,l,e));this.location.replaceState(t,"",d)}else{let l=g(g({},s),this.generateNgRouterState(r,this.browserPageId+1,e));this.location.go(t,"",l)}}restoreHistory(t,e=!1){if(this.canceledNavigationResolution==="computed"){let a=this.browserPageId,r=this.currentPageId-a;r!==0?this.location.historyGo(r):this.getCurrentUrlTree()===t.finalUrl&&r===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(e&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e,a){return this.canceledNavigationResolution==="computed"?g({navigationId:t,\u0275routerPageId:e},this.routerUrlState(a)):g({navigationId:t},this.routerUrlState(a))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function Ko(n,i){n.events.pipe(vt(t=>t instanceof Ee||t instanceof Be||t instanceof oi||t instanceof hn),st(t=>t instanceof Ee||t instanceof hn?0:(t instanceof Be?t.code===ae.Redirect||t.code===ae.SupersededByNewNavigation:!1)?2:1),vt(t=>t!==2),Gt(1)).subscribe(()=>{i()})}var be=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=c(dl);stateManager=c(qo);options=c(zn,{optional:!0})||{};pendingTasks=c(Pd);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=c(Wo);urlSerializer=c(Vn);location=c(ln);urlHandlingStrategy=c(Go);injector=c(zt);_events=new E;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=c(Bu);injectorCleanup=c(Lu,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=c(ta,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!c(or,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Et;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(e=>{try{let a=this.navigationTransitions.currentTransition,r=et(this.navigationTransitions.currentNavigation);if(a!==null&&r!==null){if(this.stateManager.handleRouterEvent(e,r),e instanceof Be&&e.code!==ae.Redirect&&e.code!==ae.SupersededByNewNavigation)this.navigated=!0;else if(e instanceof Ee)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(e instanceof Zi){let o=e.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(e.url,a.currentRawUrl),l=g({scroll:a.extras.scroll,browserUrl:a.extras.browserUrl,info:a.extras.info,skipLocationChange:a.extras.skipLocationChange,replaceUrl:a.extras.replaceUrl||this.urlUpdateStrategy==="eager"||iv(a.source)},o);this.scheduleNavigation(s,$i,null,l,a.hasUAVisualTransition,{resolve:a.resolve,reject:a.reject,promise:a.promise})}}rb(e)&&this._events.next(e)}catch(a){this.navigationTransitions.transitionAbortWithErrorSubject.next(a)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$i,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e,a,r,o)=>{this.navigateToSyncWithBrowser(t,a,e,r,o)})}navigateToSyncWithBrowser(t,e,a,r,o){let s=a?.navigationId?a:null,l=a?.\u0275routerUrl??t;if(a?.\u0275routerUrl&&(r=ct(g({},r),{browserUrl:t})),a){let m=g({},a);delete m.navigationId,delete m.\u0275routerPageId,delete m.\u0275routerUrl,Object.keys(m).length!==0&&(r.state=m)}let d=this.parseUrl(l);this.scheduleNavigation(d,e,s,r,o).catch(m=>{this.disposed||this.injector.get(Na)(m)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return et(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(fc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){let{relativeTo:a,queryParams:r,fragment:o,queryParamsHandling:s,preserveFragment:l}=e,d=l?this.currentUrlTree.fragment:o,m=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":m=g(g({},this.currentUrlTree.queryParams),r);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=r||null}m!==null&&(m=this.removeEmptyProps(m));let _;try{let b=a?a.snapshot:this.routerState.snapshot.root;_=mu(b)}catch(b){(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),_=this.currentUrlTree.root}return uu(_,t,m,d??null,this.urlSerializer)}navigateByUrl(t,e={skipLocationChange:!1}){let a=Pn(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(a,this.rawUrlTree);return this.scheduleNavigation(r,$i,null,e)}navigate(t,e={skipLocationChange:!1}){return ov(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch(e){return this.console.warn(In(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,e){let a;if(e===!0?a=g({},dc):e===!1?a=g({},Wi):a=g(g({},Wi),e),Pn(t))return ko(this.currentUrlTree,t,a);let r=this.parseUrl(t);return ko(this.currentUrlTree,r,a)}removeEmptyProps(t){return Object.entries(t).reduce((e,[a,r])=>(r!=null&&(e[a]=r),e),{})}scheduleNavigation(t,e,a,r,o,s){if(this.disposed)return Promise.resolve(!1);let l,d,m;s?(l=s.resolve,d=s.reject,m=s.promise):m=new Promise((b,M)=>{l=b,d=M});let _=this.pendingTasks.add();return Ko(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:a,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,hasUAVisualTransition:o,resolve:l,reject:d,promise:m,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),m.catch(Promise.reject.bind(Promise))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function ov(n){for(let i=0;i{class n{router=c(be);stateManager=c(qo);fragment=X("");queryParams=X({});path=X("");serializer=c(Vn);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof Ee&&this.updateState()})}updateState(){let{fragment:t,root:e,queryParams:a}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(a),this.path.set(this.serializer.serialize(new ge(e)))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Ve=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=c(new Jr("href"),{optional:!0});reactiveHref=fl(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let t=e=>e==="preserve"||e==="merge";return(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return et(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return et(this._target)}_target=X(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return et(this._queryParams)}_queryParams=X(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return et(this._fragment)}_fragment=X(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return et(this._queryParamsHandling)}_queryParamsHandling=X(void 0);set state(t){this._state.set(t)}get state(){return et(this._state)}_state=X(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return et(this._info)}_info=X(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return et(this._relativeTo)}_relativeTo=X(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return et(this._preserveFragment)}_preserveFragment=X(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return et(this._skipLocationChange)}_skipLocationChange=X(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return et(this._replaceUrl)}_replaceUrl=X(!1);browserUrl=ii(void 0);isAnchorElement;onChanges=new E;applicationErrorHandler=c(Na);options=c(zn,{optional:!0});reactiveRouterState=c(sv);constructor(t,e,a,r,o,s){this.router=t,this.route=e,this.tabIndexAttribute=a,this.renderer=r,this.el=o,this.locationStrategy=s;let l=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=X(null);set routerLink(t){t==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Pn(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,a,r,o){let s=this.urlTree;if(s===null||this.isAnchorElement&&(t!==0||e||a||r||o||typeof this.target=="string"&&this.target!="_self"))return!0;let l=this.browserUrl(),d=g({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},l!==void 0&&{browserUrl:l});return this.router.navigateByUrl(s,d)?.catch(m=>{this.applicationErrorHandler(m)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,e){let a=this.renderer,r=this.el.nativeElement;e!==null?a.setAttribute(r,t,e):a.removeAttribute(r,t)}createUrlTree(){let t=this.routerLinkInput();return t===null||!this.router.createUrlTree?null:Pn(t)?t:this.router.createUrlTree(t,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return et(()=>this.createUrlTree())}computeHref(t){return t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static \u0275fac=function(e){return new(e||n)(U(be),U(Je),ol("tabindex"),U(pt),U(R),U(Ze))};static \u0275dir=x({type:n,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(e,a){e&1&&B("click",function(o){return a.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),e&2&&H("href",a.reactiveHref(),Xd)("target",a._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",j],skipLocationChange:[2,"skipLocationChange","skipLocationChange",j],replaceUrl:[2,"replaceUrl","replaceUrl",j],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[Dt]})}return n})(),wc=(()=>{class n{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Q;link=c(Ve,{optional:!0});constructor(t,e,a,r){this.router=t,this.element=e,this.renderer=a,this.cdr=r,this.routerEventsSubscription=t.events.subscribe(o=>{o instanceof Ee&&this.update()})}ngAfterContentInit(){A(this.links.changes,A(null)).pipe(Ea()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=Zt(t).pipe(Ea()).subscribe(e=>{this._isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(t){if(t==null){this.classes=[];return}let e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(a=>!!a)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||this.routerLinkActiveOptions===null&&!this._isActive||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let e=this.routerLinkActiveOptions;if(e===null)return()=>!1;let a;return e===void 0?a=g({},Wi):lv(e)?a=e:e.exact??!1?a=g({},dc):a=g({},Wi),r=>{let o=r.urlTree;return o?et(mc(o,t,a)):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(e){return new(e||n)(U(be),U(R),U(pt),U(xt))};static \u0275dir=x({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(e,a,r){if(e&1&&ne(r,Ve,5),e&2){let o;P(o=L())&&(a.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Dt]})}return n})();function lv(n){let i=n;return!!(i.paths||i.matrixParams||i.queryParams||i.fragment)}var lr=class{};var Vu=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(t,e,a,r){this.router=t,this.injector=e,this.preloadingStrategy=a,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(vt(t=>t instanceof Ee),Qn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(t,e){let a=[];for(let r of e){r.providers&&!r._injector&&(r._injector=qr(r.providers,t,""));let o=r._injector??t;r._loadedNgModuleFactory&&!r._loadedInjector&&(r._loadedInjector=r._loadedNgModuleFactory.create(o).injector);let s=r._loadedInjector??o;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&a.push(this.preloadConfig(o,r)),(r.children||r._loadedRoutes)&&a.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Zt(a).pipe(Ea())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>{if(t.destroyed)return A(null);let a;e.loadChildren&&e.canLoad===void 0?a=Zt(this.loader.loadChildren(t,e)):a=A(null);let r=a.pipe(an(o=>o===null?A(void 0):(e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,this.processRoutes(o.injector??t,o.routes))));if(e.loadComponent&&!e._loadedComponent){let o=this.loader.loadComponent(t,e);return Zt([r,o]).pipe(Ea())}else return r})}static \u0275fac=function(e){return new(e||n)(T(be),T(zt),T(lr),T($o))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),zu=new v(""),cv=(()=>{class n{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=$i;restoredId=0;store={};isHydrating=c(Ud,{optional:!0})??!1;urlSerializer=c(Vn);zone=c(O);viewportScroller=c(Dl);transitions=c(Wo);constructor(t){this.options=t,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&c(Ye).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Bn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ee?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof hn&&t.code===Ki.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof Yi)||t.scrollBehavior==="manual")return;let e={behavior:"instant"};t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],e):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position,e):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,e){if(this.isHydrating)return;let a=et(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>wt(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new Yi(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,e,a))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(e){Rn()};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})();function dv(){return c(be).routerState.root}function cr(n,i){return{\u0275kind:n,\u0275providers:i}}function mv(){let n=c(K);return i=>{let t=n.get(Ye);if(i!==t.components[0])return;let e=n.get(be),a=n.get(ju);n.get(Sc)===1&&e.initialNavigation(),n.get($u,null,{optional:!0})?.setUpPreloading(),n.get(zu,null,{optional:!0})?.init(),e.resetRootComponentType(t.componentTypes[0]),a.closed||(a.next(),a.complete(),a.unsubscribe())}}var ju=new v("",{factory:()=>new E}),Sc=new v("",{factory:()=>1});function Uu(){let n=[{provide:sl,useValue:!0},{provide:Sc,useValue:0},ll(()=>{let i=c(K);return i.get(yl,Promise.resolve()).then(()=>new Promise(e=>{let a=i.get(be),r=i.get(ju);Ko(a,()=>{e(!0)}),i.get(Wo).afterPreactivation=()=>(e(!0),r.closed?A(void 0):r),a.initialNavigation()}))})];return cr(2,n)}function Hu(){let n=[ll(()=>{c(be).setUpLocationChangeListener()}),{provide:Sc,useValue:2}];return cr(3,n)}var $u=new v("");function Gu(n){return cr(0,[{provide:$u,useExisting:Vu},{provide:lr,useExisting:n}])}function Wu(n={}){return cr(8,[{provide:or,useFactory:()=>new _u(n,c(gc,{optional:!0}))}])}function qu(n){Ra("NgRouterViewTransitions");let i=[{provide:vc,useValue:Fu},{provide:_c,useValue:g({skipNextTransition:!!n?.skipInitialTransition},n)}];return cr(9,i)}var Ku=[ln,{provide:Vn,useClass:Cn},be,Ln,{provide:Je,useFactory:dv},$o],Yo=(()=>{class n{constructor(){}static forRoot(t,e){return{ngModule:n,providers:[Ku,[],{provide:ta,multi:!0,useValue:t},[],e?.errorHandler?{provide:yc,useValue:e.errorHandler}:[],{provide:zn,useValue:e||{}},e?.useHash?hv():pv(),uv(),e?.preloadingStrategy?Gu(e.preloadingStrategy).\u0275providers:[],e?.initialNavigation?fv(e):[],e?.bindToComponentInputs?Wu(typeof e.bindToComponentInputs=="object"?e.bindToComponentInputs:{}).\u0275providers:[],e?.enableViewTransitions?qu().\u0275providers:[],gv()]}}static forChild(t){return{ngModule:n,providers:[{provide:ta,multi:!0,useValue:t}]}}static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({})}return n})();function uv(){return{provide:zu,useFactory:()=>{let n=c(Dl),i=c(zn);return i.scrollOffset&&n.setOffset(i.scrollOffset),new cv(i)}}}function hv(){return{provide:Ze,useClass:xl}}function pv(){return{provide:Ze,useClass:io}}function fv(n){return[n.initialNavigation==="disabled"?Hu().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Uu().\u0275providers:[]]}var xc=new v("");function gv(){return[{provide:xc,useFactory:mv},{provide:ul,multi:!0,useExisting:xc}]}function ci(n){return n.buttons===0||n.detail===0}function di(n){let i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var Cc;function Yu(){if(Cc==null){let n=typeof document<"u"?document.head:null;Cc=!!(n&&(n.createShadowRoot||n.attachShadow))}return Cc}function kc(n){if(Yu()){let i=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function jn(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function ce(n){if(n.composedPath)try{return n.composedPath()[0]}catch(i){}return n.target}var Mc;try{Mc=typeof Intl<"u"&&Intl.v8BreakIterator}catch(n){Mc=!1}var ut=(()=>{class n{_platformId=c(Ri);isBrowser=this._platformId?_m(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Mc)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var dr;function Xu(){if(dr==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>dr=!0}))}finally{dr=dr||!1}return dr}function ea(n){return Xu()?n:!!n.capture}function pn(n,i=0){return Zu(n)?Number(n):arguments.length===2?i:0}function Zu(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function ve(n){return n instanceof R?n.nativeElement:n}var Qu=new v("cdk-input-modality-detector-options"),Ju={ignoreKeys:[18,17,224,91,16]},th=650,Dc={passive:!0,capture:!0},eh=(()=>{class n{_platform=c(ut);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new xe(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(e=>e===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ce(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs{if(di(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ce(t)};constructor(){let t=c(O),e=c(F),a=c(Qu,{optional:!0});if(this._options=g(g({},Ju),a),this.modalityDetected=this._modality.pipe(Hr(1)),this.modalityChanged=this.modalityDetected.pipe(nl()),this._platform.isBrowser){let r=c(Jt).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[r.listen(e,"keydown",this._onKeydown,Dc),r.listen(e,"mousedown",this._onMousedown,Dc),r.listen(e,"touchstart",this._onTouchstart,Dc)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),mr=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(mr||{}),nh=new v("cdk-focus-monitor-default-options"),Zo=ea({passive:!0,capture:!0}),fn=(()=>{class n{_ngZone=c(O);_platform=c(ut);_inputModalityDetector=c(eh);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=c(F);_stopInputModalityDetector=new E;constructor(){let t=c(nh,{optional:!0});this._detectionMode=t?.detectionMode||mr.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let e=ce(t);for(let a=e;a;a=a.parentElement)t.type==="focus"?this._onFocus(t,a):this._onBlur(t,a)};monitor(t,e=!1){let a=ve(t);if(!this._platform.isBrowser||a.nodeType!==1)return A();let r=kc(a)||this._document,o=this._elementInfo.get(a);if(o)return e&&(o.checkChildren=!0),o.subject;let s={checkChildren:e,subject:new E,rootNode:r};return this._elementInfo.set(a,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){let e=ve(t),a=this._elementInfo.get(e);a&&(a.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(a))}focusVia(t,e,a){let r=ve(t),o=this._document.activeElement;r===o?this._getClosestElementsInfo(r).forEach(([s,l])=>this._originChanged(s,e,l)):(this._setOrigin(e),typeof r.focus=="function"&&r.focus(a))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===mr.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,e){t.classList.toggle("cdk-focused",!!e),t.classList.toggle("cdk-touch-focused",e==="touch"),t.classList.toggle("cdk-keyboard-focused",e==="keyboard"),t.classList.toggle("cdk-mouse-focused",e==="mouse"),t.classList.toggle("cdk-program-focused",e==="program")}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&e,this._detectionMode===mr.IMMEDIATE){clearTimeout(this._originTimeoutId);let a=this._originFromTouchInteraction?th:1;this._originTimeoutId=setTimeout(()=>this._origin=null,a)}})}_onFocus(t,e){let a=this._elementInfo.get(e),r=ce(t);!a||!a.checkChildren&&e!==r||this._originChanged(e,this._getFocusOrigin(r),a)}_onBlur(t,e){let a=this._elementInfo.get(e);!a||a.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(a,null))}_emitOrigin(t,e){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let e=t.rootNode,a=this._rootNodeFocusListenerCount.get(e)||0;a||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zo),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zo)}),this._rootNodeFocusListenerCount.set(e,a+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(kt(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){let e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){let a=this._rootNodeFocusListenerCount.get(e);a>1?this._rootNodeFocusListenerCount.set(e,a-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zo),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zo),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,a){this._setClasses(t,e),this._emitOrigin(a,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){let e=[];return this._elementInfo.forEach((a,r)=>{(r===t||a.checkChildren&&r.contains(t))&&e.push([r,a])}),e}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:e,mostRecentModality:a}=this._inputModalityDetector;if(a!=="mouse"||!e||e===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let r=t.labels;if(r){for(let o=0;o{class n{_appRef;_injector=c(K);_environmentInjector=c(zt);load(t){let e=this._appRef=this._appRef||this._injector.get(Ye),a=Qo.get(e);a||(a={loaders:new Set,refs:[]},Qo.set(e,a),e.onDestroy(()=>{Qo.get(e)?.refs.forEach(r=>r.destroy()),Qo.delete(e)})),a.loaders.has(t)||(a.loaders.add(t),a.refs.push(to(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var na=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(e,a){},styles:[`.cdk-visually-hidden { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + white-space: nowrap; + outline: 0; + -webkit-appearance: none; + -moz-appearance: none; + left: 0; +} +[dir=rtl] .cdk-visually-hidden { + left: auto; + right: 0; +} +`],encapsulation:2})}return n})(),Jo;function bv(){if(Jo===void 0&&(Jo=null,typeof window<"u")){let n=window;if(n.trustedTypes!==void 0)try{Jo=n.trustedTypes.createPolicy("angular#components",{createHTML:i=>i})}catch(i){console.error(i)}}return Jo}function mi(n){return bv()?.createHTML(n)||n}function ih(n,i,t){let e=t.sanitize(he.HTML,i);n.innerHTML=mi(e||"")}function kn(n){return Array.isArray(n)?n:[n]}var ah=new Set,ui,ts=(()=>{class n{_platform=c(ut);_nonce=c(ti,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_v}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&vv(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function vv(n,i){if(!ah.has(n))try{ui||(ui=document.createElement("style"),i&&ui.setAttribute("nonce",i),ui.setAttribute("type","text/css"),document.head.appendChild(ui)),ui.sheet&&(ui.sheet.insertRule(`@media ${n.replace(/[{}]/g,"")} {body{ }}`,0),ah.add(n))}catch(t){console.error(t)}}function _v(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var ur=(()=>{class n{_mediaMatcher=c(ts);_zone=c(O);_queries=new Map;_destroySubject=new E;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return rh(kn(t)).some(a=>this._registerQuery(a).mql.matches)}observe(t){let a=rh(kn(t)).map(o=>this._registerQuery(o).observable),r=Da(a);return r=jr(r.pipe(Gt(1)),r.pipe(Hr(1),Ii(0))),r.pipe(st(o=>{let s={matches:!1,breakpoints:{}};return o.forEach(({matches:l,query:d})=>{s.matches=s.matches||l,s.breakpoints[d]=l}),s}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let e=this._mediaMatcher.matchMedia(t),r={observable:new oe(o=>{let s=l=>this._zone.run(()=>o.next(l));return e.addListener(s),()=>{e.removeListener(s)}}).pipe(Ft(e),st(({matches:o})=>({query:t,matches:o})),kt(this._destroySubject)),mql:e};return this._queries.set(t,r),r}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function rh(n){return n.map(i=>i.split(",")).reduce((i,t)=>i.concat(t)).map(i=>i.trim())}function yv(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let i=0;i{class n{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),xv=(()=>{class n{_mutationObserverFactory=c(oh);_observedElements=new Map;_ngZone=c(O);ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){let e=ve(t);return new oe(a=>{let o=this._observeElement(e).pipe(st(s=>s.filter(l=>!yv(l))),vt(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{a.next(s)})});return()=>{o.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let e=new E,a=this._mutationObserverFactory.create(r=>e.next(r));a&&a.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:a,stream:e,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:e,stream:a}=this._observedElements.get(t);e&&e.disconnect(),a.complete(),this._observedElements.delete(t)}}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),sh=(()=>{class n{_contentObserver=c(xv);_elementRef=c(R);event=new Q;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(t){this._debounce=pn(t),this._subscribe()}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(Ii(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",j],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return n})(),es=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({providers:[oh]})}return n})();var Nc=(()=>{class n{_platform=c(ut);isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return Sv(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let e=wv(Av(t));if(e&&(lh(e)===-1||!this.isVisible(e)))return!1;let a=t.nodeName.toLowerCase(),r=lh(t);return t.hasAttribute("contenteditable")?r!==-1:a==="iframe"||a==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Nv(t)?!1:a==="audio"?t.hasAttribute("controls")?r!==-1:!1:a==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,e){return Iv(t)&&!this.isDisabled(t)&&(e?.ignoreInert||!t.closest?.("[inert]"))&&(e?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function wv(n){try{return n.frameElement}catch(i){return null}}function Sv(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Cv(n){let i=n.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function kv(n){return Dv(n)&&n.type=="hidden"}function Mv(n){return Ev(n)&&n.hasAttribute("href")}function Dv(n){return n.nodeName.toLowerCase()=="input"}function Ev(n){return n.nodeName.toLowerCase()=="a"}function ch(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let i=n.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function lh(n){if(!ch(n))return null;let i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Nv(n){let i=n.nodeName.toLowerCase(),t=i==="input"&&n.type;return t==="text"||t==="password"||i==="select"||i==="textarea"}function Iv(n){return kv(n)?!1:Cv(n)||Mv(n)||n.hasAttribute("contenteditable")||ch(n)}function Av(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Ec=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,t,e,a,r=!1,o){this._element=i,this._checker=t,this._ngZone=e,this._document=a,this._injector=o,r||this.attachAnchors()}destroy(){let i=this._startAnchor,t=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let t=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let e=this._getFirstTabbableElement(t);return e?.focus(i),!!e}return t.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let t=this._getRegionBoundary("start");return t&&t.focus(i),!!t}focusLastTabbableElement(i){let t=this._getRegionBoundary("end");return t&&t.focus(i),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let t=i.children;for(let e=0;e=0;e--){let a=t[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[e]):null;if(a)return a}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,t){i?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){Pt(i,{injector:this._injector})}},Ic=(()=>{class n{_checker=c(Nc);_ngZone=c(O);_document=c(F);_injector=c(K);constructor(){c(Bt).load(na)}create(t,e=!1){return new Ec(t,this._checker,this._ngZone,this._document,e,this._injector)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var dh=new v("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),mh=new v("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Rv=0,Ac=(()=>{class n{_ngZone=c(O);_defaultOptions=c(mh,{optional:!0});_liveElement;_document=c(F);_sanitizer=c(Ga);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=c(dh,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...e){let a=this._defaultOptions,r,o;return e.length===1&&typeof e[0]=="number"?o=e[0]:[r,o]=e,this.clear(),clearTimeout(this._previousTimeout),r||(r=a&&a.politeness?a.politeness:"polite"),o==null&&a&&(o=a.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!t||typeof t=="string"?this._liveElement.textContent=t:ih(this._liveElement,t,this._sanitizer),typeof o=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),a=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let a=0;a=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Wt(t=>this._pressedLetters.push(t)),Ii(i),vt(()=>this._pressedLetters.length>0),st(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let e=1;en[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var ia=class{_items;_activeItemIndex=X(-1);_activeItem=X(null);_wrap=!1;_typeaheadSubscription=Et.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=i=>i.disabled;constructor(i,t){this._items=i,i instanceof ei?this._itemChangesSubscription=i.changes.subscribe(e=>this._itemsChanged(e.toArray())):Re(i)&&(this._effectRef=qe(()=>this._itemsChanged(i()),{injector:t}))}tabOut=new E;change=new E;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new ns(t,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.setActiveItem(e)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,t=10){return this._pageUpAndDown={enabled:i,delta:t},this}setActiveItem(i){let t=this._activeItem();this.updateActiveItem(i),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(i){let t=i.keyCode,a=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&a){this.setNextItemActive();break}else return;case 38:if(this._vertical&&a){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&a){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&a){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&a){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&a){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&a){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&a){let r=this._activeItemIndex()+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&e!==this._activeItemIndex()&&(this._activeItemIndex.set(e),this._typeahead?.setCurrentSelectedItemIndex(e))}}};var hr=class extends ia{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var hi=class extends ia{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var uh=new Map,St=class n{_appId=c(Ia);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(i,t=!1){this._appId!=="ng"&&(i+=this._appId);let e=uh.get(i);return e===void 0?e=0:e++,uh.set(i,e),`${i}${t?n._infix+"-":""}${e}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})};var as={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};function Oc(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Vt(n){return n==null?"":typeof n=="string"?n:`${n}px`}var Fv=new v("cdk-dir-doc",{providedIn:"root",factory:()=>c(F)}),Pv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function hh(n){let i=n?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?Pv.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var de=(()=>{class n{get value(){return this.valueSignal()}valueSignal=X("ltr");change=new Q;constructor(){let t=c(Fv,{optional:!0});if(t){let e=t.body?t.body.dir:null,a=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(hh(e||a||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var tn=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(tn||{}),rs,pi;function os(){if(pi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return pi=!1,pi;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)pi=!0;else{let n=Element.prototype.scrollTo;n?pi=!/\{\s*\[native code\]\s*\}/.test(n.toString()):pi=!1}}return pi}function ra(){if(typeof document!="object"||!document)return tn.NORMAL;if(rs==null){let n=document.createElement("div"),i=n.style;n.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let t=document.createElement("div"),e=t.style;e.width="2px",e.height="1px",n.appendChild(t),document.body.appendChild(n),rs=tn.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,rs=n.scrollLeft===0?tn.NEGATED:tn.INVERTED),n.remove()}return rs}var Xt=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({})}return n})();var Lv=20,ss=(()=>{class n{_ngZone=c(O);_platform=c(ut);_renderer=c(Jt).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new E;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Lv){return this._platform.isBrowser?new oe(e=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let a=t>0?this._scrolled.pipe(el(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{a.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):A()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){let a=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(vt(r=>!r||a.indexOf(r)>-1))}getAncestorScrollContainers(t){let e=[];return this.scrollContainers.forEach((a,r)=>{this._targetContainsElement(r,t)&&e.push(r)}),e}_targetContainsElement(t,e){let a=ve(e),r=t.getElementRef().nativeElement;do if(a==r)return!0;while(a=a.parentElement);return!1}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),ph=(()=>{class n{elementRef=c(R);scrollDispatcher=c(ss);ngZone=c(O);dir=c(de,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new E;_renderer=c(pt);_cleanupScroll;_elementScrolled=new E;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let e=this.elementRef.nativeElement,a=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=a?t.end:t.start),t.right==null&&(t.right=a?t.start:t.end),t.bottom!=null&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),a&&ra()!=tn.NORMAL?(t.left!=null&&(t.right=e.scrollWidth-e.clientWidth-t.left),ra()==tn.INVERTED?t.left=t.right:ra()==tn.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let e=this.elementRef.nativeElement;os()?e.scrollTo(t):(t.top!=null&&(e.scrollTop=t.top),t.left!=null&&(e.scrollLeft=t.left))}measureScrollOffset(t){let e="left",a="right",r=this.elementRef.nativeElement;if(t=="top")return r.scrollTop;if(t=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let o=this.dir&&this.dir.value=="rtl";return t=="start"?t=o?a:e:t=="end"&&(t=o?e:a),o&&ra()==tn.INVERTED?t==e?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:o&&ra()==tn.NEGATED?t==e?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:t==e?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),Bv=20,fi=(()=>{class n{_platform=c(ut);_listeners;_viewportSize=null;_change=new E;_document=c(F);constructor(){let t=c(O),e=c(Jt).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let a=r=>this._change.next(r);this._listeners=[e.listen("window","resize",a),e.listen("window","orientationchange",a)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:e,height:a}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+a,right:t.left+e,height:a,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,e=this._getWindow(),a=t.documentElement,r=a.getBoundingClientRect(),o=-r.top||t.body?.scrollTop||e.scrollY||a.scrollTop||0,s=-r.left||t.body?.scrollLeft||e.scrollX||a.scrollLeft||0;return{top:o,left:s}}change(t=Bv){return t>0?this._change.pipe(el(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var pr=class{_attachedHost=null;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Mn=class extends pr{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(i,t,e,a,r,o){super(),this.component=i,this.viewContainerRef=t,this.injector=e,this.projectableNodes=a,this.bindings=r||null,this.directives=o||null}},ze=class extends pr{templateRef;viewContainerRef;context;injector;constructor(i,t,e,a){super(),this.templateRef=i,this.viewContainerRef=t,this.context=e,this.injector=a}get origin(){return this.templateRef.elementRef}attach(i,t=this.context){return this.context=t,super.attach(i)}detach(){return this.context=void 0,super.detach()}},Fc=class extends pr{element;constructor(i){super(),this.element=i instanceof R?i.nativeElement:i}},Hn=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Mn)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof ze)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof Fc)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},fr=class extends Hn{outletElement;_appRef;_defaultInjector;constructor(i,t,e){super(),this.outletElement=i,this._appRef=t,this._defaultInjector=e}attachComponentPortal(i){let t;if(i.viewContainerRef){let e=i.injector||i.viewContainerRef.injector,a=e.get(Wr,null,{optional:!0})||void 0;t=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:e,ngModuleRef:a,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0,directives:i.directives||void 0}),this.setDisposeFn(()=>t.destroy())}else{let e=this._appRef,a=i.injector||this._defaultInjector||K.NULL,r=a.get(zt,e.injector);t=to(i.component,{elementInjector:a,environmentInjector:r,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0,directives:i.directives||void 0}),e.attachView(t.hostView),this.setDisposeFn(()=>{e.viewCount>0&&e.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=i,t}attachTemplatePortal(i){let t=i.viewContainerRef,e=t.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return e.rootNodes.forEach(a=>this.outletElement.appendChild(a)),e.detectChanges(),this.setDisposeFn(()=>{let a=t.indexOf(e);a!==-1&&t.remove(a)}),this._attachedPortal=i,e}attachDomPortal=i=>{let t=i.element;t.parentNode;let e=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(e,t),this.outletElement.appendChild(t),this._attachedPortal=i,super.setDisposeFn(()=>{e.parentNode&&e.parentNode.replaceChild(t,e)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var $n=(()=>{class n extends Hn{_moduleRef=c(Wr,{optional:!0});_document=c(F);_viewContainerRef=c(Oe);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new Q;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let e=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,a=e.createComponent(t.component,{index:e.length,injector:t.injector||e.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0});return e!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}attachDomPortal=t=>{let e=t.element;e.parentNode;let a=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(a,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(e,a)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ot]})}return n})();var fh=os();function gr(n){return new ls(n.get(fi),n.get(F))}var ls=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,t){this._viewportRuler=i,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=Vt(-this._previousScrollPosition.left),i.style.top=Vt(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,t=this._document.body,e=i.style,a=t.style,r=e.scrollBehavior||"",o=a.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),fh&&(e.scrollBehavior=a.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),fh&&(e.scrollBehavior=r,a.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}};var cs=class{enable(){}disable(){}attach(){}};function Lc(n,i){return i.some(t=>{let e=n.bottomt.bottom,r=n.rightt.right;return e||a||r||o})}function gh(n,i){return i.some(t=>{let e=n.topt.bottom,r=n.leftt.right;return e||a||r||o})}function br(n,i){return new ds(n.get(ss),n.get(fi),n.get(O),i)}var ds=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,t,e,a){this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=e,this._config=a}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:a}=this._viewportRuler.getViewportSize();Lc(t,[{width:e,height:a,bottom:a,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}};var je=class{positionStrategy;scrollStrategy=new cs;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(i){if(i){let t=Object.keys(i);for(let e of t)i[e]!==void 0&&(this[e]=i[e])}}};var ms=class{connectionPair;scrollableViewProperties;constructor(i,t){this.connectionPair=i,this.scrollableViewProperties=t}};var wh=(()=>{class n{_attachedOverlays=[];_document=c(F);_isAttached=!1;ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(t,e,a){return a.observers.length<1?!1:t.eventPredicate?t.eventPredicate(e):!0}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Sh=(()=>{class n extends wh{_ngZone=c(O);_renderer=c(Jt).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let e=this._attachedOverlays;for(let a=e.length-1;a>-1;a--){let r=e[a];if(this.canReceiveEvent(r,t,r._keydownEvents)){this._ngZone.run(()=>r._keydownEvents.next(t));break}}};static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Ch=(()=>{class n extends wh{_platform=c(ut);_ngZone=c(O);_renderer=c(Jt).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(t){if(super.add(t),!this._isAttached){let e=this._document.body,a={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(e,"pointerdown",this._pointerDownListener,a),r.listen(e,"click",this._clickListener,a),r.listen(e,"auxclick",this._clickListener,a),r.listen(e,"contextmenu",this._clickListener,a)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=ce(t)};_clickListener=t=>{let e=ce(t),a=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let o=r.length-1;o>-1;o--){let s=r[o],l=s._outsidePointerEvents;if(!(!s.hasAttached()||!this.canReceiveEvent(s,t,l))){if(bh(s.overlayElement,e)||bh(s.overlayElement,a))break;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}}};static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function bh(n,i){let t=typeof ShadowRoot<"u"&&ShadowRoot,e=i;for(;e;){if(e===n)return!0;e=t&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var kh=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(e,a){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { + pointer-events: none; + top: 0; + left: 0; + height: 100%; + width: 100%; +} + +.cdk-overlay-container { + position: fixed; +} +@layer cdk-overlay { + .cdk-overlay-container { + z-index: 1000; + } +} +.cdk-overlay-container:empty { + display: none; +} + +.cdk-global-overlay-wrapper { + display: flex; + position: absolute; +} +@layer cdk-overlay { + .cdk-global-overlay-wrapper { + z-index: 1000; + } +} + +.cdk-overlay-pane { + position: absolute; + pointer-events: auto; + box-sizing: border-box; + display: flex; + max-width: 100%; + max-height: 100%; +} +@layer cdk-overlay { + .cdk-overlay-pane { + z-index: 1000; + } +} + +.cdk-overlay-backdrop { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + pointer-events: auto; + -webkit-tap-highlight-color: transparent; + opacity: 0; + touch-action: manipulation; +} +@layer cdk-overlay { + .cdk-overlay-backdrop { + z-index: 1000; + transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); + } +} +@media (prefers-reduced-motion) { + .cdk-overlay-backdrop { + transition-duration: 1ms; + } +} + +.cdk-overlay-backdrop-showing { + opacity: 1; +} +@media (forced-colors: active) { + .cdk-overlay-backdrop-showing { + opacity: 0.6; + } +} + +@layer cdk-overlay { + .cdk-overlay-dark-backdrop { + background: rgba(0, 0, 0, 0.32); + } +} + +.cdk-overlay-transparent-backdrop { + transition: visibility 1ms linear, opacity 1ms linear; + visibility: hidden; + opacity: 1; +} +.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { + opacity: 0; + visibility: visible; +} + +.cdk-overlay-backdrop-noop-animation { + transition: none; +} + +.cdk-overlay-connected-position-bounding-box { + position: absolute; + display: flex; + flex-direction: column; + min-width: 1px; + min-height: 1px; +} +@layer cdk-overlay { + .cdk-overlay-connected-position-bounding-box { + z-index: 1000; + } +} + +.cdk-global-scrollblock { + position: fixed; + width: 100%; + overflow-y: scroll; +} + +.cdk-overlay-popover { + background: none; + border: none; + padding: 0; + outline: 0; + overflow: visible; + position: fixed; + pointer-events: none; + white-space: normal; + color: inherit; + text-decoration: none; + width: 100%; + height: 100%; + inset: auto; + top: 0; + left: 0; +} +.cdk-overlay-popover::backdrop { + display: none; +} +.cdk-overlay-popover .cdk-overlay-backdrop { + position: fixed; + z-index: auto; +} +`],encapsulation:2})}return n})(),ps=(()=>{class n{_platform=c(ut);_containerElement;_document=c(F);_styleLoader=c(Bt);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Oc()){let a=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let r=0;r{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function zc(n){return n&&n.nodeType===1}var Pc=X([]),oa=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new E;_attachments=new E;_detachments=new E;_positionStrategy;_scrollStrategy;_locationChanges;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new E;_outsidePointerEvents=new E;_afterNextRenderRef;constructor(i,t,e,a,r,o,s,l,d,m=!1,_,b){this._portalOutlet=i,this._host=t,this._pane=e,this._config=a,this._ngZone=r,this._keyboardDispatcher=o,this._document=s,this._location=l,this._outsideClickDispatcher=d,this._animationsDisabled=m,this._injector=_,this._renderer=b,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(i){if(this._disposed)return null;this._attachHost();let t=this._portalOutlet.attach(i);if(this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),et(()=>{Pc.update(e=>e.includes(this)?e:[...e,this])}),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Pt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation===!0||this._config.disposeOnNavigation==="pop-state"){let e=this._location.subscribe(()=>this.dispose());this._locationChanges=()=>e.unsubscribe()}else this._config.disposeOnNavigation==="url-change"&&(this._locationChanges=this._location.onUrlChange(()=>this.dispose()));return this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges?.(),this._outsideClickDispatcher.remove(this),et(()=>{Pc.update(t=>t.filter(e=>e!==this))}),i}dispose(){if(this._disposed)return;let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges?.(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0,et(()=>{Pc.update(t=>t.filter(e=>e!==this))})}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=g(g({},this._config),i),this._updateElementSize()}setDirection(i){this._config=ct(g({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=Vt(this._config.width),i.height=Vt(this._config.height),i.minWidth=Vt(this._config.minWidth),i.minHeight=Vt(this._config.minHeight),i.maxWidth=Vt(this._config.maxWidth),i.maxHeight=Vt(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachHost(){if(!this._host.parentElement){let i=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;zc(i)?i.after(this._host):i?.type==="parent"?i.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(i){}}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Bc(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,t,e){let a=kn(t||[]).filter(r=>!!r);a.length&&(e?i.classList.add(...a):i.classList.remove(...a))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=Pt(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(t){if(i)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},vh="cdk-overlay-connected-position-bounding-box",zv=/([A-Za-z%]+)$/;function vr(n,i){return new us(i,n.get(fi),n.get(F),n.get(ut),n.get(ps))}var us=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new E;_resizeSubscription=Et.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,t,e,a,r){this._viewportRuler=t,this._document=e,this._platform=a,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(vh),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let i=this._originRect,t=this._overlayRect,e=this._viewportRect,a=this._containerRect,r=[],o;for(let s of this._preferredPositions){let l=this._getOriginPoint(i,a,s),d=this._getOverlayPoint(l,t,s),m=this._getOverlayFit(d,t,e,s);if(m.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(m,d,e)){r.push({position:s,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!o||o.overlayFit.visibleAreal&&(l=m,s=d)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(o.position,o.originPoint);return}this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&gi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(vh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;i?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(i,this._getOriginPoint(this._originRect,this._containerRect,i))):this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}withPopoverLocation(i){return this._popoverLocation=i,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof R?this._origin.nativeElement:zc(this._origin)?this._origin:null}_getOriginPoint(i,t,e){let a;if(e.originX=="center")a=i.left+i.width/2;else{let o=this._isRtl()?i.right:i.left,s=this._isRtl()?i.left:i.right;a=e.originX=="start"?o:s}t.left<0&&(a-=t.left);let r;return e.originY=="center"?r=i.top+i.height/2:r=e.originY=="top"?i.top:i.bottom,t.top<0&&(r-=t.top),{x:a,y:r}}_getOverlayPoint(i,t,e){let a;e.overlayX=="center"?a=-t.width/2:e.overlayX==="start"?a=this._isRtl()?-t.width:0:a=this._isRtl()?0:-t.width;let r;return e.overlayY=="center"?r=-t.height/2:r=e.overlayY=="top"?0:-t.height,{x:i.x+a,y:i.y+r}}_getOverlayFit(i,t,e,a){let r=yh(t),{x:o,y:s}=i,l=this._getOffset(a,"x"),d=this._getOffset(a,"y");l&&(o+=l),d&&(s+=d);let m=0-o,_=o+r.width-e.width,b=0-s,M=s+r.height-e.height,D=this._subtractOverflows(r.width,m,_),Z=this._subtractOverflows(r.height,b,M),lt=D*Z;return{visibleArea:lt,isCompletelyWithinViewport:r.width*r.height===lt,fitsInViewportVertically:Z===r.height,fitsInViewportHorizontally:D==r.width}}_canFitWithFlexibleDimensions(i,t,e){if(this._hasFlexibleDimensions){let a=e.bottom-t.y,r=e.right-t.x,o=_h(this._overlayRef.getConfig().minHeight),s=_h(this._overlayRef.getConfig().minWidth),l=i.fitsInViewportVertically||o!=null&&o<=a,d=i.fitsInViewportHorizontally||s!=null&&s<=r;return l&&d}return!1}_pushOverlayOnScreen(i,t,e){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let a=yh(t),r=this._viewportRect,o=Math.max(i.x+a.width-r.width,0),s=Math.max(i.y+a.height-r.height,0),l=Math.max(r.top-e.top-i.y,0),d=Math.max(r.left-e.left-i.x,0),m=0,_=0;return a.width<=r.width?m=d||-o:m=i.xD&&!this._isInitialRender&&!this._growAfterOpen&&(o=i.y-D/2)}let l=t.overlayX==="start"&&!a||t.overlayX==="end"&&a,d=t.overlayX==="end"&&!a||t.overlayX==="start"&&a,m,_,b;if(d)b=e.width-i.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),m=i.x-this._getViewportMarginStart();else if(l)_=i.x,m=e.right-i.x-this._getViewportMarginEnd();else{let M=Math.min(e.right-i.x+e.left,i.x),D=this._lastBoundingBoxSize.width;m=M*2,_=i.x-M,m>D&&!this._isInitialRender&&!this._growAfterOpen&&(_=i.x-D/2)}return{top:o,left:_,bottom:s,right:b,width:m,height:r}}_setBoundingBoxStyles(i,t){let e=this._calculateBoundingBoxRect(i,t);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right="auto",a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;a.width=Vt(e.width),a.height=Vt(e.height),a.top=Vt(e.top)||"auto",a.bottom=Vt(e.bottom)||"auto",a.left=Vt(e.left)||"auto",a.right=Vt(e.right)||"auto",t.overlayX==="center"?a.alignItems="center":a.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?a.justifyContent="center":a.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",r&&(a.maxHeight=Vt(r)),o&&(a.maxWidth=Vt(o))}this._lastBoundingBoxSize=e,gi(this._boundingBox.style,a)}_resetBoundingBoxStyles(){gi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){gi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,t){let e={},a=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(a){let m=this._viewportRuler.getViewportScrollPosition();gi(e,this._getExactOverlayY(t,i,m)),gi(e,this._getExactOverlayX(t,i,m))}else e.position="static";let s="",l=this._getOffset(t,"x"),d=this._getOffset(t,"y");l&&(s+=`translateX(${l}px) `),d&&(s+=`translateY(${d}px)`),e.transform=s.trim(),o.maxHeight&&(a?e.maxHeight=Vt(o.maxHeight):r&&(e.maxHeight="")),o.maxWidth&&(a?e.maxWidth=Vt(o.maxWidth):r&&(e.maxWidth="")),gi(this._pane.style,e)}_getExactOverlayY(i,t,e){let a={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e)),i.overlayY==="bottom"){let o=this._document.documentElement.clientHeight;a.bottom=`${o-(r.y+this._overlayRect.height)}px`}else a.top=Vt(r.y);return a}_getExactOverlayX(i,t,e){let a={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,e));let o;if(this._isRtl()?o=i.overlayX==="end"?"left":"right":o=i.overlayX==="end"?"right":"left",o==="right"){let s=this._document.documentElement.clientWidth;a.right=`${s-(r.x+this._overlayRect.width)}px`}else a.left=Vt(r.x);return a}_getScrollVisibility(){let i=this._getOriginRect(),t=this._pane.getBoundingClientRect(),e=this._scrollables.map(a=>a.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:gh(i,e),isOriginOutsideView:Lc(i,e),isOverlayClipped:gh(t,e),isOverlayOutsideView:Lc(t,e)}}_subtractOverflows(i,...t){return t.reduce((e,a)=>e-Math.max(a,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._getViewportMarginTop(),left:e.left+this._getViewportMarginStart(),right:e.left+i-this._getViewportMarginEnd(),bottom:e.top+t-this._getViewportMarginBottom(),width:i-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:t-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,t){return t==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&kn(i).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let i=this._origin;if(i instanceof R)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let t=i.width||0,e=i.height||0;return{top:i.y,bottom:i.y+e,left:i.x,right:i.x+t,height:e,width:t}}_getContainerRect(){let i=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",t=this._overlayContainer.getContainerElement();i&&(t.style.display="block");let e=t.getBoundingClientRect();return i&&(t.style.display=""),e}};function gi(n,i){for(let t in i)Object.hasOwn(i,t)&&(n[t]=i[t]);return n}function _h(n){if(typeof n!="number"&&n!=null){let[i,t]=n.split(zv);return!t||t==="px"?parseFloat(i):null}return n||null}function yh(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function jv(n,i){return n===i?!0:n.isOriginClipped===i.isOriginClipped&&n.isOriginOutsideView===i.isOriginOutsideView&&n.isOverlayClipped===i.isOverlayClipped&&n.isOverlayOutsideView===i.isOverlayOutsideView}var xh="cdk-global-overlay-wrapper";function bi(n){return new hs}var hs=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let t=i.getConfig();this._overlayRef=i,this._width&&!t.width&&i.updateSize({width:this._width}),this._height&&!t.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(xh),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:a,height:r,maxWidth:o,maxHeight:s}=e,l=(a==="100%"||a==="100vw")&&(!o||o==="100%"||o==="100vw"),d=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),m=this._xPosition,_=this._xOffset,b=this._overlayRef.getConfig().direction==="rtl",M="",D="",Z="";l?Z="flex-start":m==="center"?(Z="center",b?D=_:M=_):b?m==="left"||m==="end"?(Z="flex-end",M=_):(m==="right"||m==="start")&&(Z="flex-start",D=_):m==="left"||m==="start"?(Z="flex-start",M=_):(m==="right"||m==="end")&&(Z="flex-end",D=_),i.position=this._cssPosition,i.marginLeft=l?"0":M,i.marginTop=d?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=l?"0":D,t.justifyContent=Z,t.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,e=t.style;t.classList.remove(xh),e.justifyContent=e.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}};var Mh=new v("OVERLAY_DEFAULT_CONFIG");function Dn(n,i){n.get(Bt).load(kh);let t=n.get(ps),e=n.get(F),a=n.get(St),r=n.get(Ye),o=n.get(de),s=n.get(pt,null,{optional:!0})||n.get(Jt).createRenderer(null,null),l=new je(i),d=n.get(Mh,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||o.value,!e.body||!("showPopover"in e.body)?l.usePopover=!1:l.usePopover=i?.usePopover??d;let m=e.createElement("div"),_=e.createElement("div");m.id=a.getId("cdk-overlay-"),m.classList.add("cdk-overlay-pane"),_.appendChild(m),l.usePopover&&(_.setAttribute("popover","manual"),_.classList.add("cdk-overlay-popover"));let b=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return zc(b)?b.after(_):b?.type==="parent"?b.element.appendChild(_):t.getContainerElement().appendChild(_),new oa(new fr(m,r,n),_,m,l,n.get(O),n.get(Sh),e,n.get(ln),n.get(Ch),i?.disableAnimations??n.get(Ti,null,{optional:!0})==="NoopAnimations",n.get(zt),s)}var sa,Dh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function jc(){if(sa)return sa;if(typeof document!="object"||!document)return sa=new Set(Dh),sa;let n=document.createElement("input");return sa=new Set(Dh.filter(i=>(n.setAttribute("type",i),n.type===i))),sa}var Uv=new v("MATERIAL_ANIMATIONS"),Eh=null;function Hv(){return c(Uv,{optional:!0})?.animationsDisabled||c(Ti,{optional:!0})==="NoopAnimations"?"di-disabled":(Eh??=c(ts).matchMedia("(prefers-reduced-motion)").matches,Eh?"reduced-motion":"enabled")}function Ct(){return Hv()!=="enabled"}function _e(n){return n!=null&&`${n}`!="false"}var Ue=(function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n})(Ue||{}),Uc=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Ue.HIDDEN;constructor(i,t,e,a=!1){this._renderer=i,this.element=t,this.config=e,this._animationForciblyDisabledThroughCss=a}fadeOut(){this._renderer.fadeOutRipple(this)}},Nh=ea({passive:!0,capture:!0}),Hc=class{_events=new Map;addHandler(i,t,e,a){let r=this._events.get(t);if(r){let o=r.get(e);o?o.add(a):r.set(e,new Set([a]))}else this._events.set(t,new Map([[e,new Set([a])]])),i.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Nh)})}removeHandler(i,t,e){let a=this._events.get(i);if(!a)return;let r=a.get(t);r&&(r.delete(e),r.size===0&&a.delete(t),a.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,Nh)))}_delegateEventHandler=i=>{let t=ce(i);t&&this._events.get(i.type)?.forEach((e,a)=>{(a===t||a.contains(t))&&e.forEach(r=>r.handleEvent(i))})}},yr={enterDuration:225,exitDuration:150},$v=800,Ih=ea({passive:!0,capture:!0}),Ah=["mousedown","touchstart"],Rh=["mouseup","mouseleave","touchend","touchcancel"],Gv=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(e,a){},styles:[`.mat-ripple { + overflow: hidden; + position: relative; +} +.mat-ripple:not(:empty) { + transform: translateZ(0); +} + +.mat-ripple.mat-ripple-unbounded { + overflow: visible; +} + +.mat-ripple-element { + position: absolute; + border-radius: 50%; + pointer-events: none; + transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); + transform: scale3d(0, 0, 0); + background-color: var(--%NS%mat-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 10%, transparent)); +} +@media (forced-colors: active) { + .mat-ripple-element { + display: none; + } +} +.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { + display: none; +} +`],encapsulation:2})}return n})(),vi=class n{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Hc;constructor(i,t,e,a,r){this._target=i,this._ngZone=t,this._platform=a,a.isBrowser&&(this._containerElement=ve(e)),r&&r.get(Bt).load(Gv)}fadeInRipple(i,t,e={}){let a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=g(g({},yr),e.animation);e.centered&&(i=a.left+a.width/2,t=a.top+a.height/2);let o=e.radius||Wv(i,t,a),s=i-a.left,l=t-a.top,d=r.enterDuration,m=document.createElement("div");m.classList.add("mat-ripple-element"),m.style.left=`${s-o}px`,m.style.top=`${l-o}px`,m.style.height=`${o*2}px`,m.style.width=`${o*2}px`,e.color!=null&&(m.style.backgroundColor=e.color),m.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(m);let _=window.getComputedStyle(m),b=_.transitionProperty,M=_.transitionDuration,D=b==="none"||M==="0s"||M==="0s, 0s"||a.width===0&&a.height===0,Z=new Uc(this,m,e,D);m.style.transform="scale3d(1, 1, 1)",Z.state=Ue.FADING_IN,e.persistent||(this._mostRecentTransientRipple=Z);let lt=null;return!D&&(d||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let $t=()=>{lt&&(lt.fallbackTimer=null),clearTimeout(it),this._finishRippleTransition(Z)},nt=()=>this._destroyRipple(Z),it=setTimeout(nt,d+100);m.addEventListener("transitionend",$t),m.addEventListener("transitioncancel",nt),lt={onTransitionEnd:$t,onTransitionCancel:nt,fallbackTimer:it}}),this._activeRipples.set(Z,lt),(D||!d)&&this._finishRippleTransition(Z),Z}fadeOutRipple(i){if(i.state===Ue.FADING_OUT||i.state===Ue.HIDDEN)return;let t=i.element,e=g(g({},yr),i.config.animation);t.style.transitionDuration=`${e.exitDuration}ms`,t.style.opacity="0",i.state=Ue.FADING_OUT,(i._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let t=ve(i);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,Ah.forEach(e=>{n._eventManager.addHandler(this._ngZone,e,t,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Rh.forEach(t=>{this._triggerElement.addEventListener(t,this,Ih)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===Ue.FADING_IN?this._startFadeOutTransition(i):i.state===Ue.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let t=i===this._mostRecentTransientRipple,{persistent:e}=i.config;i.state=Ue.VISIBLE,!e&&(!t||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let t=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=Ue.HIDDEN,t!==null&&(i.element.removeEventListener("transitionend",t.onTransitionEnd),i.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),i.element.remove()}_onMousedown(i){let t=ci(i),e=this._lastTouchStartEvent&&Date.now(){let t=i.state===Ue.VISIBLE||i.config.terminateOnPointerUp&&i.state===Ue.FADING_IN;!i.config.persistent&&t&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(Ah.forEach(t=>n._eventManager.removeHandler(t,i,this)),this._pointerUpEventsRegistered&&(Rh.forEach(t=>i.removeEventListener(t,this,Ih)),this._pointerUpEventsRegistered=!1))}};function Wv(n,i,t){let e=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),a=Math.max(Math.abs(i-t.top),Math.abs(i-t.bottom));return Math.sqrt(e*e+a*a)}var _i=new v("mat-ripple-global-options"),fs=(()=>{class n{_elementRef=c(R);_animationsDisabled=Ct();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let t=c(O),e=c(ut),a=c(_i,{optional:!0}),r=c(K);this._globalOptions=a||{},this._rippleRenderer=new vi(this,t,this._elementRef,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:g(g(g({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,a){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,e,g(g({},this.rippleConfig),a)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),t))}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,a){e&2&&z("mat-ripple-unbounded",a.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})();var qv={capture:!0},Kv=["focus","mousedown","mouseenter","touchstart"],$c="mat-ripple-loader-uninitialized",Gc="mat-ripple-loader-class-name",Th="mat-ripple-loader-centered",gs="mat-ripple-loader-disabled",bs=(()=>{class n{_document=c(F);_animationsDisabled=Ct();_globalRippleOptions=c(_i,{optional:!0});_platform=c(ut);_ngZone=c(O);_injector=c(K);_eventCleanups;_hosts=new Map;constructor(){let t=c(Jt).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Kv.map(e=>t.listen(this._document,e,this._onInteraction,qv)))}ngOnDestroy(){let t=this._hosts.keys();for(let e of t)this.destroyRipple(e);this._eventCleanups.forEach(e=>e())}configureRipple(t,e){t.setAttribute($c,this._globalRippleOptions?.namespace??""),(e.className||!t.hasAttribute(Gc))&&t.setAttribute(Gc,e.className||""),e.centered&&t.setAttribute(Th,""),e.disabled&&t.setAttribute(gs,"")}setDisabled(t,e){let a=this._hosts.get(t);a?(a.target.rippleDisabled=e,!e&&!a.hasSetUpEvents&&(a.hasSetUpEvents=!0,a.renderer.setupTriggerEvents(t))):e?t.setAttribute(gs,""):t.removeAttribute(gs)}_onInteraction=t=>{let e=ce(t);if(e instanceof HTMLElement){let a=e.closest(`[${$c}="${this._globalRippleOptions?.namespace??""}"]`);a&&this._createRipple(a)}};_createRipple(t){if(!this._document||this._hosts.has(t))return;t.querySelector(".mat-ripple")?.remove();let e=this._document.createElement("span");e.classList.add("mat-ripple",t.getAttribute(Gc)),t.append(e);let a=this._globalRippleOptions,r=this._animationsDisabled?0:a?.animation?.enterDuration??yr.enterDuration,o=this._animationsDisabled?0:a?.animation?.exitDuration??yr.exitDuration,s={rippleDisabled:this._animationsDisabled||a?.disabled||t.hasAttribute(gs),rippleConfig:{centered:t.hasAttribute(Th),terminateOnPointerUp:a?.terminateOnPointerUp,animation:{enterDuration:r,exitDuration:o}}},l=new vi(s,this._ngZone,e,this._platform,this._injector),d=!s.rippleDisabled;d&&l.setupTriggerEvents(t),this._hosts.set(t,{target:s,renderer:l,hasSetUpEvents:d}),t.removeAttribute($c)}destroyRipple(t){let e=this._hosts.get(t);e&&(e.renderer._removeTriggerEvents(),this._hosts.delete(t))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var en=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(e,a){},styles:[`.mat-focus-indicator { + position: relative; +} +.mat-focus-indicator::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + box-sizing: border-box; + pointer-events: none; + display: var(--%NS%mat-focus-indicator-display, none); + border-width: var(--%NS%mat-focus-indicator-border-width, 3px); + border-style: var(--%NS%mat-focus-indicator-border-style, solid); + border-color: var(--%NS%mat-focus-indicator-border-color, transparent); + border-radius: var(--%NS%mat-focus-indicator-border-radius, 4px); +} +.mat-focus-indicator:focus-visible::before { + content: ""; +} + +@media (forced-colors: active) { + html { + --%NS%mat-focus-indicator-display: block; + --%NS%mat-focus-indicator-fallback-border-style: none; + } +} +`],encapsulation:2})}return n})();var Yv=new v("MAT_BUTTON_CONFIG");function Oh(n){return n==null?void 0:Li(n)}var Wc=(()=>{class n{_elementRef=c(R);_ngZone=c(O);_animationsDisabled=Ct();_config=c(Yv,{optional:!0});_focusMonitor=c(fn);_cleanupClick;_renderer=c(pt);_rippleLoader=c(bs);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(t){this.tabIndex=t}showProgress=ii(!1,{transform:j});constructor(){c(Bt).load(en);let t=this._elementRef.nativeElement;this._isAnchor=t.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",e){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,e):this._elementRef.nativeElement.focus(e)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}))}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,hostAttrs:[1,"mat-mdc-button-base"],hostVars:15,hostBindings:function(e,a){e&2&&(H("disabled",a._getDisabledAttribute())("aria-disabled",a._getAriaDisabled())("tabindex",a._getTabIndex()),Fe(a.color?"mat-"+a.color:""),z("mat-mdc-button-progress-indicator-shown",a.showProgress())("mat-mdc-button-disabled",a.disabled)("mat-mdc-button-disabled-interactive",a.disabledInteractive)("mat-unthemed",!a.color)("_mat-animation-noopable",a._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",j],disabled:[2,"disabled","disabled",j],ariaDisabled:[2,"aria-disabled","ariaDisabled",j],disabledInteractive:[2,"disabledInteractive","disabledInteractive",j],tabIndex:[2,"tabIndex","tabIndex",Oh],_tabindex:[2,"tabindex","_tabindex",Oh],showProgress:[1,"showProgress"]}})}return n})(),xr=(()=>{class n extends Wc{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["*",[["","progressIndicator",""]]],e=["*","[progressIndicator]"];function a(r,o){r&1&&(qt(0,"div",1),V(1,1),te())}return S({type:n,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[ot],ngContentSelectors:e,decls:5,vars:1,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(o,s){o&1&&(_t(t),sn(0,"span",0),V(1),C(2,a,2,0,"div",1),sn(3,"span",2)(4,"span",3)),o&2&&(p(2),k(s.showProgress()?2:-1))},styles:[`.mat-mdc-icon-button { + -webkit-user-select: none; + user-select: none; + display: inline-block; + position: relative; + box-sizing: border-box; + border: none; + outline: none; + background-color: transparent; + fill: currentColor; + text-decoration: none; + cursor: pointer; + z-index: 0; + overflow: visible; + border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%)); + flex-shrink: 0; + text-align: center; + width: var(--%NS%mat-icon-button-state-layer-size, 40px); + height: var(--%NS%mat-icon-button-state-layer-size, 40px); + padding: calc(calc(var(--%NS%mat-icon-button-state-layer-size, 40px) - var(--%NS%mat-icon-button-icon-size, 24px)) / 2); + font-size: var(--%NS%mat-icon-button-icon-size, 24px); + color: var(--%NS%mat-icon-button-icon-color, var(--%NS%mat-sys-on-surface-variant)); + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-icon-button .mat-mdc-button-ripple, +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple, +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} +.mat-mdc-icon-button .mat-mdc-button-ripple { + overflow: hidden; +} +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { + content: ""; + opacity: 0; +} +.mat-mdc-icon-button .mdc-button__label, +.mat-mdc-icon-button .mat-icon { + z-index: 1; + position: relative; +} +.mat-mdc-icon-button .mat-focus-indicator { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + border-radius: inherit; +} +.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before { + content: ""; + border-radius: inherit; +} +.mat-mdc-icon-button .mat-ripple-element { + background-color: var(--%NS%mat-icon-button-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface-variant) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-icon-button-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-icon-button-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-icon-button-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-icon-button-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-icon-button-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-icon-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-icon-button-touch-target-size, 48px); + display: var(--%NS%mat-icon-button-touch-target-display, block); + left: 50%; + width: var(--%NS%mat-icon-button-touch-target-size, 48px); + transform: translate(-50%, -50%); +} +.mat-mdc-icon-button._mat-animation-noopable { + transition: none !important; + animation: none !important; +} +.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-mdc-icon-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} +.mat-mdc-icon-button img, +.mat-mdc-icon-button svg { + width: var(--%NS%mat-icon-button-icon-size, 24px); + height: var(--%NS%mat-icon-button-icon-size, 24px); + vertical-align: baseline; +} +.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__determinate-circle-graphic { + width: inherit; + height: inherit; +} +.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__indeterminate-circle-graphic { + height: 100%; +} +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple { + border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%)); +} +.mat-mdc-icon-button[hidden] { + display: none; +} +.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before { + background: transparent; + opacity: 1; +} + +.mat-mdc-button-progress-indicator-container { + position: absolute; + inset-inline-start: 0; + inset-block-start: 0; + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + box-sizing: border-box; +} + +.mat-mdc-button-progress-indicator-shown mat-icon { + visibility: hidden; +} +`,`@media (forced-colors: active) { + .mat-mdc-button:not(.mdc-button--outlined), + .mat-mdc-unelevated-button:not(.mdc-button--outlined), + .mat-mdc-raised-button:not(.mdc-button--outlined), + .mat-mdc-outlined-button:not(.mdc-button--outlined), + .mat-mdc-button-base.mat-tonal-button, + .mat-mdc-icon-button.mat-mdc-icon-button, + .mat-mdc-outlined-button .mdc-button__ripple { + outline: solid 1px; + } +} +`],encapsulation:2})})()}return n})();var vs=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[Xt]})}return n})();var Fh=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),He=(()=>{class n extends Wc{get appearance(){return this._appearance}set appearance(t){this.setAppearance(t||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let t=Xv(this._elementRef.nativeElement);t&&this.setAppearance(t)}setAppearance(t){if(t===this._appearance)return;let e=this._elementRef.nativeElement.classList,a=this._appearance?Fh.get(this._appearance):null,r=Fh.get(t);a&&e.remove(...a),e.add(...r),this._appearance=t}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""],["",8,"material-symbols-outlined",3,"iconPositionEnd",""],["",8,"material-symbols-rounded",3,"iconPositionEnd",""],["",8,"material-symbols-sharp",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""],["","iconPositionEnd","",8,"material-symbols-outlined"],["","iconPositionEnd","",8,"material-symbols-rounded"],["","iconPositionEnd","",8,"material-symbols-sharp"]],[["","progressIndicator",""]]],e=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd]), .material-symbols-outlined:not([iconPositionEnd]), .material-symbols-rounded:not([iconPositionEnd]), .material-symbols-sharp:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd], .material-symbols-outlined[iconPositionEnd], .material-symbols-rounded[iconPositionEnd], .material-symbols-sharp[iconPositionEnd]","[progressIndicator]"];function a(r,o){r&1&&(qt(0,"div",2),V(1,3),te())}return S({type:n,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[ot],ngContentSelectors:e,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(o,s){o&1&&(_t(t),sn(0,"span",0),V(1),qt(2,"span",1),V(3,1),te(),V(4,2),C(5,a,2,0,"div",2),sn(6,"span",3)(7,"span",4)),o&2&&(z("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab),p(5),k(s.showProgress()?5:-1))},styles:[`.mat-mdc-button-base { + text-decoration: none; +} +.mat-mdc-button-base .mat-icon { + min-height: fit-content; + flex-shrink: 0; +} +@media (hover: none) { + .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { + opacity: 0; + } +} + +.mdc-button { + -webkit-user-select: none; + user-select: none; + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + min-width: 64px; + border: none; + outline: none; + line-height: inherit; + -webkit-appearance: none; + overflow: visible; + vertical-align: middle; + background: transparent; + padding: 0 8px; +} +.mdc-button::-moz-focus-inner { + padding: 0; + border: 0; +} +.mdc-button:active { + outline: none; +} +.mdc-button:hover { + cursor: pointer; +} +.mdc-button:disabled { + cursor: default; + pointer-events: none; +} +.mdc-button[hidden] { + display: none; +} +.mdc-button .mdc-button__label { + position: relative; +} + +.mat-mdc-button { + padding: 0 var(--%NS%mat-button-text-horizontal-padding, 12px); + height: var(--%NS%mat-button-text-container-height, 40px); + font-family: var(--%NS%mat-button-text-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-text-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-text-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-text-label-text-transform); + font-weight: var(--%NS%mat-button-text-label-text-weight, var(--%NS%mat-sys-label-large-weight)); +} +.mat-mdc-button, .mat-mdc-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-text-container-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-mdc-button:not(:disabled) { + color: var(--%NS%mat-button-text-label-text-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-mdc-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} +.mat-mdc-button:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded, +.material-symbols-sharp, mat-icon, [matButtonIcon]) { + padding: 0 var(--%NS%mat-button-text-with-icon-horizontal-padding, 16px); +} +.mat-mdc-button > .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-text-icon-offset, -4px); +} +[dir=rtl] .mat-mdc-button > .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-offset, -4px); + margin-left: var(--%NS%mat-button-text-icon-spacing, 8px); +} +.mat-mdc-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-offset, -4px); + margin-left: var(--%NS%mat-button-text-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-text-icon-offset, -4px); +} +.mat-mdc-button .mat-ripple-element { + background-color: var(--%NS%mat-button-text-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-text-state-layer-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-text-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-text-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-text-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-text-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-text-touch-target-size, 48px); + display: var(--%NS%mat-button-text-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} + +.mat-mdc-unelevated-button { + transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); + height: var(--%NS%mat-button-filled-container-height, 40px); + font-family: var(--%NS%mat-button-filled-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-filled-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-filled-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-filled-label-text-transform); + font-weight: var(--%NS%mat-button-filled-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + padding: 0 var(--%NS%mat-button-filled-horizontal-padding, 24px); +} +.mat-mdc-unelevated-button > .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-filled-icon-offset, -8px); +} +[dir=rtl] .mat-mdc-unelevated-button > .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-offset, -8px); + margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px); +} +.mat-mdc-unelevated-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-offset, -8px); + margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-filled-icon-offset, -8px); +} +.mat-mdc-unelevated-button .mat-ripple-element { + background-color: var(--%NS%mat-button-filled-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-filled-state-layer-color, var(--%NS%mat-sys-on-primary)); +} +.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-filled-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-filled-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-filled-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-filled-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-unelevated-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-filled-touch-target-size, 48px); + display: var(--%NS%mat-button-filled-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} +.mat-mdc-unelevated-button:not(:disabled) { + color: var(--%NS%mat-button-filled-label-text-color, var(--%NS%mat-sys-on-primary)); + background-color: var(--%NS%mat-button-filled-container-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-filled-container-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-mdc-unelevated-button .mat-mdc-button-progress-indicator-container { + --%NS%mat-progress-spinner-active-indicator-color: var(--%NS%mat-button-filled-progress-active-indicator-color, var(--%NS%mat-sys-on-primary)); +} +.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + background-color: var(--%NS%mat-button-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} + +.mat-mdc-raised-button { + transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: var(--%NS%mat-button-protected-container-elevation-shadow, var(--%NS%mat-sys-level1)); + height: var(--%NS%mat-button-protected-container-height, 40px); + font-family: var(--%NS%mat-button-protected-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-protected-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-protected-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-protected-label-text-transform); + font-weight: var(--%NS%mat-button-protected-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + padding: 0 var(--%NS%mat-button-protected-horizontal-padding, 24px); +} +.mat-mdc-raised-button > .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-protected-icon-offset, -8px); +} +[dir=rtl] .mat-mdc-raised-button > .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-offset, -8px); + margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px); +} +.mat-mdc-raised-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-offset, -8px); + margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-protected-icon-offset, -8px); +} +.mat-mdc-raised-button .mat-ripple-element { + background-color: var(--%NS%mat-button-protected-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-protected-state-layer-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-protected-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-protected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-protected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-protected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-raised-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-protected-touch-target-size, 48px); + display: var(--%NS%mat-button-protected-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} +.mat-mdc-raised-button:not(:disabled) { + color: var(--%NS%mat-button-protected-label-text-color, var(--%NS%mat-sys-primary)); + background-color: var(--%NS%mat-button-protected-container-color, var(--%NS%mat-sys-surface)); +} +.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-protected-container-shape, var(--%NS%mat-sys-corner-full)); +} +@media (hover: hover) { + .mat-mdc-raised-button:hover { + box-shadow: var(--%NS%mat-button-protected-hover-container-elevation-shadow, var(--%NS%mat-sys-level2)); + } +} +.mat-mdc-raised-button:focus { + box-shadow: var(--%NS%mat-button-protected-focus-container-elevation-shadow, var(--%NS%mat-sys-level1)); +} +.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { + box-shadow: var(--%NS%mat-button-protected-pressed-container-elevation-shadow, var(--%NS%mat-sys-level1)); +} +.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + background-color: var(--%NS%mat-button-protected-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { + box-shadow: var(--%NS%mat-button-protected-disabled-container-elevation-shadow, var(--%NS%mat-sys-level0)); +} +.mat-mdc-raised-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} + +.mat-mdc-outlined-button { + border-style: solid; + transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); + height: var(--%NS%mat-button-outlined-container-height, 40px); + font-family: var(--%NS%mat-button-outlined-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-outlined-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-outlined-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-outlined-label-text-transform); + font-weight: var(--%NS%mat-button-outlined-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + border-radius: var(--%NS%mat-button-outlined-container-shape, var(--%NS%mat-sys-corner-full)); + border-width: var(--%NS%mat-button-outlined-outline-width, 1px); + padding: 0 var(--%NS%mat-button-outlined-horizontal-padding, 24px); +} +.mat-mdc-outlined-button > .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px); +} +[dir=rtl] .mat-mdc-outlined-button > .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px); + margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px); +} +.mat-mdc-outlined-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px); + margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px); +} +.mat-mdc-outlined-button .mat-ripple-element { + background-color: var(--%NS%mat-button-outlined-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-outlined-state-layer-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-outlined-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-outlined-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-outlined-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-outlined-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-outlined-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-outlined-touch-target-size, 48px); + display: var(--%NS%mat-button-outlined-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} +.mat-mdc-outlined-button:not(:disabled) { + color: var(--%NS%mat-button-outlined-label-text-color, var(--%NS%mat-sys-primary)); + border-color: var(--%NS%mat-button-outlined-outline-color, var(--%NS%mat-sys-outline)); +} +.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + border-color: var(--%NS%mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} + +.mat-tonal-button { + transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); + height: var(--%NS%mat-button-tonal-container-height, 40px); + font-family: var(--%NS%mat-button-tonal-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-tonal-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-tonal-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-tonal-label-text-transform); + font-weight: var(--%NS%mat-button-tonal-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + padding: 0 var(--%NS%mat-button-tonal-horizontal-padding, 24px); +} +.mat-tonal-button:not(:disabled) { + color: var(--%NS%mat-button-tonal-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + background-color: var(--%NS%mat-button-tonal-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-tonal-button, .mat-tonal-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-tonal-container-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + background-color: var(--%NS%mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-tonal-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} +.mat-tonal-button > .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px); +} +[dir=rtl] .mat-tonal-button > .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px); + margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px); +} +.mat-tonal-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px); + margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px); +} +[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px); +} +.mat-tonal-button .mat-ripple-element { + background-color: var(--%NS%mat-button-tonal-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-secondary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-tonal-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-tonal-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-tonal-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-tonal-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-tonal-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-tonal-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-tonal-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-tonal-touch-target-size, 48px); + display: var(--%NS%mat-button-tonal-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} + +.mat-mdc-button, +.mat-mdc-unelevated-button, +.mat-mdc-raised-button, +.mat-mdc-outlined-button, +.mat-tonal-button { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-button .mat-mdc-button-ripple, +.mat-mdc-button .mat-mdc-button-persistent-ripple, +.mat-mdc-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-unelevated-button .mat-mdc-button-ripple, +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple, +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-raised-button .mat-mdc-button-ripple, +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple, +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-outlined-button .mat-mdc-button-ripple, +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple, +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, +.mat-tonal-button .mat-mdc-button-ripple, +.mat-tonal-button .mat-mdc-button-persistent-ripple, +.mat-tonal-button .mat-mdc-button-persistent-ripple::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} +.mat-mdc-button .mat-mdc-button-ripple, +.mat-mdc-unelevated-button .mat-mdc-button-ripple, +.mat-mdc-raised-button .mat-mdc-button-ripple, +.mat-mdc-outlined-button .mat-mdc-button-ripple, +.mat-tonal-button .mat-mdc-button-ripple { + overflow: hidden; +} +.mat-mdc-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, +.mat-tonal-button .mat-mdc-button-persistent-ripple::before { + content: ""; + opacity: 0; +} +.mat-mdc-button .mdc-button__label, +.mat-mdc-button .mat-icon, +.mat-mdc-unelevated-button .mdc-button__label, +.mat-mdc-unelevated-button .mat-icon, +.mat-mdc-raised-button .mdc-button__label, +.mat-mdc-raised-button .mat-icon, +.mat-mdc-outlined-button .mdc-button__label, +.mat-mdc-outlined-button .mat-icon, +.mat-tonal-button .mdc-button__label, +.mat-tonal-button .mat-icon { + z-index: 1; + position: relative; +} +.mat-mdc-button .mat-focus-indicator, +.mat-mdc-unelevated-button .mat-focus-indicator, +.mat-mdc-raised-button .mat-focus-indicator, +.mat-mdc-outlined-button .mat-focus-indicator, +.mat-tonal-button .mat-focus-indicator { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + border-radius: inherit; +} +.mat-mdc-button:focus-visible > .mat-focus-indicator::before, +.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before, +.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before, +.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before, +.mat-tonal-button:focus-visible > .mat-focus-indicator::before { + content: ""; + border-radius: inherit; +} +.mat-mdc-button._mat-animation-noopable, +.mat-mdc-unelevated-button._mat-animation-noopable, +.mat-mdc-raised-button._mat-animation-noopable, +.mat-mdc-outlined-button._mat-animation-noopable, +.mat-tonal-button._mat-animation-noopable { + transition: none !important; + animation: none !important; +} +.mat-mdc-button > .mat-icon, +.mat-mdc-unelevated-button > .mat-icon, +.mat-mdc-raised-button > .mat-icon, +.mat-mdc-outlined-button > .mat-icon, +.mat-tonal-button > .mat-icon { + display: inline-block; + position: relative; + vertical-align: top; + font-size: 1.125rem; + height: 1.125rem; + width: 1.125rem; +} + +.mat-mdc-outlined-button .mat-mdc-button-ripple, +.mat-mdc-outlined-button .mdc-button__ripple { + top: -1px; + left: -1px; + bottom: -1px; + right: -1px; +} + +.mat-mdc-unelevated-button .mat-focus-indicator::before, +.mat-tonal-button .mat-focus-indicator::before, +.mat-mdc-raised-button .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-outlined-button .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1); +} + +.mat-mdc-button-progress-indicator-container { + position: absolute; + inset-inline-start: 0; + inset-block-start: 0; + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + box-sizing: border-box; +} + +.mat-mdc-button-progress-indicator-shown mat-icon, +.mat-mdc-button-progress-indicator-shown [matButtonIcon], +.mat-mdc-button-progress-indicator-shown .mdc-button__label { + visibility: hidden; +} +`,`@media (forced-colors: active) { + .mat-mdc-button:not(.mdc-button--outlined), + .mat-mdc-unelevated-button:not(.mdc-button--outlined), + .mat-mdc-raised-button:not(.mdc-button--outlined), + .mat-mdc-outlined-button:not(.mdc-button--outlined), + .mat-mdc-button-base.mat-tonal-button, + .mat-mdc-icon-button.mat-mdc-icon-button, + .mat-mdc-outlined-button .mdc-button__ripple { + outline: solid 1px; + } +} +`],encapsulation:2})})()}return n})();function Xv(n){return n.hasAttribute("mat-raised-button")?"elevated":n.hasAttribute("mat-stroked-button")?"outlined":n.hasAttribute("mat-flat-button")?"filled":n.hasAttribute("mat-button")?"text":null}var wr=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[vs,Xt]})}return n})();var Zv=Math.pow(2,31)-1,Cr=class{_overlayRef;instance;containerInstance;_afterDismissed=new E;_afterOpened=new E;_onAction=new E;_durationTimeoutId;_dismissedByAction=!1;constructor(i,t){this._overlayRef=t,this.containerInstance=i,i._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,Zv))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Ph=new v("MatSnackBarData"),la=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},Qv=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return n})(),Jv=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return n})(),t_=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return n})(),e_=(()=>{class n{snackBarRef=c(Cr);data=c(Ph);action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){function t(e,a){if(e&1){let r=Nt();h(0,"div",1)(1,"button",2),B("click",function(){at(r);let s=w();return rt(s.action())}),f(2),u()()}if(e&2){let r=w();p(2),It(" ",r.data.action," ")}}return S({type:n,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(a,r){a&1&&(h(0,"div",0),f(1),u(),C(2,t,3,1,"div",1)),a&2&&(p(),It(" ",r.data.message,` +`),p(),k(r.hasAction?2:-1))},dependencies:[He,Qv,Jv,t_],styles:[`.mat-mdc-simple-snack-bar { + display: flex; +} +.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label { + max-height: 50vh; + overflow: auto; +} +`],encapsulation:2})})()}return n})(),qc="_mat-snack-bar-enter",Kc="_mat-snack-bar-exit",n_=(()=>{class n extends Hn{_ngZone=c(O);_elementRef=c(R);_changeDetectorRef=c(xt);_platform=c(ut);_animationsDisabled=Ct();snackBarConfig=c(la);_document=c(F);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=c(K);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new E;_onExit=new E;_onEnter=new E;_animationState="void";_live;_label;_role;_liveElementId=c(St).getId("mat-snack-bar-container-live-");constructor(){super();let t=this.snackBarConfig;t.politeness==="assertive"&&!t.announcementMessage?this._live="assertive":t.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}attachDomPortal=t=>{this._assertNotAttached();let e=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),e};onAnimationEnd(t){t===Kc?this._completeExit():t===qc&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?Pt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(qc)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(qc)},200)))}exit(){return this._destroyed?A(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?Pt(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Kc)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Kc),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(o=>t.classList.add(o)):t.classList.add(e)),this._exposeToModals();let a=this._label.nativeElement,r="mdc-snackbar__label";a.classList.toggle(r,!a.querySelector(`.${r}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a{let e=t.getAttribute("aria-owns");if(e){let a=e.replace(this._liveElementId,"").trim();a.length>0?t.setAttribute("aria-owns",a):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let t=this._elementRef.nativeElement,e=t.querySelector("[aria-hidden]"),a=t.querySelector("[aria-live]");if(e&&a){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),a.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["label"];function e(a,r){}return S({type:n,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,o){if(r&1&&Kt($n,7)(t,7),r&2){let s;P(s=L())&&(o._portalOutlet=s.first),P(s=L())&&(o._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(r,o){r&1&&B("animationend",function(l){return o.onAnimationEnd(l.animationName)})("animationcancel",function(l){return o.onAnimationEnd(l.animationName)}),r&2&&z("mat-snack-bar-container-enter",o._animationState==="visible")("mat-snack-bar-container-exit",o._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!o._animationsDisabled)},features:[ot],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(h(0,"div",1)(1,"div",2,0)(3,"div",3),Ke(4,e,0,0,"ng-template",4),u(),dt(5,"div"),u()()),r&2&&(p(5),H("aria-live",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[$n],styles:[`@keyframes _mat-snack-bar-enter { + from { + transform: scale(0.8); + opacity: 0; + } + to { + transform: scale(1); + opacity: 1; + } +} +@keyframes _mat-snack-bar-exit { + from { + opacity: 1; + } + to { + opacity: 0; + } +} +.mat-mdc-snack-bar-container { + display: flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + margin: 8px; +} +.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container { + width: 100vw; +} + +.mat-snack-bar-container-animations-enabled { + opacity: 0; +} +.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible { + opacity: 1; +} +.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter { + animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards; +} +.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit { + animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards; +} + +.mat-mdc-snackbar-surface { + box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12); + display: flex; + align-items: center; + justify-content: flex-start; + box-sizing: border-box; + padding-left: 0; + padding-right: 8px; +} +[dir=rtl] .mat-mdc-snackbar-surface { + padding-right: 0; + padding-left: 8px; +} +.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface { + min-width: 344px; + max-width: 672px; +} +.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface { + width: 100%; + min-width: 0; +} +@media (forced-colors: active) { + .mat-mdc-snackbar-surface { + outline: solid 1px; + } +} +.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface { + color: var(--%NS%mat-snack-bar-supporting-text-color, var(--%NS%mat-sys-inverse-on-surface)); + border-radius: var(--%NS%mat-snack-bar-container-shape, var(--%NS%mat-sys-corner-extra-small)); + background-color: var(--%NS%mat-snack-bar-container-color, var(--%NS%mat-sys-inverse-surface)); +} + +.mdc-snackbar__label { + width: 100%; + flex-grow: 1; + box-sizing: border-box; + margin: 0; + padding: 14px 8px 14px 16px; +} +[dir=rtl] .mdc-snackbar__label { + padding-left: 8px; + padding-right: 16px; +} +.mat-mdc-snack-bar-container .mdc-snackbar__label { + font-family: var(--%NS%mat-snack-bar-supporting-text-font, var(--%NS%mat-sys-body-medium-font)); + font-size: var(--%NS%mat-snack-bar-supporting-text-size, var(--%NS%mat-sys-body-medium-size)); + font-weight: var(--%NS%mat-snack-bar-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight)); + line-height: var(--%NS%mat-snack-bar-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height)); +} + +.mat-mdc-snack-bar-actions { + display: flex; + flex-shrink: 0; + align-items: center; + box-sizing: border-box; +} + +.mat-mdc-snack-bar-handset, +.mat-mdc-snack-bar-container, +.mat-mdc-snack-bar-label { + flex: 1 1 auto; +} + +.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed { + color: var(--%NS%mat-snack-bar-button-color, var(--%NS%mat-sys-inverse-primary)); +} +.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) { + --%NS%mat-button-text-state-layer-color: currentColor; + --%NS%mat-button-text-ripple-color: currentColor; +} +.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element { + opacity: 0.1; +} +`],encapsulation:2,changeDetection:1})})()}return n})(),i_=new v("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new la}),ca=(()=>{class n{_live=c(Ac);_injector=c(K);_breakpointObserver=c(ur);_parentSnackBar=c(n,{optional:!0,skipSelf:!0});_defaultConfig=c(i_);_animationsDisabled=Ct();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=e_;snackBarContainerComponent=n_;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",a){let r=g(g({},this._defaultConfig),a);return r.data={message:t,action:e},r.announcementMessage===t&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let a=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=K.create({parent:a||this._injector,providers:[{provide:la,useValue:e}]}),o=new Mn(this.snackBarContainerComponent,e.viewContainerRef,r),s=t.attach(o);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){let a=g(g(g({},new la),this._defaultConfig),e),r=this._createOverlay(a),o=this._attachSnackBarContainer(r,a),s=new Cr(o,r);if(t instanceof Te){let l=new ze(t,null,{$implicit:a.data,snackBarRef:s});s.instance=o.attachTemplatePortal(l)}else{let l=this._createInjector(a,s),d=new Mn(t,void 0,l),m=o.attachComponentPortal(d);s.instance=m.instance}return this._breakpointObserver.observe(as.HandsetPortrait).pipe(kt(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),a.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(a.announcementMessage,a.politeness)}),this._animateSnackBar(s,a),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter()}_createOverlay(t){let e=new je;e.direction=t.direction;let a=bi(this._injector),r=t.direction==="rtl",o=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!r||t.horizontalPosition==="end"&&r,s=!o&&t.horizontalPosition!=="center";return o?a.left("0"):s?a.right("0"):a.centerHorizontally(),t.verticalPosition==="top"?a.top("0"):a.bottom("0"),e.positionStrategy=a,e.disableAnimations=this._animationsDisabled,Dn(this._injector,e)}_createInjector(t,e){let a=t&&t.viewContainerRef&&t.viewContainerRef.injector;return K.create({parent:a||this._injector,providers:[{provide:Cr,useValue:e},{provide:Ph,useValue:t.data}]})}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function da(n){switch(n.status){case 401:return"Please log in to continue";case 403:return"You do not have permission to do this";case 404:return"Tutorial not found";default:return n.error?.message??"Something went wrong, please try again"}}var _s="auth-user",gn=(()=>{class n{constructor(){}saveUser(t){window.sessionStorage.removeItem(_s),window.sessionStorage.setItem(_s,JSON.stringify(t))}getUser(){let t=window.sessionStorage.getItem(_s);return t?JSON.parse(t):{}}clean(){window.sessionStorage.clear()}isLoggedIn(){return!!window.sessionStorage.getItem(_s)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var yi="/api/tutorials",ma=(()=>{class n{http;constructor(t){this.http=t}getAll(){return this.http.get(yi)}get(t){return this.http.get(`${yi}/${t}`)}create(t){return this.http.post(yi,t)}update(t,e){return this.http.put(`${yi}/${t}`,e)}delete(t){return this.http.delete(`${yi}/${t}`)}deleteAll(){return this.http.delete(yi)}findByTitle(t){return this.http.get(`${yi}?title=${t}`)}static \u0275fac=function(e){return new(e||n)(T(Le))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var $h=(()=>{class n{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,e){this._renderer=t,this._elementRef=e}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(e){return new(e||n)(U(pt),U(R))};static \u0275dir=x({type:n})}return n})(),a_=(()=>{class n extends $h{static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,features:[ot]})}return n})(),fa=new v("");var r_={provide:fa,useExisting:se(()=>me),multi:!0};function o_(){let n=Me()?Me().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var s_=new v(""),me=(()=>{class n extends $h{_compositionMode;_composing=!1;constructor(t,e,a){super(t,e),this._compositionMode=a,this._compositionMode==null&&(this._compositionMode=!o_())}writeValue(t){let e=t??"";this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(e){return new(e||n)(U(pt),U(R),U(s_,8))};static \u0275dir=x({type:n,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(e,a){e&1&&B("input",function(o){return a._handleInput(o.target.value)})("blur",function(){return a.onTouched()})("compositionstart",function(){return a._compositionStart()})("compositionend",function(o){return a._compositionEnd(o.target.value)})},standalone:!1,features:[ft([r_]),ot]})}return n})();function Qc(n){return n==null||Jc(n)===0}function Jc(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var qn=new v(""),Rs=new v(""),l_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,xi=class{static min(i){return c_(i)}static max(i){return d_(i)}static required(i){return Gh(i)}static requiredTrue(i){return m_(i)}static email(i){return Wh(i)}static minLength(i){return qh(i)}static maxLength(i){return Kh(i)}static pattern(i){return u_(i)}static nullValidator(i){return xs()}static compose(i){return tp(i)}static composeAsync(i){return ep(i)}};function c_(n){return i=>{if(i.value==null||n==null)return null;let t=parseFloat(i.value);return!isNaN(t)&&t{if(i.value==null||n==null)return null;let t=parseFloat(i.value);return!isNaN(t)&&t>n?{max:{max:n,actual:i.value}}:null}}function Gh(n){return Qc(n.value)?{required:!0}:null}function m_(n){return n.value===!0?null:{required:!0}}function Wh(n){return Qc(n.value)||l_.test(n.value)?null:{email:!0}}function qh(n){return i=>{let t=i.value?.length??Jc(i.value);return t===null||t===0?null:t{let t=i.value?.length??Jc(i.value);return t!==null&&t>n?{maxlength:{requiredLength:n,actualLength:t}}:null}}function u_(n){if(!n)return xs;let i,t;return typeof n=="string"?(t="",n.charAt(0)!=="^"&&(t+="^"),t+=n,n.charAt(n.length-1)!=="$"&&(t+="$"),i=new RegExp(t)):(t=n.toString(),i=n),e=>{if(Qc(e.value))return null;let a=e.value;return i.test(a)?null:{pattern:{requiredPattern:t,actualValue:a}}}}function xs(n){return null}function Yh(n){return n!=null}function Xh(n){return Pi(n)?Zt(n):n}function Zh(n){let i={};return n.forEach(t=>{i=t!=null?g(g({},i),t):i}),Object.keys(i).length===0?null:i}function Qh(n,i){return i.map(t=>t(n))}function h_(n){return!n.validate}function Jh(n){return n.map(i=>h_(i)?i:t=>i.validate(t))}function tp(n){if(!n)return null;let i=n.filter(Yh);return i.length==0?null:function(t){return Zh(Qh(t,i))}}function td(n){return n!=null?tp(Jh(n)):null}function ep(n){if(!n)return null;let i=n.filter(Yh);return i.length==0?null:function(t){let e=Qh(t,i).map(Xh);return Ur(e).pipe(st(Zh))}}function ed(n){return n!=null?ep(Jh(n)):null}function Bh(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function np(n){return n._rawValidators}function ip(n){return n._rawAsyncValidators}function Yc(n){return n?Array.isArray(n)?n:[n]:[]}function ws(n,i){return Array.isArray(n)?n.includes(i):n===i}function Vh(n,i){let t=Yc(i);return Yc(n).forEach(a=>{ws(t,a)||t.push(a)}),t}function zh(n,i){return Yc(i).filter(t=>!ws(n,t))}var Ss=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=td(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=ed(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,t){return this.control?this.control.hasError(i,t):!1}getError(i,t){return this.control?this.control.getError(i,t):null}},Gn=class extends Ss{name;get formDirective(){return null}get path(){return null}};var kr="VALID",ys="INVALID",ua="PENDING",Mr="DISABLED",Wn=class{},Cs=class extends Wn{value;source;constructor(i,t){super(),this.value=i,this.source=t}},Er=class extends Wn{pristine;source;constructor(i,t){super(),this.pristine=i,this.source=t}},Nr=class extends Wn{touched;source;constructor(i,t){super(),this.touched=i,this.source=t}},ha=class extends Wn{status;source;constructor(i,t){super(),this.status=i,this.source=t}},ks=class extends Wn{source;constructor(i){super(),this.source=i}},pa=class extends Wn{source;constructor(i){super(),this.source=i}};function ap(n){return(Ts(n)?n.validators:n)||null}function p_(n){return Array.isArray(n)?td(n):n||null}function rp(n,i){return(Ts(i)?i.asyncValidators:n)||null}function f_(n){return Array.isArray(n)?ed(n):n||null}function Ts(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function g_(n,i,t){let e=n.controls;if(!(i?Object.keys(e):e).length)throw new W(1e3,"");if(!op(e,t))throw new W(1001,"")}function b_(n,i,t){n._forEachChild((e,a)=>{if(t[a]===void 0)throw new W(-1002,"")})}var Ms=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=X(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,t){this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return et(this.statusReactive)}set status(i){et(()=>this.statusReactive.set(i))}_status=pe(()=>this.statusReactive());statusReactive=X(void 0);get valid(){return this.status===kr}get invalid(){return this.status===ys}get pending(){return this.status===ua}get disabled(){return this.status===Mr}get enabled(){return this.status!==Mr}errors;get pristine(){return et(this.pristineReactive)}set pristine(i){et(()=>this.pristineReactive.set(i))}_pristine=pe(()=>this.pristineReactive());pristineReactive=X(!0);get dirty(){return!this.pristine}get touched(){return et(this.touchedReactive)}set touched(i){et(()=>this.touchedReactive.set(i))}_touched=pe(()=>this.touchedReactive());touchedReactive=X(!1);get untouched(){return!this.touched}_events=new E;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Vh(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Vh(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(zh(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(zh(i,this._rawAsyncValidators))}hasValidator(i){return ws(this._rawValidators,i)}hasAsyncValidator(i){return ws(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let t=this.touched===!1;this.touched=!0;let e=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(ct(g({},i),{sourceControl:e})),t&&i.emitEvent!==!1&&this._events.next(new Nr(!0,e))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(i))}markAsUntouched(i={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=i.sourceControl??this;this._forEachChild(a=>{a.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:e})}),i.onlySelf||this._parent?._updateTouched(i,e),t&&i.emitEvent!==!1&&this._events.next(new Nr(!1,e))}markAsDirty(i={}){let t=this.pristine===!0;this.pristine=!1;let e=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(ct(g({},i),{sourceControl:e})),t&&i.emitEvent!==!1&&this._events.next(new Er(!1,e))}markAsPristine(i={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=i.sourceControl??this;this._forEachChild(a=>{a.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,e),t&&i.emitEvent!==!1&&this._events.next(new Er(!0,e))}markAsPending(i={}){this.status=ua;let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new ha(this.status,t)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(ct(g({},i),{sourceControl:t}))}disable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=Mr,this.errors=null,this._forEachChild(a=>{a.disable(ct(g({},i),{onlySelf:!0}))}),this._updateValue();let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Cs(this.value,e)),this._events.next(new ha(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ct(g({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(a=>a(!0))}enable(i={}){let t=this._parentMarkedDirty(i.onlySelf);this.status=kr,this._forEachChild(e=>{e.enable(ct(g({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(ct(g({},i),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(i,t){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kr||this.status===ua)&&this._runAsyncValidator(e,i.emitEvent)}let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Cs(this.value,t)),this._events.next(new ha(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(ct(g({},i),{sourceControl:t}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Mr:kr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,t){if(this.asyncValidator){this.status=ua,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:i!==!1};let e=Xh(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(a=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(a,{emitEvent:t,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(i){let t=i;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((e,a)=>e&&e._find(a),this)}getError(i,t){let e=t?this.get(t):this;return e?.errors?e.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,t,e){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||e)&&this._events.next(new ha(this.status,t)),this._parent&&this._parent._updateControlsErrors(i,t,e)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?Mr:this.errors?ys:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ua)?ua:this._anyControlsHaveStatus(ys)?ys:kr}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,t){let e=!this._anyControlsDirty(),a=this.pristine!==e;this.pristine=e,i.onlySelf||this._parent?._updatePristine(i,t),a&&this._events.next(new Er(this.pristine,t))}_updateTouched(i={},t){this.touched=this._anyControlsTouched(),this._events.next(new Nr(this.touched,t)),i.onlySelf||this._parent?._updateTouched(i,t)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Ts(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=p_(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=f_(this._rawAsyncValidators)}_updateHasRequiredValidator(){et(()=>this._hasRequired.set(this.hasValidator(xi.required)))}};function op(n,i){return Object.hasOwn(n,i)}function v_(n){return n.tagName==="INPUT"||n.tagName==="SELECT"||n.tagName==="TEXTAREA"}function __(n,i,t,e){switch(t){case"name":n.setAttribute(i,t,e);break;case"disabled":case"readonly":case"required":e?n.setAttribute(i,t,""):n.removeAttribute(i,t);break;case"max":case"min":case"minLength":case"maxLength":e!==void 0?n.setAttribute(i,t,e.toString()):n.removeAttribute(i,t);break}}var Xc=class{kind;context;control;message;constructor({kind:i,context:t,control:e}){this.kind=i,this.context=t,this.control=e}};function sp(n){return typeof n=="number"?n:parseInt(n,10)}var Os=(()=>{class n{_validator=xs;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):xs,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,features:[Dt]})}return n})();var y_={provide:qn,useExisting:se(()=>bn),multi:!0};var bn=(()=>{class n extends Os{required;inputName="required";normalizeInput=j;createValidator=t=>Gh;enabled(t){return t}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,a){e&2&&H("required",a._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ft([y_]),ot]})}return n})();var x_={provide:qn,useExisting:se(()=>nd),multi:!0},nd=(()=>{class n extends Os{email;inputName="email";normalizeInput=j;createValidator=t=>Wh;enabled(t){return t}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[ft([x_]),ot]})}return n})(),w_={provide:qn,useExisting:se(()=>Ir),multi:!0},Ir=(()=>{class n extends Os{minlength;inputName="minlength";normalizeInput=t=>sp(t);createValidator=t=>qh(t);static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,a){e&2&&H("minlength",a._enabled?a.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[ft([w_]),ot]})}return n})(),S_={provide:qn,useExisting:se(()=>wi),multi:!0},wi=(()=>{class n extends Os{maxlength;inputName="maxlength";normalizeInput=t=>sp(t);createValidator=t=>Kh(t);static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,a){e&2&&H("maxlength",a._enabled?a.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[ft([S_]),ot]})}return n})();var C_=new v(""),ga=new v("",{factory:()=>Fs}),Fs="always";function k_(n,i){return[...i.path,n]}function Zc(n,i,t=Fs){id(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||t==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),D_(n,i),N_(n,i),E_(n,i),M_(n,i)}function Ds(n,i,t=!0){let e=()=>{};i?.valueAccessor?.registerOnChange(e),i?.valueAccessor?.registerOnTouched(e),Ns(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Es(n,i){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function M_(n,i){if(i.valueAccessor.setDisabledState){let t=e=>{i.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(t),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}function id(n,i){let t=np(n);i.validator!==null?n.setValidators(Bh(t,i.validator)):typeof t=="function"&&n.setValidators([t]);let e=ip(n);i.asyncValidator!==null?n.setAsyncValidators(Bh(e,i.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let a=()=>n.updateValueAndValidity();Es(i._rawValidators,a),Es(i._rawAsyncValidators,a)}function Ns(n,i){let t=!1;if(n!==null){if(i.validator!==null){let a=np(n);if(Array.isArray(a)&&a.length>0){let r=a.filter(o=>o!==i.validator);r.length!==a.length&&(t=!0,n.setValidators(r))}}if(i.asyncValidator!==null){let a=ip(n);if(Array.isArray(a)&&a.length>0){let r=a.filter(o=>o!==i.asyncValidator);r.length!==a.length&&(t=!0,n.setAsyncValidators(r))}}}let e=()=>{};return Es(i._rawValidators,e),Es(i._rawAsyncValidators,e),t}function D_(n,i){i.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&lp(n,i)})}function E_(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&lp(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function lp(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function N_(n,i){let t=(e,a)=>{i.valueAccessor.writeValue(e),a&&i.viewToModelUpdate(e)};n.registerOnChange(t),i._registerOnDestroy(()=>{n._unregisterOnChange(t)})}function cp(n,i){n==null,id(n,i)}function I_(n,i){return Ns(n,i)}function dp(n,i){if(!Object.hasOwn(n,"model"))return!1;let t=n.model;return t.isFirstChange()?!0:!Object.is(i,t.currentValue)}function A_(n){return Object.getPrototypeOf(n.constructor)===a_}function mp(n,i){n._syncPendingControls(),i.forEach(t=>{let e=t.control;e.updateOn==="submit"&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function R_(n,i){if(!i)return null;Array.isArray(i);let t,e,a;return i.forEach(r=>{r.constructor===me?t=r:A_(r)?e=r:a=r}),a||e||t||null}function T_(n,i){let t=n.indexOf(i);t>-1&&n.splice(t,1)}var up={provide:C_,useFactory:()=>{let n=c($e,{self:!0});return{setParseErrors:i=>{n.setParseErrorSource(i)},set onReset(i){n.onReset=i}}}},$e=class extends Ss{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(i){this.userOnReset=i,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(t=>{t instanceof pa&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=R_(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(i,t,e){super(),this.injector=i,this.renderer=t,this.rawValueAccessors=e,this.injector?.get(on)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let i=this.injector?.get(xt);if(!this.control||!i)return;let t=i.markForCheck.bind(i);this.subscription=new Et,this.subscription.add(this.control.valueChanges.subscribe(t)),this.subscription.add(this.control.statusChanges.subscribe(t)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(e=>{e instanceof pa&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator)}ngControlCreate(i){!i.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!i.customControl||(this.isCustomControlBased=!0,i.listenToCustomControlModel(a=>{this.control?.markAsDirty(),this.control?.setValue(a,{emitModelToViewChange:!1}),this.viewToModelUpdate(a)}),i.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched()}),this.customControlBindings={},this.isNativeFormElement=v_(i.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(a=>a instanceof bn))}ngControlUpdate(i,t){if(!this.isCustomControlBased)return;let e=this.control,a=this.customControlBindings;Object.is(a.value,e.value)||(a.value=e.value,i.setCustomControlModelInput(e.value)),this.bindControlProperty(i,a,"touched",e.touched),this.bindControlProperty(i,a,"dirty",e.dirty),this.bindControlProperty(i,a,"valid",e.valid),this.bindControlProperty(i,a,"invalid",e.invalid),this.bindControlProperty(i,a,"pending",e.pending),this.bindControlProperty(i,a,"disabled",e.disabled),this.shouldBindRequired&&this.bindControlProperty(i,a,"required",this.isRequired);let r=e.errors;if(a.errors!==r){a.errors=r;let o=this._convertErrors(r);i.setInputOnDirectives("errors",o)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(i,t,e,a){if(t[e]===a)return;t[e]=a;let r=i.setInputOnDirectives(e,a);this.isNativeFormElement&&!r&&(e==="disabled"||e==="required")&&this.renderer&&__(this.renderer,i.nativeElement,e,a)}_convertErrors(i){if(i===null)return[];let t=this.control;return Object.entries(i).map(([e,a])=>new Xc({context:a,kind:e,control:t}))}setParseErrorSource(i){if(i===void 0)return;let t=null,e=pe(()=>{let a=i();return a.length===0?null:a.reduce((r,o)=>(r[o.kind]=o,r),{})});this.parseErrorsValidator=(()=>t).bind(this),qe(()=>{t=e(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(i){this.parseErrorsValidator&&(i?.removeValidators(this.parseErrorsValidator),i?.updateValueAndValidity({emitEvent:!1}))}},Is=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var Se=(()=>{class n extends Is{constructor(t){super(t)}static \u0275fac=function(e){return new(e||n)(U($e,2))};static \u0275dir=x({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,a){e&2&&z("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)},standalone:!1,features:[ot]})}return n})(),vn=(()=>{class n extends Is{constructor(t){super(t)}static \u0275fac=function(e){return new(e||n)(U(Gn,10))};static \u0275dir=x({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,a){e&2&&z("ng-untouched",a.isUntouched)("ng-touched",a.isTouched)("ng-pristine",a.isPristine)("ng-dirty",a.isDirty)("ng-valid",a.isValid)("ng-invalid",a.isInvalid)("ng-pending",a.isPending)("ng-submitted",a.isSubmitted)},standalone:!1,features:[ot]})}return n})(),As=class extends Ms{constructor(i,t,e){super(ap(t),rp(e,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,t){let e=this._find(i);return e||(this.controls[i]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(i,t,e={}){this.registerControl(i,t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(i,t={}){let e=this._find(i);e&&e._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(i,t,e={}){let a=this._find(i);a&&a._registerOnCollectionChange(()=>{}),delete this.controls[i],t&&this.registerControl(i,t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(i){return this._find(i)?.enabled===!0}setValue(i,t={}){et(()=>{b_(this,!0,i),Object.keys(i).forEach(e=>{g_(this,!0,e),this.controls[e].setValue(i[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)})}patchValue(i,t={}){i!=null&&(Object.keys(i).forEach(e=>{let a=this._find(e);a&&a.patchValue(i[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i={},t={}){this._forEachChild((e,a)=>{e.reset(i?i[a]:null,ct(g({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new pa(this))}getRawValue(){return this._reduceChildren({},(i,t,e)=>(i[e]=t.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(t,e)=>e._syncPendingControls()?!0:t);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(t=>{let e=this.controls[t];e&&i(e,t)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[t,e]of Object.entries(this.controls))if(this.contains(t)&&i(e))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(t,e,a)=>((e.enabled||this.disabled)&&(t[a]=e.value),t))}_reduceChildren(i,t){let e=i;return this._forEachChild((a,r)=>{e=t(e,a,r)}),e}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return op(this.controls,i)?this.controls[i]:null}};var O_={provide:Gn,useExisting:se(()=>ye)},Dr=Promise.resolve(),ye=(()=>{class n extends Gn{callSetDisabledState;get submitted(){return et(this.submittedReactive)}_submitted=pe(()=>this.submittedReactive());submittedReactive=X(!1);_directives=new Set;form;ngSubmit=new Q;options;constructor(t,e,a){super(),this.callSetDisabledState=a,this.form=new As({},td(t),ed(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Dr.then(()=>{let e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),t._setupWithForm(this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Dr.then(()=>{this._findContainer(t.path)?.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Dr.then(()=>{let e=this._findContainer(t.path),a=new As({});cp(a,t),e.registerControl(t.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Dr.then(()=>{this._findContainer(t.path)?.removeControl?.(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Dr.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),mp(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new ks(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(e){return new(e||n)(U(qn,10),U(Rs,10),U(ga,8))};static \u0275dir=x({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,a){e&1&&B("submit",function(o){return a.onSubmit(o)})("reset",function(){return a.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ft([O_]),ot]})}return n})();function jh(n,i){let t=n.indexOf(i);t>-1&&n.splice(t,1)}function Uh(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var Ar=class extends Ms{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,t,e){super(ap(t),rp(e,t)),this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ts(t)&&(t.nonNullable||t.initialValueIsDefault)&&(Uh(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,t={}){et(()=>{this.value=this._pendingValue=i,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)})}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new pa(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){jh(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){jh(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){Uh(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var F_=n=>n instanceof Ar;var P_=(()=>{class n extends Gn{callSetDisabledState;get submitted(){return et(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=pe(()=>this._submittedReactive());_submittedReactive=X(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(t,e,a){super(),this.callSetDisabledState=a,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this.onChanges(t)}ngOnDestroy(){this.onDestroy()}onChanges(t){if(!this.form)throw new W(1052,!1);Object.hasOwn(t,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Ns(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(t){let e=this.form.get(t.path);return t._setupWithForm(e,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Ds(t.control||null,t,!1),T_(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}getFormArray(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}updateModel(t,e){this.form.get(t.path).setValue(e)}onReset(){this.resetForm()}resetForm(t=void 0,e={}){this.form.reset(t,e),this._submittedReactive.set(!1)}onSubmit(t){return this.submitted=!0,mp(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new ks(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let e=t.control,a=this.form.get(t.path);e!==a&&(Ds(e||null,t),F_(a)&&t._setupWithForm(a,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let e=this.form.get(t.path);cp(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let e=this.form?.get(t.path);e&&I_(e,t)&&e.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){id(this.form,this),this._oldForm&&Ns(this._oldForm,this)}static \u0275fac=function(e){return new(e||n)(U(qn,10),U(Rs,10),U(ga,8))};static \u0275dir=x({type:n,features:[ot,Dt]})}return n})(),L_={provide:Gn,useExisting:se(()=>Rr)},Rr=(()=>{class n extends P_{form=null;ngSubmit=new Q;get control(){return this.form}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,a){e&1&&B("submit",function(o){return a.onSubmit(o)})("reset",function(){return a.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ft([L_]),ot]})}return n})(),B_={provide:$e,useExisting:se(()=>Ne)},Hh=Promise.resolve(),Ne=(()=>{class n extends $e{_changeDetectorRef;callSetDisabledState;control=new Ar;static ngAcceptInputType_isDisabled;_registered=!1;_ngModelInjector;viewModel;name="";isDisabled;model;options;update=new Q;constructor(t,e,a,r,o,s,l,d){super(l,d,r),this._changeDetectorRef=o,this.callSetDisabledState=s,this._parent=t,this._setValidators(e),this._setAsyncValidators(a)}ngOnChanges(t){if(this._registered,this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),dp(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}\u0275ngControlCreate(t){super.ngControlCreate(t)}\u0275ngControlUpdate(t){super.ngControlUpdate(t,!1)}get shouldBindRequired(){return!1}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Zc(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:!1})}_setupWithForm(t){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Zc(this.control,this,t))}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Hh.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let e=t.isDisabled.currentValue,a=e!==0&&j(e);Hh.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?k_(t,this._parent):[t]}static \u0275fac=function(e){return new(e||n)(U(Gn,9),U(qn,10),U(Rs,10),U(fa,10),U(xt,8),U(ga,8),U(K,8),U(pt,8))};static \u0275dir=x({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ft([B_,up]),ot,Dt,cl(null)]})}return n})();var _n=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})();var hp=new v(""),V_={provide:$e,useExisting:se(()=>ad)},ad=(()=>{class n extends $e{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new Q;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,e,a,r,o,s,l){super(l,s,a),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){if(this._isControlChanged(t)){let e=t.form.previousValue;e&&(Ds(e,this,!1),this.removeParseErrorsValidator(e)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Zc(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:!1})}dp(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ds(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return Object.hasOwn(t,"form")}\u0275ngControlCreate(t){super.ngControlCreate(t)}\u0275ngControlUpdate(t){super.ngControlUpdate(t,!0)}static \u0275fac=function(e){return new(e||n)(U(qn,10),U(Rs,10),U(fa,10),U(hp,8),U(ga,8),U(pt,8),U(K,8))};static \u0275dir=x({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ft([V_,up]),ot,Dt,cl(null)]})}return n})();var pp=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({})}return n})();var ba=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:ga,useValue:t.callSetDisabledState??Fs}]}}static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[pp]})}return n})(),fp=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:hp,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ga,useValue:t.callSetDisabledState??Fs}]}}static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[pp]})}return n})();var z_=new v("MAT_CARD_CONFIG"),va=(()=>{class n{appearance;constructor(){let t=c(z_,{optional:!0});this.appearance=t?.appearance||"raised"}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){return S({type:n,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(a,r){a&2&&z("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")("mat-mdc-card-filled",r.appearance==="filled")("mdc-card--filled",r.appearance==="filled")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:["*"],decls:1,vars:0,template:function(a,r){a&1&&(_t(),V(0))},styles:[`.mat-mdc-card { + display: flex; + flex-direction: column; + box-sizing: border-box; + position: relative; + border-style: solid; + border-width: 0; + background-color: var(--%NS%mat-card-elevated-container-color, var(--%NS%mat-sys-surface-container-low)); + border-color: var(--%NS%mat-card-elevated-container-color, var(--%NS%mat-sys-surface-container-low)); + border-radius: var(--%NS%mat-card-elevated-container-shape, var(--%NS%mat-sys-corner-medium)); + box-shadow: var(--%NS%mat-card-elevated-container-elevation, var(--%NS%mat-sys-level1)); +} +.mat-mdc-card::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: solid 1px transparent; + content: ""; + display: block; + pointer-events: none; + box-sizing: border-box; + border-radius: var(--%NS%mat-card-elevated-container-shape, var(--%NS%mat-sys-corner-medium)); +} + +.mat-mdc-card-outlined { + background-color: var(--%NS%mat-card-outlined-container-color, var(--%NS%mat-sys-surface)); + border-radius: var(--%NS%mat-card-outlined-container-shape, var(--%NS%mat-sys-corner-medium)); + border-width: var(--%NS%mat-card-outlined-outline-width, 1px); + border-color: var(--%NS%mat-card-outlined-outline-color, var(--%NS%mat-sys-outline-variant)); + box-shadow: var(--%NS%mat-card-outlined-container-elevation, var(--%NS%mat-sys-level0)); +} +.mat-mdc-card-outlined::after { + border: none; +} + +.mat-mdc-card-filled { + background-color: var(--%NS%mat-card-filled-container-color, var(--%NS%mat-sys-surface-container-highest)); + border-radius: var(--%NS%mat-card-filled-container-shape, var(--%NS%mat-sys-corner-medium)); + box-shadow: var(--%NS%mat-card-filled-container-elevation, var(--%NS%mat-sys-level0)); +} + +.mdc-card__media { + position: relative; + box-sizing: border-box; + background-repeat: no-repeat; + background-position: center; + background-size: cover; +} +.mdc-card__media::before { + display: block; + content: ""; +} +.mdc-card__media:first-child { + border-top-left-radius: inherit; + border-top-right-radius: inherit; +} +.mdc-card__media:last-child { + border-bottom-left-radius: inherit; + border-bottom-right-radius: inherit; +} + +.mat-mdc-card-actions { + display: flex; + flex-direction: row; + align-items: center; + box-sizing: border-box; + min-height: 52px; + padding: 8px; +} + +.mat-mdc-card-title { + font-family: var(--%NS%mat-card-title-text-font, var(--%NS%mat-sys-title-large-font)); + line-height: var(--%NS%mat-card-title-text-line-height, var(--%NS%mat-sys-title-large-line-height)); + font-size: var(--%NS%mat-card-title-text-size, var(--%NS%mat-sys-title-large-size)); + letter-spacing: var(--%NS%mat-card-title-text-tracking, var(--%NS%mat-sys-title-large-tracking)); + font-weight: var(--%NS%mat-card-title-text-weight, var(--%NS%mat-sys-title-large-weight)); +} + +.mat-mdc-card-subtitle { + color: var(--%NS%mat-card-subtitle-text-color, var(--%NS%mat-sys-on-surface)); + font-family: var(--%NS%mat-card-subtitle-text-font, var(--%NS%mat-sys-title-medium-font)); + line-height: var(--%NS%mat-card-subtitle-text-line-height, var(--%NS%mat-sys-title-medium-line-height)); + font-size: var(--%NS%mat-card-subtitle-text-size, var(--%NS%mat-sys-title-medium-size)); + letter-spacing: var(--%NS%mat-card-subtitle-text-tracking, var(--%NS%mat-sys-title-medium-tracking)); + font-weight: var(--%NS%mat-card-subtitle-text-weight, var(--%NS%mat-sys-title-medium-weight)); +} + +.mat-mdc-card-title, +.mat-mdc-card-subtitle { + display: block; + margin: 0; +} +.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title, +.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle { + padding: 16px 16px 0; +} + +.mat-mdc-card-header { + display: flex; + padding: 16px 16px 0; +} + +.mat-mdc-card-content { + display: block; + padding: 0 16px; +} +.mat-mdc-card-content:first-child { + padding-top: 16px; +} +.mat-mdc-card-content:last-child { + padding-bottom: 16px; +} + +.mat-mdc-card-title-group { + display: flex; + justify-content: space-between; + width: 100%; +} + +.mat-mdc-card-avatar { + height: 40px; + width: 40px; + border-radius: 50%; + flex-shrink: 0; + margin-bottom: 16px; + object-fit: cover; +} +.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-subtitle, +.mat-mdc-card-avatar ~ .mat-mdc-card-header-text .mat-mdc-card-title { + line-height: normal; +} + +.mat-mdc-card-sm-image { + width: 80px; + height: 80px; +} + +.mat-mdc-card-md-image { + width: 112px; + height: 112px; +} + +.mat-mdc-card-lg-image { + width: 152px; + height: 152px; +} + +.mat-mdc-card-xl-image { + width: 240px; + height: 240px; +} + +.mat-mdc-card-subtitle ~ .mat-mdc-card-title, +.mat-mdc-card-title ~ .mat-mdc-card-subtitle, +.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title, +.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle, +.mat-mdc-card-title-group .mat-mdc-card-title, +.mat-mdc-card-title-group .mat-mdc-card-subtitle { + padding-top: 0; +} + +.mat-mdc-card-content > :last-child:not(.mat-mdc-card-footer) { + margin-bottom: 0; +} + +.mat-mdc-card-actions-align-end { + justify-content: flex-end; +} +`],encapsulation:2})})()}return n})(),gp=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return n})();var _a=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return n})(),Ps=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return n})(),ya=(()=>{class n{align="start";static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,a){e&2&&z("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return n})(),Ls=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"];return S({type:n,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, + [mat-card-title], [mat-card-subtitle], + [matCardTitle], [matCardSubtitle]`,"*"],decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(r,o){r&1&&(_t(t),V(0),qt(1,"div",0),V(2,1),te(),V(3,2))},encapsulation:2})})()}return n})();var bp=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[Xt]})}return n})();var j_=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(e,a){},styles:[`textarea.cdk-textarea-autosize { + resize: none; +} + +textarea.cdk-textarea-autosize-measuring { + padding: 2px 0 !important; + box-sizing: content-box !important; + height: auto !important; + overflow: hidden !important; +} + +textarea.cdk-textarea-autosize-measuring-firefox { + padding: 2px 0 !important; + box-sizing: content-box !important; + height: 0 !important; +} + +@keyframes cdk-text-field-autofill-start { /*!*/ } +@keyframes cdk-text-field-autofill-end { /*!*/ } +.cdk-text-field-autofill-monitored:-webkit-autofill { + animation: cdk-text-field-autofill-start 0s 1ms; +} + +.cdk-text-field-autofill-monitored:not(:-webkit-autofill) { + animation: cdk-text-field-autofill-end 0s 1ms; +} +`],encapsulation:2})}return n})(),U_={passive:!0},vp=(()=>{class n{_platform=c(ut);_ngZone=c(O);_renderer=c(Jt).createRenderer(null,null);_styleLoader=c(Bt);_monitoredElements=new Map;monitor(t){if(!this._platform.isBrowser)return we;this._styleLoader.load(j_);let e=ve(t),a=this._monitoredElements.get(e);if(a)return a.subject;let r=new E,o="cdk-text-field-autofilled",s=d=>{d.animationName==="cdk-text-field-autofill-start"&&!e.classList.contains(o)?(e.classList.add(o),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:!0}))):d.animationName==="cdk-text-field-autofill-end"&&e.classList.contains(o)&&(e.classList.remove(o),this._ngZone.run(()=>r.next({target:d.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(e.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(e,"animationstart",s,U_)));return this._monitoredElements.set(e,{subject:r,unlisten:l}),r}stopMonitoring(t){let e=ve(t),a=this._monitoredElements.get(e);a&&(a.unlisten(),a.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var _p=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({})}return n})();var xp=Symbol("FIELD_TREE");var wp=Symbol("IS_ASYNC_VALIDATION_RESOURCE"),yp=class{reducer;create;brand;[wp];constructor(i,t){this.reducer=i,this.create=t}};function Tr(n){return typeof n=="function"&&n[xp]===!0}var Bs=new v("");var Sp=new v("MAT_INPUT_VALUE_ACCESSOR");var od=class{_box;_destroyed=new E;_resizeSubject=new E;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new oe(t=>{let e=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),e.unsubscribe(),this._elementObservables.delete(i)}}).pipe(vt(t=>t.some(e=>e.target===i)),rl({bufferSize:1,refCount:!0}),kt(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Cp=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=c(O);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(t,e){let a=e?.box||"content-box";return this._observers.has(a)||this._observers.set(a,new od(a)),this._observers.get(a).observe(t)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var Ge=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-label"]]})}return n})(),Ap=new v("MatError"),xa=(()=>{class n{id=c(St).getId("mat-mdc-error-");static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,a){e&2&&ee("id",a.id)},inputs:{id:"id"},features:[ft([{provide:Ap,useExisting:n}])]})}return n})(),Kn=(()=>{class n{align="start";id=c(St).getId("mat-mdc-hint-");static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,a){e&2&&(ee("id",a.id),H("align",null),z("mat-mdc-form-field-hint-end",a.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),Rp=new v("MatPrefix"),zs=(()=>{class n{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[ft([{provide:Rp,useExisting:n}])]})}return n})(),Tp=new v("MatSuffix"),wa=(()=>{class n{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ft([{provide:Tp,useExisting:n}])]})}return n})(),Op=new v("FloatingLabelParent"),kp=(()=>{class n{_elementRef=c(R);get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=c(Cp);_ngZone=c(O);_parent=c(Op);_resizeSubscription=new Et;ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return H_(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,a){e&2&&z("mdc-floating-label--float-above",a.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function H_(n){let i=n;if(i.offsetParent!==null)return i.scrollWidth;let t=i.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);let e=t.scrollWidth;return t.remove(),e}var Mp="mdc-line-ripple--active",Vs="mdc-line-ripple--deactivating",Dp=(()=>{class n{_elementRef=c(R);_cleanupTransitionEnd;constructor(){let t=c(O),e=c(pt);t.runOutsideAngular(()=>{this._cleanupTransitionEnd=e.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Vs),t.add(Mp)}deactivate(){this._elementRef.nativeElement.classList.add(Vs)}_handleTransitionEnd=t=>{let e=this._elementRef.nativeElement.classList,a=e.contains(Vs);t.propertyName==="opacity"&&a&&e.remove(Mp,Vs)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),Ep=(()=>{class n{_elementRef=c(R);_ngZone=c(O);open=!1;_notch;ngAfterViewInit(){let t=this._elementRef.nativeElement,e=t.querySelector(".mdc-floating-label");e?(t.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):t.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){let e=this._notch.nativeElement;!this.open||!t?e.style.width="":e.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(t){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${t}px)`)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["notch"];return S({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&Kt(t,5),r&2){let s;P(s=L())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&z("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(_t(),sn(0,"div",1),qt(1,"div",2,0),V(3),te(),sn(4,"div",3))},encapsulation:2})})()}return n})(),Or=(()=>{class n{id;ngField=null;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;stateChanges=null;value;static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n})}return n})();var Ci=new v("MatFormField"),$_=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Np="fill",G_="auto",Ip="fixed",W_="translateY(-50%)",Ie=(()=>{class n{_elementRef=c(R);_changeDetectorRef=c(xt);_platform=c(ut);_idGenerator=c(St);_ngZone=c(O);_defaults=c($_,{optional:!0});_currentDirection;_unwrapMaybeSignal(t){return Re(t)?t():t}_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Fa("iconPrefixContainer");_textPrefixContainerSignal=Fa("textPrefixContainer");_iconSuffixContainerSignal=Fa("iconSuffixContainer");_textSuffixContainerSignal=Fa("textSuffixContainer");_prefixSuffixContainers=pe(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(t=>t?.nativeElement).filter(t=>t!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=cm(Ge);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=_e(t)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||G_}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(t){let e=t||this._defaults?.appearance||Np;this._appearanceSignal.set(e)}_appearanceSignal=X(Np);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ip}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||Ip}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}_destroyed=new E;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Ct();constructor(){let t=this._defaults,e=c(de);t&&(t.appearance&&(this.appearance=t.appearance),this._hideRequiredMarker=!!t?.hideRequiredMarker,t.color&&(this.color=t.color)),qe(()=>this._currentDirection=e.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=Tr(this._control.ngField)?null:this._control.ngControl.control.validator),this._previousControl=this._control,this._changeDetectorRef.markForCheck()),this._control.ngControl&&this._control.ngControl.control&&!Tr(this._control.ngField)&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=pe(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(t){let e=this._control,a="mat-mdc-form-field-type-";t&&this._elementRef.nativeElement.classList.remove(a+t.controlType),e.controlType&&this._elementRef.nativeElement.classList.add(a+e.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=e.stateChanges?.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=e.stateChanges?.pipe(Ft([void 0,void 0]),st(()=>[this._unwrapMaybeSignal(e.errorState),e.userAriaDescribedBy]),al(),vt(([[r,o],[s,l]])=>r!==s||o!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),e.ngControl&&e.ngControl.valueChanges&&!Tr(e.ngField)&&(this._valueChanges=e.ngControl.valueChanges.pipe(kt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Qt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let t=this._unwrapMaybeSignal(this._control.focused);t&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!t&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",t),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",t)}_syncOutlineLabelOffset(){bl({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let t of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(t,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:t=>this._writeOutlinedLabelStyles(t())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=pe(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._shouldAlwaysFloat()||this._unwrapMaybeSignal(this._control.shouldLabelFloat):!1}_shouldForward(t){let e=this._control?.ngField||this._control?.ngControl;if(!e)return!1;if(Tr(e)){let a=e();return t==="valid"?a.valid():t==="dirty"?a.dirty():t==="touched"?a.touched():t==="pending"?a.pending():t==="untouched"?!a.touched():t==="pristine"?!a.dirty():t==="invalid"?!a.valid():!1}else{let a=e;return t==="valid"?a.valid:t==="dirty"?a.dirty:t==="touched"?a.touched:t==="pending"?a.pending:t==="untouched"?a.untouched:t==="pristine"?a.pristine:t==="invalid"?a.invalid:!1}}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._unwrapMaybeSignal(this._control.errorState)?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?t.push(r.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(r=>r.id));let e=this._control.describedByIds,a;if(e){let r=this._describedByIds||t;a=t.concat(e.filter(o=>o&&!r.includes(o)))}else a=t;this._control.setDescribedByIds(a),this._describedByIds=t}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let t=this._iconPrefixContainer?.nativeElement,e=this._textPrefixContainer?.nativeElement,a=this._iconSuffixContainer?.nativeElement,r=this._textSuffixContainer?.nativeElement,o=t?.getBoundingClientRect().width??0,s=e?.getBoundingClientRect().width??0,l=a?.getBoundingClientRect().width??0,d=r?.getBoundingClientRect().width??0,m=this._currentDirection==="rtl"?"-1":"1",_=`${o+s}px`,M=`calc(${m} * (${_} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,D=`var(--mat-mdc-form-field-label-transform, ${W_} translateX(${M}))`,Z=o+s+l+d;return[D,Z]}_writeOutlinedLabelStyles(t){if(t!==null){let[e,a]=t;this._floatingLabel&&(this._floatingLabel.element.style.transform=e),a!==null&&this._notchedOutline?._setMaxWidth(a)}}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["iconPrefixContainer"],e=["textPrefixContainer"],a=["iconSuffixContainer"],r=["textSuffixContainer"],o=["textField"],s=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],l=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function d(J,ht){J&1&&dt(0,"span",21)}function m(J,ht){if(J&1&&(h(0,"label",20),V(1,1),C(2,d,1,0,"span",21),u()),J&2){let y=w(2);mt("floating",y._shouldLabelFloat())("monitorResize",y._hasOutline())("id",y._labelId),H("for",y._control.disableAutomaticLabeling?null:y._control.id),p(2),k(!y.hideRequiredMarker&&y._unwrapMaybeSignal(y._control.required)?2:-1)}}function _(J,ht){if(J&1&&C(0,m,3,5,"label",20),J&2){let y=w();k(y._hasFloatingLabel()?0:-1)}}function b(J,ht){J&1&&dt(0,"div",7)}function M(J,ht){}function D(J,ht){if(J&1&&Ke(0,M,0,0,"ng-template",13),J&2){w(2);let y=yt(1);mt("ngTemplateOutlet",y)}}function Z(J,ht){if(J&1&&(h(0,"div",9),C(1,D,1,1,null,13),u()),J&2){let y=w();mt("matFormFieldNotchedOutlineOpen",y._shouldLabelFloat()),p(),k(y._forceDisplayInfixLabel()?-1:1)}}function lt(J,ht){J&1&&(h(0,"div",10,2),V(2,2),u())}function $t(J,ht){J&1&&(h(0,"div",11,3),V(2,3),u())}function nt(J,ht){}function it(J,ht){if(J&1&&Ke(0,nt,0,0,"ng-template",13),J&2){w();let y=yt(1);mt("ngTemplateOutlet",y)}}function re(J,ht){J&1&&(h(0,"div",14,4),V(2,4),u())}function ke(J,ht){J&1&&(h(0,"div",15,5),V(2,5),u())}function At(J,ht){J&1&&dt(0,"div",16)}function We(J,ht){J&1&&(h(0,"div",18),V(1,6),u())}function nn(J,ht){if(J&1&&(h(0,"mat-hint",22),f(1),u()),J&2){let y=w(2);mt("id",y._hintLabelId),p(),Lt(y.hintLabel)}}function Ae(J,ht){if(J&1&&(h(0,"div",19),C(1,nn,2,2,"mat-hint",22),V(2,7),dt(3,"div",23),V(4,8),u()),J&2){let y=w();p(),k(y.hintLabel?1:-1)}}return S({type:n,selectors:[["mat-form-field"]],contentQueries:function(ht,y,bt){if(ht&1&&(im(bt,y._labelChild,Ge,5),ne(bt,Or,5)(bt,Rp,5)(bt,Tp,5)(bt,Ap,5)(bt,Kn,5)),ht&2){hl();let ue;P(ue=L())&&(y._formFieldControl=ue.first),P(ue=L())&&(y._prefixChildren=ue),P(ue=L())&&(y._suffixChildren=ue),P(ue=L())&&(y._errorChildren=ue),P(ue=L())&&(y._hintChildren=ue)}},viewQuery:function(ht,y){if(ht&1&&(am(y._iconPrefixContainerSignal,t,5)(y._textPrefixContainerSignal,e,5)(y._iconSuffixContainerSignal,a,5)(y._textSuffixContainerSignal,r,5),Kt(o,5)(t,5)(e,5)(a,5)(r,5)(kp,5)(Ep,5)(Dp,5)),ht&2){hl(4);let bt;P(bt=L())&&(y._textField=bt.first),P(bt=L())&&(y._iconPrefixContainer=bt.first),P(bt=L())&&(y._textPrefixContainer=bt.first),P(bt=L())&&(y._iconSuffixContainer=bt.first),P(bt=L())&&(y._textSuffixContainer=bt.first),P(bt=L())&&(y._floatingLabel=bt.first),P(bt=L())&&(y._notchedOutline=bt.first),P(bt=L())&&(y._lineRipple=bt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(ht,y){ht&2&&z("mat-mdc-form-field-label-always-float",y._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",y._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",y._hasIconSuffix)("mat-form-field-invalid",y._unwrapMaybeSignal(y._control.errorState))("mat-form-field-disabled",y._unwrapMaybeSignal(y._control.disabled))("mat-form-field-autofilled",y._unwrapMaybeSignal(y._control.autofilled))("mat-form-field-appearance-fill",y.appearance=="fill")("mat-form-field-appearance-outline",y.appearance=="outline")("mat-form-field-hide-placeholder",y._hasFloatingLabel()&&!y._shouldLabelFloat())("mat-primary",y.color!=="accent"&&y.color!=="warn")("mat-accent",y.color==="accent")("mat-warn",y.color==="warn")("ng-untouched",y._shouldForward("untouched"))("ng-touched",y._shouldForward("touched"))("ng-pristine",y._shouldForward("pristine"))("ng-dirty",y._shouldForward("dirty"))("ng-valid",y._shouldForward("valid"))("ng-invalid",y._shouldForward("invalid"))("ng-pending",y._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ft([{provide:Ci,useExisting:n},{provide:Op,useExisting:n}])],ngContentSelectors:l,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(ht,y){if(ht&1&&(_t(s),Ke(0,_,1,1,"ng-template",null,0,pl),h(2,"div",6,1),B("click",function(ue){return y._control.onContainerClick(ue)}),C(4,b,1,0,"div",7),h(5,"div",8),C(6,Z,2,2,"div",9),C(7,lt,3,0,"div",10),C(8,$t,3,0,"div",11),h(9,"div",12),C(10,it,1,1,null,13),V(11),u(),C(12,re,3,0,"div",14),C(13,ke,3,0,"div",15),u(),C(14,At,1,0,"div",16),u(),h(15,"div",17),C(16,We,2,0,"div",18)(17,Ae,5,1,"div",19),u()),ht&2){let bt,ue=y._unwrapMaybeSignal(y._control.disabled);p(2),z("mdc-text-field--filled",!y._hasOutline())("mdc-text-field--outlined",y._hasOutline())("mdc-text-field--no-label",!y._hasFloatingLabel())("mdc-text-field--disabled",ue)("mdc-text-field--invalid",y._unwrapMaybeSignal(y._control.errorState)),p(2),k(!y._hasOutline()&&!ue?4:-1),p(2),k(y._hasOutline()?6:-1),p(),k(y._hasIconPrefix?7:-1),p(),k(y._hasTextPrefix?8:-1),p(2),k(!y._hasOutline()||y._forceDisplayInfixLabel()?10:-1),p(2),k(y._hasTextSuffix?12:-1),p(),k(y._hasIconSuffix?13:-1),p(),k(y._hasOutline()?-1:14),p(),z("mat-mdc-form-field-subscript-dynamic-size",y.subscriptSizing==="dynamic");let Bf=y._getSubscriptMessageType();p(),k((bt=Bf)==="error"?16:bt==="hint"?17:-1)}},dependencies:[kp,Ep,wl,Dp,Kn],styles:[`.mdc-text-field { + display: inline-flex; + align-items: baseline; + padding: 0 16px; + position: relative; + box-sizing: border-box; + overflow: hidden; + will-change: opacity, transform, color; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.mdc-text-field__input { + width: 100%; + min-width: 0; + border: none; + border-radius: 0; + background: none; + padding: 0; + -moz-appearance: none; + -webkit-appearance: none; + height: 28px; +} +.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { + display: none; +} +.mdc-text-field__input::-ms-clear { + display: none; +} +.mdc-text-field__input:focus { + outline: none; +} +.mdc-text-field__input:invalid { + box-shadow: none; +} +.mdc-text-field__input::placeholder { + opacity: 0; +} +.mdc-text-field__input::-moz-placeholder { + opacity: 0; +} +.mdc-text-field__input::-webkit-input-placeholder { + opacity: 0; +} +.mdc-text-field__input:-ms-input-placeholder { + opacity: 0; +} +.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { + opacity: 1; +} +.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { + opacity: 1; +} +.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { + opacity: 1; +} +.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { + opacity: 1; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { + opacity: 0; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { + opacity: 0; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { + opacity: 0; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { + opacity: 0; +} +.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { + height: 100%; +} +.mdc-text-field--outlined .mdc-text-field__input { + display: flex; + border: none !important; + background-color: transparent; +} +.mdc-text-field--disabled .mdc-text-field__input { + pointer-events: auto; +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input { + color: var(--%NS%mat-form-field-filled-input-text-color, var(--%NS%mat-sys-on-surface)); + caret-color: var(--%NS%mat-form-field-filled-caret-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { + color: var(--%NS%mat-form-field-outlined-input-text-color, var(--%NS%mat-sys-on-surface)); + caret-color: var(--%NS%mat-form-field-outlined-caret-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--filled.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { + caret-color: var(--%NS%mat-form-field-filled-error-caret-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--outlined.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { + caret-color: var(--%NS%mat-form-field-outlined-error-caret-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { + color: var(--%NS%mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { + color: var(--%NS%mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +@media (forced-colors: active) { + .mdc-text-field--disabled .mdc-text-field__input { + background-color: Window; + } +} + +.mdc-text-field--filled { + height: 56px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + border-top-left-radius: var(--%NS%mat-form-field-filled-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-top-right-radius: var(--%NS%mat-form-field-filled-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) { + background-color: var(--%NS%mat-form-field-filled-container-color, var(--%NS%mat-sys-surface-variant)); +} +.mdc-text-field--filled.mdc-text-field--disabled { + background-color: var(--%NS%mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 4%, transparent)); +} + +.mdc-text-field--outlined { + height: 56px; + overflow: visible; + padding-right: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))); + padding-left: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)) + 4px); +} +[dir=rtl] .mdc-text-field--outlined { + padding-right: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)) + 4px); + padding-left: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))); +} + +.mdc-floating-label { + position: absolute; + left: 0; + transform-origin: left top; + line-height: 1.15rem; + text-align: left; + text-overflow: ellipsis; + white-space: nowrap; + cursor: text; + overflow: hidden; + will-change: transform; +} +[dir=rtl] .mdc-floating-label { + right: 0; + left: auto; + transform-origin: right top; + text-align: right; +} +.mdc-text-field .mdc-floating-label { + top: 50%; + transform: translateY(-50%); + pointer-events: none; +} +.mdc-notched-outline .mdc-floating-label { + display: inline-block; + position: relative; + max-width: 100%; +} +.mdc-text-field--outlined .mdc-floating-label { + left: 4px; + right: auto; +} +[dir=rtl] .mdc-text-field--outlined .mdc-floating-label { + left: auto; + right: 4px; +} +.mdc-text-field--filled .mdc-floating-label { + left: 16px; + right: auto; +} +[dir=rtl] .mdc-text-field--filled .mdc-floating-label { + left: auto; + right: 16px; +} +.mdc-text-field--disabled .mdc-floating-label { + cursor: default; +} +@media (forced-colors: active) { + .mdc-text-field--disabled .mdc-floating-label { + z-index: 1; + } +} +.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { + display: none; +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-focus-label-text-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-hover-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-error-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-error-focus-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-error-hover-label-text-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-text-field--filled .mdc-floating-label { + font-family: var(--%NS%mat-form-field-filled-label-text-font, var(--%NS%mat-sys-body-large-font)); + font-size: var(--%NS%mat-form-field-filled-label-text-size, var(--%NS%mat-sys-body-large-size)); + font-weight: var(--%NS%mat-form-field-filled-label-text-weight, var(--%NS%mat-sys-body-large-weight)); + letter-spacing: var(--%NS%mat-form-field-filled-label-text-tracking, var(--%NS%mat-sys-body-large-tracking)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-focus-label-text-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-hover-label-text-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-error-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-error-focus-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-error-hover-label-text-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-text-field--outlined .mdc-floating-label { + font-family: var(--%NS%mat-form-field-outlined-label-text-font, var(--%NS%mat-sys-body-large-font)); + font-size: var(--%NS%mat-form-field-outlined-label-text-size, var(--%NS%mat-sys-body-large-size)); + font-weight: var(--%NS%mat-form-field-outlined-label-text-weight, var(--%NS%mat-sys-body-large-weight)); + letter-spacing: var(--%NS%mat-form-field-outlined-label-text-tracking, var(--%NS%mat-sys-body-large-tracking)); +} + +.mdc-floating-label--float-above { + cursor: auto; + transform: translateY(-106%) scale(0.75); +} +.mdc-text-field--filled .mdc-floating-label--float-above { + transform: translateY(-106%) scale(0.75); +} +.mdc-text-field--outlined .mdc-floating-label--float-above { + transform: translateY(-37.25px) scale(1); + font-size: 0.75rem; +} +.mdc-notched-outline .mdc-floating-label--float-above { + text-overflow: clip; +} +.mdc-notched-outline--upgraded .mdc-floating-label--float-above { + max-width: 133.3333333333%; +} +.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + transform: translateY(-34.75px) scale(0.75); +} +.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + font-size: 1rem; +} + +.mdc-floating-label--%NS%required:not(.mdc-floating-label--hide-required-marker)::after { + margin-left: 1px; + margin-right: 0; + content: "*"; +} +[dir=rtl] .mdc-floating-label--%NS%required:not(.mdc-floating-label--hide-required-marker)::after { + margin-left: 0; + margin-right: 1px; +} + +.mdc-notched-outline { + display: flex; + position: absolute; + top: 0; + right: 0; + left: 0; + box-sizing: border-box; + width: 100%; + max-width: 100%; + height: 100%; + text-align: left; + pointer-events: none; +} +[dir=rtl] .mdc-notched-outline { + text-align: right; +} +.mdc-text-field--outlined .mdc-notched-outline { + z-index: 1; +} + +.mat-mdc-notch-piece { + box-sizing: border-box; + height: 100%; + pointer-events: none; + border: none; + border-top: 1px solid; + border-bottom: 1px solid; +} +.mdc-text-field--focused .mat-mdc-notch-piece { + border-width: 2px; +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-outline-color, var(--%NS%mat-sys-outline)); + border-width: var(--%NS%mat-form-field-outlined-outline-width, 1px); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-hover-outline-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-focus-outline-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-error-outline-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-error-hover-outline-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-error-focus-outline-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { + border-width: var(--%NS%mat-form-field-outlined-focus-outline-width, 2px); +} + +.mdc-notched-outline__leading { + border-left: 1px solid; + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-top-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} +.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { + width: max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))); +} +[dir=rtl] .mdc-notched-outline__leading { + border-left: none; + border-right: 1px solid; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + border-top-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} + +.mdc-notched-outline__trailing { + flex-grow: 1; + border-left: none; + border-right: 1px solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-top-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} +[dir=rtl] .mdc-notched-outline__trailing { + border-left: 1px solid; + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-top-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} + +.mdc-notched-outline__notch { + flex: 0 0 auto; + width: auto; +} +.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { + max-width: min(var(--%NS%mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))) * 2)); +} +.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { + max-width: min(100%, calc(100% - max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))) * 2)); +} +.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-top: 1px; +} +.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-top: 2px; +} +.mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-left: 0; + padding-right: 8px; + border-top: none; +} +[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-left: 8px; + padding-right: 0; +} +.mdc-notched-outline--no-label .mdc-notched-outline__notch { + display: none; +} + +.mdc-line-ripple::before, .mdc-line-ripple::after { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + border-bottom-style: solid; + content: ""; +} +.mdc-line-ripple::before { + z-index: 1; + border-bottom-width: var(--%NS%mat-form-field-filled-active-indicator-height, 1px); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-active-indicator-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-hover-active-indicator-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-error-active-indicator-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-error-hover-active-indicator-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-line-ripple::after { + transform: scaleX(0); + opacity: 0; + z-index: 2; +} +.mdc-text-field--filled .mdc-line-ripple::after { + border-bottom-width: var(--%NS%mat-form-field-filled-focus-active-indicator-height, 2px); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { + border-bottom-color: var(--%NS%mat-form-field-filled-focus-active-indicator-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--filled.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { + border-bottom-color: var(--%NS%mat-form-field-filled-error-focus-active-indicator-color, var(--%NS%mat-sys-error)); +} + +.mdc-line-ripple--%NS%active::after { + transform: scaleX(1); + opacity: 1; +} + +.mdc-line-ripple--%NS%deactivating::after { + opacity: 0; +} + +.mdc-text-field--disabled { + pointer-events: none; +} + +.mat-mdc-form-field-textarea-control { + vertical-align: middle; + resize: vertical; + box-sizing: border-box; + height: auto; + margin: 0; + padding: 0; + border: none; + overflow: auto; +} + +.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font: inherit; + letter-spacing: inherit; + text-decoration: inherit; + text-transform: inherit; + border: none; +} + +.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + line-height: normal; + pointer-events: all; + will-change: auto; +} + +.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label { + cursor: inherit; +} + +.mdc-text-field--%NS%no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input, +.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control { + height: auto; +} + +.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] { + height: 23px; +} + +.mat-mdc-text-field-wrapper { + height: auto; + flex: auto; + will-change: auto; +} + +.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { + padding-left: 0; + --%NS%mat-mdc-form-field-label-offset-x: -16px; +} + +.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { + padding-right: 0; +} + +[dir=rtl] .mat-mdc-text-field-wrapper { + padding-left: 16px; + padding-right: 16px; +} +[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { + padding-left: 0; +} +[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { + padding-right: 0; +} + +.mat-form-field-disabled .mdc-text-field__input::placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder { + transition-delay: 40ms; + transition-duration: 110ms; + opacity: 1; +} + +.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label { + left: auto; + right: auto; +} + +.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input { + display: inline-block; +} + +.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch { + padding-top: 0; +} + +.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { + border-left: 1px solid transparent; +} + +[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { + border-left: none; + border-right: 1px solid transparent; +} + +.mat-mdc-form-field-infix { + min-height: var(--%NS%mat-form-field-container-height, 56px); + padding-top: var(--%NS%mat-form-field-filled-with-label-container-padding-top, 24px); + padding-bottom: var(--%NS%mat-form-field-filled-with-label-container-padding-bottom, 8px); +} +.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix { + padding-top: var(--%NS%mat-form-field-container-vertical-padding, 16px); + padding-bottom: var(--%NS%mat-form-field-container-vertical-padding, 16px); +} + +.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { + top: calc(var(--%NS%mat-form-field-container-height, 56px) / 2); +} + +.mdc-text-field--filled .mat-mdc-floating-label { + display: var(--%NS%mat-form-field-filled-label-display, block); +} + +.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + --%NS%mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--%NS%mat-form-field-container-height, 56px) / 2) * -1)) + scale(var(--%NS%mat-mdc-form-field-floating-label-scale, 0.75)); + transform: var(--%NS%mat-mdc-form-field-label-transform); +} + +@keyframes _mat-form-field-subscript-animation { + from { + opacity: 0; + transform: translateY(-5px); + } + to { + opacity: 1; + transform: translateY(0); + } +} +.mat-mdc-form-field-subscript-wrapper { + box-sizing: border-box; + width: 100%; + position: relative; +} + +.mat-mdc-form-field-hint-wrapper, +.mat-mdc-form-field-error-wrapper { + position: absolute; + top: 0; + left: 0; + right: 0; + padding: 0 16px; + opacity: 1; + transform: translateY(0); + animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); +} + +.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper, +.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper { + position: static; +} + +.mat-mdc-form-field-bottom-align::before { + content: ""; + display: inline-block; + height: 16px; +} + +.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before { + content: unset; +} + +.mat-mdc-form-field-hint-end { + order: 1; +} + +.mat-mdc-form-field-hint-wrapper { + display: flex; +} + +.mat-mdc-form-field-hint-spacer { + flex: 1 0 1em; +} + +.mat-mdc-form-field-error { + display: block; + color: var(--%NS%mat-form-field-error-text-color, var(--%NS%mat-sys-error)); +} + +.mat-mdc-form-field-subscript-wrapper, +.mat-mdc-form-field-bottom-align::before { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: var(--%NS%mat-form-field-subscript-text-font, var(--%NS%mat-sys-body-small-font)); + line-height: var(--%NS%mat-form-field-subscript-text-line-height, var(--%NS%mat-sys-body-small-line-height)); + font-size: var(--%NS%mat-form-field-subscript-text-size, var(--%NS%mat-sys-body-small-size)); + letter-spacing: var(--%NS%mat-form-field-subscript-text-tracking, var(--%NS%mat-sys-body-small-tracking)); + font-weight: var(--%NS%mat-form-field-subscript-text-weight, var(--%NS%mat-sys-body-small-weight)); +} + +.mat-mdc-form-field-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + opacity: 0; + pointer-events: none; + background-color: var(--%NS%mat-form-field-state-layer-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { + opacity: var(--%NS%mat-form-field-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay { + opacity: var(--%NS%mat-form-field-focus-state-layer-opacity, 0); +} + +select.mat-mdc-form-field-input-control { + -moz-appearance: none; + -webkit-appearance: none; + background-color: transparent; + display: inline-flex; + box-sizing: border-box; +} +select.mat-mdc-form-field-input-control:not(:disabled) { + cursor: pointer; +} +select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option { + color: var(--%NS%mat-form-field-select-option-text-color, var(--%NS%mat-sys-neutral10)); +} +select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled { + color: var(--%NS%mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--%NS%mat-sys-neutral10) 38%, transparent)); +} + +.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { + content: ""; + width: 0; + height: 0; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 5px solid; + position: absolute; + right: 0; + top: 50%; + margin-top: -2.5px; + pointer-events: none; + color: var(--%NS%mat-form-field-enabled-select-arrow-color, var(--%NS%mat-sys-on-surface-variant)); +} +[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { + right: auto; + left: 0; +} +.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after { + color: var(--%NS%mat-form-field-focus-select-arrow-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after { + color: var(--%NS%mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { + padding-right: 15px; +} +[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { + padding-right: 0; + padding-left: 15px; +} + +@media (forced-colors: active) { + .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { + outline: solid 1px; + } +} +@media (forced-colors: active) { + .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { + outline-color: GrayText; + } +} + +@media (forced-colors: active) { + .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { + outline: dashed 3px; + } +} + +@media (forced-colors: active) { + .mat-mdc-form-field.mat-focused .mdc-notched-outline { + border: dashed 3px; + } +} + +.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] { + line-height: 1; +} +.mat-mdc-form-field-input-control::-webkit-datetime-edit { + line-height: 1; + padding: 0; + margin-bottom: -2px; +} + +.mat-mdc-form-field { + --%NS%mat-mdc-form-field-floating-label-scale: 0.75; + display: inline-flex; + flex-direction: column; + min-width: 0; + text-align: left; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: var(--%NS%mat-form-field-container-text-font, var(--%NS%mat-sys-body-large-font)); + line-height: var(--%NS%mat-form-field-container-text-line-height, var(--%NS%mat-sys-body-large-line-height)); + font-size: var(--%NS%mat-form-field-container-text-size, var(--%NS%mat-sys-body-large-size)); + letter-spacing: var(--%NS%mat-form-field-container-text-tracking, var(--%NS%mat-sys-body-large-tracking)); + font-weight: var(--%NS%mat-form-field-container-text-weight, var(--%NS%mat-sys-body-large-weight)); +} +.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above { + font-size: calc(var(--%NS%mat-form-field-outlined-label-text-populated-size) * var(--%NS%mat-mdc-form-field-floating-label-scale)); +} +.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + font-size: var(--%NS%mat-form-field-outlined-label-text-populated-size); +} +[dir=rtl] .mat-mdc-form-field { + text-align: right; +} + +.mat-mdc-form-field-flex { + display: inline-flex; + align-items: baseline; + box-sizing: border-box; + width: 100%; +} + +.mat-mdc-text-field-wrapper { + width: 100%; + z-index: 0; +} + +.mat-mdc-form-field-icon-prefix, +.mat-mdc-form-field-icon-suffix { + align-self: center; + line-height: 0; + pointer-events: auto; + position: relative; + z-index: 1; +} +.mat-mdc-form-field-icon-prefix > .mat-icon, +.mat-mdc-form-field-icon-suffix > .mat-icon { + padding: 0 12px; + box-sizing: content-box; +} + +.mat-mdc-form-field-icon-prefix { + color: var(--%NS%mat-form-field-leading-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-form-field-disabled .mat-mdc-form-field-icon-prefix { + color: var(--%NS%mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-form-field-disabled .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-invalid .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-error-trailing-icon-color, var(--%NS%mat-sys-error)); +} +.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-error-hover-trailing-icon-color, var(--%NS%mat-sys-on-error-container)); +} +.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-error-focus-trailing-icon-color, var(--%NS%mat-sys-error)); +} + +.mat-mdc-form-field-icon-prefix, +[dir=rtl] .mat-mdc-form-field-icon-suffix { + padding: 0 4px 0 0; +} + +.mat-mdc-form-field-icon-suffix, +[dir=rtl] .mat-mdc-form-field-icon-prefix { + padding: 0 0 0 4px; +} + +.mat-mdc-form-field-subscript-wrapper .mat-icon, +.mat-mdc-form-field label .mat-icon { + width: 1em; + height: 1em; + font-size: inherit; +} + +.mat-mdc-form-field-infix { + flex: auto; + min-width: 0; + width: 180px; + position: relative; + box-sizing: border-box; +} +.mat-mdc-form-field-infix:has(textarea[cols]) { + width: auto; +} + +.mat-mdc-form-field .mdc-notched-outline__notch { + margin-left: -1px; + -webkit-clip-path: inset(-9em -999em -9em 1px); + clip-path: inset(-9em -999em -9em 1px); +} +[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch { + margin-left: 0; + margin-right: -1px; + -webkit-clip-path: inset(-9em 1px -9em -999em); + clip-path: inset(-9em 1px -9em -999em); +} + +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label { + transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { + transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--%NS%filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { + transition-duration: 75ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after { + transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, +.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { + animation-duration: 300ms; +} + +.mdc-notched-outline .mdc-floating-label { + max-width: calc(100% + 1px); +} + +.mdc-notched-outline--upgraded .mdc-floating-label--float-above { + max-width: calc(133.3333333333% + 1px); +} +`],encapsulation:2})})()}return n})();var js=(()=>{class n{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}isSignalErrorState(t){if(!t)return!1;let e=t().invalid(),a=t().touched();return e&&a}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();var Sa=class{_defaultMatcher;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;ngControl;formField;constructor(i,t,e,a,r){this._defaultMatcher=i,this._parentFormGroup=e,this._parentForm=a,this._stateChanges=r,t?Re(t.field)&&!t.updateValueAndValidity?(this.formField=t,this.ngControl=null):(this.formField=null,this.ngControl=t):this.ngControl=this.formField=null}updateErrorState(){let i=this.errorState,t=this._getCurrentErrorState(this.matcher||this._defaultMatcher);t!==i&&(this.errorState=t,this._stateChanges.next())}_getCurrentErrorState(i){if(this.formField&&i?.isSignalErrorState)return i.isSignalErrorState(this.formField.field())??!1;let t=this._parentFormGroup||this._parentForm,e=this.ngControl?this.ngControl.control:null;return i?.isErrorState(e,t)??!1}};var sd=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[es,Ie,Xt]})}return n})();var q_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],K_=new v("MAT_INPUT_CONFIG"),Yn=(()=>{class n{_elementRef=c(R);_platform=c(ut);ngControl=c($e,{optional:!0,self:!0});_autofillMonitor=c(vp);_ngZone=c(O);_formField=c(Ci,{optional:!0});_renderer=c(pt);_uid=c(St).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=c(K_,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new E;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=_e(t),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(t){this._id=t||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(xi.required)??!1}set required(t){this._required=_e(t)}_required;get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&jc().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(t){t!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(t):this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=_e(t)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>jc().has(t));constructor(){let t=c(ye,{optional:!0}),e=c(Rr,{optional:!0}),a=c(js),r=c(Sp,{optional:!0,self:!0}),o=c(Bs,{optional:!0,self:!0}),s=this._elementRef.nativeElement,l=s.nodeName.toLowerCase();r?Re(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Sa(a,o||this.ngControl,e,t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=l==="select",this._isTextarea=l==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&qe(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){if(t!==this.focused){if(!this._isNativeSelect&&t&&this.disabled&&this.disabledInteractive){let e=this._elementRef.nativeElement;e.type==="number"?(e.type="text",e.setSelectionRange(0,0),e.type="number"):e.setSelectionRange(0,0)}this.focused=t,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){let t=this._getPlaceholder();if(t!==this._previousPlaceholder){let e=this._elementRef.nativeElement;this._previousPlaceholder=t,t?e.setAttribute("placeholder",t):e.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){q_.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(t){let e=this._elementRef.nativeElement;t.length?e.setAttribute("aria-describedby",t.join(" ")):e.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}_iOSKeyupListener=t=>{let e=t.target;!e.value&&e.selectionStart===0&&e.selectionEnd===0&&(e.setSelectionRange(1,1),e.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(e,a){e&1&&B("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),e&2&&(ee("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),H("name",a.name||null)("readonly",a._getReadonlyAttribute())("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),z("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mat-mdc-input-disabled-interactive",a.disabledInteractive)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",j]},exportAs:["matInput"],features:[ft([{provide:Or,useExisting:n}]),Dt]})}return n})(),Fp=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[sd,sd,_p,Xt]})}return n})();var Hs=(()=>{class n{get vertical(){return this._vertical}set vertical(t){this._vertical=_e(t)}_vertical=!1;get inset(){return this._inset}set inset(t){this._inset=_e(t)}_inset=!1;static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,a){e&2&&(H("aria-orientation",a.vertical?"vertical":"horizontal"),z("mat-divider-vertical",a.vertical)("mat-divider-horizontal",!a.vertical)("mat-divider-inset",a.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,a){},styles:[`.mat-divider { + display: block; + margin: 0; + border-top-style: solid; + border-top-color: var(--%NS%mat-divider-color, var(--%NS%mat-sys-outline-variant)); + border-top-width: var(--%NS%mat-divider-width, 1px); +} +.mat-divider.mat-divider-vertical { + border-top: 0; + border-right-style: solid; + border-right-color: var(--%NS%mat-divider-color, var(--%NS%mat-sys-outline-variant)); + border-right-width: var(--%NS%mat-divider-width, 1px); +} +.mat-divider.mat-divider-inset { + margin-left: 80px; +} +[dir=rtl] .mat-divider.mat-divider-inset { + margin-left: auto; + margin-right: 80px; +} +`],encapsulation:2})}return n})(),Pp=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[Xt]})}return n})();var Lp=(()=>{class n{_animationsDisabled=Ct();state="unchecked";disabled=!1;appearance="full";static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,a){e&2&&z("mat-pseudo-checkbox-indeterminate",a.state==="indeterminate")("mat-pseudo-checkbox-checked",a.state==="checked")("mat-pseudo-checkbox-disabled",a.disabled)("mat-pseudo-checkbox-minimal",a.appearance==="minimal")("mat-pseudo-checkbox-full",a.appearance==="full")("_mat-animation-noopable",a._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,a){},styles:[`.mat-pseudo-checkbox { + border-radius: 2px; + cursor: pointer; + display: inline-block; + vertical-align: middle; + box-sizing: border-box; + position: relative; + flex-shrink: 0; + transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1); +} +.mat-pseudo-checkbox::after { + position: absolute; + opacity: 0; + content: ""; + border-bottom: 2px solid currentColor; + transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1); +} +.mat-pseudo-checkbox._mat-animation-noopable { + transition: none !important; + animation: none !important; +} +.mat-pseudo-checkbox._mat-animation-noopable::after { + transition: none; +} + +.mat-pseudo-checkbox-disabled { + cursor: default; +} + +.mat-pseudo-checkbox-indeterminate::after { + left: 1px; + opacity: 1; + border-radius: 2px; +} + +.mat-pseudo-checkbox-checked::after { + left: 1px; + border-left: 2px solid currentColor; + transform: rotate(-45deg); + opacity: 1; + box-sizing: content-box; +} + +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { + color: var(--%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--%NS%mat-sys-primary)); +} +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { + color: var(--%NS%mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mat-pseudo-checkbox-full { + border-color: var(--%NS%mat-pseudo-checkbox-full-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant)); + border-width: 2px; + border-style: solid; +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { + border-color: var(--%NS%mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate { + background-color: var(--%NS%mat-pseudo-checkbox-full-selected-icon-color, var(--%NS%mat-sys-primary)); + border-color: transparent; +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { + color: var(--%NS%mat-pseudo-checkbox-full-selected-checkmark-color, var(--%NS%mat-sys-on-primary)); +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled { + background-color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { + color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface)); +} + +.mat-pseudo-checkbox { + width: 18px; + height: 18px; +} + +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after { + width: 14px; + height: 6px; + transform-origin: center; + top: -4.2426406871px; + left: 0; + bottom: 0; + right: 0; + margin: auto; +} +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { + top: 8px; + width: 16px; +} + +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after { + width: 10px; + height: 4px; + transform-origin: center; + top: -2.8284271247px; + left: 0; + bottom: 0; + right: 0; + margin: auto; +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { + top: 6px; + width: 12px; +} +`],encapsulation:2})}return n})();var Bp=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[Xt]})}return n})();var X_=new v("ListOption"),cd=(()=>{class n{_elementRef=c(R);static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return n})(),dd=(()=>{class n{_elementRef=c(R);static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return n})(),Z_=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return n})(),Vp=(()=>{class n{_listOption=c(X_,{optional:!0});_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,hostVars:4,hostBindings:function(e,a){e&2&&z("mdc-list-item__start",a._isAlignedAtStart())("mdc-list-item__end",!a._isAlignedAtStart())}})}return n})(),Q_=(()=>{class n extends Vp{static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[ot]})}return n})(),md=(()=>{class n extends Vp{static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[ot]})}return n})(),J_=new v("MAT_LIST_CONFIG"),ld=(()=>{class n{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=_e(t)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(t){this._disabled.set(_e(t))}_disabled=X(!1);_defaultOptions=c(J_,{optional:!0});static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,hostVars:1,hostBindings:function(e,a){e&2&&H("aria-disabled",a.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return n})(),ty=(()=>{class n{_elementRef=c(R);_ngZone=c(O);_listBase=c(ld,{optional:!0});_platform=c(ut);_hostElement;_isButtonElement;_noopAnimations=Ct();_avatars;_icons;set lines(t){this._explicitLines=pn(t,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(t){this._disableRipple=_e(t)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(t){this._disabled.set(_e(t))}_disabled=X(!1);_subscriptions=new Et;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){c(Bt).load(en);let t=c(_i,{optional:!0});this.rippleConfig=t||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new vi(this,this._ngZone,this._hostElement,this._platform,c(K)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Qt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(t){if(!this._lines||!this._titles||!this._unscopedContent)return;t&&this._checkDomForUnscopedTextContent();let e=this._explicitLines??this._inferLinesFromContent(),a=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",e<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",e<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",e===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",e===3),this._hasUnscopedTextContent){let r=this._titles.length===0&&e===1;a.classList.toggle("mdc-list-item__primary-text",r),a.classList.toggle("mdc-list-item__secondary-text",!r)}else a.classList.remove("mdc-list-item__primary-text"),a.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let t=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(t+=1),t}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(t=>t.nodeType!==t.COMMENT_NODE).some(t=>!!(t.textContent&&t.textContent.trim()))}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,contentQueries:function(e,a,r){if(e&1&&ne(r,Q_,4)(r,md,4),e&2){let o;P(o=L())&&(a._avatars=o),P(o=L())&&(a._icons=o)}},hostVars:4,hostBindings:function(e,a){e&2&&(H("aria-disabled",a.disabled)("disabled",a._isButtonElement&&a.disabled||null),z("mdc-list-item--disabled",a.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return n})();var zp=(()=>{class n extends ld{_isNonInteractive=!1;static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275cmp=(function(){let t=["*"];return S({type:n,selectors:[["mat-action-list"]],hostAttrs:["role","group",1,"mat-mdc-action-list","mat-mdc-list-base","mdc-list"],exportAs:["matActionList"],features:[ft([{provide:ld,useExisting:n}]),ot],ngContentSelectors:t,decls:1,vars:0,template:function(a,r){a&1&&(_t(),V(0))},styles:[`.mdc-list { + margin: 0; + padding: 8px 0; + list-style-type: none; +} +.mdc-list:focus { + outline: none; +} + +.mdc-list-item { + display: flex; + position: relative; + justify-content: flex-start; + overflow: hidden; + padding: 0; + align-items: stretch; + cursor: pointer; + padding-left: 16px; + padding-right: 16px; + background-color: var(--%NS%mat-list-list-item-container-color, transparent); + border-radius: var(--%NS%mat-list-list-item-container-shape, var(--%NS%mat-sys-corner-none)); +} +.mdc-list-item.mdc-list-item--selected { + background-color: var(--%NS%mat-list-list-item-selected-container-color); +} +.mdc-list-item:focus { + outline: 0; +} +.mdc-list-item.mdc-list-item--disabled { + cursor: auto; +} +.mdc-list-item.mdc-list-item--with-one-line { + height: var(--%NS%mat-list-list-item-one-line-container-height, 48px); +} +.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start { + align-self: center; + margin-top: 0; +} +.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end { + align-self: center; + margin-top: 0; +} +.mdc-list-item.mdc-list-item--with-two-lines { + height: var(--%NS%mat-list-list-item-two-line-container-height, 64px); +} +.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start { + align-self: flex-start; + margin-top: 16px; +} +.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end { + align-self: center; + margin-top: 0; +} +.mdc-list-item.mdc-list-item--with-three-lines { + height: var(--%NS%mat-list-list-item-three-line-container-height, 88px); +} +.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start { + align-self: flex-start; + margin-top: 16px; +} +.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end { + align-self: flex-start; + margin-top: 16px; +} +.mdc-list-item.mdc-list-item--%NS%selected::before, .mdc-list-item.mdc-list-item--%NS%selected:focus::before, .mdc-list-item:not(.mdc-list-item--selected):focus::before { + position: absolute; + box-sizing: border-box; + width: 100%; + height: 100%; + top: 0; + left: 0; + content: ""; + pointer-events: none; +} + +a.mdc-list-item { + color: inherit; + text-decoration: none; +} + +.mdc-list-item__start { + fill: currentColor; + flex-shrink: 0; + pointer-events: none; +} +.mdc-list-item--with-leading-icon .mdc-list-item__start { + color: var(--%NS%mat-list-list-item-leading-icon-color, var(--%NS%mat-sys-on-surface-variant)); + width: var(--%NS%mat-list-list-item-leading-icon-size, 24px); + height: var(--%NS%mat-list-list-item-leading-icon-size, 24px); + margin-left: 16px; + margin-right: 32px; +} +[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start { + margin-left: 32px; + margin-right: 16px; +} +.mdc-list-item--%NS%with-leading-icon:hover .mdc-list-item__start { + color: var(--%NS%mat-list-list-item-hover-leading-icon-color); +} +.mdc-list-item--with-leading-avatar .mdc-list-item__start { + width: var(--%NS%mat-list-list-item-leading-avatar-size, 40px); + height: var(--%NS%mat-list-list-item-leading-avatar-size, 40px); + margin-left: 16px; + margin-right: 16px; + border-radius: 50%; +} +.mdc-list-item--with-leading-avatar .mdc-list-item__start, [dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start { + margin-left: 16px; + margin-right: 16px; + border-radius: 50%; +} + +.mdc-list-item__end { + flex-shrink: 0; + pointer-events: none; +} +.mdc-list-item--with-trailing-meta .mdc-list-item__end { + font-family: var(--%NS%mat-list-list-item-trailing-supporting-text-font, var(--%NS%mat-sys-label-small-font)); + line-height: var(--%NS%mat-list-list-item-trailing-supporting-text-line-height, var(--%NS%mat-sys-label-small-line-height)); + font-size: var(--%NS%mat-list-list-item-trailing-supporting-text-size, var(--%NS%mat-sys-label-small-size)); + font-weight: var(--%NS%mat-list-list-item-trailing-supporting-text-weight, var(--%NS%mat-sys-label-small-weight)); + letter-spacing: var(--%NS%mat-list-list-item-trailing-supporting-text-tracking, var(--%NS%mat-sys-label-small-tracking)); +} +.mdc-list-item--with-trailing-icon .mdc-list-item__end { + color: var(--%NS%mat-list-list-item-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); + width: var(--%NS%mat-list-list-item-trailing-icon-size, 24px); + height: var(--%NS%mat-list-list-item-trailing-icon-size, 24px); +} +.mdc-list-item--%NS%with-trailing-icon:hover .mdc-list-item__end { + color: var(--%NS%mat-list-list-item-hover-trailing-icon-color); +} +.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end { + color: var(--%NS%mat-list-list-item-trailing-supporting-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end { + color: var(--%NS%mat-list-list-item-selected-trailing-icon-color, var(--%NS%mat-sys-primary)); +} + +.mdc-list-item__content { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + align-self: center; + flex: 1; + pointer-events: none; +} +.mdc-list-item--with-two-lines .mdc-list-item__content, .mdc-list-item--with-three-lines .mdc-list-item__content { + align-self: stretch; +} + +.mdc-list-item__primary-text { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + color: var(--%NS%mat-list-list-item-label-text-color, var(--%NS%mat-sys-on-surface)); + font-family: var(--%NS%mat-list-list-item-label-text-font, var(--%NS%mat-sys-body-large-font)); + line-height: var(--%NS%mat-list-list-item-label-text-line-height, var(--%NS%mat-sys-body-large-line-height)); + font-size: var(--%NS%mat-list-list-item-label-text-size, var(--%NS%mat-sys-body-large-size)); + font-weight: var(--%NS%mat-list-list-item-label-text-weight, var(--%NS%mat-sys-body-large-weight)); + letter-spacing: var(--%NS%mat-list-list-item-label-text-tracking, var(--%NS%mat-sys-body-large-tracking)); +} +.mdc-list-item:hover .mdc-list-item__primary-text { + color: var(--%NS%mat-list-list-item-hover-label-text-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-list-item:focus .mdc-list-item__primary-text { + color: var(--%NS%mat-list-list-item-focus-label-text-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-list-item--with-two-lines .mdc-list-item__primary-text, .mdc-list-item--with-three-lines .mdc-list-item__primary-text { + display: block; + margin-top: 0; + line-height: normal; + margin-bottom: -20px; +} +.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::before { + display: inline-block; + width: 0; + height: 28px; + content: ""; + vertical-align: 0; +} +.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, .mdc-list-item--with-three-lines .mdc-list-item__primary-text::after { + display: inline-block; + width: 0; + height: 20px; + content: ""; + vertical-align: -20px; +} + +.mdc-list-item__secondary-text { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + display: block; + margin-top: 0; + color: var(--%NS%mat-list-list-item-supporting-text-color, var(--%NS%mat-sys-on-surface-variant)); + font-family: var(--%NS%mat-list-list-item-supporting-text-font, var(--%NS%mat-sys-body-medium-font)); + line-height: var(--%NS%mat-list-list-item-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height)); + font-size: var(--%NS%mat-list-list-item-supporting-text-size, var(--%NS%mat-sys-body-medium-size)); + font-weight: var(--%NS%mat-list-list-item-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight)); + letter-spacing: var(--%NS%mat-list-list-item-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking)); +} +.mdc-list-item__secondary-text::before { + display: inline-block; + width: 0; + height: 20px; + content: ""; + vertical-align: 0; +} +.mdc-list-item--with-three-lines .mdc-list-item__secondary-text { + white-space: normal; + line-height: 20px; +} +.mdc-list-item--with-overline .mdc-list-item__secondary-text { + white-space: nowrap; + line-height: auto; +} + +.mdc-list-item--with-leading-radio.mdc-list-item, +.mdc-list-item--with-leading-checkbox.mdc-list-item, +.mdc-list-item--with-leading-icon.mdc-list-item, +.mdc-list-item--with-leading-avatar.mdc-list-item { + padding-left: 0; + padding-right: 16px; +} +[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item, +[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item, +[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item, +[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item { + padding-left: 16px; + padding-right: 0; +} +.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text, +.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text, +.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text, +.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text { + display: block; + margin-top: 0; + line-height: normal; + margin-bottom: -20px; +} +.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, +.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, +.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before, +.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before { + display: inline-block; + width: 0; + height: 32px; + content: ""; + vertical-align: 0; +} +.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, +.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, +.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after, +.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after { + display: inline-block; + width: 0; + height: 20px; + content: ""; + vertical-align: -20px; +} +.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end, +.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end, +.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end, +.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end { + display: block; + margin-top: 0; + line-height: normal; +} +.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before, +.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before, +.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before, +.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before { + display: inline-block; + width: 0; + height: 32px; + content: ""; + vertical-align: 0; +} + +.mdc-list-item--with-trailing-icon.mdc-list-item, [dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item { + padding-left: 0; + padding-right: 0; +} +.mdc-list-item--with-trailing-icon .mdc-list-item__end { + margin-left: 16px; + margin-right: 16px; +} + +.mdc-list-item--with-trailing-meta.mdc-list-item { + padding-left: 16px; + padding-right: 0; +} +[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item { + padding-left: 0; + padding-right: 16px; +} +.mdc-list-item--with-trailing-meta .mdc-list-item__end { + -webkit-user-select: none; + user-select: none; + margin-left: 28px; + margin-right: 16px; +} +[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end { + margin-left: 16px; + margin-right: 28px; +} +.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end { + display: block; + line-height: normal; + align-self: flex-start; + margin-top: 0; +} +.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before, .mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before { + display: inline-block; + width: 0; + height: 28px; + content: ""; + vertical-align: 0; +} + +.mdc-list-item--with-leading-radio .mdc-list-item__start, +.mdc-list-item--with-leading-checkbox .mdc-list-item__start { + margin-left: 8px; + margin-right: 24px; +} +[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start, +[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start { + margin-left: 24px; + margin-right: 8px; +} +.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start, +.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start { + align-self: flex-start; + margin-top: 8px; +} + +.mdc-list-item--with-trailing-radio.mdc-list-item, +.mdc-list-item--with-trailing-checkbox.mdc-list-item { + padding-left: 16px; + padding-right: 0; +} +[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item, +[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item { + padding-left: 0; + padding-right: 16px; +} +.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar, +.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon, +.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar { + padding-left: 0; +} +[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon, [dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar, +[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon, +[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar { + padding-right: 0; +} +.mdc-list-item--with-trailing-radio .mdc-list-item__end, +.mdc-list-item--with-trailing-checkbox .mdc-list-item__end { + margin-left: 24px; + margin-right: 8px; +} +[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end, +[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end { + margin-left: 8px; + margin-right: 24px; +} +.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end, +.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end { + align-self: flex-start; + margin-top: 8px; +} + +.mdc-list-group__subheader { + margin: 0.75rem 16px; +} + +.mdc-list-item--disabled .mdc-list-item__start, +.mdc-list-item--disabled .mdc-list-item__content, +.mdc-list-item--disabled .mdc-list-item__end { + opacity: 1; +} +.mdc-list-item--disabled .mdc-list-item__primary-text, +.mdc-list-item--disabled .mdc-list-item__secondary-text { + opacity: var(--%NS%mat-list-list-item-disabled-label-text-opacity, 0.3); +} +.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start { + color: var(--%NS%mat-list-list-item-disabled-leading-icon-color, var(--%NS%mat-sys-on-surface)); + opacity: var(--%NS%mat-list-list-item-disabled-leading-icon-opacity, 0.38); +} +.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end { + color: var(--%NS%mat-list-list-item-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); + opacity: var(--%NS%mat-list-list-item-disabled-trailing-icon-opacity, 0.38); +} + +.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing, [dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing { + padding-left: 0; + padding-right: 0; +} + +.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text { + color: var(--%NS%mat-list-list-item-disabled-label-text-color, var(--%NS%mat-sys-on-surface)); +} + +.mdc-list-item:hover::before { + background-color: var(--%NS%mat-list-list-item-hover-state-layer-color, var(--%NS%mat-sys-on-surface)); + opacity: var(--%NS%mat-list-list-item-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} + +.mdc-list-item.mdc-list-item--%NS%disabled::before { + background-color: var(--%NS%mat-list-list-item-disabled-state-layer-color, var(--%NS%mat-sys-on-surface)); + opacity: var(--%NS%mat-list-list-item-disabled-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-list-item:focus::before { + background-color: var(--%NS%mat-list-list-item-focus-state-layer-color, var(--%NS%mat-sys-on-surface)); + opacity: var(--%NS%mat-list-list-item-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-list-item--disabled .mdc-radio, +.mdc-list-item--disabled .mdc-checkbox { + opacity: var(--%NS%mat-list-list-item-disabled-label-text-opacity, 0.3); +} + +.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar { + border-radius: var(--%NS%mat-list-list-item-leading-avatar-shape, var(--%NS%mat-sys-corner-full)); + background-color: var(--%NS%mat-list-list-item-leading-avatar-color, var(--%NS%mat-sys-primary-container)); +} + +.mat-mdc-list-item-icon { + font-size: var(--%NS%mat-list-list-item-leading-icon-size, 24px); +} + +@media (forced-colors: active) { + a.mdc-list-item--%NS%activated::after { + content: ""; + position: absolute; + top: 50%; + right: 16px; + transform: translateY(-50%); + width: 10px; + height: 0; + border-bottom: solid 10px; + border-radius: 10px; + } + a.mdc-list-item--activated [dir=rtl]::after { + right: auto; + left: 16px; + } +} + +.mat-mdc-list-base { + display: block; +} +.mat-mdc-list-base .mdc-list-item__start, +.mat-mdc-list-base .mdc-list-item__end, +.mat-mdc-list-base .mdc-list-item__content { + pointer-events: auto; +} + +.mat-mdc-list-item, +.mat-mdc-list-option { + width: 100%; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-list-item:not(.mat-mdc-list-item-interactive), +.mat-mdc-list-option:not(.mat-mdc-list-item-interactive) { + cursor: default; +} +.mat-mdc-list-item .mat-divider-inset, +.mat-mdc-list-option .mat-divider-inset { + position: absolute; + left: 0; + right: 0; + bottom: 0; +} +.mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset, +.mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset { + margin-left: 72px; +} +[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar ~ .mat-divider-inset, +[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar ~ .mat-divider-inset { + margin-right: 72px; +} + +.mat-mdc-list-item-interactive::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + content: ""; + opacity: 0; + pointer-events: none; + border-radius: inherit; +} + +.mat-mdc-list-item > .mat-focus-indicator { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; +} +.mat-mdc-list-item:focus-visible > .mat-focus-indicator::before { + content: ""; +} + +.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text { + white-space: nowrap; + line-height: normal; +} +.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; +} + +mat-action-list button { + background: none; + color: inherit; + border: none; + font: inherit; + outline: inherit; + -webkit-tap-highlight-color: transparent; + text-align: start; +} +mat-action-list button::-moz-focus-inner { + border: 0; +} + +.mdc-list-item--with-leading-icon .mdc-list-item__start { + margin-inline-start: var(--%NS%mat-list-list-item-leading-icon-start-space, 16px); + margin-inline-end: var(--%NS%mat-list-list-item-leading-icon-end-space, 16px); +} + +.mat-mdc-nav-list .mat-mdc-list-item { + border-radius: var(--%NS%mat-list-active-indicator-shape, var(--%NS%mat-sys-corner-full)); + --%NS%mat-focus-indicator-border-radius: var(--%NS%mat-list-active-indicator-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated { + background-color: var(--%NS%mat-list-active-indicator-color, var(--%NS%mat-sys-secondary-container)); +} +`],encapsulation:2})})()}return n})();var jp=(()=>{class n extends ty{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(t){this._activated=_e(t)}_activated=!1;_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275cmp=(function(){let t=["unscopedContent"],e=["text"],a=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]];return S({type:n,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(s,l,d){if(s&1&&ne(d,dd,5)(d,cd,5)(d,Z_,5),s&2){let m;P(m=L())&&(l._lines=m),P(m=L())&&(l._titles=m),P(m=L())&&(l._meta=m)}},viewQuery:function(s,l){if(s&1&&Kt(t,5)(e,5),s&2){let d;P(d=L())&&(l._unscopedContent=d.first),P(d=L())&&(l._itemText=d.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(s,l){s&2&&(H("aria-current",l._getAriaCurrent()),z("mdc-list-item--activated",l.activated)("mdc-list-item--with-leading-avatar",l._avatars.length!==0)("mdc-list-item--with-leading-icon",l._icons.length!==0)("mdc-list-item--with-trailing-meta",l._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",l._hasBothLeadingAndTrailing())("_mat-animation-noopable",l._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[ot],ngContentSelectors:["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(s,l){s&1&&(_t(a),V(0),h(1,"span",1),V(2,1),V(3,2),h(4,"span",2,0),B("cdkObserveContent",function(){return l._updateItemLines(!0)}),V(6,3),u()(),V(7,4),V(8,5),dt(9,"div",3))},dependencies:[sh],encapsulation:2})})()}return n})();var Up=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[es,vs,Bp,Xt,Pp]})}return n})();function Hp(n){return Error(`Unable to find icon with the name "${n}"`)}function ny(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function $p(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Gp(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var En=class{url;svgText;options;svgElement=null;constructor(i,t,e){this.url=i,this.svgText=t,this.options=e}},qp=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass;constructor(t,e,a,r){this._httpClient=t,this._sanitizer=e,this._errorHandler=r,this._document=a}addSvgIcon(t,e,a){return this.addSvgIconInNamespace("",t,e,a)}addSvgIconLiteral(t,e,a){return this.addSvgIconLiteralInNamespace("",t,e,a)}addSvgIconInNamespace(t,e,a,r){return this._addSvgIconConfig(t,e,new En(a,null,r))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,a,r){let o=this._sanitizer.sanitize(he.HTML,a);if(!o)throw Gp(a);let s=mi(o);return this._addSvgIconConfig(t,e,new En("",s,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,a){return this._addSvgIconSetConfig(t,new En(e,null,a))}addSvgIconSetLiteralInNamespace(t,e,a){let r=this._sanitizer.sanitize(he.HTML,e);if(!r)throw Gp(e);let o=mi(r);return this._addSvgIconSetConfig(t,new En("",o,a))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass??=ay(this._document),this._defaultFontSetClass}getSvgIconFromUrl(t){let e=this._sanitizer.sanitize(he.RESOURCE_URL,t);if(!e)throw $p(t);let a=this._cachedIconsByUrl.get(e);return a?A($s(a)):this._loadSvgIconFromConfig(new En(t,null)).pipe(Wt(r=>this._cachedIconsByUrl.set(e,r)),st(r=>$s(r)))}getNamedSvgIcon(t,e=""){let a=Wp(e,t),r=this._svgIconConfigs.get(a);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(e,t),r)return this._svgIconConfigs.set(a,r),this._getSvgFromConfig(r);let o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):Vr(Hp(a))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?A($s(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(st(e=>$s(e)))}_getSvgFromIconSetConfigs(t,e){let a=this._extractIconWithNameFromAnySet(t,e);if(a)return A(a);let r=e.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(Ni(s=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(he.RESOURCE_URL,o.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(d)),A(null)})));return Ur(r).pipe(st(()=>{let o=this._extractIconWithNameFromAnySet(t,e);if(!o)throw Hp(t);return o}))}_extractIconWithNameFromAnySet(t,e){for(let a=e.length-1;a>=0;a--){let r=e[a];if(r.svgText&&r.svgText.toString().indexOf(t)>-1){let o=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(o,t,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Wt(e=>t.svgText=e),st(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?A(null):this._fetchIcon(t).pipe(Wt(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,a){let r=t.querySelector(`[id="${e}"]`);if(!r)return null;let o=r.cloneNode(!0);if(o.removeAttribute("id"),o.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(o,a);if(o.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(o),a);let s=this._svgElementFromString(mi(""));return s.appendChild(o),this._setSvgAttributes(s,a)}_svgElementFromString(t){let e=this._document.createElement("DIV");e.innerHTML=t;let a=e.querySelector("svg");if(!a)throw Error(" tag not found");return a}_toSvgElement(t){let e=this._svgElementFromString(mi("")),a=t.attributes;for(let r=0;rmi(d)),Ai(()=>this._inProgressUrlFetches.delete(o)),Td());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,a){return this._svgIconConfigs.set(Wp(t,e),a),this}_addSvgIconSetConfig(t,e){let a=this._iconSetConfigs.get(t);return a?a.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){let e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let a=0;a{let a=e.family.replace(/['"]/g,"").trim().toLowerCase();(a==="material icons"||a.startsWith("material icons "))&&(t=!0),a.startsWith("material symbols rounded")?i="rounded":a.startsWith("material symbols sharp")?i="sharp":a.startsWith("material symbols")&&(i="outlined")}),[i&&!t?`material-symbols-${i}`:"material-icons","mat-ligature-font"]}var ry=new v("MAT_ICON_DEFAULT_OPTIONS"),oy=new v("mat-icon-location",{providedIn:"root",factory:()=>{let n=c(F),i=n?n.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),Kp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],sy=Kp.map(n=>`[${n}]`).join(", "),ly=/^url\(['"]?#(.*?)['"]?\)$/,Ce=(()=>{class n{_elementRef=c(R);_iconRegistry=c(qp);_location=c(oy);_errorHandler=c(Jn);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){let e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){let e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Et.EMPTY;constructor(){let t=c(new Jr("aria-hidden"),{optional:!0}),e=c(ry,{optional:!0});e&&(e.color&&(this.color=this._defaultColor=e.color),e.fontSet&&(this.fontSet=e.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){let a=t.childNodes[e];(a.nodeType!==1||a.nodeName.toLowerCase()==="svg")&&a.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(a=>a.length>0);this._previousFontSetClass.forEach(a=>t.classList.remove(a)),e.forEach(a=>t.classList.add(a)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let e=this._elementsWithExternalReferences,a=t.startsWith("//")?`/.${t}`:t;e&&e.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${a}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){let e=t.querySelectorAll(sy),a=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=e[r],l=s.getAttribute(o),d=l?l.match(ly):null;if(d){let m=a.get(s);m||(m=[],a.set(s,m)),m.push({name:o,value:d[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[e,a]=this._splitIconName(t);e&&(this._svgNamespace=e),a&&(this._svgName=a),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(a,e).pipe(Gt(1)).subscribe(r=>this._setSvgElement(r),r=>{let o=`Error retrieving icon ${e}:${a}! ${r.message}`;this._errorHandler.handleError(new Error(o))})}}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){return S({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,r){a&2&&(H("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Fe(r.color?"mat-"+r.color:""),z("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",j],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:["*"],decls:1,vars:0,template:function(a,r){a&1&&(_t(),V(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn { + color: var(--%NS%mat-icon-color, inherit); +} + +.mat-icon { + -webkit-user-select: none; + user-select: none; + background-repeat: no-repeat; + display: inline-block; + fill: currentColor; + height: 24px; + width: 24px; + overflow: hidden; +} +.mat-icon.mat-icon-inline { + font-size: inherit; + height: inherit; + line-height: inherit; + width: inherit; +} +.mat-icon.mat-ligature-font[fontIcon]::before { + content: attr(fontIcon); +} + +[dir=rtl] .mat-icon-rtl-mirror { + transform: scale(-1, 1); +} + +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon, +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon { + display: block; +} +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon, +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon { + margin: auto; +} +`],encapsulation:2})})()}return n})();var cy=n=>["/tutorials",n],dy=(n,i)=>i.id;function my(n,i){n&1&&(h(0,"a",3)(1,"mat-icon"),f(2,"add"),u(),f(3," New tutorial "),u())}function uy(n,i){if(n&1){let t=Nt();h(0,"button",13),B("click",function(){at(t);let a=w();return rt(a.clearSearch())}),h(1,"mat-icon"),f(2,"close"),u()()}}function hy(n,i){if(n&1){let t=Nt();h(0,"button",15),B("click",function(){let a=at(t),r=a.$implicit,o=a.$index,s=w(2);return rt(s.setActiveTutorial(r,o))}),h(1,"mat-icon",16),f(2),u(),h(3,"span",17),f(4),u(),h(5,"span",18),f(6),u()()}if(n&2){let t=i.$implicit,e=i.$index,a=w(2);mt("activated",e===a.currentIndex),p(2),Lt(t.published?"task":"draft"),p(2),Lt(t.title),p(2),Lt(t.published?"Published":"Pending")}}function py(n,i){if(n&1&&(h(0,"mat-action-list"),Tn(1,hy,7,4,"button",14,dy),u()),n&2){let t=w();p(),On(t.tutorials)}}function fy(n,i){if(n&1&&(h(0,"div",10)(1,"mat-icon"),f(2,"menu_book"),u(),h(3,"p"),f(4),u()()),n&2){let t=w();p(4),Lt(t.title?"Nothing found":"No tutorials yet")}}function gy(n,i){if(n&1){let t=Nt();h(0,"mat-card-actions",11)(1,"button",19),B("click",function(){at(t);let a=w();return rt(a.removeAllTutorials())}),h(2,"mat-icon"),f(3,"delete_sweep"),u(),f(4," Remove all "),u()()}}function by(n,i){if(n&1&&(h(0,"mat-card-actions",11)(1,"a",22)(2,"mat-icon"),f(3,"edit"),u(),f(4," Edit "),u()()),n&2){let t=w(2);p(),mt("routerLink",rm(1,cy,t.currentTutorial.id))}}function vy(n,i){if(n&1&&(h(0,"mat-card-header")(1,"mat-card-title"),f(2),u(),h(3,"mat-card-subtitle")(4,"span",20),f(5),u()()(),h(6,"mat-card-content")(7,"p",21),f(8),u()(),C(9,by,5,3,"mat-card-actions",11)),n&2){let t=w();p(2),Lt(t.currentTutorial.title),p(2),z("published",t.currentTutorial.published),p(),It(" ",t.currentTutorial.published?"Published":"Pending"," "),p(3),Lt(t.currentTutorial.description||"No description"),p(),k(t.isLoggedIn?9:-1)}}function _y(n,i){n&1&&(h(0,"div",10)(1,"mat-icon"),f(2,"touch_app"),u(),h(3,"p"),f(4,"Select a tutorial to see the details"),u()())}var Yp=(()=>{class n{tutorialService=c(ma);tokenStorage=c(gn);snackBar=c(ca);tutorials=[];currentTutorial={};currentIndex=-1;title="";isAdmin=!1;isLoggedIn=!1;ngOnInit(){this.isLoggedIn=this.tokenStorage.isLoggedIn(),this.isAdmin=(this.tokenStorage.getUser().roles??[]).includes("ROLE_ADMIN"),this.retrieveTutorials()}setActiveTutorial(t,e){this.currentTutorial=t,this.currentIndex=e}searchTitle(){this.resetSelection(),(this.title?this.tutorialService.findByTitle(this.title):this.tutorialService.getAll()).subscribe({next:e=>this.tutorials=e??[],error:e=>this.showError(e)})}clearSearch(){this.title="",this.searchTitle()}removeAllTutorials(){confirm("Delete all tutorials? This cannot be undone.")&&this.tutorialService.deleteAll().subscribe({next:()=>{this.snackBar.open("All tutorials were deleted","OK",{duration:3e3}),this.retrieveTutorials()},error:t=>this.showError(t)})}retrieveTutorials(){this.resetSelection(),this.tutorialService.getAll().subscribe({next:t=>this.tutorials=t??[],error:t=>this.showError(t)})}resetSelection(){this.currentTutorial={},this.currentIndex=-1}showError(t){this.snackBar.open(da(t),"OK",{duration:5e3})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-tutorials-list"]],standalone:!1,decls:20,vars:6,consts:[[1,"page"],[1,"page-header"],[1,"page-title"],["mat-flat-button","","routerLink","/add"],["appearance","outline","subscriptSizing","dynamic",1,"search"],["matPrefix",""],["matInput","",3,"ngModelChange","keyup.enter","ngModel"],["matIconButton","","matSuffix","","aria-label","Clear search"],[1,"layout"],["appearance","outlined",1,"list-card"],[1,"empty"],["align","end"],["appearance","outlined",1,"details-card"],["matIconButton","","matSuffix","","aria-label","Clear search",3,"click"],["mat-list-item","",3,"activated"],["mat-list-item","",3,"click","activated"],["matListItemIcon",""],["matListItemTitle",""],["matListItemLine",""],["mat-button","",1,"danger",3,"click"],[1,"status"],[1,"description"],["mat-stroked-button","",3,"routerLink"]],template:function(e,a){e&1&&(h(0,"div",0)(1,"div",1)(2,"h1",2),f(3,"Tutorials"),u(),C(4,my,4,0,"a",3),u(),h(5,"mat-form-field",4)(6,"mat-label"),f(7,"Search by title"),u(),h(8,"mat-icon",5),f(9,"search"),u(),h(10,"input",6),Tt(),Ht("ngModelChange",function(o){return Ut(a.title,o)||(a.title=o),o}),B("keyup.enter",function(){return a.searchTitle()}),u(),C(11,uy,3,0,"button",7),u(),h(12,"div",8)(13,"mat-card",9),C(14,py,3,0,"mat-action-list")(15,fy,5,1,"div",10),C(16,gy,5,0,"mat-card-actions",11),u(),h(17,"mat-card",12),C(18,vy,10,6)(19,_y,5,0,"div",10),u()()()),e&2&&(p(4),k(a.isLoggedIn?4:-1),p(6),jt("ngModel",a.title),Ot(),p(),k(a.title?11:-1),p(3),k(a.tutorials.length?14:15),p(2),k(a.isAdmin&&a.tutorials.length?16:-1),p(2),k(a.currentTutorial.id?18:19))},dependencies:[Ve,me,Se,Ne,He,xr,va,ya,_a,Ls,Ps,gp,Yn,Ie,Ge,zs,wa,zp,jp,md,dd,cd,Ce],styles:[".page[_ngcontent-%COMP%]{max-width:960px;margin:0 auto}.page.narrow[_ngcontent-%COMP%]{max-width:560px}.page-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.page-title[_ngcontent-%COMP%]{margin:0;font:var(--%NS%mat-sys-headline-small);color:var(--%NS%mat-sys-on-surface)}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:hover{text-decoration:none}.status[_ngcontent-%COMP%]{display:inline-block;padding:2px 10px;border-radius:8px;font:var(--%NS%mat-sys-label-medium);background-color:var(--%NS%mat-sys-surface-container-highest);color:var(--%NS%mat-sys-on-surface-variant)}.status.published[_ngcontent-%COMP%]{background-color:var(--%NS%mat-sys-tertiary-container);color:var(--%NS%mat-sys-on-tertiary-container)}.empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;text-align:center;color:var(--%NS%mat-sys-on-surface-variant)}.empty[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:48px;height:48px;font-size:48px;opacity:.6}.empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.danger[_ngcontent-%COMP%]{--%NS%mat-button-text-label-text-color: var(--%NS%mat-sys-error)}.full-width[_ngcontent-%COMP%]{width:100%}.search[_ngcontent-%COMP%]{width:100%;margin-bottom:16px}.layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}@media(max-width:768px){.layout[_ngcontent-%COMP%]{grid-template-columns:1fr}}.description[_ngcontent-%COMP%]{white-space:pre-line;color:var(--%NS%mat-sys-on-surface-variant)}"],changeDetection:1})}return n})();function yy(n,i){if(n&1){let t=Nt();h(0,"mat-card",6)(1,"form",7,0),B("ngSubmit",function(){at(t);let a=w();return rt(a.updateTutorial())}),h(3,"mat-card-header")(4,"mat-card-subtitle")(5,"span",8),f(6),u()()(),h(7,"mat-card-content")(8,"mat-form-field",9)(9,"mat-label"),f(10,"Title"),u(),h(11,"input",10),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.currentTutorial.title,a)||(r.currentTutorial.title=a),rt(a)}),u(),h(12,"mat-error"),f(13,"Title is required"),u()(),h(14,"mat-form-field",9)(15,"mat-label"),f(16,"Description"),u(),h(17,"textarea",11,1),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.currentTutorial.description,a)||(r.currentTutorial.description=a),rt(a)}),u(),h(19,"mat-hint",12),f(20),u()()(),h(21,"mat-card-actions",13)(22,"button",14),B("click",function(){at(t);let a=w();return rt(a.deleteTutorial())}),h(23,"mat-icon"),f(24,"delete"),u(),f(25," Delete "),u(),dt(26,"span",15),h(27,"button",16),B("click",function(){at(t);let a=w();return rt(a.updatePublished(!a.currentTutorial.published))}),h(28,"mat-icon"),f(29),u(),f(30),u(),h(31,"button",17)(32,"mat-icon"),f(33,"save"),u(),f(34," Save "),u()()()()}if(n&2){let t=yt(2),e=yt(18),a=w();p(5),z("published",a.currentTutorial.published),p(),It(" ",a.currentTutorial.published?"Published":"Pending"," "),p(5),jt("ngModel",a.currentTutorial.title),Ot(),p(6),jt("ngModel",a.currentTutorial.description),Ot(),p(3),It("",e.value.length," / 255"),p(9),Lt(a.currentTutorial.published?"unpublished":"publish"),p(),It(" ",a.currentTutorial.published?"Unpublish":"Publish"," "),p(),mt("disabled",t.invalid)}}function xy(n,i){n&1&&(h(0,"mat-card",6)(1,"div",18)(2,"mat-icon"),f(3,"search_off"),u(),h(4,"p"),f(5,"This tutorial could not be loaded"),u()()())}var Xp=(()=>{class n{tutorialService=c(ma);route=c(Je);router=c(be);snackBar=c(ca);currentTutorial={title:"",description:"",published:!1};notFound=!1;ngOnInit(){this.tutorialService.get(this.route.snapshot.params.id).subscribe({next:t=>this.currentTutorial=t,error:t=>{this.notFound=!0,this.showError(t)}})}updatePublished(t){let e=ct(g({},this.currentTutorial),{published:t});this.tutorialService.update(this.currentTutorial.id,e).subscribe({next:()=>{this.currentTutorial.published=t,this.notify(t?"Tutorial was published":"Tutorial was unpublished")},error:a=>this.showError(a)})}updateTutorial(){this.tutorialService.update(this.currentTutorial.id,this.currentTutorial).subscribe({next:()=>this.notify("Tutorial was saved"),error:t=>this.showError(t)})}deleteTutorial(){confirm(`Delete "${this.currentTutorial.title}"?`)&&this.tutorialService.delete(this.currentTutorial.id).subscribe({next:()=>{this.notify("Tutorial was deleted"),this.router.navigate(["/tutorials"])},error:t=>this.showError(t)})}notify(t){this.snackBar.open(t,"OK",{duration:3e3})}showError(t){this.snackBar.open(da(t),"OK",{duration:5e3})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-tutorial-details"]],standalone:!1,decls:10,vars:1,consts:[["tutorialForm","ngForm"],["description",""],[1,"page","narrow"],[1,"page-header"],[1,"page-title"],["mat-button","","routerLink","/tutorials"],["appearance","outlined"],[3,"ngSubmit"],[1,"status"],["appearance","outline",1,"full-width"],["matInput","","name","title","required","","maxlength","255",3,"ngModelChange","ngModel"],["matInput","","name","description","rows","4","maxlength","255",3,"ngModelChange","ngModel"],["align","end"],[1,"actions"],["mat-button","","type","button",1,"danger",3,"click"],[1,"spacer"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit",3,"disabled"],[1,"empty"]],template:function(e,a){e&1&&(h(0,"div",2)(1,"div",3)(2,"h1",4),f(3,"Edit tutorial"),u(),h(4,"a",5)(5,"mat-icon"),f(6,"arrow_back"),u(),f(7," Back to list "),u()(),C(8,yy,35,9,"mat-card",6)(9,xy,6,0,"mat-card",6),u()),e&2&&(p(8),k(a.currentTutorial.id?8:a.notFound?9:-1))},dependencies:[Ve,_n,me,Se,vn,bn,wi,Ne,ye,He,va,ya,_a,Ls,Ps,Yn,Ie,Ge,Kn,xa,Ce],styles:[".page[_ngcontent-%COMP%]{max-width:960px;margin:0 auto}.page.narrow[_ngcontent-%COMP%]{max-width:560px}.page-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.page-title[_ngcontent-%COMP%]{margin:0;font:var(--%NS%mat-sys-headline-small);color:var(--%NS%mat-sys-on-surface)}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:hover{text-decoration:none}.status[_ngcontent-%COMP%]{display:inline-block;padding:2px 10px;border-radius:8px;font:var(--%NS%mat-sys-label-medium);background-color:var(--%NS%mat-sys-surface-container-highest);color:var(--%NS%mat-sys-on-surface-variant)}.status.published[_ngcontent-%COMP%]{background-color:var(--%NS%mat-sys-tertiary-container);color:var(--%NS%mat-sys-on-tertiary-container)}.empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;text-align:center;color:var(--%NS%mat-sys-on-surface-variant)}.empty[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:48px;height:48px;font-size:48px;opacity:.6}.empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.danger[_ngcontent-%COMP%]{--%NS%mat-button-text-label-text-color: var(--%NS%mat-sys-error)}.full-width[_ngcontent-%COMP%]{width:100%}mat-card-content[_ngcontent-%COMP%]{padding-top:16px}.actions[_ngcontent-%COMP%]{gap:8px;padding:8px 16px 16px}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:1})}return n})();function wy(n,i){if(n&1){let t=Nt();h(0,"form",8,0),B("ngSubmit",function(){at(t);let a=w();return rt(a.saveTutorial())}),h(2,"mat-card-content")(3,"mat-form-field",9)(4,"mat-label"),f(5,"Title"),u(),h(6,"input",10),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.tutorial.title,a)||(r.tutorial.title=a),rt(a)}),u(),h(7,"mat-error"),f(8,"Title is required"),u()(),h(9,"mat-form-field",9)(10,"mat-label"),f(11,"Description"),u(),h(12,"textarea",11,1),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.tutorial.description,a)||(r.tutorial.description=a),rt(a)}),u(),h(14,"mat-hint",12),f(15),u()()(),h(16,"mat-card-actions",12)(17,"button",13)(18,"mat-icon"),f(19,"add"),u(),f(20," Create "),u()()()}if(n&2){let t=yt(1),e=yt(13),a=w();p(6),jt("ngModel",a.tutorial.title),Ot(),p(6),jt("ngModel",a.tutorial.description),Ot(),p(3),It("",e.value.length," / 255"),p(2),mt("disabled",t.invalid||a.saving)}}function Sy(n,i){if(n&1){let t=Nt();h(0,"div",7)(1,"mat-icon"),f(2,"check_circle"),u(),h(3,"p"),f(4,"Tutorial was created successfully!"),u(),h(5,"div",14)(6,"a",15),f(7,"Go to list"),u(),h(8,"button",16),B("click",function(){at(t);let a=w();return rt(a.newTutorial())}),h(9,"mat-icon"),f(10,"add"),u(),f(11," Add another "),u()()()}}var Zp=(()=>{class n{tutorialService=c(ma);snackBar=c(ca);tutorial=this.emptyTutorial();submitted=!1;saving=!1;saveTutorial(){let t={title:this.tutorial.title,description:this.tutorial.description};this.saving=!0,this.tutorialService.create(t).subscribe({next:()=>{this.saving=!1,this.submitted=!0},error:e=>{this.saving=!1,this.snackBar.open(da(e),"OK",{duration:5e3})}})}newTutorial(){this.submitted=!1,this.tutorial=this.emptyTutorial()}emptyTutorial(){return{title:"",description:"",published:!1}}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-add-tutorial"]],standalone:!1,decls:11,vars:1,consts:[["tutorialForm","ngForm"],["description",""],[1,"page","narrow"],[1,"page-header"],[1,"page-title"],["mat-button","","routerLink","/tutorials"],["appearance","outlined"],[1,"empty","success"],[3,"ngSubmit"],["appearance","outline",1,"full-width"],["matInput","","name","title","required","","maxlength","255",3,"ngModelChange","ngModel"],["matInput","","name","description","rows","4","maxlength","255",3,"ngModelChange","ngModel"],["align","end"],["mat-flat-button","","type","submit",3,"disabled"],[1,"success-actions"],["mat-stroked-button","","routerLink","/tutorials"],["mat-flat-button","",3,"click"]],template:function(e,a){e&1&&(h(0,"div",2)(1,"div",3)(2,"h1",4),f(3,"New tutorial"),u(),h(4,"a",5)(5,"mat-icon"),f(6,"arrow_back"),u(),f(7," Back to list "),u()(),h(8,"mat-card",6),C(9,wy,21,4,"form")(10,Sy,12,0,"div",7),u()()),e&2&&(p(9),k(a.submitted?10:9))},dependencies:[Ve,_n,me,Se,vn,bn,wi,Ne,ye,He,va,ya,_a,Yn,Ie,Ge,Kn,xa,Ce],styles:[".page[_ngcontent-%COMP%]{max-width:960px;margin:0 auto}.page.narrow[_ngcontent-%COMP%]{max-width:560px}.page-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.page-title[_ngcontent-%COMP%]{margin:0;font:var(--%NS%mat-sys-headline-small);color:var(--%NS%mat-sys-on-surface)}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:hover{text-decoration:none}.status[_ngcontent-%COMP%]{display:inline-block;padding:2px 10px;border-radius:8px;font:var(--%NS%mat-sys-label-medium);background-color:var(--%NS%mat-sys-surface-container-highest);color:var(--%NS%mat-sys-on-surface-variant)}.status.published[_ngcontent-%COMP%]{background-color:var(--%NS%mat-sys-tertiary-container);color:var(--%NS%mat-sys-on-tertiary-container)}.empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:48px 16px;text-align:center;color:var(--%NS%mat-sys-on-surface-variant)}.empty[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:48px;height:48px;font-size:48px;opacity:.6}.empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.danger[_ngcontent-%COMP%]{--%NS%mat-button-text-label-text-color: var(--%NS%mat-sys-error)}.full-width[_ngcontent-%COMP%]{width:100%}mat-card-content[_ngcontent-%COMP%]{padding-top:16px}mat-card-actions[_ngcontent-%COMP%]{padding:8px 16px 16px}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--%NS%mat-sys-primary);opacity:1}.success-actions[_ngcontent-%COMP%]{display:flex;gap:8px;margin-top:8px}"],changeDetection:1})}return n})();var Cy="/api/users",Qp=(()=>{class n{http;constructor(t){this.http=t}getAdminBoard(){return this.http.get(Cy)}static \u0275fac=function(e){return new(e||n)(T(Le))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var My="/api/roles",Jp=(()=>{class n{http;constructor(t){this.http=t}getAllRoles(){return this.http.get(My)}static \u0275fac=function(e){return new(e||n)(T(Le))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ny=new v("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),tf=new v("MatChipAvatar"),ef=new v("MatChipTrailingIcon"),nf=new v("MatChipEdit"),af=new v("MatChipRemove"),fd=new v("MatChip"),of=(()=>{class n{_elementRef=c(R);_parentChip=c(fd);_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(t){this._disabled=t}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){c(Bt).load(en),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(e,a){e&2&&(H("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),z("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--secondary",!a._isPrimary)("mdc-evolution-chip__action--trailing",!a._isPrimary&&!a._isLeading))},inputs:{disabled:[2,"disabled","disabled",j],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?-1:Li(t)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return n})(),sf=(()=>{class n extends of{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(t){!this.disabled&&this._isPrimary&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(t.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(e,a){e&1&&B("click",function(o){return a._handleClick(o)})("keydown",function(o){return a._handleKeydown(o)}),e&2&&(H("tabindex",a._getTabindex()),z("mdc-evolution-chip__action--presentational",!1))},features:[ot]})}return n})();var hd=(()=>{class n{_changeDetectorRef=c(xt);_elementRef=c(R);_tagName=c(sm);_ngZone=c(O);_focusMonitor=c(fn);_globalRippleOptions=c(_i,{optional:!0});_document=c(F);_onFocus=new E;_onBlur=new E;_isBasicChip=!1;role=null;_hasFocusInternal=!1;_pendingFocus=!1;_actionChanges;_animationsDisabled=Ct();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=c(St).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(t){this._value=t}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(t){this._disabled=t}_disabled=!1;removed=new Q;destroyed=new Q;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=c(bs);_injector=c(K);constructor(){let t=c(Bt);t.load(en),t.load(na),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Qt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this.destroyed.emit({chip:this}),this.destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(t){(t.keyCode===8&&!t.repeat||t.keyCode===46)&&(t.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(t){return this._getActions().find(e=>{let a=e._elementRef.nativeElement;return a===t||a.contains(t)})}_getActions(){let t=[];return this.editIcon&&t.push(this.editIcon),this.primaryAction&&t.push(this.primaryAction),this.removeIcon&&t.push(this.removeIcon),t}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(t){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{let e=t!==null;e!==this._hasFocusInternal&&(this._hasFocusInternal=e,e?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],e=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function a(o,s){o&1&&(h(0,"span",3),V(1,1),u())}function r(o,s){o&1&&(h(0,"span",7),V(1,2),u())}return S({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(s,l,d){if(s&1&&ne(d,tf,5)(d,nf,5)(d,ef,5)(d,af,5)(d,tf,5)(d,ef,5)(d,nf,5)(d,af,5),s&2){let m;P(m=L())&&(l.leadingIcon=m.first),P(m=L())&&(l.editIcon=m.first),P(m=L())&&(l.trailingIcon=m.first),P(m=L())&&(l.removeIcon=m.first),P(m=L())&&(l._allLeadingIcons=m),P(m=L())&&(l._allTrailingIcons=m),P(m=L())&&(l._allEditIcons=m),P(m=L())&&(l._allRemoveIcons=m)}},viewQuery:function(s,l){if(s&1&&Kt(sf,5),s&2){let d;P(d=L())&&(l.primaryAction=d.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(s,l){s&1&&B("keydown",function(m){return l._handleKeydown(m)}),s&2&&(ee("id",l.id),H("role",l.role)("aria-label",l.ariaLabel),Fe("mat-"+(l.color||"primary")),z("mdc-evolution-chip",!l._isBasicChip)("mdc-evolution-chip--disabled",l.disabled)("mdc-evolution-chip--with-trailing-action",l._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",l.leadingIcon)("mdc-evolution-chip--with-primary-icon",l.leadingIcon)("mdc-evolution-chip--with-avatar",l.leadingIcon)("mat-mdc-chip-with-avatar",l.leadingIcon)("mat-mdc-chip-highlighted",l.highlighted)("mat-mdc-chip-disabled",l.disabled)("mat-mdc-basic-chip",l._isBasicChip)("mat-mdc-standard-chip",!l._isBasicChip)("mat-mdc-chip-with-trailing-icon",l._hasTrailingIcon())("_mat-animation-noopable",l._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",j],highlighted:[2,"highlighted","highlighted",j],disableRipple:[2,"disableRipple","disableRipple",j],disabled:[2,"disabled","disabled",j]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[ft([{provide:fd,useExisting:n}])],ngContentSelectors:e,decls:9,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mat-mdc-chip-touch-target"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(s,l){s&1&&(_t(t),dt(0,"span",0),h(1,"span",1)(2,"span",2),C(3,a,2,0,"span",3),h(4,"span",4),V(5),dt(6,"span",5),u(),dt(7,"span",6),u()(),C(8,r,2,0,"span",7)),s&2&&(p(3),k(l.leadingIcon?3:-1),p(5),k(l._hasTrailingIcon()?8:-1))},dependencies:[of],styles:[`.mdc-evolution-chip, +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + display: inline-flex; + align-items: center; +} + +.mdc-evolution-chip { + position: relative; + max-width: 100%; +} + +.mat-mdc-chip-touch-target { + position: absolute; + top: 50%; + left: 0; + right: 0; + height: 48px; + transform: translateY(-50%); + display: var(--%NS%mat-chip-touch-target-display, block); + pointer-events: auto; +} + +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + height: 100%; +} + +.mdc-evolution-chip__cell--primary { + flex-basis: 100%; + overflow-x: hidden; +} + +.mdc-evolution-chip__cell--trailing { + flex: 1 0 auto; +} + +.mdc-evolution-chip__action { + align-items: center; + background: none; + border: none; + box-sizing: content-box; + cursor: pointer; + display: inline-flex; + justify-content: center; + outline: none; + padding: 0; + text-decoration: none; + color: inherit; +} + +.mdc-evolution-chip__action--presentational { + cursor: auto; +} + +.mdc-evolution-chip--disabled, +.mdc-evolution-chip__action:disabled { + pointer-events: none; +} +@media (forced-colors: active) { + .mdc-evolution-chip--disabled, + .mdc-evolution-chip__action:disabled { + forced-color-adjust: none; + } +} + +.mdc-evolution-chip__action--primary { + font: inherit; + letter-spacing: inherit; + white-space: inherit; + overflow-x: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-outline-width, 1px); + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + box-sizing: border-box; + content: ""; + height: 100%; + left: 0; + position: absolute; + pointer-events: none; + top: 0; + width: 100%; + z-index: 1; + border-style: solid; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline)); +} +.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before { + border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} +.mat-mdc-basic-chip .mdc-evolution-chip__action--primary { + font: inherit; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} + +.mdc-evolution-chip__action--secondary { + position: relative; + overflow: visible; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} + +.mdc-evolution-chip__text-label { + -webkit-user-select: none; + user-select: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__text-label { + font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size)); + font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mdc-evolution-chip__graphic { + align-items: center; + display: inline-flex; + justify-content: center; + overflow: hidden; + pointer-events: none; + position: relative; + flex: 1 0 auto; +} +.mat-mdc-standard-chip .mdc-evolution-chip__graphic { + width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic { + transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic { + width: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic { + padding-left: 0; +} + +.mdc-evolution-chip__checkmark { + position: absolute; + opacity: 0; + top: 50%; + left: 50%; + height: 20px; + width: 20px; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark { + transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); + transform: translate(-75%, -50%); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + transform: translate(-50%, -50%); + opacity: 1; +} + +.mdc-evolution-chip__checkmark-svg { + display: block; +} + +.mdc-evolution-chip__checkmark-path { + stroke-width: 2px; + stroke-dasharray: 29.7833385; + stroke-dashoffset: 29.7833385; + stroke: currentColor; +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path { + transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path { + stroke-dashoffset: 0; +} +@media (forced-colors: active) { + .mdc-evolution-chip__checkmark-path { + stroke: CanvasText !important; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing { + height: 18px; + width: 18px; + font-size: 18px; +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove { + opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus { + opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} + +.mat-mdc-standard-chip { + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + height: var(--%NS%mat-chip-container-height, 32px); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-container-color, transparent); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-elevated-disabled-container-color); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +@media (forced-colors: active) { + .mat-mdc-standard-chip { + outline: solid 1px; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary { + border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px); + width: var(--%NS%mat-chip-with-icon-icon-size, 18px); + height: var(--%NS%mat-chip-with-icon-icon-size, 18px); + font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary { + opacity: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-highlighted { + --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); + --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} + +.mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar { + opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38); +} + +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38); +} + +.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38); +} + +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + opacity: var(--%NS%mat-chip-disabled-container-opacity, 1); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-edit, .mat-mdc-chip-remove { + opacity: var(--%NS%mat-chip-trailing-action-opacity, 1); +} +.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus { + opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1); +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} +.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} + +.mat-mdc-chip-selected .mat-mdc-chip-remove::after, +.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} + +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} + +.mat-mdc-standard-chip { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-standard-chip .mat-mdc-chip-graphic, +.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon { + box-sizing: content-box; +} +.mat-mdc-standard-chip._mat-animation-noopable, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path { + transition-duration: 1ms; + animation-duration: 1ms; +} + +.mat-mdc-chip-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + opacity: 0; + border-radius: inherit; + transition: opacity 150ms linear; +} +._mat-animation-noopable .mat-mdc-chip-focus-overlay { + transition: none; +} +.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay { + display: none; +} + +.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} + +.mat-mdc-chip-avatar { + text-align: center; + line-height: 1; + color: var(--%NS%mat-chip-with-icon-icon-color, currentColor); +} + +.mat-mdc-chip { + position: relative; + z-index: 0; +} + +.mat-mdc-chip-action-label { + text-align: left; + z-index: 1; +} +[dir=rtl] .mat-mdc-chip-action-label { + text-align: right; +} +.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label { + position: relative; +} +.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + pointer-events: none; +} +.mat-mdc-chip-action-label .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before { + margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1); + left: 8px; + right: 8px; +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + content: ""; + display: block; + opacity: 0; + position: absolute; + top: -3px; + bottom: -3px; + left: 5px; + right: 5px; + border-radius: 50%; + box-sizing: border-box; + padding: 12px; + margin: -12px; + background-clip: content-box; +} +.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + box-sizing: content-box; +} + +.mat-chip-edit-input { + cursor: text; + display: inline-block; + color: inherit; + outline: 0; +} + +@media (forced-colors: active) { + .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) { + outline-width: 3px; + } +} + +.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before { + content: ""; +} + +.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + min-height: fit-content; +} + +img.mdc-evolution-chip__icon { + min-height: 0; +} +`],encapsulation:2})})()}return n})();var ud=(()=>{class n{_elementRef=c(R);_document=c(F);initialize(t){this.getNativeElement().focus(),this.setValue(t)}getNativeElement(){return this._elementRef.nativeElement}setValue(t){this.getNativeElement().textContent=t,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let t=this._document.createRange();t.selectNodeContents(this.getNativeElement()),t.collapse(!1);let e=window.getSelection();e.removeAllRanges(),e.addRange(t)}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return n})(),Lr=(()=>{class n extends hd{basicChipAttrName="mat-basic-chip-row";_renderer=c(pt);_cleanupMousedown;_editStartPending=!1;editable=!1;edited=new Q;defaultEditInput;contentEditInput;_alreadyFocused=!1;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(kt(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish(),this._alreadyFocused=!1})}ngAfterViewInit(){super.ngAfterViewInit(),this._cleanupMousedown=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mousedown",()=>{this._alreadyFocused=this._hasFocus()}))}ngOnDestroy(){super.ngOnDestroy(),this._cleanupMousedown?.()}_hasLeadingActionIcon(){return!this._isEditing&&!!this.editIcon}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(t){t.keyCode===13&&!this.disabled?this._isEditing?(t.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(t):this._isEditing?t.stopPropagation():super._handleKeydown(t)}_handleClick(t){!this.disabled&&this.editable&&!this._isEditing&&this._alreadyFocused&&(t.preventDefault(),t.stopPropagation(),this._startEditing(t))}_handleDoubleclick(t){!this.disabled&&this.editable&&this._startEditing(t)}_edit(){this._changeDetectorRef.markForCheck(),this._startEditing()}_startEditing(t){if(!this.primaryAction||this.removeIcon&&t&&this._getSourceAction(t.target)===this.removeIcon)return;let e=this.value;this._isEditing=this._editStartPending=!0,Pt(()=>{this._getEditInput().initialize(e),setTimeout(()=>this._ngZone.run(()=>this._editStartPending=!1))},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=[[["","matChipEdit",""]],[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],e=["[matChipEdit]","mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function a(b,M){b&1&&dt(0,"span",0)}function r(b,M){b&1&&(h(0,"span",1),V(1),u())}function o(b,M){b&1&&(h(0,"span",3),V(1,1),u())}function s(b,M){b&1&&V(0,2)}function l(b,M){b&1&&dt(0,"span",8)}function d(b,M){if(b&1&&C(0,s,1,0)(1,l,1,0,"span",8),b&2){let D=w();k(D.contentEditInput?0:1)}}function m(b,M){b&1&&V(0,3)}function _(b,M){b&1&&(h(0,"span",7),V(1,4),u())}return S({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(M,D,Z){if(M&1&&ne(Z,ud,5),M&2){let lt;P(lt=L())&&(D.contentEditInput=lt.first)}},viewQuery:function(M,D){if(M&1&&Kt(ud,5),M&2){let Z;P(Z=L())&&(D.defaultEditInput=Z.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:29,hostBindings:function(M,D){M&1&&B("focus",function(){return D._handleFocus()})("click",function(lt){return D._hasInteractiveActions()?D._handleClick(lt):null})("dblclick",function(lt){return D._handleDoubleclick(lt)}),M&2&&(ee("id",D.id),H("tabindex",D.disabled?null:-1)("aria-label",null)("aria-description",null)("role",D.role),z("mat-mdc-chip-with-avatar",D.leadingIcon)("mat-mdc-chip-disabled",D.disabled)("mat-mdc-chip-editing",D._isEditing)("mat-mdc-chip-editable",D.editable)("mdc-evolution-chip--disabled",D.disabled)("mdc-evolution-chip--with-leading-action",D._hasLeadingActionIcon())("mdc-evolution-chip--with-trailing-action",D._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",D.leadingIcon)("mdc-evolution-chip--with-primary-icon",D.leadingIcon)("mdc-evolution-chip--with-avatar",D.leadingIcon)("mat-mdc-chip-highlighted",D.highlighted)("mat-mdc-chip-with-trailing-icon",D._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[ft([{provide:hd,useExisting:n},{provide:fd,useExisting:n}]),ot],ngContentSelectors:e,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--leading"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mat-mdc-chip-touch-target"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],["matChipEditInput",""]],template:function(M,D){M&1&&(_t(t),C(0,a,1,0,"span",0),C(1,r,2,0,"span",1),h(2,"span",2),C(3,o,2,0,"span",3),h(4,"span",4),C(5,d,2,1)(6,m,1,0),dt(7,"span",5),u(),dt(8,"span",6),u(),C(9,_,2,0,"span",7)),M&2&&(k(D._isEditing?-1:0),p(),k(D._hasLeadingActionIcon()?1:-1),p(),mt("disabled",D.disabled),H("aria-description",D.ariaDescription)("aria-label",D.ariaLabel),p(),k(D.leadingIcon?3:-1),p(2),k(D._isEditing?5:6),p(4),k(D._hasTrailingIcon()?9:-1))},dependencies:[sf,ud],styles:[`.mdc-evolution-chip, +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + display: inline-flex; + align-items: center; +} + +.mdc-evolution-chip { + position: relative; + max-width: 100%; +} + +.mat-mdc-chip-touch-target { + position: absolute; + top: 50%; + left: 0; + right: 0; + height: 48px; + transform: translateY(-50%); + display: var(--%NS%mat-chip-touch-target-display, block); + pointer-events: auto; +} + +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + height: 100%; +} + +.mdc-evolution-chip__cell--primary { + flex-basis: 100%; + overflow-x: hidden; +} + +.mdc-evolution-chip__cell--trailing { + flex: 1 0 auto; +} + +.mdc-evolution-chip__action { + align-items: center; + background: none; + border: none; + box-sizing: content-box; + cursor: pointer; + display: inline-flex; + justify-content: center; + outline: none; + padding: 0; + text-decoration: none; + color: inherit; +} + +.mdc-evolution-chip__action--presentational { + cursor: auto; +} + +.mdc-evolution-chip--disabled, +.mdc-evolution-chip__action:disabled { + pointer-events: none; +} +@media (forced-colors: active) { + .mdc-evolution-chip--disabled, + .mdc-evolution-chip__action:disabled { + forced-color-adjust: none; + } +} + +.mdc-evolution-chip__action--primary { + font: inherit; + letter-spacing: inherit; + white-space: inherit; + overflow-x: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-outline-width, 1px); + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + box-sizing: border-box; + content: ""; + height: 100%; + left: 0; + position: absolute; + pointer-events: none; + top: 0; + width: 100%; + z-index: 1; + border-style: solid; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline)); +} +.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before { + border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} +.mat-mdc-basic-chip .mdc-evolution-chip__action--primary { + font: inherit; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} + +.mdc-evolution-chip__action--secondary { + position: relative; + overflow: visible; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} + +.mdc-evolution-chip__text-label { + -webkit-user-select: none; + user-select: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__text-label { + font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size)); + font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mdc-evolution-chip__graphic { + align-items: center; + display: inline-flex; + justify-content: center; + overflow: hidden; + pointer-events: none; + position: relative; + flex: 1 0 auto; +} +.mat-mdc-standard-chip .mdc-evolution-chip__graphic { + width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic { + transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic { + width: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic { + padding-left: 0; +} + +.mdc-evolution-chip__checkmark { + position: absolute; + opacity: 0; + top: 50%; + left: 50%; + height: 20px; + width: 20px; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark { + transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); + transform: translate(-75%, -50%); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + transform: translate(-50%, -50%); + opacity: 1; +} + +.mdc-evolution-chip__checkmark-svg { + display: block; +} + +.mdc-evolution-chip__checkmark-path { + stroke-width: 2px; + stroke-dasharray: 29.7833385; + stroke-dashoffset: 29.7833385; + stroke: currentColor; +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path { + transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path { + stroke-dashoffset: 0; +} +@media (forced-colors: active) { + .mdc-evolution-chip__checkmark-path { + stroke: CanvasText !important; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing { + height: 18px; + width: 18px; + font-size: 18px; +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove { + opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus { + opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} + +.mat-mdc-standard-chip { + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + height: var(--%NS%mat-chip-container-height, 32px); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-container-color, transparent); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-elevated-disabled-container-color); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +@media (forced-colors: active) { + .mat-mdc-standard-chip { + outline: solid 1px; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary { + border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px); + width: var(--%NS%mat-chip-with-icon-icon-size, 18px); + height: var(--%NS%mat-chip-with-icon-icon-size, 18px); + font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary { + opacity: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-highlighted { + --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); + --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} + +.mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar { + opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38); +} + +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38); +} + +.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38); +} + +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + opacity: var(--%NS%mat-chip-disabled-container-opacity, 1); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-edit, .mat-mdc-chip-remove { + opacity: var(--%NS%mat-chip-trailing-action-opacity, 1); +} +.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus { + opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1); +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} +.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} + +.mat-mdc-chip-selected .mat-mdc-chip-remove::after, +.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} + +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} + +.mat-mdc-standard-chip { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-standard-chip .mat-mdc-chip-graphic, +.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon { + box-sizing: content-box; +} +.mat-mdc-standard-chip._mat-animation-noopable, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path { + transition-duration: 1ms; + animation-duration: 1ms; +} + +.mat-mdc-chip-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + opacity: 0; + border-radius: inherit; + transition: opacity 150ms linear; +} +._mat-animation-noopable .mat-mdc-chip-focus-overlay { + transition: none; +} +.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay { + display: none; +} + +.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} + +.mat-mdc-chip-avatar { + text-align: center; + line-height: 1; + color: var(--%NS%mat-chip-with-icon-icon-color, currentColor); +} + +.mat-mdc-chip { + position: relative; + z-index: 0; +} + +.mat-mdc-chip-action-label { + text-align: left; + z-index: 1; +} +[dir=rtl] .mat-mdc-chip-action-label { + text-align: right; +} +.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label { + position: relative; +} +.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + pointer-events: none; +} +.mat-mdc-chip-action-label .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before { + margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1); + left: 8px; + right: 8px; +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + content: ""; + display: block; + opacity: 0; + position: absolute; + top: -3px; + bottom: -3px; + left: 5px; + right: 5px; + border-radius: 50%; + box-sizing: border-box; + padding: 12px; + margin: -12px; + background-clip: content-box; +} +.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + box-sizing: content-box; +} + +.mat-chip-edit-input { + cursor: text; + display: inline-block; + color: inherit; + outline: 0; +} + +@media (forced-colors: active) { + .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) { + outline-width: 3px; + } +} + +.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before { + content: ""; +} + +.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + min-height: fit-content; +} + +img.mdc-evolution-chip__icon { + min-height: 0; +} +`],encapsulation:2})})()}return n})(),Iy=(()=>{class n{_elementRef=c(R);_changeDetectorRef=c(xt);_dir=c(de,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new E;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(t=>t._onFocus)}get chipDestroyedChanges(){return this._getChipStream(t=>t.destroyed)}get chipRemovedChanges(){return this._getChipStream(t=>t.removed)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(t){this._explicitRole=t}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new ei;ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(t=>t._hasFocus())}_syncChipsState(){this._chips?.forEach(t=>{t._chipListDisabled=this._disabled,t._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(t){this._originatesFromChip(t)&&this._keyManager.onKeydown(t)}_isValidIndex(t){return t>=0&&tthis._elementRef.nativeElement.tabIndex=t))}_getChipStream(t){return this._chips.changes.pipe(Ft(null),Mt(()=>Qt(...this._chips.map(t))))}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-mdc-chip"))return!0;e=e.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Ft(this._chips)).subscribe(t=>{let e=[];t.forEach(a=>a._getActions().forEach(r=>e.push(r))),this._chipActions.reset(e),this._chipActions.notifyOnChanges()}),this._keyManager=new hi(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(t=>this._skipPredicate(t)),this.chipFocusChanges.pipe(kt(this._destroyed)).subscribe(({chip:t})=>{let e=t._getSourceAction(document.activeElement);e&&this._keyManager.updateActiveItem(e)}),this._dir?.change.pipe(kt(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t))}_skipPredicate(t){return t.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ft(null),kt(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(kt(this._destroyed)).subscribe(t=>{let a=this._chips.toArray().indexOf(t.chip),r=t.chip._hasFocus(),o=t.chip._hadFocusOnRemove&&this._keyManager.activeItem&&t.chip._getActions().includes(this._keyManager.activeItem),s=r||o;this._isValidIndex(a)&&s&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let t=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),e=this._chips.toArray()[t];e.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():e.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){return S({type:n,selectors:[["mat-chip-set"]],contentQueries:function(a,r,o){if(a&1&&ne(o,hd,5),a&2){let s;P(s=L())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,r){a&1&&B("keydown",function(s){return r._handleKeydown(s)}),a&2&&H("role",r.role)},inputs:{disabled:[2,"disabled","disabled",j],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Li(e)]},ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a,r){a&1&&(_t(),qt(0,"div",0),V(1),te())},styles:[`.mat-mdc-chip-set { + display: flex; +} +.mat-mdc-chip-set:focus { + outline: none; +} +.mat-mdc-chip-set .mdc-evolution-chip-set__chips { + min-width: 100%; + margin-left: -8px; + margin-right: 0; +} +.mat-mdc-chip-set .mdc-evolution-chip { + margin: 8px 0 8px 8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips { + margin-left: 0; + margin-right: -8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip { + margin-left: 0; + margin-right: 8px; +} + +.mdc-evolution-chip-set__chips { + display: flex; + flex-flow: wrap; + min-width: 0; +} + +.mat-mdc-chip-set-stacked { + flex-direction: column; + align-items: flex-start; +} +.mat-mdc-chip-set-stacked .mat-mdc-chip { + width: 100%; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic { + flex-grow: 0; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary { + flex-basis: 100%; + justify-content: start; +} + +input.mat-mdc-chip-input { + flex: 1 0 150px; + margin-left: 8px; +} +[dir=rtl] input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 8px; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder { + opacity: 1; +} +.mat-mdc-chip-set + input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 0; +} +`],encapsulation:2})})()}return n})();var pd=class{source;value;constructor(i,t){this.source=i,this.value=t}},Gs=(()=>{class n extends Iy{ngControl=c($e,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_uid=c(St).getId("mat-chip-grid-");_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=t,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput?this._chipInput.id:this._uid}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}_placeholder="";get focused(){return this._chipInput?.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(xi.required)??!1}set required(t){this._required=t,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(t){this._value=t}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get chipBlurChanges(){return this._getChipStream(t=>t._onBlur)}change=new Q;valueChange=new Q;_chips=void 0;stateChanges=new E;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(){super();let t=c(ye,{optional:!0}),e=c(Rr,{optional:!0}),a=c(js),r=c(Bs,{optional:!0,self:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new Sa(a,r||this.ngControl,e,t,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(kt(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Qt(this.chipFocusChanges,this._chips.changes).pipe(kt(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(t){this._chipInput=t,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds),this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(t){!this.disabled&&!this._originatesFromChip(t)&&this.focus()}focus(){if(!(this.disabled||this._chipInput?.focused)){if(!this._chips.length||this._chips.first.disabled){if(!this._chipInput)return;Promise.resolve().then(()=>this._chipInput.focus())}else{let t=this._keyManager.activeItem;t?t.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}get describedByIds(){if(this._chipInput)return this._chipInput.describedByIds||[];let t=this._elementRef.nativeElement.getAttribute("aria-describedby");return t?t.split(" "):[]}setDescribedByIds(t){this._ariaDescribedbyIds=t,this._chipInput?this._chipInput.setDescribedByIds(t):t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(t){this._value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput?.focused||super._allowFocusEscape()}_handleKeydown(t){let e=t.keyCode,a=this._keyManager.activeItem;if(e===9)this._chipInput?.focused&&ie(t,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(t.preventDefault(),a?this._keyManager.setActiveItem(a):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput?.focused)if((e===38||e===40)&&a){let r=this._chipActions.filter(l=>l._isPrimary===a._isPrimary&&!this._skipPredicate(l)),o=r.indexOf(a),s=t.keyCode===38?-1:1;t.preventDefault(),o>-1&&this._isValidIndex(o+s)&&this._keyManager.setActiveItem(r[o+s])}else super._handleKeydown(t);this.stateChanges.next()}_redirectDestroyedChipFocus(){this._lastDestroyedFocusedChipIndex!==null&&(super._redirectDestroyedChipFocus(),(!this._chips.length||this._chips.length===1&&this._chips.first.disabled)&&this._keyManager.updateActiveItem(-1))}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let t=this._chips.length?this._chips.toArray().map(e=>e.value):[];this._value=t,this.change.emit(new pd(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["*"];return S({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(a,r,o){if(a&1&&ne(o,Lr,5),a&2){let s;P(s=L())&&(r._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(a,r){a&1&&B("focus",function(){return r.focus()})("blur",function(){return r._blur()}),a&2&&(H("role",r.role)("tabindex",r.disabled||r._chips&&r._chips.length===0?-1:r.tabIndex)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState),z("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-invalid",r.errorState)("mat-mdc-chip-list-required",r.required))},inputs:{disabled:[2,"disabled","disabled",j],placeholder:"placeholder",required:[2,"required","required",j],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[ft([{provide:Or,useExisting:n}]),ot],ngContentSelectors:t,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a,r){a&1&&(_t(),qt(0,"div",0),V(1),te())},styles:[`.mat-mdc-chip-set { + display: flex; +} +.mat-mdc-chip-set:focus { + outline: none; +} +.mat-mdc-chip-set .mdc-evolution-chip-set__chips { + min-width: 100%; + margin-left: -8px; + margin-right: 0; +} +.mat-mdc-chip-set .mdc-evolution-chip { + margin: 8px 0 8px 8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips { + margin-left: 0; + margin-right: -8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip { + margin-left: 0; + margin-right: 8px; +} + +.mdc-evolution-chip-set__chips { + display: flex; + flex-flow: wrap; + min-width: 0; +} + +.mat-mdc-chip-set-stacked { + flex-direction: column; + align-items: flex-start; +} +.mat-mdc-chip-set-stacked .mat-mdc-chip { + width: 100%; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic { + flex-grow: 0; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary { + flex-basis: 100%; + justify-content: start; +} + +input.mat-mdc-chip-input { + flex: 1 0 150px; + margin-left: 8px; +} +[dir=rtl] input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 8px; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder { + opacity: 1; +} +.mat-mdc-chip-set + input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 0; +} +`],encapsulation:2})})()}return n})(),lf=(()=>{class n{_elementRef=c(R);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(t){t&&(this._chipGrid=t,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new Q;placeholder="";id=c(St).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(t){this._disabled=t}_disabled=!1;readonly=!1;disabledInteractive;get empty(){return!this.inputElement.value}inputElement;constructor(){let t=c(Ny),e=c(Ci,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=t.separatorKeyCodes,this.disabledInteractive=t.inputDisabledInteractive??!1,e&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(t){this.empty&&t.keyCode===8?(t.repeat||this._chipGrid._focusLastChip(),t.preventDefault()):this._emitChipEnd(t)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(t){(!t||this._isSeparatorKey(t)&&!t.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),t?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(t){let e=this._elementRef.nativeElement;t.length?e.setAttribute("aria-describedby",t.join(" ")):e.removeAttribute("aria-describedby")}_isSeparatorKey(t){if(!this.separatorKeyCodes)return!1;for(let e of this.separatorKeyCodes){let a,r;typeof e=="number"?(a=e,r=null):(a=e.keyCode,r=e.modifiers);let o=r?.length?ie(t,...r):!ie(t);if(a===t.keyCode&&o)return!0}return!1}_getReadonlyAttribute(){return this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:8,hostBindings:function(e,a){e&1&&B("keydown",function(o){return a._keydown(o)})("blur",function(){return a._blur()})("focus",function(){return a._focus()})("input",function(){return a._onInput()}),e&2&&(ee("id",a.id),H("disabled",a.disabled&&!a.disabledInteractive?"":null)("placeholder",a.placeholder||null)("aria-invalid",a._chipGrid&&a._chipGrid.ngControl?a._chipGrid.ngControl.invalid:null)("aria-required",a._chipGrid&&a._chipGrid.required||null)("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("readonly",a._getReadonlyAttribute())("required",a._chipGrid&&a._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",j],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",j],readonly:[2,"readonly","readonly",j],disabledInteractive:[2,"matChipInputDisabledInteractive","disabledInteractive",j]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[Dt]})}return n})();var gd=new v("MAT_OPTION_PARENT_COMPONENT"),bd=new v("MatOptgroup");var Br=class{source;isUserInput;constructor(i,t=!1){this.source=i,this.isUserInput=t}},Ca=(()=>{class n{_element=c(R);_changeDetectorRef=c(xt);_parent=c(gd,{optional:!0});group=c(bd,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=c(St).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(t){this._disabled.set(t)}_disabled=X(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new Q;_text;_stateChanges=new E;constructor(){let t=c(Bt);t.load(en),t.load(na),this._signalDisableRipple=!!this._parent&&Re(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,e){let a=this._getHostElement();typeof a.focus=="function"&&a.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!ie(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Br(this,t))}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["text"],e=[[["mat-icon"]],"*"],a=["mat-icon","*"];function r(l,d){if(l&1&&dt(0,"mat-pseudo-checkbox",1),l&2){let m=w();mt("disabled",m.disabled)("state",m.selected?"checked":"unchecked")}}function o(l,d){if(l&1&&dt(0,"mat-pseudo-checkbox",3),l&2){let m=w();mt("disabled",m.disabled)}}function s(l,d){if(l&1&&(h(0,"span",4),f(1),u()),l&2){let m=w();p(),It("(",m.group.label,")")}}return S({type:n,selectors:[["mat-option"]],viewQuery:function(d,m){if(d&1&&Kt(t,7),d&2){let _;P(_=L())&&(m._text=_.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(d,m){d&1&&B("click",function(){return m._selectViaInteraction()})("keydown",function(b){return m._handleKeydown(b)}),d&2&&(ee("id",m.id),H("aria-selected",m.selected)("aria-disabled",m.disabled.toString()),z("mdc-list-item--selected",m.selected)("mat-mdc-option-multiple",m.multiple)("mat-mdc-option-active",m.active)("mdc-list-item--disabled",m.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",j]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:a,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(d,m){d&1&&(_t(e),C(0,r,1,2,"mat-pseudo-checkbox",1),V(1),h(2,"span",2,0),V(4,1),u(),C(5,o,1,1,"mat-pseudo-checkbox",3),C(6,s,2,1,"span",4),dt(7,"div",5)),d&2&&(k(m.multiple?0:-1),p(5),k(!m.multiple&&m.selected&&!m.hideSingleSelectionIndicator?5:-1),p(),k(m.group&&m.group._inert?6:-1),p(),mt("matRippleTrigger",m._getHostElement())("matRippleDisabled",m.disabled||m.disableRipple))},dependencies:[Lp,fs],styles:[`.mat-mdc-option { + -webkit-user-select: none; + user-select: none; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: flex; + position: relative; + align-items: center; + justify-content: flex-start; + overflow: hidden; + min-height: 48px; + padding: 0 16px; + cursor: pointer; + -webkit-tap-highlight-color: transparent; + color: var(--%NS%mat-option-label-text-color, var(--%NS%mat-sys-on-surface)); + font-family: var(--%NS%mat-option-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-option-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-option-label-text-size, var(--%NS%mat-sys-body-large-size)); + letter-spacing: var(--%NS%mat-option-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + font-weight: var(--%NS%mat-option-label-text-weight, var(--%NS%mat-sys-body-large-weight)); +} +.mat-mdc-option:hover:not(.mdc-list-item--disabled) { + background-color: var(--%NS%mat-option-hover-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item { + background-color: var(--%NS%mat-option-focus-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent)); + outline: 0; +} +.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) { + background-color: var(--%NS%mat-option-selected-state-layer-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text { + color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-option .mat-pseudo-checkbox { + --%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-option.mdc-list-item { + align-items: center; + background: transparent; +} +.mat-mdc-option.mdc-list-item--disabled { + cursor: default; + pointer-events: none; +} +.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon { + opacity: 0.38; +} +.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { + padding-left: 32px; +} +[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { + padding-left: 16px; + padding-right: 32px; +} +.mat-mdc-option .mat-icon, +.mat-mdc-option .mat-pseudo-checkbox-full { + margin-right: 16px; + flex-shrink: 0; +} +[dir=rtl] .mat-mdc-option .mat-icon, +[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full { + margin-right: 0; + margin-left: 16px; +} +.mat-mdc-option .mat-pseudo-checkbox-minimal { + margin-left: 16px; + flex-shrink: 0; +} +[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal { + margin-right: 16px; + margin-left: 0; +} +.mat-mdc-option .mat-mdc-option-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; +} +.mat-mdc-option .mdc-list-item__primary-text { + white-space: normal; + font-size: inherit; + font-weight: inherit; + letter-spacing: inherit; + line-height: inherit; + font-family: inherit; + text-decoration: inherit; + text-transform: inherit; + margin-right: auto; +} +[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text { + margin-right: 0; + margin-left: auto; +} +@media (forced-colors: active) { + .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { + content: ""; + position: absolute; + top: 50%; + right: 16px; + transform: translateY(-50%); + width: 10px; + height: 0; + border-bottom: solid 10px; + border-radius: 10px; + } + [dir=rtl] .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { + right: auto; + left: 16px; + } +} + +.mat-mdc-option-multiple { + --%NS%mat-list-list-item-selected-container-color: var(--%NS%mat-list-list-item-container-color, transparent); +} + +.mat-mdc-option-active .mat-focus-indicator::before { + content: ""; +} +`],encapsulation:2})})()}return n})();function cf(n,i,t){if(t.length){let e=i.toArray(),a=t.toArray(),r=0;for(let o=0;ot+e?Math.max(0,n-e+i):t}var vd=class{source;option;constructor(i,t){this.source=i,this.option=t}},mf=new v("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),Ws=(()=>{class n{_changeDetectorRef=c(xt);_elementRef=c(R);_defaults=c(mf);_animationsDisabled=Ct();_activeOptionChanges=Et.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new Q;opened=new Q;closed=new Q;optionActivated=new Q;set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}id=c(St).getId("mat-autocomplete-");inertGroups;constructor(){let t=c(ut);this.inertGroups=t?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new hr(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let e=new vd(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let e=t?t+" ":"";return this.ariaLabelledby?e+this.ariaLabelledby:t}_skipPredicate(){return!1}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["panel"],e=["*"];function a(r,o){if(r&1&&(qt(0,"div",1,0),V(2),te()),r&2){let s=o.id,l=w();Fe(l._classList),z("mat-mdc-autocomplete-visible",l.showPanel)("mat-mdc-autocomplete-hidden",!l.showPanel)("mat-autocomplete-panel-animations-enabled",!l._animationsDisabled)("mat-primary",l._color==="primary")("mat-accent",l._color==="accent")("mat-warn",l._color==="warn"),ee("id",l.id),H("aria-label",l.ariaLabel||null)("aria-labelledby",l._getPanelAriaLabelledby(s))}}return S({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(o,s,l){if(o&1&&ne(l,Ca,5)(l,bd,5),o&2){let d;P(d=L())&&(s.options=d),P(d=L())&&(s.optionGroups=d)}},viewQuery:function(o,s){if(o&1&&Kt(Te,7)(t,5),o&2){let l;P(l=L())&&(s.template=l.first),P(l=L())&&(s.panel=l.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",j],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",j],requireSelection:[2,"requireSelection","requireSelection",j],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",j],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",j]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[ft([{provide:gd,useExisting:n}])],ngContentSelectors:e,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(o,s){o&1&&(_t(),Kr(0,a,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel { + width: 100%; + max-height: 256px; + visibility: hidden; + transform-origin: center top; + overflow: auto; + padding: 8px 0; + box-sizing: border-box; + position: relative; + border-radius: var(--%NS%mat-autocomplete-container-shape, var(--%NS%mat-sys-corner-extra-small)); + box-shadow: var(--%NS%mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); + background-color: var(--%NS%mat-autocomplete-background-color, var(--%NS%mat-sys-surface-container)); +} +@media (forced-colors: active) { + div.mat-mdc-autocomplete-panel { + outline: solid 1px; + } +} +.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + transform-origin: center bottom; +} +div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible { + visibility: visible; +} + +div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden, +.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) { + visibility: hidden; + pointer-events: none; +} + +@keyframes _mat-autocomplete-enter { + from { + opacity: 0; + transform: scaleY(0.8); + } + to { + opacity: 1; + transform: none; + } +} +.mat-autocomplete-panel-animations-enabled { + animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1); +} + +mat-autocomplete { + display: none; +} +`],encapsulation:2})})()}return n})();var Ry={provide:fa,useExisting:se(()=>_d),multi:!0};var Ty=new v("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=c(K);return()=>br(n)}}),_d=(()=>{class n{_environmentInjector=c(zt);_element=c(R);_injector=c(K);_viewContainerRef=c(Oe);_zone=c(O);_changeDetectorRef=c(xt);_dir=c(de,{optional:!0});_formField=c(Ci,{optional:!0,host:!0});_viewportRuler=c(fi);_scrollStrategy=c(Ty);_renderer=c(pt);_animationsDisabled=Ct();_defaults=c(mf,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new E;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Et.EMPTY;_breakpointObserver=c(ur);_handsetLandscapeSubscription=Et.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new E;_overlayPanelClass=kn(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Qt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(vt(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(vt(()=>this._overlayAttached)):A()).pipe(st(t=>t instanceof Br?t:null))}optionSelections=rn(()=>{let t=this.autocomplete?this.autocomplete.options:null;return t?t.changes.pipe(Ft(t),Mt(()=>Qt(...t.map(e=>e.onSelectionChange)))):this._initialized.pipe(Mt(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new oe(t=>{let e=r=>{let o=ce(r),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&o!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(o))&&(!l||!l.contains(o))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(o)&&t.next(r)},a=[this._renderer.listen("document","click",e),this._renderer.listen("document","auxclick",e),this._renderer.listen("document","touchend",e)];return()=>{a.forEach(r=>r())}})}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){let e=t,a=e.keyCode,r=ie(e);if(a===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&a===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,s=a===38||a===40;a===9||s&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let e=t.target,a=e.value;if(e.type==="number"&&(a=a==""?null:parseFloat(a)),this._previousValue!==a){if(this._previousValue=a,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(a),!a)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(o=>o.selected);if(r){let o=this._getDisplayValue(r.value);a!==o&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return jn()===this._element.nativeElement}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=new oe(a=>{Pt(()=>{a.next()},{injector:this._environmentInjector})}),e=this.autocomplete.options?.changes.pipe(Wt(()=>this._positionStrategy.reapplyLastPosition()),Rd(0))??A();return Qt(t,e).pipe(Mt(()=>this._zone.run(()=>{let a=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),a!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Gt(1)).subscribe(a=>this._setValueAndClose(a))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){let e=this.autocomplete;return e&&e.displayWith?e.displayWith(t):t}_assignOptionValue(t){let e=this._getDisplayValue(t);t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(e??"")}_updateNativeInputValue(t){let e=this._formField?._control;e?Vd(e.value)?e.value.set(t):e.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let e=this.autocomplete,a=t?t.source:this._pendingAutoselectedOption;a?(this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),e._emitSelectEvent(a),this._element.nativeElement.focus()):e.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,e){this.autocomplete?.options?.forEach(a=>{a!==t&&a.selected&&a.deselect(e)})}_openPanelInternal(t=this._element.nativeElement.value){this._attachOverlay(t),this._floatLabel()}_attachOverlay(t){if(!this.autocomplete)return;let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new ze(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=Dn(this._injector,this._getOverlayConfig()),this._overlayRef=e,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(as.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),e&&!e.hasAttached()&&(e.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let a=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this.panelOpen&&a!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=t=>{(t.keyCode===27&&!ie(t)||t.keyCode===38&&ie(t,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),t.stopPropagation(),t.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new je({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let t=vr(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],a=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:a},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:a}],o;this.position==="above"?o=r:this.position==="below"?o=e:o=[...e,...r],t.withPositions(o)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let e=-1;for(let a=0;a{class n{userService;roleService;separatorKeysCodes=[13,188];rowData;allRoles;currentRole=lm("");myControl=new Ar("");ac=new Ar("");constructor(t,e){this.userService=t,this.roleService=e,this.getAllRoles()}ngOnInit(){this.userService.getAdminBoard().subscribe(t=>{this.rowData=t},t=>{this.rowData=JSON.parse(t.error).message})}filteredRoles(t){return this.allRoles.filter(e=>!t.some(a=>a.id===e.id))}getAllRoles(){this.roleService.getAllRoles().subscribe(t=>{this.allRoles=t},t=>{this.allRoles=JSON.parse(t.error).message})}remove(t){}add(t){this.currentRole.set("")}selected(t,e){t.push(e.option.value),this.currentRole.set(""),e.option.deselect()}change(t,e){e.filter(a=>!e.some(r=>r.name?.toLowerCase()===a.id))}static \u0275fac=function(e){return new(e||n)(U(Qp),U(Jp))};static \u0275cmp=S({type:n,selectors:[["app-board-admin"]],inputs:{currentRole:[1,"currentRole"]},outputs:{currentRole:"currentRoleChange"},standalone:!1,decls:6,vars:0,consts:[["chipGrid",""],["fruitInput",""],["auto","matAutocomplete"],[1,"col-md-6"],[1,"list-group"],[1,"list-group-item"],[1,"example-chip-list"],["aria-label","Role selection"],["name","currentFruit","placeholder","Add role...",3,"ngModelChange","matChipInputTokenEnd","input","ngModel","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","formControl"],["autoActiveFirstOption","",3,"optionSelected","formControl"],[3,"value"],[3,"removed"],["matChipRemove",""]],template:function(e,a){e&1&&(h(0,"div",3)(1,"h4"),f(2,"Users List"),u(),h(3,"ul",4),Tn(4,Ly,14,8,"li",5,Oa),u()()),e&2&&(p(4),On(a.rowData))},dependencies:[_n,me,Se,vn,ye,Ie,Ce,Gs,Lr,lf,_d,Ws,Ca,ad],styles:[".example-chip-list[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}return n})();var hf=(()=>{class n{constructor(){}ngOnInit(){}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-board-moderator"]],standalone:!1,decls:2,vars:0,template:function(e,a){e&1&&(h(0,"p"),f(1,"board-moderator works!"),u())},encapsulation:2,changeDetection:1})}return n})();var pf=(()=>{class n{constructor(){}ngOnInit(){}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-board-user"]],standalone:!1,decls:2,vars:0,template:function(e,a){e&1&&(h(0,"p"),f(1,"board-user works!"),u())},encapsulation:2,changeDetection:1})}return n})();function By(n,i){if(n&1&&(h(0,"li"),f(1),u()),n&2){let t=i.$implicit;p(),It(" ",t," ")}}function Vy(n,i){if(n&1&&(h(0,"div",0)(1,"header",1)(2,"h3")(3,"strong"),f(4),u(),f(5," Profile "),u()(),h(6,"p")(7,"strong"),f(8,"Token:"),u(),f(9),u(),h(10,"p")(11,"strong"),f(12,"Email:"),u(),f(13),u(),h(14,"strong"),f(15,"Roles:"),u(),h(16,"ul"),Tn(17,By,2,1,"li",null,Oa),u()()),n&2){let t=w();p(4),Lt(t.currentUser.username),p(5),Zr(" ",t.currentUser.accessToken.substring(0,20)," ... ",t.currentUser.accessToken.substr(t.currentUser.accessToken.length-20)," "),p(4),It(" ",t.currentUser.email," "),p(4),On(t.currentUser.roles)}}function zy(n,i){n&1&&f(0,` Please login. +`)}var ff=(()=>{class n{token;currentUser;constructor(t){this.token=t}ngOnInit(){this.currentUser=this.token.getUser()}static \u0275fac=function(e){return new(e||n)(U(gn))};static \u0275cmp=S({type:n,selectors:[["app-profile"]],standalone:!1,decls:2,vars:1,consts:[[1,"container"],[1,"jumbotron"]],template:function(e,a){e&1&&C(0,Vy,19,4,"div",0)(1,zy,1,0),e&2&&k(a.currentUser?0:1)},encapsulation:2,changeDetection:1})}return n})();var yd="/api/auth/",xd={headers:new Pe({"Content-Type":"application/json"})},ka=(()=>{class n{http;constructor(t){this.http=t}login(t,e){return this.http.post(yd+"signin",{username:t,password:e},xd)}register(t,e,a){return this.http.post(yd+"signup",{username:t,email:e,password:a},xd)}logout(){return this.http.post(yd+"signout",{},xd)}static \u0275fac=function(e){return new(e||n)(T(Le))};static \u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var wd=()=>({standalone:!0});function jy(n,i){n&1&&(h(0,"div"),f(1,"Username is required"),u())}function Uy(n,i){n&1&&(h(0,"div"),f(1," Username must be at least 3 characters "),u())}function Hy(n,i){n&1&&(h(0,"div"),f(1," Username must be at most 20 characters "),u())}function $y(n,i){if(n&1&&(h(0,"div",13),C(1,jy,2,0,"div"),C(2,Uy,2,0,"div"),C(3,Hy,2,0,"div"),u()),n&2){w();let t=yt(6);p(),k(t.errors.required?1:-1),p(),k(t.errors.minlength?2:-1),p(),k(t.errors.maxlength?3:-1)}}function Gy(n,i){n&1&&(h(0,"div"),f(1,"Email is required"),u())}function Wy(n,i){n&1&&(h(0,"div"),f(1," Email must be a valid email address "),u())}function qy(n,i){if(n&1&&(h(0,"div",13),C(1,Gy,2,0,"div"),C(2,Wy,2,0,"div"),u()),n&2){w();let t=yt(12);p(),k(t.errors.required?1:-1),p(),k(t.errors.email?2:-1)}}function Ky(n,i){n&1&&(h(0,"div"),f(1,"Password is required"),u())}function Yy(n,i){n&1&&(h(0,"div"),f(1," Password must be at least 6 characters "),u())}function Xy(n,i){if(n&1&&(h(0,"div",13),C(1,Ky,2,0,"div"),C(2,Yy,2,0,"div"),u()),n&2){w();let t=yt(18);p(),k(t.errors.required?1:-1),p(),k(t.errors.minlength?2:-1)}}function Zy(n,i){if(n&1&&(h(0,"div",19),f(1," Signup failed!"),dt(2,"br"),f(3),u()),n&2){let t=w(2);p(3),It("",t.errorMessage," ")}}function Qy(n,i){if(n&1){let t=Nt();h(0,"form",9,0),B("ngSubmit",function(){at(t);let a=yt(1),r=w();return rt(a.form.valid&&r.onSubmit())}),h(2,"div",10)(3,"label",11),f(4,"Username"),u(),h(5,"input",12,1),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.form.username,a)||(r.form.username=a),rt(a)}),u(),C(7,$y,4,3,"div",13),u(),h(8,"div",10)(9,"label",14),f(10,"Email"),u(),h(11,"input",15,2),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.form.email,a)||(r.form.email=a),rt(a)}),u(),C(13,qy,3,2,"div",13),u(),h(14,"div",10)(15,"label",16),f(16,"Password"),u(),h(17,"input",17,3),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.form.password,a)||(r.form.password=a),rt(a)}),u(),C(19,Xy,3,2,"div",13),u(),h(20,"div",10)(21,"button",18),f(22,"Sign Up"),u()(),C(23,Zy,4,1,"div",19),u()}if(n&2){let t=yt(1),e=yt(6),a=yt(12),r=yt(18),o=w();p(5),jt("ngModel",o.form.username),mt("ngModelOptions",Qr(10,wd)),Ot(),p(2),k(e.errors&&t.submitted?7:-1),p(4),jt("ngModel",o.form.email),mt("ngModelOptions",Qr(11,wd)),Ot(),p(2),k(a.errors&&t.submitted?13:-1),p(4),jt("ngModel",o.form.password),mt("ngModelOptions",Qr(12,wd)),Ot(),p(2),k(r.errors&&t.submitted?19:-1),p(4),k(t.submitted&&o.isSignUpFailed?23:-1)}}function Jy(n,i){n&1&&(h(0,"div",8),f(1," Your registration is successful! "),u())}var bf=(()=>{class n{authService;form={username:null,email:null,password:null};isSuccessful=!1;isSignUpFailed=!1;errorMessage="";constructor(t){this.authService=t}ngOnInit(){}onSubmit(){let{username:t,email:e,password:a}=this.form;this.authService.register(t,e,a).subscribe(r=>{console.log(r),this.isSuccessful=!0,this.isSignUpFailed=!1},r=>{this.errorMessage=r.error.message,this.isSignUpFailed=!0})}static \u0275fac=function(e){return new(e||n)(U(ka))};static \u0275cmp=S({type:n,selectors:[["app-register"]],standalone:!1,decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["email","ngModel"],["password","ngModel"],[1,"col-md-12"],["id","register"],["id","foto","id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate",""],[1,"alert","alert-success"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","","minlength","3","maxlength","20",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"alert-danger"],["for","email"],["type","email","id","email","required","","email","",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"btn","btn-primary","btn-block"],[1,"alert","alert-warning"]],template:function(e,a){e&1&&(h(0,"div",4)(1,"div",5),dt(2,"img",6),C(3,Qy,24,13,"form",7),C(4,Jy,2,0,"div",8),u()()),e&2&&(p(3),k(a.isSuccessful?-1:3),p(),k(a.isSuccessful?4:-1))},dependencies:[_n,me,Se,vn,bn,Ir,wi,nd,Ne,ye],encapsulation:2,changeDetection:1})}return n})();function t0(n,i){n&1&&(h(0,"div",12),f(1," Username is required! "),u())}function e0(n,i){n&1&&(h(0,"div"),f(1,"Password is required"),u())}function n0(n,i){n&1&&(h(0,"div"),f(1," Password must be at least 6 characters "),u())}function i0(n,i){if(n&1&&(h(0,"div",12),C(1,e0,2,0,"div"),C(2,n0,2,0,"div"),u()),n&2){w();let t=yt(12);p(),k(t.errors.required?1:-1),p(),k(t.errors.minlength?2:-1)}}function a0(n,i){if(n&1&&(h(0,"div",12),f(1),u()),n&2){let t=w(2);p(),It(" Login failed: ",t.errorMessage," ")}}function r0(n,i){if(n&1){let t=Nt();h(0,"form",8,0),B("ngSubmit",function(){at(t);let a=yt(1),r=w();return rt(a.form.valid&&r.onSubmit())}),h(2,"div",9)(3,"label",10),f(4,"Username"),u(),h(5,"input",11,1),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.form.username,a)||(r.form.username=a),rt(a)}),u(),C(7,t0,2,0,"div",12),u(),h(8,"div",9)(9,"label",13),f(10,"Password"),u(),h(11,"input",14,2),Tt(),Ht("ngModelChange",function(a){at(t);let r=w();return Ut(r.form.password,a)||(r.form.password=a),rt(a)}),u(),C(13,i0,3,2,"div",12),u(),h(14,"div",9)(15,"button",15),f(16," Login "),u()(),h(17,"div",9),C(18,a0,2,1,"div",12),u()()}if(n&2){let t=yt(1),e=yt(6),a=yt(12),r=w();p(5),jt("ngModel",r.form.username),Ot(),p(2),k(e.errors&&t.submitted?7:-1),p(4),jt("ngModel",r.form.password),Ot(),p(2),k(a.errors&&t.submitted?13:-1),p(5),k(t.submitted&&r.isLoginFailed?18:-1)}}function o0(n,i){if(n&1&&(h(0,"div",7),f(1),u()),n&2){let t=w();p(),It(" Logged in as ",t.roles,". ")}}var qs=(()=>{class n{authService;tokenStorage;form={username:null,password:null};isLoggedIn=!1;isLoginFailed=!1;errorMessage="";roles=[];constructor(t,e){this.authService=t,this.tokenStorage=e}ngOnInit(){this.tokenStorage.isLoggedIn()&&(this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles)}onSubmit(){let{username:t,password:e}=this.form;this.authService.login(t,e).subscribe(a=>{this.tokenStorage.saveUser(a),this.isLoginFailed=!1,this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles,this.reloadPage()},a=>{this.errorMessage=a.error.message,this.isLoginFailed=!0})}reloadPage(){window.location.reload()}static \u0275fac=function(e){return new(e||n)(U(ka),U(gn))};static \u0275cmp=S({type:n,selectors:[["app-login"]],decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["password","ngModel"],[1,"col-md-12"],[1,"card","card-container"],["id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate",""],[1,"alert","alert-success"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","",1,"form-control",3,"ngModelChange","ngModel"],["role","alert",1,"alert","alert-danger"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary","btn-block"]],template:function(e,a){e&1&&(h(0,"div",3)(1,"div",4),dt(2,"img",5),C(3,r0,19,5,"form",6),C(4,o0,2,1,"div",7),u()()),e&2&&(p(3),k(a.isLoggedIn?-1:3),p(),k(a.isLoggedIn?4:-1))},dependencies:[ba,_n,me,Se,vn,bn,Ir,Ne,ye],encapsulation:2,changeDetection:1})}return n})();var vf=(()=>{class n{content;constructor(){}ngOnInit(){}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-home"]],standalone:!1,decls:4,vars:1,consts:[[1,"container"],[1,"jumbotron"]],template:function(e,a){e&1&&(h(0,"div",0)(1,"header",1)(2,"p"),f(3),u()()()),e&2&&(p(3),Lt(a.content))},encapsulation:2,changeDetection:1})}return n})();var Sd=()=>c(gn).isLoggedIn()||c(be).createUrlTree(["/login"]);var s0=[{path:"home",component:vf},{path:"login",component:qs},{path:"register",component:bf},{path:"profile",component:ff},{path:"user",component:pf},{path:"mod",component:hf},{path:"admin",component:uf},{path:"",redirectTo:"home",pathMatch:"full"},{path:"tutorials",component:Yp},{path:"tutorials/:id",component:Xp,canActivate:[Sd]},{path:"add",component:Zp,canActivate:[Sd]}],_f=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n});static \u0275inj=q({imports:[Yo.forRoot(s0,{useHash:!0}),Yo]})}return n})();var Xn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;bindings};var kd=(()=>{class n extends Hn{_elementRef=c(R);_focusTrapFactory=c(Ic);_config;_interactivityChecker=c(Nc);_ngZone=c(O);_focusMonitor=c(fn);_renderer=c(pt);_changeDetectorRef=c(xt);_injector=c(K);_platform=c(ut);_document=c(F);_portalOutlet;_focusTrapped=new E;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=c(Xn,{optional:!0})||new Xn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let e=this._ariaLabelledByQueue.indexOf(t);e>-1&&(this._ariaLabelledByQueue.splice(e,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),e}attachTemplatePortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),e}attachDomPortal=t=>{this._portalOutlet.hasAttached();let e=this._portalOutlet.attachDomPortal(t);return this._contentAttached(),e};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,e){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let a=()=>{r(),o(),t.removeAttribute("tabindex")},r=this._renderer.listen(t,"blur",a),o=this._renderer.listen(t,"mousedown",a)})),t.focus(e)}_focusByCssSelector(t,e){let a=this._elementRef.nativeElement.querySelector(t);a&&this._forceFocus(a,e)}_trapFocus(t){this._isDestroyed||Pt(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus(t);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(t)||this._focusDialogContainer(t);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',t);break;default:this._focusByCssSelector(this._config.autoFocus,t);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,e=null;if(typeof t=="string"?e=this._document.querySelector(t):typeof t=="boolean"?e=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(e=t),this._config.restoreFocus&&e&&typeof e.focus=="function"){let a=jn(),r=this._elementRef.nativeElement;(!a||a===this._document.body||a===r||r.contains(a))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(t){this._elementRef.nativeElement.focus?.(t)}_containsFocus(){let t=this._elementRef.nativeElement,e=jn();return t===e||t.contains(e)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=jn()))}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){function t(e,a){}return S({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(a,r){if(a&1&&Kt($n,7),a&2){let o;P(o=L())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,r){a&2&&H("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a,r){a&1&&Ke(0,t,0,0,"ng-template",0)},dependencies:[$n],styles:[`.cdk-dialog-container { + display: block; + width: 100%; + height: 100%; + min-height: inherit; + max-height: inherit; +} +`],encapsulation:2,changeDetection:1})})()}return n})(),Mi=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new E;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,t){this.overlayRef=i,this.config=t,this.disableClose=t.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(e=>{e.keyCode===27&&!this.disableClose&&!ie(e)&&(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(i,t){if(this._canClose(i)){let e=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(i),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",t=""){return this.overlayRef.updateSize({width:i,height:t}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let t=this.config;return!!this.containerInstance&&(!t.closePredicate||t.closePredicate(i,t,this.componentInstance))}},l0=new v("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=c(K);return()=>gr(n)}}),c0=new v("DialogData"),d0=new v("DefaultDialogConfig");function m0(n){let i=X(n),t=new Q;return{valueSignal:i,get value(){return i()},change:t,ngOnDestroy(){t.complete()}}}var yf=(()=>{class n{_injector=c(K);_defaultOptions=c(d0,{optional:!0});_parentDialog=c(n,{optional:!0,skipSelf:!0});_overlayContainer=c(ps);_idGenerator=c(St);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new E;_afterOpenedAtThisLevel=new E;_ariaHiddenElements=new Map;_scrollStrategy=c(l0);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=rn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0)));open(t,e){let a=this._defaultOptions||new Xn;e=g(g({},a),e),e.id=e.id||this._idGenerator.getId("cdk-dialog-"),e.id&&this.getDialogById(e.id);let r=this._getOverlayConfig(e),o=Dn(this._injector,r),s=new Mi(o,e),l=this._attachContainer(o,s,e);if(s.containerInstance=l,!this.openDialogs.length){let d=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(Gt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(d)}):this._hideNonDialogContentFromAssistiveTechnology(d)}return this._attachDialogContent(t,s,l,e),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Cd(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){Cd(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Cd(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let e=new je({positionStrategy:t.positionStrategy||bi().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation,disableAnimations:t.disableAnimations});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachContainer(t,e,a){let r=a.injector||a.viewContainerRef?.injector,o=[{provide:Xn,useValue:a},{provide:Mi,useValue:e},{provide:oa,useValue:t}],s;a.container?typeof a.container=="function"?s=a.container:(s=a.container.type,o.push(...a.container.providers(a))):s=kd;let l=new Mn(s,a.viewContainerRef,K.create({parent:r||this._injector,providers:o}));return t.attach(l).instance}_attachDialogContent(t,e,a,r){if(t instanceof Te){let o=this._createInjector(r,e,a,void 0),s={$implicit:r.data,dialogRef:e};r.templateContext&&(s=g(g({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),a.attachTemplatePortal(new ze(t,null,s,o))}else{let o=this._createInjector(r,e,a,this._injector),s=a.attachComponentPortal(new Mn(t,r.viewContainerRef,o,null,r.bindings));e.componentRef=s,e.componentInstance=s.instance}}_createInjector(t,e,a,r){let o=t.injector||t.viewContainerRef?.injector,s=[{provide:c0,useValue:t.data},{provide:Mi,useValue:e}];return t.providers&&(typeof t.providers=="function"?s.push(...t.providers(e,t,a)):s.push(...t.providers)),t.direction&&(!o||!o.get(de,null,{optional:!0}))&&s.push({provide:de,useValue:m0(t.direction)}),K.create({parent:o||r,providers:s})}_removeOpenDialog(t,e){let a=this.openDialogs.indexOf(t);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,o)=>{r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(t){if(t.parentElement){let e=t.parentElement.children;for(let a=e.length-1;a>-1;a--){let r=e[a];r!==t&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&!r.hasAttribute("popover")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})();function Cd(n,i){let t=n.length;for(;t--;)i(n[t])}var Ys=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;bindings},Md="mdc-dialog--open",xf="mdc-dialog--opening",wf="mdc-dialog--closing",u0=150,h0=75,p0=(()=>{class n extends kd{_animationStateChanged=new Q;_animationsEnabled=!Ct();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Cf(this._config.enterAnimationDuration)??u0:0;_exitAnimationDuration=this._animationsEnabled?Cf(this._config.exitAnimationDuration)??h0:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Sf,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(xf,Md)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Md),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Md),this._animationsEnabled?(this._hostElement.style.setProperty(Sf,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(wf)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(xf,wf)}_waitForAnimationToComplete(t,e){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(e,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let e=super.attachComponentPortal(t);return e.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),e}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275cmp=(function(){function t(e,a){}return S({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,r){a&2&&(ee("id",r._config.id),H("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),z("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[ot],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(h(0,"div",0)(1,"div",1),Ke(2,t,0,0,"ng-template",2),u()())},dependencies:[$n],styles:[`.mat-mdc-dialog-container { + width: 100%; + height: 100%; + display: block; + box-sizing: border-box; + max-height: inherit; + min-height: inherit; + min-width: inherit; + max-width: inherit; + outline: 0; +} + +.cdk-overlay-pane.mat-mdc-dialog-panel { + max-width: var(--%NS%mat-dialog-container-max-width, 560px); + min-width: var(--%NS%mat-dialog-container-min-width, 280px); +} +@media (max-width: 599px) { + .cdk-overlay-pane.mat-mdc-dialog-panel { + max-width: var(--%NS%mat-dialog-container-small-max-width, calc(100vw - 32px)); + } +} + +.mat-mdc-dialog-inner-container { + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-around; + box-sizing: border-box; + height: 100%; + opacity: 0; + transition: opacity linear var(--%NS%mat-dialog-transition-duration, 0ms); + max-height: inherit; + min-height: inherit; + min-width: inherit; + max-width: inherit; +} +.mdc-dialog--closing .mat-mdc-dialog-inner-container { + transition: opacity 75ms linear; + transform: none; +} +.mdc-dialog--open .mat-mdc-dialog-inner-container { + opacity: 1; +} +._mat-animation-noopable .mat-mdc-dialog-inner-container { + transition: none; +} + +.mat-mdc-dialog-surface { + display: flex; + flex-direction: column; + flex-grow: 0; + flex-shrink: 0; + box-sizing: border-box; + width: 100%; + height: 100%; + position: relative; + overflow-y: auto; + outline: 0; + transform: scale(0.8); + transition: transform var(--%NS%mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); + max-height: inherit; + min-height: inherit; + min-width: inherit; + max-width: inherit; + box-shadow: var(--%NS%mat-dialog-container-elevation-shadow, none); + border-radius: var(--%NS%mat-dialog-container-shape, var(--%NS%mat-sys-corner-extra-large, 4px)); + background-color: var(--%NS%mat-dialog-container-color, var(--%NS%mat-sys-surface, white)); +} +[dir=rtl] .mat-mdc-dialog-surface { + text-align: right; +} +.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { + transform: none; +} +._mat-animation-noopable .mat-mdc-dialog-surface { + transition: none; +} +.mat-mdc-dialog-surface::before { + position: absolute; + box-sizing: border-box; + width: 100%; + height: 100%; + top: 0; + left: 0; + border: 2px solid transparent; + border-radius: inherit; + content: ""; + pointer-events: none; +} + +.mat-mdc-dialog-title { + display: block; + position: relative; + flex-shrink: 0; + box-sizing: border-box; + margin: 0 0 1px; + padding: var(--%NS%mat-dialog-headline-padding, 6px 24px 13px); +} +.mat-mdc-dialog-title::before { + display: inline-block; + width: 0; + height: 40px; + content: ""; + vertical-align: 0; +} +[dir=rtl] .mat-mdc-dialog-title { + text-align: right; +} +.mat-mdc-dialog-container .mat-mdc-dialog-title { + color: var(--%NS%mat-dialog-subhead-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87))); + font-family: var(--%NS%mat-dialog-subhead-font, var(--%NS%mat-sys-headline-small-font, inherit)); + line-height: var(--%NS%mat-dialog-subhead-line-height, var(--%NS%mat-sys-headline-small-line-height, 1.5rem)); + font-size: var(--%NS%mat-dialog-subhead-size, var(--%NS%mat-sys-headline-small-size, 1rem)); + font-weight: var(--%NS%mat-dialog-subhead-weight, var(--%NS%mat-sys-headline-small-weight, 400)); + letter-spacing: var(--%NS%mat-dialog-subhead-tracking, var(--%NS%mat-sys-headline-small-tracking, 0.03125em)); +} + +.mat-mdc-dialog-content { + display: block; + flex-grow: 1; + box-sizing: border-box; + margin: 0; + overflow: auto; + max-height: 65vh; +} +.mat-mdc-dialog-content > :first-child { + margin-top: 0; +} +.mat-mdc-dialog-content > :last-child { + margin-bottom: 0; +} +.mat-mdc-dialog-container .mat-mdc-dialog-content { + color: var(--%NS%mat-dialog-supporting-text-color, var(--%NS%mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); + font-family: var(--%NS%mat-dialog-supporting-text-font, var(--%NS%mat-sys-body-medium-font, inherit)); + line-height: var(--%NS%mat-dialog-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height, 1.5rem)); + font-size: var(--%NS%mat-dialog-supporting-text-size, var(--%NS%mat-sys-body-medium-size, 1rem)); + font-weight: var(--%NS%mat-dialog-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight, 400)); + letter-spacing: var(--%NS%mat-dialog-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking, 0.03125em)); +} +.mat-mdc-dialog-container .mat-mdc-dialog-content { + padding: var(--%NS%mat-dialog-content-padding, 20px 24px); +} +.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { + padding: var(--%NS%mat-dialog-with-actions-content-padding, 20px 24px 0); +} +.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { + padding-top: 0; +} + +.mat-mdc-dialog-actions { + display: flex; + position: relative; + flex-shrink: 0; + flex-wrap: wrap; + align-items: center; + box-sizing: border-box; + min-height: 52px; + margin: 0; + border-top: 1px solid transparent; + padding: var(--%NS%mat-dialog-actions-padding, 16px 24px); + justify-content: var(--%NS%mat-dialog-actions-alignment, flex-end); +} +@media (forced-colors: active) { + .mat-mdc-dialog-actions { + border-top-color: CanvasText; + } +} +.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { + justify-content: start; +} +.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { + justify-content: center; +} +.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { + justify-content: flex-end; +} +.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, +.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { + margin-left: 8px; +} +[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, +[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { + margin-left: 0; + margin-right: 8px; +} + +.mat-mdc-dialog-component-host { + display: contents; +} +`],encapsulation:2,changeDetection:1})})()}return n})(),Sf="--mat-dialog-transition-duration";function Cf(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?pn(n.substring(0,n.length-2)):n.endsWith("s")?pn(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Ks=(function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n})(Ks||{}),Di=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new tl(1);_beforeClosed=new tl(1);_result;_closeFallbackTimeout;_state=Ks.OPEN;_closeInteractionType;constructor(i,t,e){this._ref=i,this._config=t,this._containerInstance=e,this.disableClose=t.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),e._animationStateChanged.pipe(vt(a=>a.state==="opened"),Gt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(vt(a=>a.state==="closed"),Gt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Qt(this.backdropClick(),this.keydownEvents().pipe(vt(a=>a.keyCode===27&&!this.disableClose&&!ie(a)))).subscribe(a=>{this.disableClose||(a.preventDefault(),kf(this,a.type==="keydown"?"keyboard":"mouse"))})}close(i){let t=this._config.closePredicate;t&&!t(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(vt(e=>e.state==="closing"),Gt(1)).subscribe(e=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Ks.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let t=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?t.left(i.left):t.right(i.right):t.centerHorizontally(),i&&(i.top||i.bottom)?i.top?t.top(i.top):t.bottom(i.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",t=""){return this._ref.updateSize(i,t),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=Ks.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function kf(n,i,t){return n._closeInteractionType=i,n.close(t)}var Dd=new v("MatMdcDialogData"),f0=new v("mat-mdc-dialog-default-options"),g0=new v("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=c(K);return()=>gr(n)}}),Xs=(()=>{class n{_defaultOptions=c(f0,{optional:!0});_scrollStrategy=c(g0);_parentDialog=c(n,{optional:!0,skipSelf:!0});_idGenerator=c(St);_injector=c(K);_dialog=c(yf);_animationsDisabled=Ct();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new E;_afterOpenedAtThisLevel=new E;dialogConfigClass=Ys;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=rn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ft(void 0)));constructor(){this._dialogRefConstructor=Di,this._dialogContainerType=p0,this._dialogDataToken=Dd}open(t,e){let a;e=g(g({},this._defaultOptions||new Ys),e),e.id=e.id||this._idGenerator.getId("mat-mdc-dialog-"),e.scrollStrategy=e.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(t,ct(g({},e),{positionStrategy:bi(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||e.enterAnimationDuration?.toLocaleString()==="0"||e.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:e},{provide:Xn,useValue:e}]},templateContext:()=>({dialogRef:a}),providers:(o,s,l)=>(a=new this._dialogRefConstructor(o,e,l),a.updatePosition(e?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:a},{provide:Mi,useValue:null}])}));return a.componentRef=r.componentRef,a.componentInstance=r.componentInstance,this.openDialogs.push(a),this.afterOpened.next(a),a.afterClosed().subscribe(()=>{let o=this.openDialogs.indexOf(a);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),a}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}static \u0275fac=function(e){return new(e||n)};static \u0275prov=I({token:n,factory:n.\u0275fac})}return n})(),Mf=(()=>{class n{dialogRef=c(Di,{optional:!0});_elementRef=c(R);_dialog=c(Xs);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=Af(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let e=t._matDialogClose;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&kf(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,a){e&1&&B("click",function(o){return a._onButtonClick(o)}),e&2&&H("aria-label",a.ariaLabel||null)("type",a.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Dt]})}return n})(),Df=(()=>{class n{_dialogRef=c(Di,{optional:!0});_elementRef=c(R);_dialog=c(Xs);ngOnInit(){this._dialogRef||(this._dialogRef=Af(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n})}return n})(),Ef=(()=>{class n extends Df{id=c(St).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,a){e&2&&ee("id",a.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ot]})}return n})(),Nf=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Jd([ph])]})}return n})(),If=(()=>{class n extends Df{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let t;return function(a){return(t||(t=Rt(n)))(a||n)}})();static \u0275dir=x({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(e,a){e&2&&z("mat-mdc-dialog-actions-align-start",a.align==="start")("mat-mdc-dialog-actions-align-center",a.align==="center")("mat-mdc-dialog-actions-align-end",a.align==="end")},inputs:{align:"align"},features:[ot]})}return n})();function Af(n,i){let t=n.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?i.find(e=>e.id===t.id):null}var Rf=(()=>{class n{data;dialogRef=c(Di);hide=X(!0);constructor(t){this.data=t}onNoClick(){this.dialogRef.close()}clickEvent(t){this.hide.set(!this.hide()),t.stopPropagation()}static \u0275fac=function(e){return new(e||n)(U(Dd))};static \u0275cmp=S({type:n,selectors:[["app-dialog"]],decls:21,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"fillField"],["matInput","",3,"ngModelChange","ngModel"],["matInput","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","",3,"click"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",3,"click"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,a){e&1&&(h(0,"h1",0),f(1,"Hi "),u(),h(2,"div",1)(3,"p"),f(4,"User name"),u(),h(5,"mat-form-field",2)(6,"input",3),Tt(),Ht("ngModelChange",function(o){return Ut(a.data.username,o)||(a.data.username=o),o}),u()(),h(7,"p"),f(8,"Password"),u(),h(9,"mat-form-field",2)(10,"mat-label"),f(11,"Enter your password"),u(),h(12,"input",4),Tt(),Ht("ngModelChange",function(o){return Ut(a.data.password,o)||(a.data.password=o),o}),u(),h(13,"button",5),B("click",function(o){return a.clickEvent(o)}),h(14,"mat-icon"),f(15),u()()()(),h(16,"div",6)(17,"button",7),B("click",function(){return a.onNoClick()}),f(18,"No Thanks"),u(),h(19,"button",8),f(20,"Ok"),u()()),e&2&&(p(6),jt("ngModel",a.data.username),Ot(),p(6),mt("type",a.hide()?"password":"text"),jt("ngModel",a.data.password),Ot(),p(),H("aria-label","Hide password")("aria-pressed",a.hide()),p(2),Lt(a.hide()?"visibility_off":"visibility"),p(4),mt("mat-dialog-close",a.data))},dependencies:[wr,He,xr,Ge,If,Mf,Ef,Nf,Ie,Yn,ba,me,Se,Ne,Ce,wa],styles:[".fillField[_ngcontent-%COMP%]{width:100%}"]})}return n})();var b0=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return n})(),Zs=(()=>{class n{_elementRef=c(R);_platform=c(ut);_document=c(F);color;_toolbarRows;ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["*",[["mat-toolbar-row"]]];return S({type:n,selectors:[["mat-toolbar"]],contentQueries:function(r,o,s){if(r&1&&ne(s,b0,5),r&2){let l;P(l=L())&&(o._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(r,o){r&2&&(Fe(o.color?"mat-"+o.color:""),z("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:["*","mat-toolbar-row"],decls:2,vars:0,template:function(r,o){r&1&&(_t(t),V(0),V(1,1))},styles:[`.mat-toolbar { + background: var(--%NS%mat-toolbar-container-background-color, var(--%NS%mat-sys-surface)); + color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); +} +.mat-toolbar, .mat-toolbar h1, .mat-toolbar h2, .mat-toolbar h3, .mat-toolbar h4, .mat-toolbar h5, .mat-toolbar h6 { + font-family: var(--%NS%mat-toolbar-title-text-font, var(--%NS%mat-sys-title-large-font)); + font-size: var(--%NS%mat-toolbar-title-text-size, var(--%NS%mat-sys-title-large-size)); + line-height: var(--%NS%mat-toolbar-title-text-line-height, var(--%NS%mat-sys-title-large-line-height)); + font-weight: var(--%NS%mat-toolbar-title-text-weight, var(--%NS%mat-sys-title-large-weight)); + letter-spacing: var(--%NS%mat-toolbar-title-text-tracking, var(--%NS%mat-sys-title-large-tracking)); + margin: 0; +} +@media (forced-colors: active) { + .mat-toolbar { + outline: solid 1px; + } +} +.mat-toolbar .mat-form-field-underline, +.mat-toolbar .mat-form-field-ripple, +.mat-toolbar .mat-focused .mat-form-field-ripple { + background-color: currentColor; +} +.mat-toolbar .mat-form-field-label, +.mat-toolbar .mat-focused .mat-form-field-label, +.mat-toolbar .mat-select-value, +.mat-toolbar .mat-select-arrow, +.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow { + color: inherit; +} +.mat-toolbar .mat-input-element { + caret-color: currentColor; +} +.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed { + --%NS%mat-button-text-label-text-color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); + --%NS%mat-button-outlined-label-text-color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-toolbar-row, .mat-toolbar-single-row { + display: flex; + box-sizing: border-box; + padding: 0 16px; + width: 100%; + flex-direction: row; + align-items: center; + white-space: nowrap; + height: var(--%NS%mat-toolbar-standard-height, 64px); +} +@media (max-width: 599px) { + .mat-toolbar-row, .mat-toolbar-single-row { + height: var(--%NS%mat-toolbar-mobile-height, 56px); + } +} + +.mat-toolbar-multiple-rows { + display: flex; + box-sizing: border-box; + flex-direction: column; + width: 100%; + min-height: var(--%NS%mat-toolbar-standard-height, 64px); +} +@media (max-width: 599px) { + .mat-toolbar-multiple-rows { + min-height: var(--%NS%mat-toolbar-mobile-height, 56px); + } +} +`],encapsulation:2})})()}return n})();var Nd=new v("MAT_MENU_PANEL"),Ei=(()=>{class n{_isAnchor;_elementRef=c(R);_document=c(F);_focusMonitor=c(fn);_parentMenu=c(Nd,{optional:!0});_changeDetectorRef=c(xt);role="menuitem";disabled=!1;disabledInteractive=!1;disableRipple=!1;_hovered=new E;_focused=new E;_highlighted=!1;_triggersSubmenu=!1;constructor(){c(Bt).load(en),this._parentMenu?.addItem?.(this),this._isAnchor=this._elementRef.nativeElement.tagName==="A"}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled&&!this.disabledInteractive?"-1":"0"}_getAriaDisabled(){return this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabled(){return this.disabledInteractive||!this.disabled?null:!0}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),e=t.querySelectorAll("mat-icon, .material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp");for(let a=0;a({overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"})}),Ed="_mat-menu-enter",Qs="_mat-menu-exit",Zn=(()=>{class n{_elementRef=c(R);_changeDetectorRef=c(xt);_injector=c(K);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=Ct();_allItems;_directDescendantItems=new ei;_classList={};_panelAnimationState="void";_animationDone=new E;_isAnimating=X(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger=!1;hasBackdrop;get panelClass(){return this._previousPanelClass}set panelClass(t){let e=this._previousPanelClass,a=g({},this._classList);e&&e.length&&e.split(" ").forEach(r=>{a[r]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(r=>{a[r]=!0}),this._elementRef.nativeElement.className=""),this._classList=a}_previousPanelClass="";get classList(){return this.panelClass}set classList(t){this.panelClass=t}closed=new Q;close=this.closed;panelId=c(St).getId("mat-menu-panel-");constructor(){let t=c(y0);this.overlayPanelClass=t.overlayPanelClass||"",this._xPosition=t.xPosition,this._yPosition=t.yPosition,this.backdropClass=t.backdropClass,this.overlapTrigger=t.overlapTrigger,this.hasBackdrop=t.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new hi(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(t=>t.disabled&&!t.disabledInteractive),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ft(this._directDescendantItems),Mt(t=>Qt(...t.map(e=>e._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let e=this._keyManager;if(this._panelAnimationState==="enter"&&e.activeItem?._hasFocus()){let a=t.toArray(),r=Math.max(0,Math.min(a.length-1,e.activeItemIndex||0));a[r]&&!a[r].disabled?e.setActiveItem(r):e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe(Ft(this._directDescendantItems),Mt(e=>Qt(...e.map(a=>a._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let e=t.keyCode,a=this._keyManager;switch(e){case 27:ie(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(e===38||e===40)&&a.setFocusOrigin("keyboard"),a.onKeydown(t);return}}focusFirstItem(t="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=Pt(()=>{let e=this._resolvePanel();if(!e||!e.contains(document.activeElement)){let a=this._keyManager;a.setFocusOrigin(t).setFirstItemActive(),!a.activeItem&&e&&e.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){}setPositionClasses(t=this.xPosition,e=this.yPosition){this._classList=ct(g({},this._classList),{"mat-menu-before":t==="before","mat-menu-after":t==="after","mat-menu-above":e==="above","mat-menu-below":e==="below"}),this._changeDetectorRef.markForCheck()}_onAnimationDone(t){let e=t===Qs;(e||t===Ed)&&(e&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(e?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(t){(t===Ed||t===Qs)&&this._isAnimating.set(!0)}_setIsOpen(t){if(this._panelAnimationState=t?"enter":"void",t){if(this._keyManager.activeItemIndex===0){let e=this._resolvePanel();e&&(e.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(Qs),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(t?Ed:Qs)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe(Ft(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let t=null;return this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),t}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=(function(){let t=["*"];function e(a,r){if(a&1){let o=Nt();qt(0,"div",0),nm("click",function(){at(o);let l=w();return rt(l.closed.emit("click"))})("animationstart",function(l){at(o);let d=w();return rt(d._onAnimationStart(l.animationName))})("animationend",function(l){at(o);let d=w();return rt(d._onAnimationDone(l.animationName))})("animationcancel",function(l){at(o);let d=w();return rt(d._onAnimationDone(l.animationName))}),qt(1,"div",1),V(2),te()()}if(a&2){let o=w();Fe(o._classList),z("mat-menu-panel-animations-disabled",o._animationsDisabled)("mat-menu-panel-exit-animation",o._panelAnimationState==="void")("mat-menu-panel-animating",o._isAnimating()),ee("id",o.panelId),H("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null)("aria-describedby",o.ariaDescribedby||null)}}return S({type:n,selectors:[["mat-menu"]],contentQueries:function(r,o,s){if(r&1&&ne(s,_0,5)(s,Ei,5)(s,Ei,4),r&2){let l;P(l=L())&&(o.lazyContent=l.first),P(l=L())&&(o._allItems=l),P(l=L())&&(o.items=l)}},viewQuery:function(r,o){if(r&1&&Kt(Te,5),r&2){let s;P(s=L())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(r,o){r&2&&H("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",j],hasBackdrop:[2,"hasBackdrop","hasBackdrop",a=>a==null?null:j(a)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ft([{provide:Nd,useExisting:n}])],ngContentSelectors:t,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(r,o){r&1&&(_t(),Kr(0,e,3,12,"ng-template"))},styles:[`mat-menu { + display: none; +} + +.mat-mdc-menu-content { + margin: 0; + padding: 8px 0; + outline: 0; +} +.mat-mdc-menu-content, +.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + flex: 1; + white-space: normal; + font-family: var(--%NS%mat-menu-item-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-menu-item-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-menu-item-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-menu-item-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + font-weight: var(--%NS%mat-menu-item-label-text-weight, var(--%NS%mat-sys-label-large-weight)); +} + +@keyframes _mat-menu-enter { + from { + opacity: 0; + transform: scale(0.8); + } + to { + opacity: 1; + transform: none; + } +} +@keyframes _mat-menu-exit { + from { + opacity: 1; + } + to { + opacity: 0; + } +} +.mat-mdc-menu-panel { + min-width: 112px; + max-width: 280px; + overflow: auto; + box-sizing: border-box; + outline: 0; + animation: _mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1); + border-radius: var(--%NS%mat-menu-container-shape, var(--%NS%mat-sys-corner-extra-small)); + background-color: var(--%NS%mat-menu-container-color, var(--%NS%mat-sys-surface-container)); + box-shadow: var(--%NS%mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); + will-change: transform, opacity; +} +.mat-mdc-menu-panel.mat-menu-panel-exit-animation { + animation: _mat-menu-exit 100ms 25ms linear forwards; +} +.mat-mdc-menu-panel.mat-menu-panel-animations-disabled { + animation: none; +} +.mat-mdc-menu-panel.mat-menu-panel-animating { + pointer-events: none; +} +.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty) { + display: none; +} +@media (forced-colors: active) { + .mat-mdc-menu-panel { + outline: solid 1px; + } +} +.mat-mdc-menu-panel .mat-divider { + border-top-color: var(--%NS%mat-menu-divider-color, var(--%NS%mat-sys-surface-variant)); + margin-bottom: var(--%NS%mat-menu-divider-bottom-spacing, 8px); + margin-top: var(--%NS%mat-menu-divider-top-spacing, 8px); +} + +.mat-mdc-menu-item { + display: flex; + position: relative; + align-items: center; + justify-content: flex-start; + overflow: hidden; + padding: 0; + cursor: pointer; + width: 100%; + text-align: left; + box-sizing: border-box; + color: inherit; + font-size: inherit; + background: none; + text-decoration: none; + margin: 0; + min-height: 48px; + padding-left: var(--%NS%mat-menu-item-leading-spacing, 12px); + padding-right: var(--%NS%mat-menu-item-trailing-spacing, 12px); + -webkit-user-select: none; + user-select: none; + cursor: pointer; + outline: none; + border: none; + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-menu-item::-moz-focus-inner { + border: 0; +} +[dir=rtl] .mat-mdc-menu-item { + padding-left: var(--%NS%mat-menu-item-trailing-spacing, 12px); + padding-right: var(--%NS%mat-menu-item-leading-spacing, 12px); +} +.mat-mdc-menu-item:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, mat-icon, [matButtonIcon]) { + padding-left: var(--%NS%mat-menu-item-with-icon-leading-spacing, 12px); + padding-right: var(--%NS%mat-menu-item-with-icon-trailing-spacing, 12px); +} +[dir=rtl] .mat-mdc-menu-item:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded, .material-symbols-sharp, mat-icon, [matButtonIcon]) { + padding-left: var(--%NS%mat-menu-item-with-icon-trailing-spacing, 12px); + padding-right: var(--%NS%mat-menu-item-with-icon-leading-spacing, 12px); +} +.mat-mdc-menu-item, .mat-mdc-menu-item:visited, .mat-mdc-menu-item:link { + color: var(--%NS%mat-menu-item-label-text-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-menu-item .mat-icon-no-color, +.mat-mdc-menu-item .mat-mdc-menu-submenu-icon { + color: var(--%NS%mat-menu-item-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-menu-item[disabled], .mat-mdc-menu-item.mat-mdc-menu-item-disabled { + cursor: default; + opacity: 0.38; +} +.mat-mdc-menu-item[disabled]::after, .mat-mdc-menu-item.mat-mdc-menu-item-disabled::after { + display: block; + position: absolute; + content: ""; + top: 0; + left: 0; + bottom: 0; + right: 0; +} +.mat-mdc-menu-item:focus { + outline: 0; +} +.mat-mdc-menu-item .mat-icon { + flex-shrink: 0; + margin-right: var(--%NS%mat-menu-item-spacing, 12px); + height: var(--%NS%mat-menu-item-icon-size, 24px); + width: var(--%NS%mat-menu-item-icon-size, 24px); +} +[dir=rtl] .mat-mdc-menu-item { + text-align: right; +} +[dir=rtl] .mat-mdc-menu-item .mat-icon { + margin-right: 0; + margin-left: var(--%NS%mat-menu-item-spacing, 12px); +} +.mat-mdc-menu-item:not([disabled]):hover { + background-color: var(--%NS%mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-menu-item:not([disabled]).cdk-program-focused, .mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused, .mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted { + background-color: var(--%NS%mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent)); +} +@media (forced-colors: active) { + .mat-mdc-menu-item { + margin-top: 1px; + } +} + +.mat-mdc-menu-submenu-icon { + width: var(--%NS%mat-menu-item-icon-size, 24px); + height: 10px; + fill: currentColor; + padding-left: var(--%NS%mat-menu-item-spacing, 12px); +} +[dir=rtl] .mat-mdc-menu-submenu-icon { + padding-right: var(--%NS%mat-menu-item-spacing, 12px); + padding-left: 0; +} +[dir=rtl] .mat-mdc-menu-submenu-icon polygon { + transform: scaleX(-1); + transform-origin: center; +} +@media (forced-colors: active) { + .mat-mdc-menu-submenu-icon { + fill: CanvasText; + } +} + +.mat-mdc-menu-item .mat-mdc-menu-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; +} +`],encapsulation:2})})()}return n})(),x0=new v("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=c(K);return()=>br(n)}});var Ma=new WeakMap,w0=(()=>{class n{_canHaveBackdrop;_element=c(R);_viewContainerRef=c(Oe);_menuItemInstance=c(Ei,{optional:!0,self:!0});_dir=c(de,{optional:!0});_focusMonitor=c(fn);_ngZone=c(O);_injector=c(K);_scrollStrategy=c(x0);_changeDetectorRef=c(xt);_animationsDisabled=Ct();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=Et.EMPTY;_menuCloseSubscription=Et.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(t){t!==this._menuInternal&&(this._menuInternal=t,this._menuCloseSubscription.unsubscribe(),t?(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(e=>{this._destroyMenu(e),(e==="click"||e==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(e)})):this._destroyMenu(),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal=null;constructor(t){this._canHaveBackdrop=t;let e=c(Nd,{optional:!0});this._parentMaterialMenu=e instanceof Zn?e:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Ma.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(t){if(this._triggerIsAriaDisabled())return;let e=this._menu;if(this._menuOpen||!e)return;this._pendingRemoval?.unsubscribe();let a=Ma.get(e);Ma.set(e,this),a&&a!==this&&a._closeMenu();let r=this._createOverlay(e),o=r.getConfig(),s=o.positionStrategy;this._setPosition(e,s),this._canHaveBackdrop?o.hasBackdrop=e.hasBackdrop==null?!this._triggersSubmenu():e.hasBackdrop:o.hasBackdrop=e.hasBackdrop??!1,r.hasAttached()||(r.attach(this._getPortal(e)),e.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),e.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,t&&e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),e instanceof Zn&&(e._setIsOpen(!0),e._directDescendantItems.changes.pipe(kt(e.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(t){let e=this._overlayRef,a=this._menu;!e||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),a instanceof Zn&&this._ownsMenu(a)?(this._pendingRemoval=a._animationDone.pipe(Gt(1)).subscribe(()=>{e.detach(),Ma.has(a)||a.lazyContent?.detach()}),a._setIsOpen(!1)):(e.detach(),a?.lazyContent?.detach()),a&&this._ownsMenu(a)&&Ma.delete(a),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let e=this._getOverlayConfig(t);this._subscribeToPositions(t,e.positionStrategy),this._overlayRef=Dn(this._injector,e),this._overlayRef.keydownEvents().subscribe(a=>{this._menu instanceof Zn&&this._menu._handleKeydown(a)})}return this._overlayRef}_getOverlayConfig(t){return new je({positionStrategy:vr(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(t,e){t.setPositionClasses&&e.positionChanges.subscribe(a=>{this._ngZone.run(()=>{let r=a.connectionPair.overlayX==="start"?"after":"before",o=a.connectionPair.overlayY==="top"?"below":"above";t.setPositionClasses(r,o)})})}_setPosition(t,e){let[a,r]=t.xPosition==="before"?["end","start"]:["start","end"],[o,s]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[l,d]=[o,s],[m,_]=[a,r],b=0;if(this._triggersSubmenu()){if(_=a=t.xPosition==="before"?"start":"end",r=m=a==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let M=this._parentMaterialMenu.items.first;this._parentInnerPadding=M?M._getHostElement().offsetTop:0}b=o==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(l=o==="top"?"bottom":"top",d=s==="top"?"bottom":"top");e.withPositions([{originX:a,originY:l,overlayX:m,overlayY:o,offsetY:b},{originX:r,originY:l,overlayX:_,overlayY:o,offsetY:b},{originX:a,originY:d,overlayX:m,overlayY:s,offsetY:-b},{originX:r,originY:d,overlayX:_,overlayY:s,offsetY:-b}])}_menuClosingActions(){let t=this._getOutsideClickStream(this._overlayRef),e=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:A(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(vt(o=>this._menuOpen&&o!==this._menuItemInstance)):A();return Qt(t,a,r,e)}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new ze(t.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(t){return Ma.get(t)===this}_triggerIsAriaDisabled(){return j(this._element.nativeElement.getAttribute("aria-disabled"))}static \u0275fac=function(e){Rn()};static \u0275dir=x({type:n})}return n})(),Tf=(()=>{class n extends w0{_cleanupTouchstart;_hoverSubscription=Et.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){this._menu=t}menuData;restoreFocus=!0;menuOpened=new Q;onMenuOpen=this.menuOpened;menuClosed=new Q;onMenuClose=this.menuClosed;constructor(){super(!0);let t=c(pt);this._cleanupTouchstart=t.listen(this._element.nativeElement,"touchstart",e=>{di(e)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(t){return t.backdropClick()}_handleMousedown(t){ci(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let e=t.keyCode;(e===13||e===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===39&&this.dir==="ltr"||e===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(t=>{t===this._menuItemInstance&&!t.disabled&&this._parentMaterialMenu?._panelAnimationState!=="void"&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(e){return new(e||n)};static \u0275dir=x({type:n,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(e,a){e&1&&B("click",function(o){return a._handleClick(o)})("mousedown",function(o){return a._handleMousedown(o)})("keydown",function(o){return a._handleKeydown(o)}),e&2&&H("aria-haspopup",a.menu?"menu":null)("aria-expanded",a.menuOpen)("aria-controls",a.menuOpen?a.menu?.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[ot]})}return n})();function C0(n,i){n&1&&(h(0,"a",6)(1,"mat-icon"),f(2,"add_circle"),u(),h(3,"span",5),f(4,"Add"),u()())}function k0(n,i){n&1&&(h(0,"a",7)(1,"mat-icon"),f(2,"admin_panel_settings"),u(),h(3,"span",5),f(4,"Admin"),u()())}function M0(n,i){n&1&&(h(0,"a",8)(1,"mat-icon"),f(2,"shield_person"),u(),h(3,"span",5),f(4,"Moderator"),u()())}function D0(n,i){n&1&&(h(0,"a",9)(1,"mat-icon"),f(2,"dashboard"),u(),h(3,"span",5),f(4,"User"),u()())}function E0(n,i){if(n&1){let t=Nt();h(0,"div",11)(1,"a",13)(2,"mat-icon"),f(3,"app_registration"),u(),h(4,"span",5),f(5,"Register"),u()(),h(6,"button",14),B("click",function(){at(t);let a=w();return rt(a.openDialog())}),h(7,"mat-icon"),f(8,"login"),u(),h(9,"span",5),f(10,"Login"),u()()()}}function N0(n,i){if(n&1){let t=Nt();h(0,"button",15)(1,"mat-icon"),f(2,"account_circle"),u(),h(3,"span",5),f(4),u(),h(5,"mat-icon",16),f(6,"expand_more"),u()(),h(7,"mat-menu",17,0)(9,"a",18)(10,"mat-icon"),f(11,"person"),u(),h(12,"span"),f(13,"Profile"),u()(),dt(14,"mat-divider"),h(15,"button",19),B("click",function(){at(t);let a=w();return rt(a.logout())}),h(16,"mat-icon"),f(17,"logout"),u(),h(18,"span"),f(19,"Logout"),u()()()}if(n&2){let t=yt(8),e=w();mt("matMenuTriggerFor",t),p(4),Lt(e.username)}}var Of=(()=>{class n{dialog=c(Xs);authService=c(ka);storageService=c(gn);isLoggedIn=!1;showAdminBoard=!1;showModeratorBoard=!1;username;dialogData={username:"",password:""};ngOnInit(){if(this.isLoggedIn=this.storageService.isLoggedIn(),!this.isLoggedIn)return;let t=this.storageService.getUser(),e=t.roles??[];this.showAdminBoard=e.includes("ROLE_ADMIN"),this.showModeratorBoard=e.includes("ROLE_MODERATOR"),this.username=t.username}openDialog(){this.dialog.open(Rf,{width:"350px",enterAnimationDuration:"100ms",exitAnimationDuration:"5ms",data:g({},this.dialogData)}).afterClosed().subscribe(e=>{e&&(this.dialogData=e,this.login(e))})}logout(){this.authService.logout().subscribe({next:()=>{this.storageService.clean(),window.location.reload()},error:t=>console.error("Logout failed",t)})}login({username:t,password:e}){this.authService.login(t,e).subscribe({next:a=>{this.storageService.saveUser(a),window.location.reload()},error:a=>alert(a.error?.message??"Login failed")})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=S({type:n,selectors:[["app-root"]],standalone:!1,decls:21,vars:5,consts:[["userMenu","matMenu"],[1,"app-toolbar"],["routerLink","/",1,"brand"],[1,"nav"],["mat-button","","routerLink","tutorials","routerLinkActive","active"],[1,"label"],["mat-button","","routerLink","add","routerLinkActive","active"],["mat-button","","routerLink","admin","routerLinkActive","active"],["mat-button","","routerLink","mod","routerLinkActive","active"],["mat-button","","routerLink","user","routerLinkActive","active"],[1,"spacer"],[1,"actions"],[1,"container","mt-4"],["mat-stroked-button","","routerLink","register"],["mat-flat-button","",3,"click"],["mat-button","",1,"user-button",3,"matMenuTriggerFor"],["iconPositionEnd",""],["xPosition","before"],["mat-menu-item","","routerLink","profile"],["mat-menu-item","",3,"click"]],template:function(e,a){e&1&&(h(0,"mat-toolbar",1)(1,"a",2)(2,"mat-icon"),f(3,"school"),u(),h(4,"span"),f(5,"Spring-AngularTS"),u()(),h(6,"nav",3)(7,"a",4)(8,"mat-icon"),f(9,"menu_book"),u(),h(10,"span",5),f(11,"Tutorials"),u()(),C(12,C0,5,0,"a",6),C(13,k0,5,0,"a",7),C(14,M0,5,0,"a",8),C(15,D0,5,0,"a",9),u(),dt(16,"span",10),C(17,E0,11,0,"div",11)(18,N0,20,2),u(),h(19,"main",12),dt(20,"router-outlet"),u()),e&2&&(p(12),k(a.isLoggedIn?12:-1),p(),k(a.showAdminBoard?13:-1),p(),k(a.showModeratorBoard?14:-1),p(),k(a.isLoggedIn?15:-1),p(2),k(a.isLoggedIn?18:17))},dependencies:[rr,Ve,wc,Zs,He,Hs,Ce,Zn,Ei,Tf],styles:[".app-toolbar[_ngcontent-%COMP%]{--%NS%mat-toolbar-container-background-color: var(--%NS%mat-sys-surface-container);--%NS%mat-toolbar-container-text-color: var(--%NS%mat-sys-on-surface);position:sticky;top:0;z-index:10;gap:8px;padding:0 16px;box-shadow:var(--%NS%mat-sys-level2)}a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:hover{text-decoration:none}.brand[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-right:16px;color:var(--%NS%mat-sys-primary);font:var(--%NS%mat-sys-title-large);white-space:nowrap}.nav[_ngcontent-%COMP%]{display:flex;gap:4px}.nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{--%NS%mat-button-text-label-text-color: var(--%NS%mat-sys-on-surface-variant)}.nav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{--%NS%mat-button-text-label-text-color: var(--%NS%mat-sys-on-secondary-container);background-color:var(--%NS%mat-sys-secondary-container)}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.actions[_ngcontent-%COMP%]{display:flex;gap:8px}@media(max-width:768px){.brand[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .label[_ngcontent-%COMP%]{display:none}.user-button[_ngcontent-%COMP%] mat-icon[iconPositionEnd][_ngcontent-%COMP%]{display:none}.nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .user-button[_ngcontent-%COMP%]{min-width:48px;padding:0 12px}.nav[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .user-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin:0}}"],changeDetection:1})}return n})();var I0="@",A0=(()=>{class n{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=c(K);loadingSchedulerFn=c(R0,{optional:!0});_engine;constructor(t,e,a,r,o){this.doc=t,this.delegate=e,this.zone=a,this.animationType=r,this.moduleImpl=o}ngOnDestroy(){this._engine?.flush()}loadImpl(){let t=()=>this.moduleImpl??import("./chunk-5GNKSAOY.js").then(a=>a),e;return this.loadingSchedulerFn?e=this.loadingSchedulerFn(t):e=t(),e.catch(a=>{throw new W(5300,!1)}).then(({\u0275createEngine:a,\u0275AnimationRendererFactory:r})=>{this._engine=a(this.animationType,this.doc);let o=new r(this.delegate,this._engine,this.zone);return this.delegate=o,o})}createRenderer(t,e){let a=this.delegate.createRenderer(t,e);if(a.\u0275type===0)return a;km(a);let r=new Id(a);return e?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(o=>{let s=o.createRenderer(t,e);r.use(s),this.scheduler??=this.injector.get(Bd,null,{optional:!0}),this.scheduler?.notify(10)}).catch(o=>{r.use(a)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(t){this._engine?.flush(),this.delegate.componentReplaced?.(t)}static \u0275fac=function(e){Rn()};static \u0275prov=$({token:n,factory:n.\u0275fac})}return n})(),Id=class{delegate;replay=[];\u0275type=1;constructor(i){this.delegate=i}use(i){if(this.delegate=i,this.replay!==null){for(let t of this.replay)t(i);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(i,t){return this.delegate.createElement(i,t)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}get destroyNode(){return this.delegate.destroyNode}appendChild(i,t){this.delegate.appendChild(i,t)}insertBefore(i,t,e,a){this.delegate.insertBefore(i,t,e,a)}removeChild(i,t,e,a){this.delegate.removeChild(i,t,e,a)}selectRootElement(i,t){return this.delegate.selectRootElement(i,t)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,t,e,a){this.delegate.setAttribute(i,t,e,a)}removeAttribute(i,t,e){this.delegate.removeAttribute(i,t,e)}addClass(i,t){this.delegate.addClass(i,t)}removeClass(i,t){this.delegate.removeClass(i,t)}setStyle(i,t,e,a){this.delegate.setStyle(i,t,e,a)}removeStyle(i,t,e){this.delegate.removeStyle(i,t,e)}setProperty(i,t,e){this.shouldReplay(t)&&this.replay.push(a=>a.setProperty(i,t,e)),this.delegate.setProperty(i,t,e)}setValue(i,t){this.delegate.setValue(i,t)}listen(i,t,e,a){return this.shouldReplay(t)&&this.replay.push(r=>r.listen(i,t,e,a)),this.delegate.listen(i,t,e,a)}shouldReplay(i){return this.replay!==null&&i.startsWith(I0)}},R0=new v("");function Ff(n="animations"){return Ra("NgAsyncAnimations"),An([{provide:Jt,useFactory:()=>new A0(c(F),c(za),c(O),n)},{provide:Ti,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Pf=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Y({type:n,bootstrap:[Of]});static \u0275inj=q({providers:[jl(Ul()),Ff()],imports:[Fl,_f,ba,qs,Zs,wr,bp,Fp,Up,Ce,Zn,Ei,Hs,Gs,Lr,Ws,Ca,fp]})}return n})();var Lf={production:!0};Lf.production&&void 0;Ol().bootstrapModule(Pf,{applicationProviders:[mm()]}).catch(n=>console.error(n)); diff --git a/spring-angular-ui/static/browser/main-AMMPWVTO.js b/spring-angular-ui/static/browser/main-AMMPWVTO.js deleted file mode 100644 index e4d55aa..0000000 --- a/spring-angular-ui/static/browser/main-AMMPWVTO.js +++ /dev/null @@ -1,28 +0,0 @@ -import{$ as as,$a as Xo,$b as Ee,A as Tt,Aa as Mn,Ab as td,B as Ft,Ba as Vc,Bb as id,C as Yo,Ca as zt,Cb as hs,D as ts,Da as De,Db as ms,E as Re,Ea as Rn,Eb as u,F as Ic,Fa as jc,Fb as d,G as is,Ga as Tn,Gb as z,H as Ot,Ha as Zo,Hb as ge,I as jt,Ia as Xe,Ib as je,J as ns,Ja as Fn,Jb as O,K as Mc,Ka as hi,Kb as w,L as os,La as Vi,Lb as ue,M as Rc,Ma as Uc,Mb as B,N as Tc,Na as zc,Nb as nd,O as rs,Oa as Hc,Ob as he,P as Ko,Pa as $c,Pb as ve,Q as Te,Qa as Gc,Qb as $,R as we,Ra as Wc,Rb as G,S as le,Sa as qc,Sb as od,T as de,Ta as Qe,Tb as rd,U as H,Ua as Yc,Ub as pe,V as kt,Va as m,Vb as f,W as Ve,Wa as ji,Wb as Oe,X as g,Xa as wt,Xb as be,Y as Z,Ya as Fe,Yb as ad,Z as Fc,Za as _e,Zb as sd,_ as v,_a as y,_b as xe,a as _,aa as A,ab as lt,ac as Se,b as re,ba as l,bb as Kc,bc as ld,ca as Bi,cb as Zc,cc as se,d as Pe,da as Oc,db as Qo,dc as ir,e as Sc,ea as Le,eb as Xc,ec as nr,f as mt,fa as st,fb as Jo,fc as ps,g as Xa,ga as me,gb as x,gc as cd,h as Qa,ha as Q,hb as X,hc as dd,i as C,ia as J,ib as I,ic as ye,j as He,ja as kc,jb as ee,jc as fs,k as pt,ka as ce,kb as Qc,kc as ud,l as Ie,la as ss,lb as E,lc as hd,m as D,ma as ie,mb as cs,mc as L,n as di,na as Pc,nb as Jc,nc as Ui,o as Ja,oa as ls,ob as er,oc as ct,p as Ac,pa as Lc,pb as tr,pc as Pt,q as k,qa as An,qb as ds,qc as or,r as Ni,ra as q,rb as On,rc as rr,s as $e,sa as T,sb as us,sc as md,t as Sn,ta as Ut,tb as ed,u as Wo,ua as Nc,ub as mi,v as Rt,va as P,vb as V,w as qo,wa as ui,wb as b,x as Ge,xa as Ct,xb as N,y as oe,ya as In,yb as Je,z as es,za as Bc,zb as ae}from"./chunk-ZQSDF5TI.js";var R=new v("");var gd=null;function et(){return gd}function gs(i){gd??=i}var kn=class{},Pn=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(_d),providedIn:"platform"})}return i})(),_s=new v(""),_d=(()=>{class i extends Pn{_location;_history;_doc=l(R);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return et().getBaseHref(this._doc)}onPopState(e){let t=et().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=et().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,o){this._history.pushState(e,t,o)}replaceState(e,t,o){this._history.replaceState(e,t,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>new i,providedIn:"platform"})}return i})();function ar(i,n){return i?n?i.endsWith("/")?n.startsWith("/")?i+n.slice(1):i+n:n.startsWith("/")?i+n:`${i}/${n}`:i:n}function pd(i){let n=i.search(/#|\?|$/);return i[n-1]==="/"?i.slice(0,n-1)+i.slice(n):i}function ft(i){return i&&i[0]!=="?"?`?${i}`:i}var gt=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(lr),providedIn:"root"})}return i})(),sr=new v(""),lr=(()=>{class i extends gt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??l(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ar(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+ft(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${t}${o}`:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r));this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r));this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||i)(A(Pn),A(sr,8))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Dt=(()=>{class i{_subject=new C;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=Ip(pd(fd(t))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+ft(t))}normalize(e){return i.stripTrailingSlash(Ap(this._basePath,fd(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",o=null){this._locationStrategy.pushState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ft(t)),o)}replaceState(e,t="",o=null){this._locationStrategy.replaceState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ft(t)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(o=>o(e,t))}subscribe(e,t,o){return this._subject.subscribe({next:e,error:t??void 0,complete:o??void 0})}static normalizeQueryParams=ft;static joinWithSlash=ar;static stripTrailingSlash=pd;static \u0275fac=function(t){return new(t||i)(A(gt))};static \u0275prov=g({token:i,factory:()=>Sp(),providedIn:"root"})}return i})();function Sp(){return new Dt(A(gt))}function Ap(i,n){if(!i||!n.startsWith(i))return n;let e=n.substring(i.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function fd(i){return i.replace(/\/index.html$/,"")}function Ip(i){if(new RegExp("^(https?:)?//").test(i)){let[,e]=i.split(/\/\/[^\/]+/);return e}return i}var vs=(()=>{class i extends gt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,t!=null&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){let t=ar(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r))||this._platformLocation.pathname;this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||i)(A(Pn),A(sr,8))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();var cr=class{$implicit;ngForOf;index;count;constructor(n,e,t,o){this.$implicit=n,this.ngForOf=e,this.index=t,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ht=(()=>{class i{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,o){this._viewContainer=e,this._template=t,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((o,r,a)=>{if(o.previousIndex==null)t.createEmbeddedView(this._template,new cr(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)t.remove(r===null?void 0:r);else if(r!==null){let s=t.get(r);t.move(s,a),vd(s,o)}});for(let o=0,r=t.length;o{let r=t.get(o.currentIndex);vd(r,o)})}static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||i)(y(lt),y(wt),y(fs))};static \u0275dir=I({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return i})();function vd(i,n){i.context.$implicit=n.item}var Ue=(()=>{class i{_viewContainer;_context=new dr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){bd(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){bd(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||i)(y(lt),y(wt))};static \u0275dir=I({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return i})(),dr=class{$implicit=null;ngIf=null};function bd(i,n){if(i&&!i.createEmbeddedView)throw new H(2020,!1)}var bs=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,o):!1,get:(e,t,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,o)}})}static \u0275fac=function(t){return new(t||i)(y(lt))};static \u0275dir=I({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[me]})}return i})();var ys=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();function Ln(i,n){n=encodeURIComponent(n);for(let e of i.split(";")){let t=e.indexOf("="),[o,r]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var ur="browser",yd="server";function Cs(i){return i===ur}function hr(i){return i===yd}var pi=class{};var wd=(()=>{class i{static \u0275prov=g({token:i,providedIn:"root",factory:()=>new ws(l(R),window)})}return i})(),ws=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=Tp(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),t=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(t-r[0],o-r[1])}};function Tp(i,n){let e=i.getElementById(n)||i.getElementsByName(n)[0];if(e)return e;if(typeof i.createTreeWalker=="function"&&i.body&&typeof i.body.attachShadow=="function"){let t=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT),o=t.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(a)return a}o=t.nextNode()}}return null}var fr=new v(""),Ss=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o,r){return this._findPluginFor(t).addEventListener(e,t,o,r)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new H(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||i)(A(fr),A(T))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Nn=class{_doc;constructor(n){this._doc=n}manager},mr="ng-app-id";function Dd(i){for(let n of i)n.remove()}function xd(i,n){let e=n.createElement("style");return e.textContent=i,e}function Fp(i,n,e,t){let o=i.head?.querySelectorAll(`style[${mr}="${n}"],link[${mr}="${n}"]`);if(o)for(let r of o)r.removeAttribute(mr),r instanceof HTMLLinkElement?t.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&e.set(r.textContent,{usage:0,elements:[r]})}function xs(i,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",i),e}var As=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,r={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=hr(r),Fp(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,xd);t?.forEach(o=>this.addUsage(o,this.external,xs))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(Dd(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Dd(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,xd(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,xs(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(mr,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||i)(A(R),A(Mn),A(Rn,8),A(zt))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Ds={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Is=/%COMP%/g;var Sd="%COMP%",Op=`_nghost-${Sd}`,kp=`_ngcontent-${Sd}`,Pp=!0,Lp=new v("",{providedIn:"root",factory:()=>Pp});function Np(i){return kp.replace(Is,i)}function Bp(i){return Op.replace(Is,i)}function Ad(i,n){return n.map(e=>e.replace(Is,i))}var jn=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,r,a,s,c,h=null,p=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=h,this.tracingService=p,this.platformIsServer=hr(s),this.defaultRenderer=new Bn(e,a,c,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Fn.ShadowDom&&(t=re(_({},t),{encapsulation:Fn.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof pr?o.applyToHost(e):o instanceof Vn&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,r=o.get(t.id);if(!r){let a=this.doc,s=this.ngZone,c=this.eventManager,h=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,M=this.platformIsServer,j=this.tracingService;switch(t.encapsulation){case Fn.Emulated:r=new pr(c,h,t,this.appId,p,a,s,M,j);break;case Fn.ShadowDom:return new Es(c,h,e,t,a,s,this.nonce,M,j);default:r=new Vn(c,h,t,p,a,s,M,j);break}o.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||i)(A(Ss),A(As),A(Mn),A(Lp),A(R),A(zt),A(T),A(Rn),A(jc,8))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Bn=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,o,r){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=o,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Ds[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Ed(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(Ed(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new H(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;let r=Ds[o];r?n.setAttributeNS(r,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let o=Ds[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(ji.DashCase|ji.Important)?n.style.setProperty(e,t,o&ji.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&ji.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,o){if(typeof n=="string"&&(n=et().getGlobalEventTarget(this.doc,n),!n))throw new H(5102,!1);let r=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(n,e,r)),this.eventManager.addEventListener(n,e,r,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Ed(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Es=class extends Bn{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,o,r,a,s,c,h){super(n,r,a,c,h),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let p=o.styles;p=Ad(o.id,p);for(let j of p){let U=document.createElement("style");s&&U.setAttribute("nonce",s),U.textContent=j,this.shadowRoot.appendChild(U)}let M=o.getExternalStyles?.();if(M)for(let j of M){let U=xs(j,r);s&&U.setAttribute("nonce",s),this.shadowRoot.appendChild(U)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Vn=class extends Bn{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,o,r,a,s,c,h){super(n,r,a,s,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let p=t.styles;this.styles=h?Ad(h,p):p,this.styleUrls=t.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},pr=class extends Vn{contentAttr;hostAttr;constructor(n,e,t,o,r,a,s,c,h){let p=o+"-"+t.id;super(n,e,t,r,a,s,c,h,p),this.contentAttr=Np(p),this.hostAttr=Bp(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var gr=class i extends kn{supportsDOMEvents=!0;static makeCurrent(){gs(new i)}onAndCancel(n,e,t,o){return n.addEventListener(e,t,o),()=>{n.removeEventListener(e,t,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Vp();return e==null?null:jp(e)}resetBaseElement(){Un=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ln(document.cookie,n)}},Un=null;function Vp(){return Un=Un||document.head.querySelector("base"),Un?Un.getAttribute("href"):null}function jp(i){return new URL(i,document.baseURI).pathname}var _r=class{addToWindow(n){kt.getAngularTestability=(t,o=!0)=>{let r=n.findTestabilityInTree(t,o);if(r==null)throw new H(5103,!1);return r},kt.getAllAngularTestabilities=()=>n.getAllTestabilities(),kt.getAllAngularRootElements=()=>n.getAllRootElements();let e=t=>{let o=kt.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&t()};o.forEach(s=>{s.whenStable(a)})};kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,t){if(e==null)return null;let o=n.getTestability(e);return o??(t?et().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},Up=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Md=(()=>{class i extends Nn{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o,r){return e.addEventListener(t,o,r),()=>this.removeEventListener(e,t,o,r)}removeEventListener(e,t,o,r){return e.removeEventListener(t,o,r)}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Id=["alt","control","meta","shift"],zp={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hp={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},Rd=(()=>{class i extends Nn{constructor(e){super(e)}supports(e){return i.parseEventName(e)!=null}addEventListener(e,t,o,r){let a=i.parseEventName(t),s=i.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>et().onAndCancel(e,a.domEventName,s,r))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let r=i._normalizeKey(t.pop()),a="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),a="code."),Id.forEach(h=>{let p=t.indexOf(h);p>-1&&(t.splice(p,1),a+=h+".")}),a+=r,t.length!=0||r.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(e,t){let o=zp[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Id.forEach(a=>{if(a!==o){let s=Hp[a];s(e)&&(r+=a+".")}}),r+=o,r===t)}static eventCallback(e,t,o){return r=>{i.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>t(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();function $p(){gr.makeCurrent()}function Gp(){return new Ut}function Wp(){return Bc(document),document}var qp=[{provide:zt,useValue:ur},{provide:Vc,useValue:$p,multi:!0},{provide:R,useFactory:Wp}],Ms=dd(ud,"browser",qp);var Yp=[{provide:er,useClass:_r},{provide:Jc,useClass:tr,deps:[T,ds,er]},{provide:tr,useClass:tr,deps:[T,ds,er]}],Kp=[{provide:Oc,useValue:"root"},{provide:Ut,useFactory:Gp},{provide:fr,useClass:Md,multi:!0,deps:[R]},{provide:fr,useClass:Rd,multi:!0,deps:[R]},jn,As,Ss,{provide:Fe,useExisting:jn},{provide:pi,useClass:Up},[]],Rs=(()=>{class i{constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({providers:[...Kp,...Yp],imports:[ys,hd]})}return i})();var Hi=class{},zn=class{},xt=class i{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let t=e.indexOf(":");if(t>0){let o=e.slice(0,t),r=e.slice(t+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new i;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let t=n.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...t),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>r.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let t=n.toLowerCase();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(n,e){let t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,t),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var br=class{encodeKey(n){return Td(n)}encodeValue(n){return Td(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Zp(i,n){let e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,s]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}var Xp=/%(\d[a-f0-9])/gi,Qp={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Td(i){return encodeURIComponent(i).replace(Xp,(n,e)=>Qp[e]??n)}function vr(i){return`${i}`}var Lt=class i{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new br,n.fromString){if(n.fromObject)throw new H(2805,!1);this.map=Zp(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let t=n.fromObject[e],o=Array.isArray(t)?t.map(vr):[vr(t)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(t=>{let o=n[t];Array.isArray(o)?o.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new i({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(vr(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let t=this.map.get(n.param)||[],o=t.indexOf(vr(n.value));o!==-1&&t.splice(o,1),t.length>0?this.map.set(n.param,t):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var yr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Jp(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Fd(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Od(i){return typeof Blob<"u"&&i instanceof Blob}function kd(i){return typeof FormData<"u"&&i instanceof FormData}function ef(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Pd="Content-Type",Ld="Accept",Bd="X-Request-URL",Vd="text/plain",jd="application/json",tf=`${jd}, ${Vd}, */*`,zi=class i{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,t,o){this.url=e,this.method=n.toUpperCase();let r;if(Jp(this.method)||o?(this.body=t!==void 0?t:null,r=o):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new xt,this.context??=new yr,!this.params)this.params=new Lt,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":sj.set(U,n.setHeaders[U]),h)),n.setParams&&(p=Object.keys(n.setParams).reduce((j,U)=>j.set(U,n.setParams[U]),p)),new i(e,t,a,{params:p,headers:h,context:M,reportProgress:c,responseType:o,withCredentials:s,transferCache:r})}},fi=(function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i})(fi||{}),$i=class{headers;status;statusText;url;ok;type;constructor(n,e=200,t="OK"){this.headers=n.headers||new xt,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Cr=class i extends $i{constructor(n={}){super(n)}type=fi.ResponseHeader;clone(n={}){return new i({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Hn=class i extends $i{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=fi.Response;clone(n={}){return new i({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},$n=class extends $i{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},nf=200,of=204;function Ts(i,n){return{body:n,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var dt=(()=>{class i{handler;constructor(e){this.handler=e}request(e,t,o={}){let r;if(e instanceof zi)r=e;else{let c;o.headers instanceof xt?c=o.headers:c=new xt(o.headers);let h;o.params&&(o.params instanceof Lt?h=o.params:h=new Lt({fromObject:o.params})),r=new zi(e,t,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=D(r).pipe(Ft(c=>this.handler.handle(c)));if(e instanceof zi||o.observe==="events")return a;let s=a.pipe(oe(c=>c instanceof Hn));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(k(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new H(2806,!1);return c.body}));case"blob":return s.pipe(k(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new H(2807,!1);return c.body}));case"text":return s.pipe(k(c=>{if(c.body!==null&&typeof c.body!="string")throw new H(2808,!1);return c.body}));default:return s.pipe(k(c=>c.body))}case"response":return s;default:throw new H(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new Lt().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,o={}){return this.request("PATCH",e,Ts(o,t))}post(e,t,o={}){return this.request("POST",e,Ts(o,t))}put(e,t,o={}){return this.request("PUT",e,Ts(o,t))}static \u0275fac=function(t){return new(t||i)(A(Hi))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();var rf=new v("");function Ud(i,n){return n(i)}function af(i,n){return(e,t)=>n.intercept(e,{handle:o=>i(o,t)})}function sf(i,n,e){return(t,o)=>st(e,()=>n(t,r=>i(r,o)))}var Dr=new v(""),Os=new v(""),zd=new v(""),ks=new v("",{providedIn:"root",factory:()=>!0});function lf(){let i=null;return(n,e)=>{i===null&&(i=(l(Dr,{optional:!0})??[]).reduceRight(af,Ud));let t=l(An);if(l(ks)){let r=t.add();return i(n,e).pipe(Ot(()=>t.remove(r)))}else return i(n,e)}}var wr=(()=>{class i extends Hi{backend;injector;chain=null;pendingTasks=l(An);contributeToStability=l(ks);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(Os),...this.injector.get(zd,[])]));this.chain=t.reduceRight((o,r)=>sf(o,r,this.injector),Ud)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Ot(()=>this.pendingTasks.remove(t)))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||i)(A(zn),A(Le))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();var cf=/^\)\]\}',?\n/,df=RegExp(`^${Bd}:`,"m");function uf(i){return"responseURL"in i&&i.responseURL?i.responseURL:df.test(i.getAllResponseHeaders())?i.getResponseHeader(Bd):null}var Fs=(()=>{class i{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new H(-2800,!1);let t=this.xhrFactory;return(t.\u0275loadImpl?Ie(t.\u0275loadImpl()):D(null)).pipe(we(()=>new mt(r=>{let a=t.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((F,K)=>a.setRequestHeader(F,K.join(","))),e.headers.has(Ld)||a.setRequestHeader(Ld,tf),!e.headers.has(Pd)){let F=e.detectContentTypeHeader();F!==null&&a.setRequestHeader(Pd,F)}if(e.responseType){let F=e.responseType.toLowerCase();a.responseType=F!=="json"?F:"text"}let s=e.serializeBody(),c=null,h=()=>{if(c!==null)return c;let F=a.statusText||"OK",K=new xt(a.getAllResponseHeaders()),Ze=uf(a)||e.url;return c=new Cr({headers:K,status:a.status,statusText:F,url:Ze}),c},p=()=>{let{headers:F,status:K,statusText:Ze,url:Vt}=h(),fe=null;K!==of&&(fe=typeof a.response>"u"?a.responseText:a.response),K===0&&(K=fe?nf:0);let Za=K>=200&&K<300;if(e.responseType==="json"&&typeof fe=="string"){let xp=fe;fe=fe.replace(cf,"");try{fe=fe!==""?JSON.parse(fe):null}catch(Ep){fe=xp,Za&&(Za=!1,fe={error:Ep,text:fe})}}Za?(r.next(new Hn({body:fe,headers:F,status:K,statusText:Ze,url:Vt||void 0})),r.complete()):r.error(new $n({error:fe,headers:F,status:K,statusText:Ze,url:Vt||void 0}))},M=F=>{let{url:K}=h(),Ze=new $n({error:F,status:a.status||0,statusText:a.statusText||"Unknown Error",url:K||void 0});r.error(Ze)},j=!1,U=F=>{j||(r.next(h()),j=!0);let K={type:fi.DownloadProgress,loaded:F.loaded};F.lengthComputable&&(K.total=F.total),e.responseType==="text"&&a.responseText&&(K.partialText=a.responseText),r.next(K)},Y=F=>{let K={type:fi.UploadProgress,loaded:F.loaded};F.lengthComputable&&(K.total=F.total),r.next(K)};return a.addEventListener("load",p),a.addEventListener("error",M),a.addEventListener("timeout",M),a.addEventListener("abort",M),e.reportProgress&&(a.addEventListener("progress",U),s!==null&&a.upload&&a.upload.addEventListener("progress",Y)),a.send(s),r.next({type:fi.Sent}),()=>{a.removeEventListener("error",M),a.removeEventListener("abort",M),a.removeEventListener("load",p),a.removeEventListener("timeout",M),e.reportProgress&&(a.removeEventListener("progress",U),s!==null&&a.upload&&a.upload.removeEventListener("progress",Y)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(t){return new(t||i)(A(pi))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Hd=new v(""),hf="XSRF-TOKEN",mf=new v("",{providedIn:"root",factory:()=>hf}),pf="X-XSRF-TOKEN",ff=new v("",{providedIn:"root",factory:()=>pf}),Gn=class{},gf=(()=>{class i{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t){this.doc=e,this.cookieName=t}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ln(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||i)(A(R),A(mf))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),_f=/^(?:https?:)?\/\//i;function vf(i,n){if(!l(Hd)||i.method==="GET"||i.method==="HEAD"||_f.test(i.url))return n(i);let e=l(Gn).getToken(),t=l(ff);return e!=null&&!i.headers.has(t)&&(i=i.clone({headers:i.headers.set(t,e)})),n(i)}var Ps=(function(i){return i[i.Interceptors=0]="Interceptors",i[i.LegacyInterceptors=1]="LegacyInterceptors",i[i.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",i[i.NoXsrfProtection=3]="NoXsrfProtection",i[i.JsonpSupport=4]="JsonpSupport",i[i.RequestsMadeViaParent=5]="RequestsMadeViaParent",i[i.Fetch=6]="Fetch",i})(Ps||{});function bf(i,n){return{\u0275kind:i,\u0275providers:n}}function Ls(...i){let n=[dt,Fs,wr,{provide:Hi,useExisting:wr},{provide:zn,useFactory:()=>l(rf,{optional:!0})??l(Fs)},{provide:Os,useValue:vf,multi:!0},{provide:Hd,useValue:!0},{provide:Gn,useClass:gf}];for(let e of i)n.push(...e.\u0275providers);return Bi(n)}var Nd=new v("");function Ns(){return bf(Ps.LegacyInterceptors,[{provide:Nd,useFactory:lf},{provide:Os,useExisting:Nd,multi:!0}])}var Gd=(()=>{class i{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Bs=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:function(t){let o=null;return t?o=new(t||i):o=A(Cf),o},providedIn:"root"})}return i})(),Cf=(()=>{class i extends Bs{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case Qe.NONE:return t;case Qe.HTML:return Vi(t,"HTML")?hi(t):qc(this._doc,String(t)).toString();case Qe.STYLE:return Vi(t,"Style")?hi(t):t;case Qe.SCRIPT:if(Vi(t,"Script"))return hi(t);throw new H(5200,!1);case Qe.URL:return Vi(t,"URL")?hi(t):Wc(String(t));case Qe.RESOURCE_URL:if(Vi(t,"ResourceURL"))return hi(t);throw new H(5201,!1);default:throw new H(5202,!1)}}bypassSecurityTrustHtml(e){return Uc(e)}bypassSecurityTrustStyle(e){return zc(e)}bypassSecurityTrustScript(e){return Hc(e)}bypassSecurityTrustUrl(e){return $c(e)}bypassSecurityTrustResourceUrl(e){return Gc(e)}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var W="primary",ro=Symbol("RouteTitle"),$s=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function vi(i){return new $s(i)}function Jd(i,n,e){let t=e.path.split("/");if(t.length>i.length||e.pathMatch==="full"&&(n.hasChildren()||t.lengtht[r]===o)}else return i===n}function tu(i){return i.length>0?i[i.length-1]:null}function Kt(i){return Ja(i)?i:On(i)?Ie(Promise.resolve(i)):D(i)}var Df={exact:nu,subset:ou},iu={exact:xf,subset:Ef,ignored:()=>!0};function Wd(i,n,e){return Df[e.paths](i.root,n.root,e.matrixParams)&&iu[e.queryParams](i.queryParams,n.queryParams)&&!(e.fragment==="exact"&&i.fragment!==n.fragment)}function xf(i,n){return Et(i,n)}function nu(i,n,e){if(!gi(i.segments,n.segments)||!Sr(i.segments,n.segments,e)||i.numberOfChildren!==n.numberOfChildren)return!1;for(let t in n.children)if(!i.children[t]||!nu(i.children[t],n.children[t],e))return!1;return!0}function Ef(i,n){return Object.keys(n).length<=Object.keys(i).length&&Object.keys(n).every(e=>eu(i[e],n[e]))}function ou(i,n,e){return ru(i,n,n.segments,e)}function ru(i,n,e,t){if(i.segments.length>e.length){let o=i.segments.slice(0,e.length);return!(!gi(o,e)||n.hasChildren()||!Sr(o,e,t))}else if(i.segments.length===e.length){if(!gi(i.segments,e)||!Sr(i.segments,e,t))return!1;for(let o in n.children)if(!i.children[o]||!ou(i.children[o],n.children[o],t))return!1;return!0}else{let o=e.slice(0,i.segments.length),r=e.slice(i.segments.length);return!gi(i.segments,o)||!Sr(i.segments,o,t)||!i.children[W]?!1:ru(i.children[W],n,r,t)}}function Sr(i,n,e){return n.every((t,o)=>iu[e](i[o].parameters,t.parameters))}var At=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ne([],{}),e={},t=null){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=vi(this.queryParams),this._queryParamMap}toString(){return If.serialize(this)}},ne=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ar(this)}},Gt=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=vi(this.parameters),this._parameterMap}toString(){return su(this)}};function Sf(i,n){return gi(i,n)&&i.every((e,t)=>Et(e.parameters,n[t].parameters))}function gi(i,n){return i.length!==n.length?!1:i.every((e,t)=>e.path===n[t].path)}function Af(i,n){let e=[];return Object.entries(i.children).forEach(([t,o])=>{t===W&&(e=e.concat(n(o,t)))}),Object.entries(i.children).forEach(([t,o])=>{t!==W&&(e=e.concat(n(o,t)))}),e}var bi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>new Wt,providedIn:"root"})}return i})(),Wt=class{parse(n){let e=new qs(n);return new At(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${qn(n.root,!0)}`,t=Tf(n.queryParams),o=typeof n.fragment=="string"?`#${Mf(n.fragment)}`:"";return`${e}${t}${o}`}},If=new Wt;function Ar(i){return i.segments.map(n=>su(n)).join("/")}function qn(i,n){if(!i.hasChildren())return Ar(i);if(n){let e=i.children[W]?qn(i.children[W],!1):"",t=[];return Object.entries(i.children).forEach(([o,r])=>{o!==W&&t.push(`${o}:${qn(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Af(i,(t,o)=>o===W?[qn(i.children[W],!1)]:[`${o}:${qn(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[W]!=null?`${Ar(i)}/${e[0]}`:`${Ar(i)}/(${e.join("//")})`}}function au(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xr(i){return au(i).replace(/%3B/gi,";")}function Mf(i){return encodeURI(i)}function Ws(i){return au(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ir(i){return decodeURIComponent(i)}function qd(i){return Ir(i.replace(/\+/g,"%20"))}function su(i){return`${Ws(i.path)}${Rf(i.parameters)}`}function Rf(i){return Object.entries(i).map(([n,e])=>`;${Ws(n)}=${Ws(e)}`).join("")}function Tf(i){let n=Object.entries(i).map(([e,t])=>Array.isArray(t)?t.map(o=>`${xr(e)}=${xr(o)}`).join("&"):`${xr(e)}=${xr(t)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Ff=/^[^\/()?;#]+/;function js(i){let n=i.match(Ff);return n?n[0]:""}var Of=/^[^\/()?;=#]+/;function kf(i){let n=i.match(Of);return n?n[0]:""}var Pf=/^[^=?&#]+/;function Lf(i){let n=i.match(Pf);return n?n[0]:""}var Nf=/^[^&#]+/;function Bf(i){let n=i.match(Nf);return n?n[0]:""}var qs=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[W]=new ne(n,e)),t}parseSegment(){let n=js(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new H(4009,!1);return this.capture(n),new Gt(Ir(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=kf(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let o=js(this.remaining);o&&(t=o,this.capture(t))}n[Ir(e)]=Ir(t)}parseQueryParam(n){let e=Lf(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let a=Bf(this.remaining);a&&(t=a,this.capture(t))}let o=qd(e),r=qd(t);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(r)}else n[o]=r}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=js(this.remaining),o=this.remaining[t.length];if(o!=="/"&&o!==")"&&o!==";")throw new H(4010,!1);let r;t.indexOf(":")>-1?(r=t.slice(0,t.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=W);let a=this.parseChildren();e[r]=Object.keys(a).length===1?a[W]:new ne([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new H(4011,!1)}};function lu(i){return i.segments.length>0?new ne([],{[W]:i}):i}function cu(i){let n={};for(let[t,o]of Object.entries(i.children)){let r=cu(o);if(t===W&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))n[a]=s;else(r.segments.length>0||r.hasChildren())&&(n[t]=r)}let e=new ne(i.segments,n);return Vf(e)}function Vf(i){if(i.numberOfChildren===1&&i.children[W]){let n=i.children[W];return new ne(i.segments.concat(n.segments),n.children)}return i}function qt(i){return i instanceof At}function du(i,n,e=null,t=null){let o=uu(i);return hu(o,n,e,t)}function uu(i){let n;function e(r){let a={};for(let c of r.children){let h=e(c);a[c.outlet]=h}let s=new ne(r.url,a);return r===i&&(n=s),s}let t=e(i.root),o=lu(t);return n??o}function hu(i,n,e,t){let o=i;for(;o.parent;)o=o.parent;if(n.length===0)return Us(o,o,o,e,t);let r=jf(n);if(r.toRoot())return Us(o,o,new ne([],{}),e,t);let a=Uf(r,o,i),s=a.processChildren?Kn(a.segmentGroup,a.index,r.commands):pu(a.segmentGroup,a.index,r.commands);return Us(o,a.segmentGroup,s,e,t)}function Rr(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Xn(i){return typeof i=="object"&&i!=null&&i.outlets}function Us(i,n,e,t,o){let r={};t&&Object.entries(t).forEach(([c,h])=>{r[c]=Array.isArray(h)?h.map(p=>`${p}`):`${h}`});let a;i===n?a=e:a=mu(i,n,e);let s=lu(cu(a));return new At(s,r,o)}function mu(i,n,e){let t={};return Object.entries(i.children).forEach(([o,r])=>{r===n?t[o]=e:t[o]=mu(r,n,e)}),new ne(i.segments,t)}var Tr=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&Rr(t[0]))throw new H(4003,!1);let o=t.find(Xn);if(o&&o!==tu(t))throw new H(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function jf(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Tr(!0,0,i);let n=0,e=!1,t=i.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([c,h])=>{s[c]=typeof h=="string"?h.split("/"):h}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?n++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new Tr(e,n,t)}var qi=class{segmentGroup;processChildren;index;constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}};function Uf(i,n,e){if(i.isAbsolute)return new qi(n,!0,0);if(!e)return new qi(n,!1,NaN);if(e.parent===null)return new qi(e,!0,0);let t=Rr(i.commands[0])?0:1,o=e.segments.length-1+t;return zf(e,o,i.numberOfDoubleDots)}function zf(i,n,e){let t=i,o=n,r=e;for(;r>o;){if(r-=o,t=t.parent,!t)throw new H(4005,!1);o=t.segments.length}return new qi(t,!1,o-r)}function Hf(i){return Xn(i[0])?i[0].outlets:{[W]:i}}function pu(i,n,e){if(i??=new ne([],{}),i.segments.length===0&&i.hasChildren())return Kn(i,n,e);let t=$f(i,n,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==W)&&i.children[W]&&i.numberOfChildren===1&&i.children[W].segments.length===0){let r=Kn(i.children[W],n,e);return new ne(i.segments,r.children)}return Object.entries(t).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=pu(i.children[r],n,a))}),Object.entries(i.children).forEach(([r,a])=>{t[r]===void 0&&(o[r]=a)}),new ne(i.segments,o)}}function $f(i,n,e){let t=0,o=n,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=i.segments[o],s=e[t];if(Xn(s))break;let c=`${s}`,h=t0&&c===void 0)break;if(c&&h&&typeof h=="object"&&h.outlets===void 0){if(!Kd(c,h,a))return r;t+=2}else{if(!Kd(c,{},a))return r;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}function Ys(i,n,e){let t=i.segments.slice(0,n),o=0;for(;o{typeof t=="string"&&(t=[t]),t!==null&&(n[e]=Ys(new ne([],{}),0,t))}),n}function Yd(i){let n={};return Object.entries(i).forEach(([e,t])=>n[e]=`${t}`),n}function Kd(i,n,e){return i==e.path&&Et(n,e.parameters)}var Mr="imperative",Me=(function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i})(Me||{}),it=class{id;url;constructor(n,e){this.id=n,this.url=e}},Yt=class extends it{type=Me.NavigationStart;navigationTrigger;restoredState;constructor(n,e,t="imperative",o=null){super(n,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},nt=class extends it{urlAfterRedirects;type=Me.NavigationEnd;constructor(n,e,t){super(n,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},We=(function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i})(We||{}),Ki=(function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i})(Ki||{}),St=class extends it{reason;code;type=Me.NavigationCancel;constructor(n,e,t,o){super(n,e),this.reason=t,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},It=class extends it{reason;code;type=Me.NavigationSkipped;constructor(n,e,t,o){super(n,e),this.reason=t,this.code=o}},Zi=class extends it{error;target;type=Me.NavigationError;constructor(n,e,t,o){super(n,e),this.error=t,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qn=class extends it{urlAfterRedirects;state;type=Me.RoutesRecognized;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fr=class extends it{urlAfterRedirects;state;type=Me.GuardsCheckStart;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Or=class extends it{urlAfterRedirects;state;shouldActivate;type=Me.GuardsCheckEnd;constructor(n,e,t,o,r){super(n,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kr=class extends it{urlAfterRedirects;state;type=Me.ResolveStart;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pr=class extends it{urlAfterRedirects;state;type=Me.ResolveEnd;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lr=class{route;type=Me.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Nr=class{route;type=Me.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Br=class{snapshot;type=Me.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vr=class{snapshot;type=Me.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jr=class{snapshot;type=Me.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ur=class{snapshot;type=Me.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xi=class{routerEvent;position;anchor;type=Me.Scroll;constructor(n,e,t){this.routerEvent=n,this.position=e,this.anchor=t}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Jn=class{},Qi=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Wf(i,n){return i.providers&&!i._injector&&(i._injector=Jo(i.providers,n,`Route: ${i.path}`)),i._injector??n}function _t(i){return i.outlet||W}function qf(i,n){let e=i.filter(t=>_t(t)===n);return e.push(...i.filter(t=>_t(t)!==n)),e}function ao(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let n=i.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var zr=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ao(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new yi(this.rootInjector)}},yi=(()=>{class i{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let o=this.getOrCreateContext(e);o.outlet=t,this.contexts.set(e,o)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new zr(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||i)(A(Le))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Hr=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Ks(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){let e=Ks(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Zs(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Zs(n,this._root).map(e=>e.value)}};function Ks(i,n){if(i===n.value)return n;for(let e of n.children){let t=Ks(i,e);if(t)return t}return null}function Zs(i,n){if(i===n.value)return[n];for(let e of n.children){let t=Zs(i,e);if(t.length)return t.unshift(n),t}return[]}var tt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Wi(i){let n={};return i&&i.children.forEach(e=>n[e.value.outlet]=e),n}var eo=class extends Hr{snapshot;constructor(n,e){super(n),this.snapshot=e,ol(this,n)}toString(){return this.snapshot.toString()}};function fu(i){let n=Yf(i),e=new He([new Gt("",{})]),t=new He({}),o=new He({}),r=new He({}),a=new He(""),s=new vt(e,t,r,a,o,W,i,n.root);return s.snapshot=n.root,new eo(new tt(s,[]),n)}function Yf(i){let n={},e={},t={},r=new _i([],n,t,"",e,W,i,null,{});return new to("",new tt(r,[]))}var vt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,t,o,r,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(k(h=>h[ro]))??D(void 0),this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(k(n=>vi(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(n=>vi(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function $r(i,n,e="emptyOnly"){let t,{routeConfig:o}=i;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?t={params:_(_({},n.params),i.params),data:_(_({},n.data),i.data),resolve:_(_(_(_({},i.data),n.data),o?.data),i._resolvedData)}:t={params:_({},i.params),data:_({},i.data),resolve:_(_({},i.data),i._resolvedData??{})},o&&_u(o)&&(t.resolve[ro]=o.title),t}var _i=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ro]}constructor(n,e,t,o,r,a,s,c,h){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=vi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=vi(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},to=class extends Hr{url;constructor(n,e){super(e),this.url=n,ol(this,e)}toString(){return gu(this._root)}};function ol(i,n){n.value._routerState=i,n.children.forEach(e=>ol(i,e))}function gu(i){let n=i.children.length>0?` { ${i.children.map(gu).join(", ")} } `:"";return`${i.value}${n}`}function zs(i){if(i.snapshot){let n=i.snapshot,e=i._futureSnapshot;i.snapshot=e,Et(n.queryParams,e.queryParams)||i.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&i.fragmentSubject.next(e.fragment),Et(n.params,e.params)||i.paramsSubject.next(e.params),wf(n.url,e.url)||i.urlSubject.next(e.url),Et(n.data,e.data)||i.dataSubject.next(e.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function Xs(i,n){let e=Et(i.params,n.params)&&Sf(i.url,n.url),t=!i.parent!=!n.parent;return e&&!t&&(!i.parent||Xs(i.parent,n.parent))}function _u(i){return typeof i.title=="string"||i.title===null}var vu=new v(""),so=(()=>{class i{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=W;activateEvents=new q;deactivateEvents=new q;attachEvents=new q;detachEvents=new q;routerOutletData=Nc(void 0);parentContexts=l(yi);location=l(lt);changeDetector=l(ye);inputBinder=l(lo,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:o}=e.name;if(t)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new H(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new H(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new H(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new H(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new Qs(e,s,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[me]})}return i})(),Qs=class{route;childContexts;parent;outletData;constructor(n,e,t,o){this.route=n,this.childContexts=e,this.parent=t,this.outletData=o}get(n,e){return n===vt?this.route:n===yi?this.childContexts:n===vu?this.outletData:this.parent.get(n,e)}},lo=new v(""),rl=(()=>{class i{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:t}=e,o=Ni([t.queryParams,t.params,t.data]).pipe(we(([r,a,s],c)=>(s=_(_(_({},r),a),s),c===0?D(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let a=md(t.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),al=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,o){t&1&&z(0,"router-outlet")},dependencies:[so],encapsulation:2})}return i})();function sl(i){let n=i.children&&i.children.map(sl),e=n?re(_({},i),{children:n}):_({},i);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==W&&(e.component=al),e}function Kf(i,n,e){let t=io(i,n._root,e?e._root:void 0);return new eo(t,n)}function io(i,n,e){if(e&&i.shouldReuseRoute(n.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=n.value;let o=Zf(i,n,e);return new tt(t,o)}else{if(i.shouldAttach(n.value)){let r=i.retrieve(n.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>io(i,s)),a}}let t=Xf(n.value),o=n.children.map(r=>io(i,r));return new tt(t,o)}}function Zf(i,n,e){return n.children.map(t=>{for(let o of e.children)if(i.shouldReuseRoute(t.value,o.value.snapshot))return io(i,t,o);return io(i,t)})}function Xf(i){return new vt(new He(i.url),new He(i.params),new He(i.queryParams),new He(i.fragment),new He(i.data),i.outlet,i.component,i)}var Ji=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},bu="ngNavigationCancelingError";function Gr(i,n){let{redirectTo:e,navigationBehaviorOptions:t}=qt(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=yu(!1,We.Redirect);return o.url=e,o.navigationBehaviorOptions=t,o}function yu(i,n){let e=new Error(`NavigationCancelingError: ${i||""}`);return e[bu]=!0,e.cancellationCode=n,e}function Qf(i){return Cu(i)&&qt(i.url)}function Cu(i){return!!i&&i[bu]}var Jf=(i,n,e,t)=>k(o=>(new Js(n,o.targetRouterState,o.currentRouterState,e,t).activate(i),o)),Js=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,t,o,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=o,this.inputBindingEnabled=r}activate(n){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),zs(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){let o=Wi(e);n.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],t),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(n,e,t){let o=n.value,r=e?e.value:null;if(o===r)if(o.component){let a=t.getContext(o.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,r=Wi(n);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(t&&t.outlet){let a=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,r=Wi(n);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(n,e,t){let o=Wi(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],t),this.forwardEvent(new Ur(r.value.snapshot))}),n.children.length&&this.forwardEvent(new Vr(n.value.snapshot))}activateRoutes(n,e,t){let o=n.value,r=e?e.value:null;if(zs(o),o===r)if(o.component){let a=t.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,t);else if(o.component){let a=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),zs(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,t)}},Wr=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Yi=class{component;route;constructor(n,e){this.component=n,this.route=e}};function eg(i,n,e){let t=i._root,o=n?n._root:null;return Yn(t,o,e,[t.value])}function tg(i){let n=i.routeConfig?i.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:i,guards:n}}function tn(i,n){let e=Symbol(),t=n.get(i,e);return t===e?typeof i=="function"&&!Fc(i)?i:n.get(i):t}function Yn(i,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=Wi(n);return i.children.forEach(a=>{ig(a,r[a.value.outlet],e,t.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>Zn(s,e.getContext(a),o)),o}function ig(i,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=i.value,a=n?n.value:null,s=e?e.getContext(i.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let c=ng(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Wr(t)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?Yn(i,n,s?s.children:null,t,o):Yn(i,n,e,t,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new Yi(s.outlet.component,a))}else a&&Zn(n,s,o),o.canActivateChecks.push(new Wr(t)),r.component?Yn(i,null,s?s.children:null,t,o):Yn(i,null,e,t,o);return o}function ng(i,n,e){if(typeof e=="function")return e(i,n);switch(e){case"pathParamsChange":return!gi(i.url,n.url);case"pathParamsOrQueryParamsChange":return!gi(i.url,n.url)||!Et(i.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xs(i,n)||!Et(i.queryParams,n.queryParams);default:return!Xs(i,n)}}function Zn(i,n,e){let t=Wi(i),o=i.value;Object.entries(t).forEach(([r,a])=>{o.component?n?Zn(a,n.children.getContext(r),e):Zn(a,null,e):Zn(a,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Yi(n.outlet.component,o)):e.canDeactivateChecks.push(new Yi(null,o)):e.canDeactivateChecks.push(new Yi(null,o))}function co(i){return typeof i=="function"}function og(i){return typeof i=="boolean"}function rg(i){return i&&co(i.canLoad)}function ag(i){return i&&co(i.canActivate)}function sg(i){return i&&co(i.canActivateChild)}function lg(i){return i&&co(i.canDeactivate)}function cg(i){return i&&co(i.canMatch)}function wu(i){return i instanceof Ac||i?.name==="EmptyError"}var Er=Symbol("INITIAL_VALUE");function en(){return we(i=>Ni(i.map(n=>n.pipe(Re(1),Te(Er)))).pipe(k(n=>{for(let e of n)if(e!==!0){if(e===Er)return Er;if(e===!1||dg(e))return e}return!0}),oe(n=>n!==Er),Re(1)))}function dg(i){return qt(i)||i instanceof Ji}function ug(i,n){return $e(e=>{let{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return a.length===0&&r.length===0?D(re(_({},e),{guardsResult:!0})):hg(a,t,o,i).pipe($e(s=>s&&og(s)?mg(t,r,i,n):D(s)),k(s=>re(_({},e),{guardsResult:s})))})}function hg(i,n,e,t){return Ie(i).pipe($e(o=>vg(o.component,o.route,e,n,t)),jt(o=>o!==!0,!0))}function mg(i,n,e,t){return Ie(n).pipe(Ft(o=>Wo(fg(o.route.parent,t),pg(o.route,t),_g(i,o.path,e),gg(i,o.route,e))),jt(o=>o!==!0,!0))}function pg(i,n){return i!==null&&n&&n(new jr(i)),D(!0)}function fg(i,n){return i!==null&&n&&n(new Br(i)),D(!0)}function gg(i,n,e){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return D(!0);let o=t.map(r=>Rt(()=>{let a=ao(n)??e,s=tn(r,a),c=ag(s)?s.canActivate(n,i):st(a,()=>s(n,i));return Kt(c).pipe(jt())}));return D(o).pipe(en())}function _g(i,n,e){let t=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(a=>tg(a)).filter(a=>a!==null).map(a=>Rt(()=>{let s=a.guards.map(c=>{let h=ao(a.node)??e,p=tn(c,h),M=sg(p)?p.canActivateChild(t,i):st(h,()=>p(t,i));return Kt(M).pipe(jt())});return D(s).pipe(en())}));return D(r).pipe(en())}function vg(i,n,e,t,o){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return D(!0);let a=r.map(s=>{let c=ao(n)??o,h=tn(s,c),p=lg(h)?h.canDeactivate(i,n,e,t):st(c,()=>h(i,n,e,t));return Kt(p).pipe(jt())});return D(a).pipe(en())}function bg(i,n,e,t){let o=n.canLoad;if(o===void 0||o.length===0)return D(!0);let r=o.map(a=>{let s=tn(a,i),c=rg(s)?s.canLoad(n,e):st(i,()=>s(n,e));return Kt(c)});return D(r).pipe(en(),Du(t))}function Du(i){return Sc(de(n=>{if(typeof n!="boolean")throw Gr(i,n)}),k(n=>n===!0))}function yg(i,n,e,t){let o=n.canMatch;if(!o||o.length===0)return D(!0);let r=o.map(a=>{let s=tn(a,i),c=cg(s)?s.canMatch(n,e):st(i,()=>s(n,e));return Kt(c)});return D(r).pipe(en(),Du(t))}var no=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},oo=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Gi(i){return di(new no(i))}function Cg(i){return di(new H(4e3,!1))}function wg(i){return di(yu(!1,We.GuardRejected))}var el=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),o.numberOfChildren===0)return D(t);if(o.numberOfChildren>1||!o.children[W])return Cg(`${n.redirectTo}`);o=o.children[W]}}applyRedirectCommands(n,e,t,o,r){if(typeof e!="string"){let s=e,{queryParams:c,fragment:h,routeConfig:p,url:M,outlet:j,params:U,data:Y,title:F}=o,K=st(r,()=>s({params:U,data:Y,queryParams:c,fragment:h,routeConfig:p,url:M,outlet:j,title:F}));if(K instanceof At)throw new oo(K);e=K}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,t);if(e[0]==="/")throw new oo(a);return a}applyRedirectCreateUrlTree(n,e,t,o){let r=this.createSegmentGroup(n,e.root,t,o);return new At(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let t={};return Object.entries(n).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);t[o]=e[s]}else t[o]=r}),t}createSegmentGroup(n,e,t,o){let r=this.createSegments(n,e.segments,t,o),a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,t,o)}),new ne(r,a)}createSegments(n,e,t,o){return e.map(r=>r.path[0]===":"?this.findPosParam(n,r,o):this.findOrReturn(r,t))}findPosParam(n,e,t){let o=t[e.path.substring(1)];if(!o)throw new H(4001,!1);return o}findOrReturn(n,e){let t=0;for(let o of e){if(o.path===n.path)return e.splice(t),o;t++}return n}},tl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dg(i,n,e,t,o){let r=xu(i,n,e);return r.matched?(t=Wf(n,t),yg(t,n,e,o).pipe(k(a=>a===!0?r:_({},tl)))):D(r)}function xu(i,n,e){if(n.path==="**")return xg(e);if(n.path==="")return n.pathMatch==="full"&&(i.hasChildren()||e.length>0)?_({},tl):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||Jd)(e,i,n);if(!o)return _({},tl);let r={};Object.entries(o.posParams??{}).forEach(([s,c])=>{r[s]=c.path});let a=o.consumed.length>0?_(_({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function xg(i){return{matched:!0,parameters:i.length>0?tu(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Zd(i,n,e,t){return e.length>0&&Ag(i,e,t)?{segmentGroup:new ne(n,Sg(t,new ne(e,i.children))),slicedSegments:[]}:e.length===0&&Ig(i,e,t)?{segmentGroup:new ne(i.segments,Eg(i,e,t,i.children)),slicedSegments:e}:{segmentGroup:new ne(i.segments,i.children),slicedSegments:e}}function Eg(i,n,e,t){let o={};for(let r of e)if(Yr(i,n,r)&&!t[_t(r)]){let a=new ne([],{});o[_t(r)]=a}return _(_({},t),o)}function Sg(i,n){let e={};e[W]=n;for(let t of i)if(t.path===""&&_t(t)!==W){let o=new ne([],{});e[_t(t)]=o}return e}function Ag(i,n,e){return e.some(t=>Yr(i,n,t)&&_t(t)!==W)}function Ig(i,n,e){return e.some(t=>Yr(i,n,t))}function Yr(i,n,e){return(i.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Mg(i,n,e){return n.length===0&&!i.children[e]}var il=class{};function Rg(i,n,e,t,o,r,a="emptyOnly"){return new nl(i,n,e,t,o,a,r).recognize()}var Tg=31,nl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,t,o,r,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=t,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new el(this.urlSerializer,this.urlTree)}noMatchError(n){return new H(4002,`'${n.segmentGroup}'`)}recognize(){let n=Zd(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(k(({children:e,rootSnapshot:t})=>{let o=new tt(t,e),r=new to("",o),a=du(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(n){let e=new _i([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),W,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,W,e).pipe(k(t=>({children:t,rootSnapshot:e})),Tt(t=>{if(t instanceof oo)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof no?this.noMatchError(t):t}))}processSegmentGroup(n,e,t,o,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(n,e,t,r):this.processSegment(n,e,t,t.segments,o,!0,r).pipe(k(a=>a instanceof tt?[a]:[]))}processChildren(n,e,t,o){let r=[];for(let a of Object.keys(t.children))a==="primary"?r.unshift(a):r.push(a);return Ie(r).pipe(Ft(a=>{let s=t.children[a],c=qf(e,a);return this.processSegmentGroup(n,c,s,a,o)}),Rc((a,s)=>(a.push(...s),a)),ts(null),Mc(),$e(a=>{if(a===null)return Gi(t);let s=Eu(a);return Fg(s),D(s)}))}processSegment(n,e,t,o,r,a,s){return Ie(e).pipe(Ft(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,t,o,r,a,s).pipe(Tt(h=>{if(h instanceof no)return D(null);throw h}))),jt(c=>!!c),Tt(c=>{if(wu(c))return Mg(t,o,r)?D(new il):Gi(t);throw c}))}processSegmentAgainstRoute(n,e,t,o,r,a,s,c){return _t(t)!==a&&(a===W||!Yr(o,r,t))?Gi(o):t.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,t,r,a,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,t,r,a,c):Gi(o)}expandSegmentAgainstRouteUsingRedirect(n,e,t,o,r,a,s){let{matched:c,parameters:h,consumedSegments:p,positionalParamSegments:M,remainingSegments:j}=xu(e,o,r);if(!c)return Gi(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Tg&&(this.allowRedirects=!1));let U=new _i(r,h,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Xd(o),_t(o),o.component??o._loadedComponent??null,o,Qd(o)),Y=$r(U,s,this.paramsInheritanceStrategy);U.params=Object.freeze(Y.params),U.data=Object.freeze(Y.data);let F=this.applyRedirects.applyRedirectCommands(p,o.redirectTo,M,U,n);return this.applyRedirects.lineralizeSegments(o,F).pipe($e(K=>this.processSegment(n,t,e,K.concat(j),a,!1,s)))}matchSegmentAgainstRoute(n,e,t,o,r,a){let s=Dg(e,t,o,n,this.urlSerializer);return t.path==="**"&&(e.children={}),s.pipe(we(c=>c.matched?(n=t._injector??n,this.getChildConfig(n,t,o).pipe(we(({routes:h})=>{let p=t._loadedInjector??n,{parameters:M,consumedSegments:j,remainingSegments:U}=c,Y=new _i(j,M,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Xd(t),_t(t),t.component??t._loadedComponent??null,t,Qd(t)),F=$r(Y,a,this.paramsInheritanceStrategy);Y.params=Object.freeze(F.params),Y.data=Object.freeze(F.data);let{segmentGroup:K,slicedSegments:Ze}=Zd(e,j,U,h);if(Ze.length===0&&K.hasChildren())return this.processChildren(p,h,K,Y).pipe(k(fe=>new tt(Y,fe)));if(h.length===0&&Ze.length===0)return D(new tt(Y,[]));let Vt=_t(t)===r;return this.processSegment(p,h,K,Ze,Vt?W:r,!0,Y).pipe(k(fe=>new tt(Y,fe instanceof tt?[fe]:[])))}))):Gi(e)))}getChildConfig(n,e,t){return e.children?D({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?D({routes:e._loadedRoutes,injector:e._loadedInjector}):bg(n,e,t,this.urlSerializer).pipe($e(o=>o?this.configLoader.loadChildren(n,e).pipe(de(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):wg(e))):D({routes:[],injector:n})}};function Fg(i){i.sort((n,e)=>n.value.outlet===W?-1:e.value.outlet===W?1:n.value.outlet.localeCompare(e.value.outlet))}function Og(i){let n=i.value.routeConfig;return n&&n.path===""}function Eu(i){let n=[],e=new Set;for(let t of i){if(!Og(t)){n.push(t);continue}let o=n.find(r=>t.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...t.children),e.add(o)):n.push(t)}for(let t of e){let o=Eu(t.children);n.push(new tt(t.value,o))}return n.filter(t=>!e.has(t))}function Xd(i){return i.data||{}}function Qd(i){return i.resolve||{}}function kg(i,n,e,t,o,r){return $e(a=>Rg(i,n,e,t,a.extractedUrl,o,r).pipe(k(({state:s,tree:c})=>re(_({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function Pg(i,n){return $e(e=>{let{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return D(e);let r=new Set(o.map(c=>c.route)),a=new Set;for(let c of r)if(!a.has(c))for(let h of Su(c))a.add(h);let s=0;return Ie(a).pipe(Ft(c=>r.has(c)?Lg(c,t,i,n):(c.data=$r(c,c.parent,i).resolve,D(void 0))),de(()=>s++),ns(1),$e(c=>s===a.size?D(e):pt))})}function Su(i){let n=i.children.map(e=>Su(e)).flat();return[i,...n]}function Lg(i,n,e,t){let o=i.routeConfig,r=i._resolve;return o?.title!==void 0&&!_u(o)&&(r[ro]=o.title),Ng(r,i,n,t).pipe(k(a=>(i._resolvedData=a,i.data=$r(i,i.parent,e).resolve,null)))}function Ng(i,n,e,t){let o=Gs(i);if(o.length===0)return D({});let r={};return Ie(o).pipe($e(a=>Bg(i[a],n,e,t).pipe(jt(),de(s=>{if(s instanceof Ji)throw Gr(new Wt,s);r[a]=s}))),ns(1),k(()=>r),Tt(a=>wu(a)?pt:di(a)))}function Bg(i,n,e,t){let o=ao(n)??t,r=tn(i,o),a=r.resolve?r.resolve(n,e):st(o,()=>r(n,e));return Kt(a)}function Hs(i){return we(n=>{let e=i(n);return e?Ie(e).pipe(k(()=>n)):D(n)})}var ll=(()=>{class i{buildTitle(e){let t,o=e.root;for(;o!==void 0;)t=this.getResolvedTitleForRoute(o)??t,o=o.children.find(r=>r.outlet===W);return t}getResolvedTitleForRoute(e){return e.data[ro]}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(Au),providedIn:"root"})}return i})(),Au=(()=>{class i extends ll{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||i)(A(Gd))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ci=new v("",{providedIn:"root",factory:()=>({})}),nn=new v(""),Kr=(()=>{class i{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(cd);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return D(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let t=Kt(e.loadComponent()).pipe(k(Mu),de(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Ot(()=>{this.componentLoaders.delete(e)})),o=new Qa(t,()=>new C).pipe(Xa());return this.componentLoaders.set(e,o),o}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return D({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let r=Iu(t,this.compiler,e,this.onLoadEndListener).pipe(Ot(()=>{this.childrenLoaders.delete(t)})),a=new Qa(r,()=>new C).pipe(Xa());return this.childrenLoaders.set(t,a),a}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Iu(i,n,e,t){return Kt(i.loadChildren()).pipe(k(Mu),$e(o=>o instanceof Xc||Array.isArray(o)?D(o):Ie(n.compileModuleAsync(o))),k(o=>{t&&t(i);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(e).injector,a=r.get(nn,[],{optional:!0,self:!0}).flat()),{routes:a.map(sl),injector:r}}))}function Vg(i){return i&&typeof i=="object"&&"default"in i}function Mu(i){return Vg(i)?i.default:i}var Zr=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(jg),providedIn:"root"})}return i})(),jg=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),cl=new v(""),dl=new v("");function Ru(i,n,e){let t=i.get(dl),o=i.get(R);return i.get(T).runOutsideAngular(()=>{if(!o.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(h=>setTimeout(h));let r,a=new Promise(h=>{r=h}),s=o.startViewTransition(()=>(r(),Ug(i))),{onViewTransitionCreated:c}=t;return c&&st(i,()=>c({transition:s,from:n,to:e})),a})}function Ug(i){return new Promise(n=>{Xe({read:()=>setTimeout(n)},{injector:i})})}var ul=new v(""),Xr=(()=>{class i{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new C;transitionAbortSubject=new C;configLoader=l(Kr);environmentInjector=l(Le);destroyRef=l(ls);urlSerializer=l(bi);rootContexts=l(yi);location=l(Dt);inputBindingEnabled=l(lo,{optional:!0})!==null;titleStrategy=l(ll);options=l(Ci,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=l(Zr);createViewTransition=l(cl,{optional:!0});navigationErrorHandler=l(ul,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>D(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new Lr(o)),t=o=>this.events.next(new Nr(o));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(re(_({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:t}))}setupNavigations(e){return this.transitions=new He(null),this.transitions.pipe(oe(t=>t!==null),we(t=>{let o=!1,r=!1;return D(t).pipe(we(a=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",We.SupersededByNewNavigation),pt;this.currentTransition=t,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?re(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&c!=="reload")return this.events.next(new It(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ki.IgnoredSameUrlNavigation)),a.resolve(!1),pt;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return D(a).pipe(we(h=>(this.events.next(new Yt(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),h.id!==this.navigationId?pt:Promise.resolve(h))),kg(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),de(h=>{t.targetSnapshot=h.targetSnapshot,t.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=re(_({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let p=new Qn(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(p)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:p,source:M,restoredState:j,extras:U}=a,Y=new Yt(h,this.urlSerializer.serialize(p),M,j);this.events.next(Y);let F=fu(this.rootComponentType).snapshot;return this.currentTransition=t=re(_({},a),{targetSnapshot:F,urlAfterRedirects:p,extras:re(_({},U),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,D(t)}else return this.events.next(new It(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ki.IgnoredByUrlHandlingStrategy)),a.resolve(!1),pt}),de(a=>{let s=new Fr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),k(a=>(this.currentTransition=t=re(_({},a),{guards:eg(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),t)),ug(this.environmentInjector,a=>this.events.next(a)),de(a=>{if(t.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Gr(this.urlSerializer,a.guardsResult);let s=new Or(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),oe(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",We.GuardRejected),!1)),Hs(a=>{if(a.guards.canActivateChecks.length!==0)return D(a).pipe(de(s=>{let c=new kr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}),we(s=>{let c=!1;return D(s).pipe(Pg(this.paramsInheritanceStrategy,this.environmentInjector),de({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(s,"",We.NoDataFromResolver)}}))}),de(s=>{let c=new Pr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}))}),Hs(a=>{let s=c=>{let h=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(c.routeConfig).pipe(de(p=>{c.component=p}),k(()=>{})));for(let p of c.children)h.push(...s(p));return h};return Ni(s(a.targetSnapshot.root)).pipe(ts(null),Re(1))}),Hs(()=>this.afterPreactivation()),we(()=>{let{currentSnapshot:a,targetSnapshot:s}=t,c=this.createViewTransition?.(this.environmentInjector,a.root,s.root);return c?Ie(c).pipe(k(()=>t)):D(t)}),k(a=>{let s=Kf(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=t=re(_({},a),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,t}),de(()=>{this.events.next(new Jn)}),Jf(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),Re(1),de({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new nt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),le(this.transitionAbortSubject.pipe(de(a=>{throw a}))),Ot(()=>{!o&&!r&&this.cancelNavigationTransition(t,"",We.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation=null,this.currentTransition=null)}),Tt(a=>{if(this.destroyed)return t.resolve(!1),pt;if(r=!0,Cu(a))this.events.next(new St(t.id,this.urlSerializer.serialize(t.extractedUrl),a.message,a.cancellationCode)),Qf(a)?this.events.next(new Qi(a.url,a.navigationBehaviorOptions)):t.resolve(!1);else{let s=new Zi(t.id,this.urlSerializer.serialize(t.extractedUrl),a,t.targetSnapshot??void 0);try{let c=st(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(c instanceof Ji){let{message:h,cancellationCode:p}=Gr(this.urlSerializer,c);this.events.next(new St(t.id,this.urlSerializer.serialize(t.extractedUrl),h,p)),this.events.next(new Qi(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(s),a}catch(c){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(c)}}return pt}))}))}cancelNavigationTransition(e,t,o){let r=new St(e.id,this.urlSerializer.serialize(e.extractedUrl),t,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function zg(i){return i!==Mr}var Tu=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(Hg),providedIn:"root"})}return i})(),qr=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Hg=(()=>{class i extends qr{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Fu=(()=>{class i{urlSerializer=l(bi);options=l(Ci,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(Dt);urlHandlingStrategy=l(Zr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new At;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:o}){let r=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,a=o??r;return a instanceof At?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:o}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,o),this.routerState=e):this.rawUrlTree=o}routerState=fu(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l($g),providedIn:"root"})}return i})(),$g=(()=>{class i extends Fu{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate")})})}handleRouterEvent(e,t){e instanceof Yt?this.updateStateMemento():e instanceof It?this.commitTransition(t):e instanceof Qn?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Jn?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof St&&(e.code===We.GuardRejected||e.code===We.NoDataFromResolver)?this.restoreHistory(t):e instanceof Zi?this.restoreHistory(t,!0):e instanceof nt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:t,id:o}){let{replaceUrl:r,state:a}=t;if(this.location.isCurrentPathEqualTo(e)||r){let s=this.browserPageId,c=_(_({},a),this.generateNgRouterState(o,s));this.location.replaceState(e,"",c)}else{let s=_(_({},a),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.getCurrentUrlTree()===e.finalUrl&&r===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Qr(i,n){i.events.pipe(oe(e=>e instanceof nt||e instanceof St||e instanceof Zi||e instanceof It),k(e=>e instanceof nt||e instanceof It?0:(e instanceof St?e.code===We.Redirect||e.code===We.SupersededByNewNavigation:!1)?2:1),oe(e=>e!==2),Re(1)).subscribe(()=>{n()})}var Gg={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Wg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ut=(()=>{class i{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l(cs);stateManager=l(Fu);options=l(Ci,{optional:!0})||{};pendingTasks=l(An);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(Xr);urlSerializer=l(bi);location=l(Dt);urlHandlingStrategy=l(Zr);_events=new C;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(Tu);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(nn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(lo,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Pe;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(t,r),t instanceof St&&t.code!==We.Redirect&&t.code!==We.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof nt)this.navigated=!0;else if(t instanceof Qi){let a=t.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(t.url,o.currentRawUrl),c=_({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||zg(o.source)},a);this.scheduleNavigation(s,Mr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Yg(t)&&this._events.next(t)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,o)=>{this.navigateToSyncWithBrowser(e,o,t)})}navigateToSyncWithBrowser(e,t,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=_({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(r.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,t,a,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(sl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:c}=t,h=c?this.currentUrlTree.fragment:a,p=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":p=_(_({},this.currentUrlTree.queryParams),r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}p!==null&&(p=this.removeEmptyProps(p));let M;try{let j=o?o.snapshot:this.routerState.snapshot.root;M=uu(j)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),M=this.currentUrlTree.root}return hu(M,e,p,h??null)}navigateByUrl(e,t={skipLocationChange:!1}){let o=qt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,Mr,null,t)}navigate(e,t={skipLocationChange:!1}){return qg(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let o;if(t===!0?o=_({},Gg):t===!1?o=_({},Wg):o=t,qt(e))return Wd(this.currentUrlTree,e,o);let r=this.parseUrl(e);return Wd(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((t,[o,r])=>(r!=null&&(t[o]=r),t),{})}scheduleNavigation(e,t,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,c,h;a?(s=a.resolve,c=a.reject,h=a.promise):h=new Promise((M,j)=>{s=M,c=j});let p=this.pendingTasks.add();return Qr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:c,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(M=>Promise.reject(M))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function qg(i){for(let n=0;n{class i{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new C;constructor(e,t,o,r,a,s){this.router=e,this.route=t,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(h=>{h instanceof nt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(qt(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||t||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let t=this.href===null?null:Yc(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){let o=this.renderer,r=this.el.nativeElement;t!==null?o.setAttribute(r,e,t):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:qt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||i)(y(ut),y(vt),ss("tabindex"),y(_e),y(P),y(gt))};static \u0275dir=I({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,o){t&1&&O("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),t&2&&V("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",L],skipLocationChange:[2,"skipLocationChange","skipLocationChange",L],replaceUrl:[2,"replaceUrl","replaceUrl",L],routerLink:"routerLink"},features:[me]})}return i})(),ml=(()=>{class i{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new q;constructor(e,t,o,r,a){this.router=e,this.element=t,this.renderer=o,this.cdr=r,this.link=a,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof nt&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe(Sn()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Ie(e).pipe(Sn()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){let t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let t=Kg(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let r=o.urlTree;return r?e.isActive(r,t):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(t){return new(t||i)(y(ut),y(P),y(_e),y(ye),y(Zt,8))};static \u0275dir=I({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(t,o,r){if(t&1&&he(r,Zt,5),t&2){let a;$(a=G())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[me]})}return i})();function Kg(i){return!!i.paths}var uo=class{};var Ou=(()=>{class i{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,o,r){this.router=e,this.injector=t,this.preloadingStrategy=o,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(oe(e=>e instanceof nt),Ft(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){let o=[];for(let r of t){r.providers&&!r._injector&&(r._injector=Jo(r.providers,e,`Route: ${r.path}`));let a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Ie(o).pipe(Sn())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let o;t.loadChildren&&t.canLoad===void 0?o=this.loader.loadChildren(e,t):o=D(null);let r=o.pipe($e(a=>a===null?D(void 0):(t._loadedRoutes=a.routes,t._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(t.loadComponent&&!t._loadedComponent){let a=this.loader.loadComponent(t);return Ie([r,a]).pipe(Sn())}else return r})}static \u0275fac=function(t){return new(t||i)(A(ut),A(Le),A(uo),A(Kr))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ku=new v(""),Zg=(()=>{class i{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,t,o,r,a={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=o,this.zone=r,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Yt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof nt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof It&&e.code===Ki.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Xi&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Xi(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){Xo()};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();function Xg(i){return i.routerState.root}function ho(i,n){return{\u0275kind:i,\u0275providers:n}}function Qg(){let i=l(ie);return n=>{let e=i.get(mi);if(n!==e.components[0])return;let t=i.get(ut),o=i.get(Pu);i.get(pl)===1&&t.initialNavigation(),i.get(Bu,null,as.Optional)?.setUpPreloading(),i.get(ku,null,as.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Pu=new v("",{factory:()=>new C}),pl=new v("",{providedIn:"root",factory:()=>1});function Lu(){let i=[{provide:pl,useValue:0},us(()=>{let n=l(ie);return n.get(_s,Promise.resolve()).then(()=>new Promise(t=>{let o=n.get(ut),r=n.get(Pu);Qr(o,()=>{t(!0)}),n.get(Xr).afterPreactivation=()=>(t(!0),r.closed?D(void 0):r),o.initialNavigation()}))})];return ho(2,i)}function Nu(){let i=[us(()=>{l(ut).setUpLocationChangeListener()}),{provide:pl,useValue:2}];return ho(3,i)}var Bu=new v("");function Vu(i){return ho(0,[{provide:Bu,useExisting:Ou},{provide:uo,useExisting:i}])}function ju(){return ho(8,[rl,{provide:lo,useExisting:rl}])}function Uu(i){Tn("NgRouterViewTransitions");let n=[{provide:cl,useValue:Ru},{provide:dl,useValue:_({skipNextTransition:!!i?.skipInitialTransition},i)}];return ho(9,n)}var zu=[Dt,{provide:bi,useClass:Wt},ut,yi,{provide:vt,useFactory:Xg,deps:[ut]},Kr,[]],Jr=(()=>{class i{constructor(){}static forRoot(e,t){return{ngModule:i,providers:[zu,[],{provide:nn,multi:!0,useValue:e},[],t?.errorHandler?{provide:ul,useValue:t.errorHandler}:[],{provide:Ci,useValue:t||{}},t?.useHash?e_():t_(),Jg(),t?.preloadingStrategy?Vu(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?i_(t):[],t?.bindToComponentInputs?ju().\u0275providers:[],t?.enableViewTransitions?Uu().\u0275providers:[],n_()]}}static forChild(e){return{ngModule:i,providers:[{provide:nn,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();function Jg(){return{provide:ku,useFactory:()=>{let i=l(wd),n=l(T),e=l(Ci),t=l(Xr),o=l(bi);return e.scrollOffset&&i.setOffset(e.scrollOffset),new Zg(o,t,i,n,e)}}}function e_(){return{provide:gt,useClass:vs}}function t_(){return{provide:gt,useClass:lr}}function i_(i){return[i.initialNavigation==="disabled"?Nu().\u0275providers:[],i.initialNavigation==="enabledBlocking"?Lu().\u0275providers:[]]}var hl=new v("");function n_(){return[{provide:hl,useFactory:Qg},{provide:ed,multi:!0,useExisting:hl}]}var wi="http://localhost:8080/api/tutorials",on=(()=>{class i{http;constructor(e){this.http=e}getAll(){return this.http.get(wi)}get(e){return this.http.get(`${wi}/${e}`)}create(e){return this.http.post(wi,e)}update(e,t){return this.http.put(`${wi}/${e}`,t)}delete(e){return this.http.delete(`${wi}/${e}`)}deleteAll(){return this.http.delete(wi)}findByTitle(e){return this.http.get(`${wi}?title=${e}`)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Ku=(()=>{class i{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||i)(y(_e),y(P))};static \u0275dir=I({type:i})}return i})(),o_=(()=>{class i extends Ku{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,features:[ee]})}return i})(),Di=new v("");var r_={provide:Di,useExisting:Ve(()=>Ne),multi:!0};function a_(){let i=et()?et().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var s_=new v(""),Ne=(()=>{class i extends Ku{_compositionMode;_composing=!1;constructor(e,t,o){super(e,t),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!a_())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(t){return new(t||i)(y(_e),y(P),y(s_,8))};static \u0275dir=I({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,o){t&1&&O("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},standalone:!1,features:[se([r_]),ee]})}return i})();function vl(i){return i==null||bl(i)===0}function bl(i){return i==null?null:Array.isArray(i)||typeof i=="string"?i.length:i instanceof Set?i.size:null}var Jt=new v(""),ma=new v(""),l_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,sn=class{static min(n){return c_(n)}static max(n){return d_(n)}static required(n){return Zu(n)}static requiredTrue(n){return u_(n)}static email(n){return Xu(n)}static minLength(n){return Qu(n)}static maxLength(n){return Ju(n)}static pattern(n){return h_(n)}static nullValidator(n){return ta()}static compose(n){return rh(n)}static composeAsync(n){return ah(n)}};function c_(i){return n=>{if(n.value==null||i==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(n.value==null||i==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}function Zu(i){return vl(i.value)?{required:!0}:null}function u_(i){return i.value===!0?null:{required:!0}}function Xu(i){return vl(i.value)||l_.test(i.value)?null:{email:!0}}function Qu(i){return n=>{let e=n.value?.length??bl(n.value);return e===null||e===0?null:e{let e=n.value?.length??bl(n.value);return e!==null&&e>i?{maxlength:{requiredLength:i,actualLength:e}}:null}}function h_(i){if(!i)return ta;let n,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),t=>{if(vl(t.value))return null;let o=t.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function ta(i){return null}function eh(i){return i!=null}function th(i){return On(i)?Ie(i):i}function ih(i){let n={};return i.forEach(e=>{n=e!=null?_(_({},n),e):n}),Object.keys(n).length===0?null:n}function nh(i,n){return n.map(e=>e(i))}function m_(i){return!i.validate}function oh(i){return i.map(n=>m_(n)?n:e=>n.validate(e))}function rh(i){if(!i)return null;let n=i.filter(eh);return n.length==0?null:function(e){return ih(nh(e,n))}}function yl(i){return i!=null?rh(oh(i)):null}function ah(i){if(!i)return null;let n=i.filter(eh);return n.length==0?null:function(e){let t=nh(e,n).map(th);return qo(t).pipe(k(ih))}}function Cl(i){return i!=null?ah(oh(i)):null}function Hu(i,n){return i===null?[n]:Array.isArray(i)?[...i,n]:[i,n]}function sh(i){return i._rawValidators}function lh(i){return i._rawAsyncValidators}function _l(i){return i?Array.isArray(i)?i:[i]:[]}function ia(i,n){return Array.isArray(i)?i.includes(n):i===n}function $u(i,n){let e=_l(n);return _l(i).forEach(o=>{ia(e,o)||e.push(o)}),e}function Gu(i,n){return _l(n).filter(e=>!ia(i,e))}var na=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=yl(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Cl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Xt=class extends na{name;get formDirective(){return null}get path(){return null}},bt=class extends na{_parent=null;name=null;valueAccessor=null},oa=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},p_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},nx=re(_({},p_),{"[class.ng-submitted]":"isSubmitted"}),qe=(()=>{class i extends oa{constructor(e){super(e)}static \u0275fac=function(t){return new(t||i)(y(bt,2))};static \u0275dir=I({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){t&2&&N("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[ee]})}return i})(),ei=(()=>{class i extends oa{constructor(e){super(e)}static \u0275fac=function(t){return new(t||i)(y(Xt,10))};static \u0275dir=I({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){t&2&&N("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[ee]})}return i})();var mo="VALID",ea="INVALID",rn="PENDING",po="DISABLED",Qt=class{},ra=class extends Qt{value;source;constructor(n,e){super(),this.value=n,this.source=e}},go=class extends Qt{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},_o=class extends Qt{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},an=class extends Qt{status;source;constructor(n,e){super(),this.status=n,this.source=e}},aa=class extends Qt{source;constructor(n){super(),this.source=n}},sa=class extends Qt{source;constructor(n){super(),this.source=n}};function ch(i){return(pa(i)?i.validators:i)||null}function f_(i){return Array.isArray(i)?yl(i):i||null}function dh(i,n){return(pa(n)?n.asyncValidators:i)||null}function g_(i){return Array.isArray(i)?Cl(i):i||null}function pa(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function __(i,n,e){let t=i.controls;if(!(n?Object.keys(t):t).length)throw new H(1e3,"");if(!t[e])throw new H(1001,"")}function v_(i,n,e){i._forEachChild((t,o)=>{if(e[o]===void 0)throw new H(1002,"")})}var la=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ct(this.statusReactive)}set status(n){ct(()=>this.statusReactive.set(n))}_status=Pt(()=>this.statusReactive());statusReactive=Ct(void 0);get valid(){return this.status===mo}get invalid(){return this.status===ea}get pending(){return this.status==rn}get disabled(){return this.status===po}get enabled(){return this.status!==po}errors;get pristine(){return ct(this.pristineReactive)}set pristine(n){ct(()=>this.pristineReactive.set(n))}_pristine=Pt(()=>this.pristineReactive());pristineReactive=Ct(!0);get dirty(){return!this.pristine}get touched(){return ct(this.touchedReactive)}set touched(n){ct(()=>this.touchedReactive.set(n))}_touched=Pt(()=>this.touchedReactive());touchedReactive=Ct(!1);get untouched(){return!this.touched}_events=new C;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators($u(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators($u(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Gu(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Gu(n,this._rawAsyncValidators))}hasValidator(n){return ia(this._rawValidators,n)}hasAsyncValidator(n){return ia(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(re(_({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new _o(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new _o(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(re(_({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new go(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new go(!0,t))}markAsPending(n={}){this.status=rn;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new an(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(re(_({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=po,this.errors=null,this._forEachChild(o=>{o.disable(re(_({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ra(this.value,t)),this._events.next(new an(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(re(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=mo,this._forEachChild(t=>{t.enable(re(_({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(re(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mo||this.status===rn)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ra(this.value,e)),this._events.next(new an(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(re(_({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?po:mo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=rn,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=th(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,o)=>t&&t._find(o),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new an(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new q,this.statusChanges=new q}_calculateStatus(){return this._allControlsDisabled()?po:this.errors?ea:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rn)?rn:this._anyControlsHaveStatus(ea)?ea:mo}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),o=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new go(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new _o(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){pa(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=f_(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=g_(this._rawAsyncValidators)}},ca=class extends la{constructor(n,e,t){super(ch(e),dh(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){v_(this,!0,n),Object.keys(n).forEach(t=>{__(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let o=this.controls[t];o&&o.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,o)=>{t.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,o)=>((t.enabled||this.disabled)&&(e[o]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((o,r)=>{t=e(t,o,r)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var ln=new v("",{providedIn:"root",factory:()=>fa}),fa="always";function b_(i,n){return[...n.path,i]}function vo(i,n,e=fa){wl(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(i.disabled),C_(i,n),D_(i,n),w_(i,n),y_(i,n)}function da(i,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ha(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ua(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function y_(i,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function wl(i,n){let e=sh(i);n.validator!==null?i.setValidators(Hu(e,n.validator)):typeof e=="function"&&i.setValidators([e]);let t=lh(i);n.asyncValidator!==null?i.setAsyncValidators(Hu(t,n.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let o=()=>i.updateValueAndValidity();ua(n._rawValidators,o),ua(n._rawAsyncValidators,o)}function ha(i,n){let e=!1;if(i!==null){if(n.validator!==null){let o=sh(i);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==n.validator);r.length!==o.length&&(e=!0,i.setValidators(r))}}if(n.asyncValidator!==null){let o=lh(i);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==n.asyncValidator);r.length!==o.length&&(e=!0,i.setAsyncValidators(r))}}}let t=()=>{};return ua(n._rawValidators,t),ua(n._rawAsyncValidators,t),e}function C_(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&uh(i,n)})}function w_(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&uh(i,n),i.updateOn!=="submit"&&i.markAsTouched()})}function uh(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function D_(i,n){let e=(t,o)=>{n.valueAccessor.writeValue(t),o&&n.viewToModelUpdate(t)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function hh(i,n){i==null,wl(i,n)}function x_(i,n){return ha(i,n)}function mh(i,n){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function E_(i){return Object.getPrototypeOf(i.constructor)===o_}function ph(i,n){i._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function fh(i,n){if(!n)return null;Array.isArray(n);let e,t,o;return n.forEach(r=>{r.constructor===Ne?e=r:E_(r)?t=r:o=r}),o||t||e||null}function S_(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}var A_={provide:Xt,useExisting:Ve(()=>ot)},fo=Promise.resolve(),ot=(()=>{class i extends Xt{callSetDisabledState;get submitted(){return ct(this.submittedReactive)}_submitted=Pt(()=>this.submittedReactive());submittedReactive=Ct(!1);_directives=new Set;form;ngSubmit=new q;options;constructor(e,t,o){super(),this.callSetDisabledState=o,this.form=new ca({},yl(e),Cl(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){fo.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),vo(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){fo.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){fo.then(()=>{let t=this._findContainer(e.path),o=new ca({});hh(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){fo.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){fo.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),ph(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new aa(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new sa(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(t){return new(t||i)(y(Jt,10),y(ma,10),y(ln,8))};static \u0275dir=I({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){t&1&&O("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[se([A_]),ee]})}return i})();function Wu(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}function qu(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var bo=class extends la{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,t){super(ch(e),dh(t,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pa(e)&&(e.nonNullable||e.initialValueIsDefault)&&(qu(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Wu(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Wu(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){qu(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var I_=i=>i instanceof bo;var M_={provide:bt,useExisting:Ve(()=>rt)},Yu=Promise.resolve(),rt=(()=>{class i extends bt{_changeDetectorRef;callSetDisabledState;control=new bo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new q;constructor(e,t,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=fh(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mh(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){vo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Yu.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,o=t!==0&&L(t);Yu.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?b_(e,this._parent):[e]}static \u0275fac=function(t){return new(t||i)(y(Xt,9),y(Jt,10),y(ma,10),y(Di,10),y(ye,8),y(ln,8))};static \u0275dir=I({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[se([M_]),ee,me]})}return i})();var ti=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return i})();var gh=new v(""),R_={provide:bt,useExisting:Ve(()=>Dl)},Dl=(()=>{class i extends bt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new q;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=fh(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&da(t,this,!1),vo(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mh(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&da(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(t){return new(t||i)(y(Jt,10),y(ma,10),y(Di,10),y(gh,8),y(ln,8))};static \u0275dir=I({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[se([R_]),ee,me]})}return i})(),T_={provide:Xt,useExisting:Ve(()=>yo)},yo=(()=>{class i extends Xt{callSetDisabledState;get submitted(){return ct(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Pt(()=>this._submittedReactive());_submittedReactive=Ct(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new q;constructor(e,t,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ha(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return vo(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){da(e.control||null,e,!1),S_(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),ph(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new aa(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new sa(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,o=this.form.get(e.path);t!==o&&(da(t||null,e),I_(o)&&(vo(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);hh(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&x_(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){wl(this.form,this),this._oldForm&&ha(this._oldForm,this)}static \u0275fac=function(t){return new(t||i)(y(Jt,10),y(ma,10),y(ln,8))};static \u0275dir=I({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,o){t&1&&O("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[se([T_]),ee,me]})}return i})();function _h(i){return typeof i=="number"?i:parseInt(i,10)}var ga=(()=>{class i{_validator=ta;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):ta,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,features:[me]})}return i})();var F_={provide:Jt,useExisting:Ve(()=>xi),multi:!0};var xi=(()=>{class i extends ga{required;inputName="required";normalizeInput=L;createValidator=e=>Zu;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,o){t&2&&V("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[se([F_]),ee]})}return i})();var O_={provide:Jt,useExisting:Ve(()=>xl),multi:!0},xl=(()=>{class i extends ga{email;inputName="email";normalizeInput=L;createValidator=e=>Xu;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[se([O_]),ee]})}return i})(),k_={provide:Jt,useExisting:Ve(()=>Co),multi:!0},Co=(()=>{class i extends ga{minlength;inputName="minlength";normalizeInput=e=>_h(e);createValidator=e=>Qu(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&V("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[se([k_]),ee]})}return i})(),P_={provide:Jt,useExisting:Ve(()=>El),multi:!0},El=(()=>{class i extends ga{maxlength;inputName="maxlength";normalizeInput=e=>_h(e);createValidator=e=>Ju(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&V("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[se([P_]),ee]})}return i})();var vh=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();var cn=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:ln,useValue:e.callSetDisabledState??fa}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[vh]})}return i})(),bh=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:gh,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ln,useValue:e.callSetDisabledState??fa}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[vh]})}return i})();function L_(i,n){if(i&1){let e=ge();u(0,"li",11),O("click",function(){let o=Q(e),r=o.$implicit,a=o.index,s=w();return J(s.setActiveTutorial(r,a))}),f(1),d()}if(i&2){let e=n.$implicit,t=n.index,o=w();N("active",t==o.currentIndex),m(),be(" ",e.title," ")}}function N_(i,n){if(i&1&&(u(0,"div")(1,"h4"),f(2,"Tutorial"),d(),u(3,"div")(4,"label")(5,"strong"),f(6,"Title:"),d()(),f(7),d(),u(8,"div")(9,"label")(10,"strong"),f(11,"Description:"),d()(),f(12),d(),u(13,"div")(14,"label")(15,"strong"),f(16,"Status:"),d()(),f(17),d(),u(18,"a",12),f(19," Edit "),d()()),i&2){let e=w();m(7),be(" ",e.currentTutorial.title," "),m(5),be(" ",e.currentTutorial.description," "),m(5),be(" ",e.currentTutorial.published?"Published":"Pending"," "),m(),nd("routerLink","/tutorials/",e.currentTutorial.id,"")}}function B_(i,n){i&1&&(u(0,"div"),z(1,"br"),u(2,"p"),f(3,"Please click on a Tutorial..."),d()())}var yh=(()=>{class i{tutorialService;tutorials;currentTutorial={};currentIndex=-1;title="";constructor(e){this.tutorialService=e}ngOnInit(){this.retrieveTutorials()}retrieveTutorials(){this.tutorialService.getAll().subscribe(e=>{this.tutorials=e,console.log(e)},e=>{console.log(e)})}refreshList(){this.retrieveTutorials(),this.currentTutorial={},this.currentIndex=-1}setActiveTutorial(e,t){this.currentTutorial=e,this.currentIndex=t}removeAllTutorials(){this.tutorialService.deleteAll().subscribe(e=>{console.log(e),this.refreshList()},e=>{console.log(e)})}searchTitle(){this.currentTutorial={},this.currentIndex=-1,this.tutorialService.findByTitle(this.title).subscribe(e=>{this.tutorials=e,console.log(e)},e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)(y(on))};static \u0275cmp=x({type:i,selectors:[["app-tutorials-list"]],standalone:!1,decls:17,vars:4,consts:[[1,"list","row"],[1,"col-md-8"],[1,"input-group","mb-3"],["type","text","placeholder","Search by title",1,"form-control",3,"ngModelChange","ngModel"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"col-md-6"],[1,"list-group"],["class","list-group-item",3,"active","click",4,"ngFor","ngForOf"],[1,"m-3","btn","btn-sm","btn-danger",3,"click"],[4,"ngIf"],[1,"list-group-item",3,"click"],[1,"badge","badge-warning",3,"routerLink"]],template:function(t,o){t&1&&(u(0,"div",0)(1,"div",1)(2,"div",2)(3,"input",3),Se("ngModelChange",function(a){return Ee(o.title,a)||(o.title=a),a}),d(),u(4,"div",4)(5,"button",5),O("click",function(){return o.searchTitle()}),f(6," Search "),d()()()(),u(7,"div",6)(8,"h4"),f(9,"Tutorials List"),d(),u(10,"ul",7),E(11,L_,2,3,"li",8),d(),u(12,"button",9),O("click",function(){return o.removeAllTutorials()}),f(13," Remove All "),d()(),u(14,"div",6),E(15,N_,20,5,"div",10)(16,B_,4,0,"div",10),d()()),t&2&&(m(3),xe("ngModel",o.title),m(8),b("ngForOf",o.tutorials),m(4),b("ngIf",o.currentTutorial.id),m(),b("ngIf",!o.currentTutorial))},dependencies:[Ht,Ue,Zt,Ne,qe,rt],styles:[".list[_ngcontent-%COMP%]{text-align:left;max-width:750px;margin:auto}"]})}return i})();function V_(i,n){if(i&1){let e=ge();u(0,"button",11),O("click",function(){Q(e);let o=w(2);return J(o.updatePublished(!1))}),f(1," UnPublish "),d()}}function j_(i,n){if(i&1){let e=ge();u(0,"button",11),O("click",function(){Q(e);let o=w(2);return J(o.updatePublished(!0))}),f(1," Publish "),d()}}function U_(i,n){if(i&1){let e=ge();u(0,"div",2)(1,"h4"),f(2,"Tutorial"),d(),u(3,"form")(4,"div",3)(5,"label",4),f(6,"Title"),d(),u(7,"input",5),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.currentTutorial.title,o)||(r.currentTutorial.title=o),J(o)}),d()(),u(8,"div",3)(9,"label",6),f(10,"Description"),d(),u(11,"input",7),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.currentTutorial.description,o)||(r.currentTutorial.description=o),J(o)}),d()(),u(12,"div",3)(13,"label")(14,"strong"),f(15,"Status:"),d()(),f(16),d()(),E(17,V_,2,0,"button",8)(18,j_,2,0,"button",8),u(19,"button",9),O("click",function(){Q(e);let o=w();return J(o.deleteTutorial())}),f(20," Delete "),d(),u(21,"button",10),O("click",function(){Q(e);let o=w();return J(o.updateTutorial())}),f(22," Update "),d(),u(23,"p"),f(24),d()()}if(i&2){let e=w();m(7),xe("ngModel",e.currentTutorial.title),m(4),xe("ngModel",e.currentTutorial.description),m(5),be(" ",e.currentTutorial.published?"Published":"Pending"," "),m(),b("ngIf",e.currentTutorial.published),m(),b("ngIf",!e.currentTutorial.published),m(6),Oe(e.message)}}function z_(i,n){i&1&&(u(0,"div"),z(1,"br"),u(2,"p"),f(3,"Cannot access this Tutorial..."),d()())}var Ch=(()=>{class i{tutorialService;route;router;currentTutorial={title:"",description:"",published:!1};message="";constructor(e,t,o){this.tutorialService=e,this.route=t,this.router=o}ngOnInit(){this.message="",this.getTutorial(this.route.snapshot.params.id)}getTutorial(e){this.tutorialService.get(e).subscribe(t=>{this.currentTutorial=t,console.log(t)},t=>{console.log(t)})}updatePublished(e){let t={title:this.currentTutorial.title,description:this.currentTutorial.description,published:e};this.message="",this.tutorialService.update(this.currentTutorial.id,t).subscribe(o=>{this.currentTutorial.published=e,console.log(o),this.message=o.message?o.message:"The status was updated successfully!"},o=>{console.log(o)})}updateTutorial(){this.message="",this.tutorialService.update(this.currentTutorial.id,this.currentTutorial).subscribe(e=>{console.log(e),this.message=e.message?e.message:"This tutorial was updated successfully!"},e=>{console.log(e)})}deleteTutorial(){this.tutorialService.delete(this.currentTutorial.id).subscribe(e=>{console.log(e),this.router.navigate(["/tutorials"])},e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)(y(on),y(vt),y(ut))};static \u0275cmp=x({type:i,selectors:[["app-tutorial-details"]],standalone:!1,decls:3,vars:2,consts:[["class","edit-form",4,"ngIf"],[4,"ngIf"],[1,"edit-form"],[1,"form-group"],["for","title"],["type","text","id","title","name","title",1,"form-control",3,"ngModelChange","ngModel"],["for","description"],["type","text","id","description","name","description",1,"form-control",3,"ngModelChange","ngModel"],["class","badge badge-primary mr-2",3,"click",4,"ngIf"],[1,"badge","badge-danger","mr-2",3,"click"],["type","submit",1,"badge","badge-success","mb-2",3,"click"],[1,"badge","badge-primary","mr-2",3,"click"]],template:function(t,o){t&1&&(u(0,"div"),E(1,U_,25,6,"div",0)(2,z_,4,0,"div",1),d()),t&2&&(m(),b("ngIf",o.currentTutorial.id),m(),b("ngIf",!o.currentTutorial.id))},dependencies:[Ue,ti,Ne,qe,ei,rt,ot],styles:[".edit-form[_ngcontent-%COMP%]{max-width:400px;margin:auto}"]})}return i})();function H_(i,n){if(i&1){let e=ge();u(0,"div")(1,"div",2)(2,"label",3),f(3,"Title"),d(),u(4,"input",4),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.tutorial.title,o)||(r.tutorial.title=o),J(o)}),d()(),u(5,"div",2)(6,"label",5),f(7,"Description"),d(),u(8,"input",6),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.tutorial.description,o)||(r.tutorial.description=o),J(o)}),d()(),u(9,"button",7),O("click",function(){Q(e);let o=w();return J(o.saveTutorial())}),f(10,"Submit"),d()()}if(i&2){let e=w();m(4),xe("ngModel",e.tutorial.title),m(4),xe("ngModel",e.tutorial.description)}}function $_(i,n){if(i&1){let e=ge();u(0,"div")(1,"h4"),f(2,"Tutorial was submitted successfully!"),d(),u(3,"button",7),O("click",function(){Q(e);let o=w();return J(o.newTutorial())}),f(4,"Add"),d()()}}var wh=(()=>{class i{tutorialService;tutorial={title:"",description:"",published:!1};submitted=!1;constructor(e){this.tutorialService=e}ngOnInit(){}saveTutorial(){let e={title:this.tutorial.title,description:this.tutorial.description};this.tutorialService.create(e).subscribe(t=>{console.log(t),this.submitted=!0},t=>{console.log(t)})}newTutorial(){this.submitted=!1,this.tutorial={title:"",description:"",published:!1}}static \u0275fac=function(t){return new(t||i)(y(on))};static \u0275cmp=x({type:i,selectors:[["app-add-tutorial"]],standalone:!1,decls:4,vars:2,consts:[[1,"submit-form"],[4,"ngIf"],[1,"form-group"],["for","title"],["type","text","id","title","required","","name","title",1,"form-control",3,"ngModelChange","ngModel"],["for","description"],["id","description","required","","name","description",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-success",3,"click"]],template:function(t,o){t&1&&(u(0,"div")(1,"div",0),E(2,H_,11,2,"div",1)(3,$_,5,0,"div",1),d()()),t&2&&(m(2),b("ngIf",!o.submitted),m(),b("ngIf",o.submitted))},dependencies:[Ue,Ne,qe,xi,rt],styles:[".submit-form[_ngcontent-%COMP%]{max-width:400px;margin:auto}"]})}return i})();function ze(i,...n){return n.length?n.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var _a="http://localhost:8080/api/users",va=(()=>{class i{http;constructor(e){this.http=e}getPublicContent(){return this.http.get(_a+"/all",{responseType:"text"})}getUserBoard(){return this.http.get(_a+"/user",{responseType:"text"})}getModeratorBoard(){return this.http.get(_a+"/mod",{responseType:"text"})}getAdminBoard(){return this.http.get(_a)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var G_="http://localhost:8080/api/roles",xh=(()=>{class i{http;constructor(e){this.http=e}getAllRoles(){return this.http.get(G_)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ba;function q_(){if(ba===void 0&&(ba=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(ba=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return ba}function wo(i){return q_()?.createHTML(i)||i}function Eh(i){return Error(`Unable to find icon with the name "${i}"`)}function Y_(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Sh(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Ah(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Nt=class{url;svgText;options;svgElement;constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},Mh=(()=>{class i{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,o,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,r){return this._addSvgIconConfig(e,t,new Nt(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,r){let a=this._sanitizer.sanitize(Qe.HTML,o);if(!a)throw Ah(o);let s=wo(a);return this._addSvgIconConfig(e,t,new Nt("",s,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new Nt(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){let r=this._sanitizer.sanitize(Qe.HTML,t);if(!r)throw Ah(t);let a=wo(r);return this._addSvgIconSetConfig(e,new Nt("",a,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Qe.RESOURCE_URL,e);if(!t)throw Sh(e);let o=this._cachedIconsByUrl.get(t);return o?D(ya(o)):this._loadSvgIconFromConfig(new Nt(e,null)).pipe(de(r=>this._cachedIconsByUrl.set(t,r)),k(r=>ya(r)))}getNamedSvgIcon(e,t=""){let o=Ih(t,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):di(Eh(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?D(ya(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(t=>ya(t)))}_getSvgFromIconSetConfigs(e,t){let o=this._extractIconWithNameFromAnySet(e,t);if(o)return D(o);let r=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Tt(s=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(Qe.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(h)),D(null)})));return qo(r).pipe(k(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Eh(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){let r=t[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(de(t=>e.svgText=t),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?D(null):this._fetchIcon(e).pipe(de(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let s=this._svgElementFromString(wo(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let t=this._svgElementFromString(wo("")),o=e.attributes;for(let r=0;rwo(h)),Ot(()=>this._inProgressUrlFetches.delete(a)),Tc());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(Ih(e,t),o),this}_addSvgIconSetConfig(e,t){let o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;o19||r===19&&a>0||r===0&&a===0?i.listen(n,e,t,o):(n.addEventListener(e,t,o),()=>{n.removeEventListener(e,t,o)})}var Il;try{Il=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Il=!1}var te=(()=>{class i{_platformId=l(zt);isBrowser=this._platformId?Cs(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Il)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Eo;function Th(){if(Eo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Eo=!0}))}finally{Eo=Eo||!1}return Eo}function dn(i){return Th()?i:!!i.capture}function un(i,n=0){return Fh(i)?Number(i):arguments.length===2?n:0}function Fh(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function at(i){return i instanceof P?i.nativeElement:i}var Oh=new v("cdk-input-modality-detector-options"),kh={ignoreKeys:[18,17,224,91,16]},Ph=650,Ml={passive:!0,capture:!0},Lh=(()=>{class i{_platform=l(te);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new He(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Be(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(xo(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Be(e)};constructor(){let e=l(T),t=l(R),o=l(Oh,{optional:!0});if(this._options=_(_({},kh),o),this.modalityDetected=this._modality.pipe(Ko(1)),this.modalityChanged=this.modalityDetected.pipe(is()),this._platform.isBrowser){let r=l(Fe).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Ye(r,t,"keydown",this._onKeydown,Ml),Ye(r,t,"mousedown",this._onMousedown,Ml),Ye(r,t,"touchstart",this._onTouchstart,Ml)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),So=(function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i})(So||{}),Nh=new v("cdk-focus-monitor-default-options"),Ca=dn({passive:!0,capture:!0}),Ai=(()=>{class i{_ngZone=l(T);_platform=l(te);_inputModalityDetector=l(Lh);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=l(R,{optional:!0});_stopInputModalityDetector=new C;constructor(){let e=l(Nh,{optional:!0});this._detectionMode=e?.detectionMode||So.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=Be(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=at(e);if(!this._platform.isBrowser||o.nodeType!==1)return D();let r=Al(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new C,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=at(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=at(e),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,c])=>this._originChanged(s,t,c)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===So.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===So.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ph:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=Be(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ca)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(le(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ca),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class i{_appRef;_injector=l(ie);_environmentInjector=l(Le);load(e){let t=this._appRef=this._appRef||this._injector.get(mi),o=wa.get(t);o||(o={loaders:new Set,refs:[]},wa.set(t,o),t.onDestroy(()=>{wa.get(t)?.refs.forEach(r=>r.destroy()),wa.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(rr(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var hn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} -`],encapsulation:2,changeDetection:0})}return i})();function mn(i){return Array.isArray(i)?i:[i]}var Bh=new Set,Ii,jh=(()=>{class i{_platform=l(te);_nonce=l(Rn,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X_}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Z_(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Z_(i,n){if(!Bh.has(i))try{Ii||(Ii=document.createElement("style"),n&&Ii.setAttribute("nonce",n),Ii.setAttribute("type","text/css"),document.head.appendChild(Ii)),Ii.sheet&&(Ii.sheet.insertRule(`@media ${i} {body{ }}`,0),Bh.add(i))}catch(e){console.error(e)}}function X_(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Ao=(()=>{class i{_mediaMatcher=l(jh);_zone=l(T);_queries=new Map;_destroySubject=new C;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vh(mn(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Vh(mn(e)).map(a=>this._registerQuery(a).observable),r=Ni(o);return r=Wo(r.pipe(Re(1)),r.pipe(Ko(1),Yo(0))),r.pipe(k(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:h})=>{s.matches=s.matches||c,s.breakpoints[h]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new mt(a=>{let s=c=>this._zone.run(()=>a.next(c));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Te(t),k(({matches:a})=>({query:e,matches:a})),le(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Vh(i){return i.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var Fl=(()=>{class i{_platform=l(te);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return J_(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=Q_(sv(e));if(t&&(Uh(t)===-1||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=Uh(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!rv(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return av(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Q_(i){try{return i.frameElement}catch{return null}}function J_(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function ev(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function tv(i){return nv(i)&&i.type=="hidden"}function iv(i){return ov(i)&&i.hasAttribute("href")}function nv(i){return i.nodeName.toLowerCase()=="input"}function ov(i){return i.nodeName.toLowerCase()=="a"}function $h(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Uh(i){if(!$h(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function rv(i){let n=i.nodeName.toLowerCase(),e=n==="input"&&i.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function av(i){return tv(i)?!1:ev(i)||iv(i)||i.hasAttribute("contenteditable")||$h(i)}function sv(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var Tl=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,t,o,r=!1,a){this._element=n,this._checker=e,this._ngZone=t,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let t=0;t=0;t--){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Xe(n,{injector:this._injector}):setTimeout(n)}},Ol=(()=>{class i{_checker=l(Fl);_ngZone=l(T);_document=l(R);_injector=l(ie);constructor(){l(ke).load(hn)}create(e,t=!1){return new Tl(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ii=(function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i})(ii||{}),zh="cdk-high-contrast-black-on-white",Hh="cdk-high-contrast-white-on-black",Rl="cdk-high-contrast-active",kl=(()=>{class i{_platform=l(te);_hasCheckedHighContrastMode;_document=l(R);_breakpointSubscription;constructor(){this._breakpointSubscription=l(Ao).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ii.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ii.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ii.BLACK_ON_WHITE}return ii.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Rl,zh,Hh),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===ii.BLACK_ON_WHITE?e.add(Rl,zh):t===ii.WHITE_ON_BLACK&&e.add(Rl,Hh)}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Pl={},Ae=(()=>{class i{_appId=l(Mn);getId(e){return this._appId!=="ng"&&(e+=this._appId),Pl.hasOwnProperty(e)||(Pl[e]=0),`${e}${Pl[e]++}`}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var lv=200,Da=class{_letterKeyStream=new C;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C;selectedItem=this._selectedItem;constructor(n,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:lv;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(de(e=>this._pressedLetters.push(e)),Yo(n),oe(()=>this._pressedLetters.length>0),k(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tn.disabled;constructor(n,e){this._items=n,n instanceof In?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):ui(n)&&(this._effectRef=or(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new C;change=new C;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Da(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t,this._typeahead?.setCurrentSelectedItemIndex(t))}}};var Mo=class extends pn{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Ro=class extends pn{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Gh=" ";function Ll(i,n,e){let t=Wh(i,n);e=e.trim(),!t.some(o=>o.trim()===e)&&(t.push(e),i.setAttribute(n,t.join(Gh)))}function Ea(i,n,e){let t=Wh(i,n);e=e.trim();let o=t.filter(r=>r!==e);o.length?i.setAttribute(n,o.join(Gh)):i.removeAttribute(n)}function Wh(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var dv=new v("cdk-dir-doc",{providedIn:"root",factory:uv});function uv(){return l(R)}var hv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function qh(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?hv.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ke=(()=>{class i{value="ltr";change=new q;constructor(){let e=l(dv,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=qh(t||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Nl=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();var gn=(()=>{class i{constructor(){l(kl)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[Nl,Nl]})}return i})();var mv=["*"],pv=new v("MAT_ICON_DEFAULT_OPTIONS"),fv=new v("mat-icon-location",{providedIn:"root",factory:gv});function gv(){let i=l(R),n=i?i.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var Yh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_v=Yh.map(i=>`[${i}]`).join(", "),vv=/^url\(['"]?#(.*?)['"]?\)$/,ni=(()=>{class i{_elementRef=l(P);_iconRegistry=l(Mh);_location=l(fv);_errorHandler=l(Ut);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Pe.EMPTY;constructor(){let e=l(new Pc("aria-hidden"),{optional:!0}),t=l(pv,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let o=e.childNodes[t];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),t.forEach(o=>e.classList.add(o)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(_v),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=t[r],c=s.getAttribute(a),h=c?c.match(vv):null;if(h){let p=o.get(s);p||(p=[],o.set(s,p)),p.push({name:a,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe(Re(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${t}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,o){t&2&&(V("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Je(o.color?"mat-"+o.color:""),N("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",L],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:mv,decls:1,vars:0,template:function(t,o){t&1&&(ue(),B(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto} -`],encapsulation:2,changeDetection:0})}return i})();var Mi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} -`],encapsulation:2,changeDetection:0})}return i})();var yt=(function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i})(yt||{}),Sa,Ri;function Aa(){if(Ri==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ri=!1,Ri;if("scrollBehavior"in document.documentElement.style)Ri=!0;else{let i=Element.prototype.scrollTo;i?Ri=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Ri=!1}}return Ri}function _n(){if(typeof document!="object"||!document)return yt.NORMAL;if(Sa==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",i.appendChild(e),document.body.appendChild(i),Sa=yt.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,Sa=i.scrollLeft===0?yt.NEGATED:yt.INVERTED),i.remove()}return Sa}function Bl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var vn,Zh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Vl(){if(vn)return vn;if(typeof document!="object"||!document)return vn=new Set(Zh),vn;let i=document.createElement("input");return vn=new Set(Zh.filter(n=>(i.setAttribute("type",n),i.type===n))),vn}function Ti(i){return i!=null&&`${i}`!="false"}function Ce(i){return i==null?"":typeof i=="string"?i:`${i}px`}var ht=(function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i})(ht||{}),jl=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ht.HIDDEN;constructor(n,e,t,o=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},Xh=dn({passive:!0,capture:!0}),Ul=class{_events=new Map;addHandler(n,e,t,o){let r=this._events.get(e);if(r){let a=r.get(t);a?a.add(o):r.set(t,new Set([o]))}else this._events.set(e,new Map([[t,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Xh)})}removeHandler(n,e,t){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(t),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Xh)))}_delegateEventHandler=n=>{let e=Be(n);e&&this._events.get(n.type)?.forEach((t,o)=>{(o===e||o.contains(e))&&t.forEach(r=>r.handleEvent(n))})}},To={enterDuration:225,exitDuration:150},bv=800,Qh=dn({passive:!0,capture:!0}),Jh=["mousedown","touchstart"],em=["mouseup","mouseleave","touchend","touchcancel"],yv=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} -`],encapsulation:2,changeDetection:0})}return i})(),Fo=class i{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Ul;constructor(n,e,t,o,r){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=at(t)),r&&r.get(ke).load(yv)}fadeInRipple(n,e,t={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=_(_({},To),t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let a=t.radius||Cv(n,e,o),s=n-o.left,c=e-o.top,h=r.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=`${s-a}px`,p.style.top=`${c-a}px`,p.style.height=`${a*2}px`,p.style.width=`${a*2}px`,t.color!=null&&(p.style.backgroundColor=t.color),p.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(p);let M=window.getComputedStyle(p),j=M.transitionProperty,U=M.transitionDuration,Y=j==="none"||U==="0s"||U==="0s, 0s"||o.width===0&&o.height===0,F=new jl(this,p,t,Y);p.style.transform="scale3d(1, 1, 1)",F.state=ht.FADING_IN,t.persistent||(this._mostRecentTransientRipple=F);let K=null;return!Y&&(h||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Ze=()=>{K&&(K.fallbackTimer=null),clearTimeout(fe),this._finishRippleTransition(F)},Vt=()=>this._destroyRipple(F),fe=setTimeout(Vt,h+100);p.addEventListener("transitionend",Ze),p.addEventListener("transitioncancel",Vt),K={onTransitionEnd:Ze,onTransitionCancel:Vt,fallbackTimer:fe}}),this._activeRipples.set(F,K),(Y||!h)&&this._finishRippleTransition(F),F}fadeOutRipple(n){if(n.state===ht.FADING_OUT||n.state===ht.HIDDEN)return;let e=n.element,t=_(_({},To),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=ht.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=at(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Jh.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{em.forEach(e=>{this._triggerElement.addEventListener(e,this,Qh)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ht.FADING_IN?this._startFadeOutTransition(n):n.state===ht.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=ht.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ht.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Do(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===ht.VISIBLE||n.config.terminateOnPointerUp&&n.state===ht.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Jh.forEach(e=>i._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(em.forEach(e=>n.removeEventListener(e,this,Qh)),this._pointerUpEventsRegistered=!1))}};function Cv(i,n,e){let t=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+o*o)}var Oo=new v("mat-ripple-global-options"),tm=(()=>{class i{_elementRef=l(P);_animationMode=l(De,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=l(T),t=l(te),o=l(Oo,{optional:!0}),r=l(ie);this._globalOptions=o||{},this._rippleRenderer=new Fo(this,e,this._elementRef,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:_(_(_({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,_(_({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,o){t&2&&N("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return i})();var wv={capture:!0},Dv=["focus","mousedown","mouseenter","touchstart"],zl="mat-ripple-loader-uninitialized",Hl="mat-ripple-loader-class-name",im="mat-ripple-loader-centered",Ia="mat-ripple-loader-disabled",Ma=(()=>{class i{_document=l(R);_animationMode=l(De,{optional:!0});_globalRippleOptions=l(Oo,{optional:!0});_platform=l(te);_ngZone=l(T);_injector=l(ie);_eventCleanups;_hosts=new Map;constructor(){let e=l(Fe).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Dv.map(t=>Ye(e,this._document,t,this._onInteraction,wv)))}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);this._eventCleanups.forEach(t=>t())}configureRipple(e,t){e.setAttribute(zl,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(Hl))&&e.setAttribute(Hl,t.className||""),t.centered&&e.setAttribute(im,""),t.disabled&&e.setAttribute(Ia,"")}setDisabled(e,t){let o=this._hosts.get(e);o?(o.target.rippleDisabled=t,!t&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):t?e.setAttribute(Ia,""):e.removeAttribute(Ia)}_onInteraction=e=>{let t=Be(e);if(t instanceof HTMLElement){let o=t.closest(`[${zl}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",e.getAttribute(Hl)),e.append(t);let o=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,a=o?0:r?.animation?.enterDuration??To.enterDuration,s=o?0:r?.animation?.exitDuration??To.exitDuration,c={rippleDisabled:o||r?.disabled||e.hasAttribute(Ia),rippleConfig:{centered:e.hasAttribute(im),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},h=new Fo(c,this._ngZone,t,this._platform,this._injector),p=!c.rippleDisabled;p&&h.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:h,hasSetUpEvents:p}),e.removeAttribute(zl)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Ra=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var bn=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,t,o,r){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=o,this._stateChanges=r}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=t?.isErrorState(o,e)??!1;r!==n&&(this.errorState=r,this._stateChanges.next())}};var $l=class{_box;_destroyed=new C;_resizeSubject=new C;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new mt(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(oe(e=>e.some(t=>t.target===n)),rs({bufferSize:1,refCount:!0}),le(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},nm=(()=>{class i{_cleanupErrorListener;_observers=new Map;_ngZone=l(T);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let o=t?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new $l(o)),this._observers.get(o).observe(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var xv=["notch"],Ev=["matFormFieldNotchedOutline",""],Sv=["*"],Av=["textField"],Iv=["iconPrefixContainer"],Mv=["textPrefixContainer"],Rv=["iconSuffixContainer"],Tv=["textSuffixContainer"],Fv=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ov=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function kv(i,n){i&1&&z(0,"span",20)}function Pv(i,n){if(i&1&&(u(0,"label",19),B(1,1),E(2,kv,1,0,"span",20),d()),i&2){let e=w(2);b("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),V("for",e._control.disableAutomaticLabeling?null:e._control.id),m(2),ae(!e.hideRequiredMarker&&e._control.required?2:-1)}}function Lv(i,n){if(i&1&&E(0,Pv,3,5,"label",19),i&2){let e=w();ae(e._hasFloatingLabel()?0:-1)}}function Nv(i,n){i&1&&z(0,"div",7)}function Bv(i,n){}function Vv(i,n){if(i&1&&E(0,Bv,0,0,"ng-template",13),i&2){w(2);let e=pe(1);b("ngTemplateOutlet",e)}}function jv(i,n){if(i&1&&(u(0,"div",9),E(1,Vv,1,1,null,13),d()),i&2){let e=w();b("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),m(),ae(e._forceDisplayInfixLabel()?-1:1)}}function Uv(i,n){i&1&&(u(0,"div",10,2),B(2,2),d())}function zv(i,n){i&1&&(u(0,"div",11,3),B(2,3),d())}function Hv(i,n){}function $v(i,n){if(i&1&&E(0,Hv,0,0,"ng-template",13),i&2){w();let e=pe(1);b("ngTemplateOutlet",e)}}function Gv(i,n){i&1&&(u(0,"div",14,4),B(2,4),d())}function Wv(i,n){i&1&&(u(0,"div",15,5),B(2,5),d())}function qv(i,n){i&1&&z(0,"div",16)}function Yv(i,n){i&1&&B(0,6)}function Kv(i,n){if(i&1&&(u(0,"mat-hint",21),f(1),d()),i&2){let e=w(2);b("id",e._hintLabelId),m(),Oe(e.hintLabel)}}function Zv(i,n){if(i&1&&(E(0,Kv,2,2,"mat-hint",21),B(1,7),z(2,"div",22),B(3,8)),i&2){let e=w();ae(e.hintLabel?0:-1)}}var ko=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["mat-label"]]})}return i})(),dm=new v("MatError");var Gl=(()=>{class i{align="start";id=l(Ae).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(je("id",o.id),V("align",null),N("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),um=new v("MatPrefix");var Wl=new v("MatSuffix"),ql=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[se([{provide:Wl,useExisting:i}])]})}return i})(),hm=new v("FloatingLabelParent"),om=(()=>{class i{_elementRef=l(P);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=l(nm);_ngZone=l(T);_parent=l(hm);_resizeSubscription=new Pe;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Xv(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&N("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Xv(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var rm="mdc-line-ripple--active",Ta="mdc-line-ripple--deactivating",am=(()=>{class i{_elementRef=l(P);_cleanupTransitionEnd;constructor(){let e=l(T),t=l(_e);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ta),e.add(rm)}deactivate(){this._elementRef.nativeElement.classList.add(Ta)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(Ta);e.propertyName==="opacity"&&o&&t.remove(rm,Ta)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),sm=(()=>{class i{_elementRef=l(P);_ngZone=l(T);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,o){if(t&1&&ve(xv,5),t&2){let r;$(r=G())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,o){t&2&&N("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Ev,ngContentSelectors:Sv,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,o){t&1&&(ue(),z(0,"div",1),u(1,"div",2,0),B(3),d(),z(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),yn=(()=>{class i{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i})}return i})();var oi=new v("MatFormField"),mm=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),lm="fill",Qv="auto",cm="fixed",Jv="translateY(-50%)",Fi=(()=>{class i{_elementRef=l(P);_changeDetectorRef=l(ye);_dir=l(Ke);_platform=l(te);_idGenerator=l(Ae);_ngZone=l(T);_injector=l(ie);_defaults=l(mm,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Kc(ko);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ti(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Qv}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let t=this._appearance,o=e||this._defaults?.appearance||lm;this._appearance=o,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=lm;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||cm}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||cm}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new C;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=l(De,{optional:!0})==="NoopAnimations"}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Pt(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Te([void 0,void 0]),k(()=>[t.errorState,t.userAriaDescribedBy]),os(),oe(([[r,a],[s,c]])=>r!==s||a!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(le(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ge(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Zo(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(le(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Pt(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let t=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,o=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,h=r?.getBoundingClientRect().width??0,p=a?.getBoundingClientRect().width??0,M=this._dir.value==="rtl"?"-1":"1",j=`${s+c}px`,Y=`calc(${M} * (${j} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${Jv} translateX(${Y}) - )`;let F=s+c+h+p;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${F}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,o,r){if(t&1&&(od(r,o._labelChild,ko,5),he(r,yn,5),he(r,um,5),he(r,Wl,5),he(r,dm,5),he(r,Gl,5)),t&2){rd();let a;$(a=G())&&(o._formFieldControl=a.first),$(a=G())&&(o._prefixChildren=a),$(a=G())&&(o._suffixChildren=a),$(a=G())&&(o._errorChildren=a),$(a=G())&&(o._hintChildren=a)}},viewQuery:function(t,o){if(t&1&&(ve(Av,5),ve(Iv,5),ve(Mv,5),ve(Rv,5),ve(Tv,5),ve(om,5),ve(sm,5),ve(am,5)),t&2){let r;$(r=G())&&(o._textField=r.first),$(r=G())&&(o._iconPrefixContainer=r.first),$(r=G())&&(o._textPrefixContainer=r.first),$(r=G())&&(o._iconSuffixContainer=r.first),$(r=G())&&(o._textSuffixContainer=r.first),$(r=G())&&(o._floatingLabel=r.first),$(r=G())&&(o._notchedOutline=r.first),$(r=G())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(t,o){t&2&&N("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[se([{provide:oi,useExisting:i},{provide:hm,useExisting:i}])],ngContentSelectors:Ov,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,o){if(t&1){let r=ge();ue(Fv),E(0,Lv,1,1,"ng-template",null,0,nr),u(2,"div",6,1),O("click",function(s){return Q(r),J(o._control.onContainerClick(s))}),E(4,Nv,1,0,"div",7),u(5,"div",8),E(6,jv,2,2,"div",9)(7,Uv,3,0,"div",10)(8,zv,3,0,"div",11),u(9,"div",12),E(10,$v,1,1,null,13),B(11),d(),E(12,Gv,3,0,"div",14)(13,Wv,3,0,"div",15),d(),E(14,qv,1,0,"div",16),d(),u(15,"div",17),ld(16),u(17,"div",18),E(18,Yv,1,0)(19,Zv,4,1),d()()}if(t&2){let r;m(2),N("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),m(2),ae(!o._hasOutline()&&!o._control.disabled?4:-1),m(2),ae(o._hasOutline()?6:-1),m(),ae(o._hasIconPrefix?7:-1),m(),ae(o._hasTextPrefix?8:-1),m(2),ae(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),m(2),ae(o._hasTextSuffix?12:-1),m(),ae(o._hasIconSuffix?13:-1),m(),ae(o._hasOutline()?-1:14),m(),N("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic");let a=o._getSubscriptMessageType();m(2),N("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),m(),ae((r=a)==="error"?18:r==="hint"?19:-1)}},dependencies:[om,sm,bs,am,Gl],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)} -`],encapsulation:2,changeDetection:0})}return i})();var pm=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[gn,gn]})}return i})();var bm=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ym=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function tb(i,n){i&1&&(u(0,"span",3),B(1,1),d())}function ib(i,n){i&1&&(u(0,"span",6),B(1,2),d())}function nb(i,n){i&1&&(u(0,"span",3),B(1,1),u(2,"span",8),kc(),u(3,"svg",9),z(4,"path",10),d()()())}function ob(i,n){i&1&&(u(0,"span",6),B(1,2),d())}var Cm=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content} -`,rb=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ab=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function sb(i,n){i&1&&z(0,"span",0)}function lb(i,n){i&1&&(u(0,"span",2),B(1),d())}function cb(i,n){i&1&&B(0,1)}function db(i,n){i&1&&z(0,"span",7)}function ub(i,n){if(i&1&&E(0,cb,1,0)(1,db,1,0,"span",7),i&2){let e=w();ae(e.contentEditInput?0:1)}}function hb(i,n){i&1&&B(0,2)}function mb(i,n){i&1&&(u(0,"span",5),B(1,3),d())}var Ql=["*"],wm=`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px} -`,Jl=new v("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),fm=new v("MatChipAvatar"),gm=new v("MatChipTrailingIcon"),_m=new v("MatChipRemove"),Oa=new v("MatChip"),Fa=(()=>{class i{_elementRef=l(P);_parentChip=l(Oa);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){l(ke).load(Mi),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,o){t&1&&O("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(V("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),N("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",L],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Ui(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return i})();var Po=(()=>{class i{_changeDetectorRef=l(ye);_elementRef=l(P);_ngZone=l(T);_focusMonitor=l(Ai);_globalRippleOptions=l(Oo,{optional:!0});_document=l(R);_onFocus=new C;_onBlur=new C;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=l(Ae).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new q;destroyed=new q;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=l(Ma);_injector=l(ie);constructor(){let e=l(ke);e.load(Mi),e.load(hn);let t=l(De,{optional:!0});this._animationsDisabled=t==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Ge(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let o=t._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,o,r){if(t&1&&(he(r,fm,5),he(r,gm,5),he(r,_m,5),he(r,fm,5),he(r,gm,5),he(r,_m,5)),t&2){let a;$(a=G())&&(o.leadingIcon=a.first),$(a=G())&&(o.trailingIcon=a.first),$(a=G())&&(o.removeIcon=a.first),$(a=G())&&(o._allLeadingIcons=a),$(a=G())&&(o._allTrailingIcons=a),$(a=G())&&(o._allRemoveIcons=a)}},viewQuery:function(t,o){if(t&1&&ve(Fa,5),t&2){let r;$(r=G())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,o){t&1&&O("keydown",function(a){return o._handleKeydown(a)}),t&2&&(je("id",o.id),V("role",o.role)("aria-label",o.ariaLabel),Je("mat-"+(o.color||"primary")),N("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",L],highlighted:[2,"highlighted","highlighted",L],disableRipple:[2,"disableRipple","disableRipple",L],disabled:[2,"disabled","disabled",L]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[se([{provide:Oa,useExisting:i}])],ngContentSelectors:ym,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,o){t&1&&(ue(bm),z(0,"span",0),u(1,"span",1)(2,"span",2),E(3,tb,2,0,"span",3),u(4,"span",4),B(5),z(6,"span",5),d()()(),E(7,ib,2,0,"span",6)),t&2&&(m(2),b("isInteractive",!1),m(),ae(o.leadingIcon?3:-1),m(4),ae(o._hasTrailingIcon()?7:-1))},dependencies:[Fa],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content} -`],encapsulation:2,changeDetection:0})}return i})();var ec=(()=>{class i extends Po{_defaultOptions=l(Jl,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(e){this._setSelectedState(e,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new q;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,t,o){e!==this.selected&&(this._selected=e,o&&this.selectionChange.emit({source:this,isUserInput:t,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(t,o){t&2&&(je("id",o.id),V("tabindex",null)("aria-label",null)("aria-description",null)("role",o.role),N("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--filter",!o._isBasicChip)("mdc-evolution-chip--selectable",!o._isBasicChip)("mat-mdc-chip-selected",o.selected)("mat-mdc-chip-multiple",o._chipListMultiple)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-with-avatar",o.leadingIcon)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--selected",o.selected)("mdc-evolution-chip--selecting",!o._animationsDisabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-primary-graphic",o._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",L],selected:[2,"selected","selected",L]},outputs:{selectionChange:"selectionChange"},features:[se([{provide:Po,useExisting:i},{provide:Oa,useExisting:i}]),ee],ngContentSelectors:ym,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(t,o){t&1&&(ue(bm),z(0,"span",0),u(1,"span",1)(2,"button",2),E(3,nb,5,0,"span",3),u(4,"span",4),B(5),z(6,"span",5),d()()(),E(7,ob,2,0,"span",6),u(8,"span",7),f(9),d()),t&2&&(m(2),b("_allowFocusWhenDisabled",!0),V("aria-selected",o.ariaSelected)("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),m(),ae(o._hasLeadingGraphic()?3:-1),m(4),ae(o._hasTrailingIcon()?7:-1),m(),b("id",o._ariaDescriptionId),m(),Oe(o.ariaDescription))},dependencies:[Fa],styles:[Cm],encapsulation:2,changeDetection:0})}return i})(),Yl=(()=>{class i{_elementRef=l(P);_document=l(R);constructor(){}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return i})(),Lo=(()=>{class i extends Po{basicChipAttrName="mat-basic-chip-row";_editStartPending=!1;editable=!1;edited=new q;defaultEditInput;contentEditInput;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(le(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,Xe(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,o,r){if(t&1&&he(r,Yl,5),t&2){let a;$(a=G())&&(o.contentEditInput=a.first)}},viewQuery:function(t,o){if(t&1&&ve(Yl,5),t&2){let r;$(r=G())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,o){t&1&&O("focus",function(){return o._handleFocus()})("dblclick",function(a){return o._handleDoubleclick(a)}),t&2&&(je("id",o.id),V("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),N("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[se([{provide:Po,useExisting:i},{provide:Oa,useExisting:i}]),ee],ngContentSelectors:ab,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,o){t&1&&(ue(rb),E(0,sb,1,0,"span",0),u(1,"span",1),E(2,lb,2,0,"span",2),u(3,"span",3),E(4,ub,2,1)(5,hb,1,0),z(6,"span",4),d()(),E(7,mb,2,0,"span",5),u(8,"span",6),f(9),d()),t&2&&(ae(o._isEditing?-1:0),m(),b("disabled",o.disabled),V("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),m(),ae(o.leadingIcon?2:-1),m(2),ae(o._isEditing?4:5),m(3),ae(o._hasTrailingIcon()?7:-1),m(),b("id",o._ariaDescriptionId),m(),Oe(o.ariaDescription))},dependencies:[Fa,Yl],styles:[Cm],encapsulation:2,changeDetection:0})}return i})(),Dm=(()=>{class i{_elementRef=l(P);_changeDetectorRef=l(ye);_dir=l(Ke,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new C;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new In;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Te(null),we(()=>Ge(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Te(this._chips)).subscribe(e=>{let t=[];e.forEach(o=>o._getActions().forEach(r=>t.push(r))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new Ro(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(le(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe(le(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Te(null),le(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(le(this._destroyed)).subscribe(e=>{let o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,o,r){if(t&1&&he(r,Po,5),t&2){let a;$(a=G())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,o){t&1&&O("keydown",function(a){return o._handleKeydown(a)}),t&2&&V("role",o.role)},inputs:{disabled:[2,"disabled","disabled",L],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ui(e)]},ngContentSelectors:Ql,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(ue(),u(0,"div",0),B(1),d())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px} -`],encapsulation:2,changeDetection:0})}return i})(),Kl=class{source;value;constructor(n,e){this.source=n,this.value=e}},pb={provide:Di,useExisting:Ve(()=>tc),multi:!0},tc=(()=>{class i extends Dm{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=l(Jl,{optional:!0});get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties()}_multiple=!1;get selected(){let e=this._chips.toArray().filter(t=>t.selected);return this.multiple?e:e[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties()}_selectable=!0;compareWith=(e,t)=>e===t;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this._chips&&this._chips.length&&this._setSelectionByValue(e,!1),this._value=e}_value;change=new q;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(Te(null),le(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe(le(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(le(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(t=>{t!==e.source&&t._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){e!=null?this.value=e:this.value=void 0}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,t=!0){this._clearSelection(),Array.isArray(e)?e.forEach(o=>this._selectValue(o,t)):this._selectValue(e,t)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){e.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(t=>t.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new Kl(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(t=>{t!==e&&t.deselect()})}_selectValue(e,t){let o=this._chips.find(r=>r.value!=null&&this.compareWith(r.value,e));return o&&(t?o.selectViaInteraction():o.select()),o}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-chip-listbox"]],contentQueries:function(t,o,r){if(t&1&&he(r,ec,5),t&2){let a;$(a=G())&&(o._chips=a)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(t,o){t&1&&O("focus",function(){return o.focus()})("blur",function(){return o._blur()})("keydown",function(a){return o._keydown(a)}),t&2&&(je("tabIndex",o.disabled||o.empty?-1:o.tabIndex),V("role",o.role)("aria-required",o.role?o.required:null)("aria-disabled",o.disabled.toString())("aria-multiselectable",o.multiple)("aria-orientation",o.ariaOrientation),N("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-required",o.required))},inputs:{multiple:[2,"multiple","multiple",L],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",L],compareWith:"compareWith",required:[2,"required","required",L],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",L],value:"value"},outputs:{change:"change"},features:[se([pb]),ee],ngContentSelectors:Ql,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(ue(),u(0,"div",0),B(1),d())},styles:[wm],encapsulation:2,changeDetection:0})}return i})(),Zl=class{source;value;constructor(n,e){this.source=n,this.value=e}},ka=(()=>{class i extends Dm{ngControl=l(bt,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(sn.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}change=new q;valueChange=new q;_chips=void 0;stateChanges=new C;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super();let e=l(ot,{optional:!0}),t=l(yo,{optional:!0}),o=l(Ra);this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new bn(o,this.ngControl,t,e,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(le(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Ge(this.chipFocusChanges,this._chips.changes).pipe(le(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,o=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&ze(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&o){let r=this._chipActions.filter(c=>c._isPrimary===o._isPrimary&&!this._skipPredicate(c)),a=r.indexOf(o),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(r[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Zl(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(t,o,r){if(t&1&&he(r,Lo,5),t&2){let a;$(a=G())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,o){t&1&&O("focus",function(){return o.focus()})("blur",function(){return o._blur()}),t&2&&(V("role",o.role)("tabindex",o.disabled||o._chips&&o._chips.length===0?-1:o.tabIndex)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),N("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{disabled:[2,"disabled","disabled",L],placeholder:"placeholder",required:[2,"required","required",L],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[se([{provide:yn,useExisting:i}]),ee],ngContentSelectors:Ql,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(ue(),u(0,"div",0),B(1),d())},styles:[wm],encapsulation:2,changeDetection:0})}return i})(),xm=(()=>{class i{_elementRef=l(P);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new q;placeholder="";id=l(Ae).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}_disabled=!1;get empty(){return!this.inputElement.value}inputElement;constructor(){let e=l(Jl),t=l(oi,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,t&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!ze(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,o){t&1&&O("keydown",function(a){return o._keydown(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),t&2&&(je("id",o.id),V("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",L],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",L]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[me]})}return i})();var Em=(()=>{class i{_animationMode=l(De,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&N("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,o){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px} -`],encapsulation:2,changeDetection:0})}return i})();var gb=["text"],_b=[[["mat-icon"]],"*"],vb=["mat-icon","*"];function bb(i,n){if(i&1&&z(0,"mat-pseudo-checkbox",1),i&2){let e=w();b("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function yb(i,n){if(i&1&&z(0,"mat-pseudo-checkbox",3),i&2){let e=w();b("disabled",e.disabled)}}function Cb(i,n){if(i&1&&(u(0,"span",4),f(1),d()),i&2){let e=w();m(),be("(",e.group.label,")")}}var ic=new v("MAT_OPTION_PARENT_COMPONENT"),nc=new v("MatOptgroup");var No=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Cn=(()=>{class i{_element=l(P);_changeDetectorRef=l(ye);_parent=l(ic,{optional:!0});group=l(nc,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=l(Ae).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new q;_text;_stateChanges=new C;constructor(){let e=l(ke);e.load(Mi),e.load(hn),this._signalDisableRipple=!!this._parent&&ui(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!ze(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new No(this,e))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-option"]],viewQuery:function(t,o){if(t&1&&ve(gb,7),t&2){let r;$(r=G())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,o){t&1&&O("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(je("id",o.id),V("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),N("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",L]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:vb,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,o){t&1&&(ue(_b),E(0,bb,1,2,"mat-pseudo-checkbox",1),B(1),u(2,"span",2,0),B(4,1),d(),E(5,yb,1,1,"mat-pseudo-checkbox",3)(6,Cb,2,1,"span",4),z(7,"div",5)),t&2&&(ae(o.multiple?0:-1),m(5),ae(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),m(),ae(o.group&&o.group._inert?6:-1),m(),b("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Em,tm],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""} -`],encapsulation:2,changeDetection:0})}return i})();function Sm(i,n,e){if(e.length){let t=n.toArray(),o=e.toArray(),r=0;for(let a=0;ae+t?Math.max(0,i-t+n):e}var wb=20,oc=(()=>{class i{_ngZone=l(T);_platform=l(te);_renderer=l(Fe).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=wb){return this._platform.isBrowser?new mt(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(es(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):D()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(oe(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_scrollableContainsElement(e,t){let o=at(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Im=(()=>{class i{elementRef=l(P);scrollDispatcher=l(oc);ngZone=l(T);dir=l(Ke,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=l(_e);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&_n()!=yt.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),_n()==yt.INVERTED?e.left=e.right:_n()==yt.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;Aa()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:t:e=="end"&&(e=a?t:o),a&&_n()==yt.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&_n()==yt.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return i})(),Db=20,Bo=(()=>{class i{_platform=l(te);_listeners;_viewportSize;_change=new C;_document=l(R,{optional:!0});constructor(){let e=l(T),t=l(Fe).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[t.listen("window","resize",o),t.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,s=-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(e=Db){return e>0?this._change.pipe(es(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var wn=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Oi=class extends wn{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,t,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.projectableNodes=r}},Bt=class extends wn{templateRef;viewContainerRef;context;injector;constructor(n,e,t,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Pa=class extends wn{element;constructor(n){super(),this.element=n instanceof P?n.nativeElement:n}},ki=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Oi)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Bt)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Pa)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Vo=class extends ki{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,t,o,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=o,this._document=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let t=n.injector||n.viewContainerRef.injector,o=t.get(Qo,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let t=this._appRef,o=n.injector||this._defaultInjector||ie.NULL,r=o.get(Le,t.injector);e=rr(n.component,{elementInjector:o,environmentInjector:r,projectableNodes:n.projectableNodes||void 0}),t.attachView(e.hostView),this.setDisposeFn(()=>{t.viewCount>0&&t.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=n,t}attachDomPortal=n=>{let e=n.element;e.parentNode;let t=this._document.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var Dn=(()=>{class i extends ki{_moduleRef=l(Qo,{optional:!0});_document=l(R);_viewContainerRef=l(lt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new q;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(o,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ee]})}return i})();var Mm=Aa(),La=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ce(-this._previousScrollPosition.left),n.style.top=Ce(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,o=e.style,r=t.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Mm&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Mm&&(t.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var Na=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,t,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(oe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},jo=class{enable(){}disable(){}attach(){}};function rc(i,n){return n.some(e=>{let t=i.bottome.bottom,r=i.righte.right;return t||o||r||a})}function Rm(i,n){return n.some(e=>{let t=i.tope.bottom,r=i.lefte.right;return t||o||r||a})}var Ba=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,t,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();rc(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Lm=(()=>{class i{_scrollDispatcher=l(oc);_viewportRuler=l(Bo);_ngZone=l(T);_document=l(R);constructor(){}noop=()=>new jo;close=e=>new Na(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new La(this._viewportRuler,this._document);reposition=e=>new Ba(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ai=class{positionStrategy;scrollStrategy=new jo;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var Va=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var Nm=(()=>{class i{_attachedOverlays=[];_document=l(R);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Bm=(()=>{class i extends Nm{_ngZone=l(T);_renderer=l(Fe).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--)if(t[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>t[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Vm=(()=>{class i extends Nm{_platform=l(te);_ngZone=l(T);_renderer=l(Fe).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[Ye(this._renderer,t,"pointerdown",this._pointerDownListener,o),Ye(this._renderer,t,"click",this._clickListener,o),Ye(this._renderer,t,"auxclick",this._clickListener,o),Ye(this._renderer,t,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Be(e)};_clickListener=e=>{let t=Be(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let s=r[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(Tm(s.overlayElement,t)||Tm(s.overlayElement,o))break;let c=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Tm(i,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===i)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var jm=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} -`],encapsulation:2,changeDetection:0})}return i})(),za=(()=>{class i{_platform=l(te);_containerElement;_document=l(R);_styleLoader=l(ke);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Bl()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Li=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=Pe.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_renders=new C;_afterRenderRef;_afterNextRenderRef;constructor(n,e,t,o,r,a,s,c,h,p=!1,M,j){this._portalOutlet=n,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._injector=M,this._renderer=j,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=ct(()=>Zo(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Xe(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=_(_({},this._config),n),this._updateElementSize()}setDirection(n){this._config=re(_({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Ce(this._config.width),n.height=Ce(this._config.height),n.minWidth=Ce(this._config.minWidth),n.minHeight=Ce(this._config.minHeight),n.maxWidth=Ce(this._config.maxWidth),n.maxHeight=Ce(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ac(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,t){let o=mn(e||[]).filter(r=>!!r);o.length&&(t?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(le(Ge(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},Fm="cdk-overlay-connected-position-bounding-box",Eb=/([A-Za-z%]+)$/,ja=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new C;_resizeSubscription=Pe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(Fm),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,o,s),h=this._getOverlayPoint(c,e,s),p=this._getOverlayFit(h,e,t,s);if(p.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(p,h,t)){r.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=p,s=h)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Pi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Fm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let o;if(t.originX=="center")o=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;o=t.originX=="start"?a:s}e.left<0&&(o-=e.left);let r;return t.originY=="center"?r=n.top+n.height/2:r=t.originY=="top"?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,t,o){let r=km(e),{x:a,y:s}=n,c=this._getOffset(o,"x"),h=this._getOffset(o,"y");c&&(a+=c),h&&(s+=h);let p=0-a,M=a+r.width-t.width,j=0-s,U=s+r.height-t.height,Y=this._subtractOverflows(r.width,p,M),F=this._subtractOverflows(r.height,j,U),K=Y*F;return{visibleArea:K,isCompletelyWithinViewport:r.width*r.height===K,fitsInViewportVertically:F===r.height,fitsInViewportHorizontally:Y==r.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,r=t.right-e.x,a=Om(this._overlayRef.getConfig().minHeight),s=Om(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=o,h=n.fitsInViewportHorizontally||s!=null&&s<=r;return c&&h}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=km(e),r=this._viewportRect,a=Math.max(n.x+o.width-r.width,0),s=Math.max(n.y+o.height-r.height,0),c=Math.max(r.top-t.top-n.y,0),h=Math.max(r.left-t.left-n.x,0),p=0,M=0;return o.width<=r.width?p=h||-a:p=n.xY&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-Y/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,h=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,p,M,j;if(h)j=t.width-n.x+this._viewportMargin*2,p=n.x-this._viewportMargin;else if(c)M=n.x,p=t.right-n.x;else{let U=Math.min(t.right-n.x+t.left,n.x),Y=this._lastBoundingBoxSize.width;p=U*2,M=n.x-U,p>Y&&!this._isInitialRender&&!this._growAfterOpen&&(M=n.x-Y/2)}return{top:a,left:M,bottom:s,right:j,width:p,height:r}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Ce(t.height),o.top=Ce(t.top),o.bottom=Ce(t.bottom),o.width=Ce(t.width),o.left=Ce(t.left),o.right=Ce(t.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=Ce(r)),a&&(o.maxWidth=Ce(a))}this._lastBoundingBoxSize=t,Pi(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Pi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Pi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let p=this._viewportRuler.getViewportScrollPosition();Pi(t,this._getExactOverlayY(e,n,p)),Pi(t,this._getExactOverlayX(e,n,p))}else t.position="static";let s="",c=this._getOffset(e,"x"),h=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),h&&(s+=`translateY(${h}px)`),t.transform=s.trim(),a.maxHeight&&(o?t.maxHeight=Ce(a.maxHeight):r&&(t.maxHeight="")),a.maxWidth&&(o?t.maxWidth=Ce(a.maxWidth):r&&(t.maxWidth="")),Pi(this._pane.style,t)}_getExactOverlayY(n,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=Ce(r.y);return o}_getExactOverlayX(n,e,t){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=Ce(r.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Rm(n,t),isOriginOutsideView:rc(n,t),isOverlayClipped:Rm(e,t),isOverlayOutsideView:rc(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,o)=>t-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&mn(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof P)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function Pi(i,n){for(let e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i}function Om(i){if(typeof i!="number"&&i!=null){let[n,e]=i.split(Eb);return!e||e==="px"?parseFloat(n):null}return i||null}function km(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Sb(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var Pm="cdk-global-overlay-wrapper",Ua=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Pm),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=t,c=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),h=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),p=this._xPosition,M=this._xOffset,j=this._overlayRef.getConfig().direction==="rtl",U="",Y="",F="";c?F="flex-start":p==="center"?(F="center",j?Y=M:U=M):j?p==="left"||p==="end"?(F="flex-end",U=M):(p==="right"||p==="start")&&(F="flex-start",Y=M):p==="left"||p==="start"?(F="flex-start",U=M):(p==="right"||p==="end")&&(F="flex-end",Y=M),n.position=this._cssPosition,n.marginLeft=c?"0":U,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":Y,e.justifyContent=F,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Pm),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Um=(()=>{class i{_viewportRuler=l(Bo);_document=l(R);_platform=l(te);_overlayContainer=l(za);constructor(){}global(){return new Ua}flexibleConnectedTo(e){return new ja(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Mt=(()=>{class i{scrollStrategies=l(Lm);_overlayContainer=l(za);_positionBuilder=l(Um);_keyboardDispatcher=l(Bm);_injector=l(ie);_ngZone=l(T);_document=l(R);_directionality=l(Ke);_location=l(Dt);_outsideClickDispatcher=l(Vm);_animationsModuleType=l(De,{optional:!0});_idGenerator=l(Ae);_renderer=l(Fe).createRenderer(null,null);_appRef;_styleLoader=l(ke);constructor(){}create(e){this._styleLoader.load(jm);let t=this._createHostElement(),o=this._createPaneElement(t),r=this._createPortalOutlet(o),a=new ai(e);return a.direction=a.direction||this._directionality.value,new Li(r,t,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Le),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=this._idGenerator.getId("cdk-overlay-"),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(mi)),new Vo(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var zm={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Ab=["panel"],Ib=["*"];function Mb(i,n){if(i&1&&(u(0,"div",1,0),B(2),d()),i&2){let e=n.id,t=w();Je(t._classList),N("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-autocomplete-panel-animations-enabled",!t._animationsDisabled)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),b("id",t.id),V("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var cc=class{source;option;constructor(n,e){this.source=n,this.option=e}},Hm=new v("mat-autocomplete-default-options",{providedIn:"root",factory:Rb});function Rb(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var Ha=(()=>{class i{_changeDetectorRef=l(ye);_elementRef=l(P);_defaults=l(Hm);_animationsDisabled=l(De,{optional:!0})==="NoopAnimations";_activeOptionChanges=Pe.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new q;opened=new q;closed=new q;optionActivated=new q;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=l(Ae).getId("mat-autocomplete-");inertGroups;constructor(){let e=l(te);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Mo(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new cc(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(t,o,r){if(t&1&&(he(r,Cn,5),he(r,nc,5)),t&2){let a;$(a=G())&&(o.options=a),$(a=G())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(ve(wt,7),ve(Ab,5)),t&2){let r;$(r=G())&&(o.template=r.first),$(r=G())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",L],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",L],requireSelection:[2,"requireSelection","requireSelection",L],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",L],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",L]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[se([{provide:ic,useExisting:i}])],ngContentSelectors:Ib,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,o){t&1&&(ue(),E(0,Mb,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none} -`],encapsulation:2,changeDetection:0})}return i})();var Tb={provide:Di,useExisting:Ve(()=>dc),multi:!0};var Fb=new v("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=l(Mt);return()=>i.scrollStrategies.reposition()}});var dc=(()=>{class i{_environmentInjector=l(Le);_element=l(P);_overlay=l(Mt);_viewContainerRef=l(lt);_zone=l(T);_changeDetectorRef=l(ye);_dir=l(Ke,{optional:!0});_formField=l(oi,{optional:!0,host:!0});_viewportRuler=l(Bo);_scrollStrategy=l(Fb);_renderer=l(_e);_defaults=l(Hm,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new C;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Pe.EMPTY;_breakpointObserver=l(Ao);_handsetLandscapeSubscription=Pe.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new C;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Ea(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ge(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(oe(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(oe(()=>this._overlayAttached)):D()).pipe(k(e=>e instanceof No?e:null))}optionSelections=Rt(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Te(e),we(()=>Ge(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(we(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new mt(e=>{let t=r=>{let a=Be(r),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,c=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!c||!c.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},o=[this._renderer.listen("document","click",t),this._renderer.listen("document","auxclick",t),this._renderer.listen("document","touchend",t)];return()=>{o.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,o=ze(e);if(t===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let r=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,o=t.value;if(t.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return Si()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new mt(o=>{Xe(()=>{o.next()},{injector:this._environmentInjector})}),t=this.autocomplete.options?.changes.pipe(de(()=>this._positionStrategy.reapplyLastPosition()),Ic(0))??D();return Ge(e,t).pipe(we(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Re(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),t._emitSelectEvent(o),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Ll(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Bt(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(zm.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!ze(e)||e.keyCode===38&&ze(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new ai({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=t:a=[...t,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&Ea(this._trackedModal,"aria-owns",t),Ll(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;Ea(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,o){t&1&&O("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),t&2&&V("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",L]},exportAs:["matAutocompleteTrigger"],features:[se([Tb]),me]})}return i})();function Pb(i,n){if(i&1){let e=ge();u(0,"mat-chip-row",12),O("removed",function(){let o=Q(e).$implicit,r=w(2);return J(r.remove(o))}),f(1),u(2,"button",13)(3,"mat-icon"),f(4,"cancel"),d()()()}if(i&2){let e=n.$implicit;m(),be(" ",e.name," "),m(),V("aria-label","remove "+e.name)}}function Lb(i,n){if(i&1&&(u(0,"mat-option",11),f(1),d()),i&2){let e=n.$implicit;b("value",e),m(),Oe(e.name)}}function Nb(i,n){if(i&1){let e=ge();u(0,"li",6),f(1),u(2,"form")(3,"mat-form-field",7)(4,"mat-chip-grid",8,0),hs(6,Pb,5,2,"mat-chip-row",null,td),d(),u(8,"input",9,1),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.currentRole,o)||(r.currentRole=o),J(o)}),O("matChipInputTokenEnd",function(o){Q(e);let r=w();return J(r.add(o))})("input",function(o){let r=Q(e).$implicit,a=w();return J(a.change(o,a.filteredRoles(r.roles)))}),d(),u(10,"mat-autocomplete",10,2),O("optionSelected",function(o){let r=Q(e).$implicit,a=w();return J(a.selected(r.roles,o))}),hs(12,Lb,2,2,"mat-option",11,id),d()()()()}if(i&2){let e=n.$implicit,t=pe(5),o=pe(11),r=w();m(),sd(" ",e.username," ",e.email," ",e.password," "),m(5),ms(e.roles),m(2),xe("ngModel",r.currentRole),b("matChipInputFor",t)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",r.separatorKeysCodes)("formControl",r.myControl),m(2),b("formControl",r.ac),m(2),ms(r.filteredRoles(e.roles))}}var $m=(()=>{class i{userService;roleService;gridApi;separatorKeysCodes=[13,188];rowData;allRoles;currentRole=Zc("");myControl=new bo("");ac=new bo("");constructor(e,t){this.userService=e,this.roleService=t,this.getAllRoles()}ngOnInit(){this.userService.getAdminBoard().subscribe(e=>{this.rowData=e},e=>{this.rowData=JSON.parse(e.error).message})}filteredRoles(e){return this.allRoles.filter(t=>!e.some(o=>o.id===t.id))}getAllRoles(){this.roleService.getAllRoles().subscribe(e=>{this.allRoles=e},e=>{this.allRoles=JSON.parse(e.error).message})}remove(e){}add(e){let t=(e.value||"").trim();this.currentRole.set("")}selected(e,t){e.push(t.option.value),this.currentRole.set(""),t.option.deselect()}change(e,t){t.filter(o=>!t.some(r=>r.name?.toLowerCase()===o.id))}static \u0275fac=function(t){return new(t||i)(y(va),y(xh))};static \u0275cmp=x({type:i,selectors:[["app-board-admin"]],inputs:{currentRole:[1,"currentRole"]},outputs:{currentRole:"currentRoleChange"},standalone:!1,decls:5,vars:1,consts:[["chipGrid",""],["fruitInput",""],["auto","matAutocomplete"],[1,"col-md-6"],[1,"list-group"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],[1,"example-chip-list"],["aria-label","Role selection"],["name","currentFruit","placeholder","Add role...",3,"ngModelChange","matChipInputTokenEnd","input","ngModel","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","formControl"],["autoActiveFirstOption","",3,"optionSelected","formControl"],[3,"value"],[3,"removed"],["matChipRemove",""]],template:function(t,o){t&1&&(u(0,"div",3)(1,"h4"),f(2,"Users List"),d(),u(3,"ul",4),E(4,Nb,14,9,"li",5),d()()),t&2&&(m(4),b("ngForOf",o.rowData))},dependencies:[Ht,ti,Ne,qe,ei,ot,ni,ka,Lo,xm,dc,Ha,Cn,Fi,Dl],styles:[".example-chip-list[_ngcontent-%COMP%]{width:100%}"]})}return i})();var Gm=(()=>{class i{constructor(){}ngOnInit(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["app-board-moderator"]],standalone:!1,decls:2,vars:0,template:function(t,o){t&1&&(u(0,"p"),f(1,"board-moderator works!"),d())},encapsulation:2})}return i})();var Wm=(()=>{class i{constructor(){}ngOnInit(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["app-board-user"]],standalone:!1,decls:2,vars:0,template:function(t,o){t&1&&(u(0,"p"),f(1,"board-user works!"),d())},encapsulation:2})}return i})();var uc="auth-token",$a="auth-user",si=(()=>{class i{constructor(){}signOut(){window.sessionStorage.clear()}saveToken(e){window.sessionStorage.removeItem(uc),window.sessionStorage.setItem(uc,e)}getToken(){return window.sessionStorage.getItem(uc)}saveUser(e){window.sessionStorage.removeItem($a),window.sessionStorage.setItem($a,JSON.stringify(e))}getUser(){let e=window.sessionStorage.getItem($a);return e?JSON.parse(e):{}}clean(){window.sessionStorage.clear()}isLoggedIn(){return!!window.sessionStorage.getItem($a)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Bb(i,n){if(i&1&&(u(0,"li"),f(1),d()),i&2){let e=n.$implicit;m(),be(" ",e," ")}}function Vb(i,n){if(i&1&&(u(0,"div",2)(1,"header",3)(2,"h3")(3,"strong"),f(4),d(),f(5," Profile "),d()(),u(6,"p")(7,"strong"),f(8,"Token:"),d(),f(9),d(),u(10,"p")(11,"strong"),f(12,"Email:"),d(),f(13),d(),u(14,"strong"),f(15,"Roles:"),d(),u(16,"ul"),E(17,Bb,2,1,"li",4),d()()),i&2){let e=w();m(4),Oe(e.currentUser.username),m(5),ad(" ",e.currentUser.accessToken.substring(0,20)," ... ",e.currentUser.accessToken.substr(e.currentUser.accessToken.length-20)," "),m(4),be(" ",e.currentUser.email," "),m(4),b("ngForOf",e.currentUser.roles)}}function jb(i,n){i&1&&f(0," Please login. ")}var qm=(()=>{class i{token;currentUser;constructor(e){this.token=e}ngOnInit(){this.currentUser=this.token.getUser()}static \u0275fac=function(t){return new(t||i)(y(si))};static \u0275cmp=x({type:i,selectors:[["app-profile"]],standalone:!1,decls:3,vars:2,consts:[["loggedOut",""],["class","container",4,"ngIf","ngIfElse"],[1,"container"],[1,"jumbotron"],[4,"ngFor","ngForOf"]],template:function(t,o){if(t&1&&E(0,Vb,18,5,"div",1)(1,jb,1,0,"ng-template",null,0,nr),t&2){let r=pe(2);b("ngIf",o.currentUser)("ngIfElse",r)}},dependencies:[Ht,Ue],encapsulation:2})}return i})();var hc="http://localhost:8080/api/auth/",mc={headers:new xt({"Content-Type":"application/json"})},xn=(()=>{class i{http;constructor(e){this.http=e}login(e,t){return this.http.post(hc+"signin",{username:e,password:t},mc)}register(e,t,o){return this.http.post(hc+"signup",{username:e,email:t,password:o},mc)}logout(){return this.http.post(hc+"signout",{},mc)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var fc=()=>({standalone:!0});function Ub(i,n){i&1&&(u(0,"div"),f(1,"Username is required"),d())}function zb(i,n){i&1&&(u(0,"div"),f(1," Username must be at least 3 characters "),d())}function Hb(i,n){i&1&&(u(0,"div"),f(1," Username must be at most 20 characters "),d())}function $b(i,n){if(i&1&&(u(0,"div",20),E(1,Ub,2,0,"div",21)(2,zb,2,0,"div",21)(3,Hb,2,0,"div",21),d()),i&2){w();let e=pe(6);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.minlength),m(),b("ngIf",e.errors.maxlength)}}function Gb(i,n){i&1&&(u(0,"div"),f(1,"Email is required"),d())}function Wb(i,n){i&1&&(u(0,"div"),f(1," Email must be a valid email address "),d())}function qb(i,n){if(i&1&&(u(0,"div",20),E(1,Gb,2,0,"div",21)(2,Wb,2,0,"div",21),d()),i&2){w();let e=pe(12);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.email)}}function Yb(i,n){i&1&&(u(0,"div"),f(1,"Password is required"),d())}function Kb(i,n){i&1&&(u(0,"div"),f(1," Password must be at least 6 characters "),d())}function Zb(i,n){if(i&1&&(u(0,"div",20),E(1,Yb,2,0,"div",21)(2,Kb,2,0,"div",21),d()),i&2){w();let e=pe(18);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.minlength)}}function Xb(i,n){if(i&1&&(u(0,"div",22),f(1," Signup failed!"),z(2,"br"),f(3),d()),i&2){let e=w(2);m(3),be("",e.errorMessage," ")}}function Qb(i,n){if(i&1){let e=ge();u(0,"form",9,0),O("ngSubmit",function(){Q(e);let o=pe(1),r=w();return J(o.form.valid&&r.onSubmit())}),u(2,"div",10)(3,"label",11),f(4,"Username"),d(),u(5,"input",12,1),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.username,o)||(r.form.username=o),J(o)}),d(),E(7,$b,4,3,"div",13),d(),u(8,"div",10)(9,"label",14),f(10,"Email"),d(),u(11,"input",15,2),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.email,o)||(r.form.email=o),J(o)}),d(),E(13,qb,3,2,"div",13),d(),u(14,"div",10)(15,"label",16),f(16,"Password"),d(),u(17,"input",17,3),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.password,o)||(r.form.password=o),J(o)}),d(),E(19,Zb,3,2,"div",13),d(),u(20,"div",10)(21,"button",18),f(22,"Sign Up"),d()(),E(23,Xb,4,1,"div",19),d()}if(i&2){let e=pe(1),t=pe(6),o=pe(12),r=pe(18),a=w();m(5),xe("ngModel",a.form.username),b("ngModelOptions",ir(10,fc)),m(2),b("ngIf",t.errors&&e.submitted),m(4),xe("ngModel",a.form.email),b("ngModelOptions",ir(11,fc)),m(2),b("ngIf",o.errors&&e.submitted),m(4),xe("ngModel",a.form.password),b("ngModelOptions",ir(12,fc)),m(2),b("ngIf",r.errors&&e.submitted),m(4),b("ngIf",e.submitted&&a.isSignUpFailed)}}function Jb(i,n){i&1&&(u(0,"div",23),f(1," Your registration is successful! "),d())}var Ym=(()=>{class i{authService;form={username:null,email:null,password:null};isSuccessful=!1;isSignUpFailed=!1;errorMessage="";constructor(e){this.authService=e}ngOnInit(){}onSubmit(){let{username:e,email:t,password:o}=this.form;this.authService.register(e,t,o).subscribe(r=>{console.log(r),this.isSuccessful=!0,this.isSignUpFailed=!1},r=>{this.errorMessage=r.error.message,this.isSignUpFailed=!0})}static \u0275fac=function(t){return new(t||i)(y(xn))};static \u0275cmp=x({type:i,selectors:[["app-register"]],standalone:!1,decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["email","ngModel"],["password","ngModel"],[1,"col-md-12"],["id","register"],["id","foto","id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate","",3,"ngSubmit",4,"ngIf"],["class","alert alert-success",4,"ngIf"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","","minlength","3","maxlength","20",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["class","alert-danger",4,"ngIf"],["for","email"],["type","email","id","email","required","","email","",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"btn","btn-primary","btn-block"],["class","alert alert-warning",4,"ngIf"],[1,"alert-danger"],[4,"ngIf"],[1,"alert","alert-warning"],[1,"alert","alert-success"]],template:function(t,o){t&1&&(u(0,"div",4)(1,"div",5),z(2,"img",6),E(3,Qb,24,13,"form",7)(4,Jb,2,0,"div",8),d()()),t&2&&(m(3),b("ngIf",!o.isSuccessful),m(),b("ngIf",o.isSuccessful))},dependencies:[Ue,ti,Ne,qe,ei,xi,Co,El,xl,rt,ot],encapsulation:2})}return i})();function ey(i,n){i&1&&(u(0,"div",16),f(1," Username is required! "),d())}function ty(i,n){i&1&&(u(0,"div"),f(1,"Password is required"),d())}function iy(i,n){i&1&&(u(0,"div"),f(1," Password must be at least 6 characters "),d())}function ny(i,n){if(i&1&&(u(0,"div",16),E(1,ty,2,0,"div",17)(2,iy,2,0,"div",17),d()),i&2){w();let e=pe(12);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.minlength)}}function oy(i,n){if(i&1&&(u(0,"div",16),f(1),d()),i&2){let e=w(2);m(),be(" Login failed: ",e.errorMessage," ")}}function ry(i,n){if(i&1){let e=ge();u(0,"form",8,0),O("ngSubmit",function(){Q(e);let o=pe(1),r=w();return J(o.form.valid&&r.onSubmit())}),u(2,"div",9)(3,"label",10),f(4,"Username"),d(),u(5,"input",11,1),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.username,o)||(r.form.username=o),J(o)}),d(),E(7,ey,2,0,"div",12),d(),u(8,"div",9)(9,"label",13),f(10,"Password"),d(),u(11,"input",14,2),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.password,o)||(r.form.password=o),J(o)}),d(),E(13,ny,3,2,"div",12),d(),u(14,"div",9)(15,"button",15),f(16," Login "),d()(),u(17,"div",9),E(18,oy,2,1,"div",12),d()()}if(i&2){let e=pe(1),t=pe(6),o=pe(12),r=w();m(5),xe("ngModel",r.form.username),m(2),b("ngIf",t.errors&&e.submitted),m(4),xe("ngModel",r.form.password),m(2),b("ngIf",o.errors&&e.submitted),m(5),b("ngIf",e.submitted&&r.isLoginFailed)}}function ay(i,n){if(i&1&&(u(0,"div",18),f(1),d()),i&2){let e=w();m(),be(" Logged in as ",e.roles,". ")}}var Wa=(()=>{class i{authService;tokenStorage;form={username:null,password:null};isLoggedIn=!1;isLoginFailed=!1;errorMessage="";roles=[];constructor(e,t){this.authService=e,this.tokenStorage=t}ngOnInit(){this.tokenStorage.getToken()&&(this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles)}onSubmit(){let{username:e,password:t}=this.form;this.authService.login(e,t).subscribe(o=>{this.tokenStorage.saveToken(o.accessToken),this.tokenStorage.saveUser(o),this.isLoginFailed=!1,this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles,this.reloadPage()},o=>{this.errorMessage=o.error.message,this.isLoginFailed=!0})}reloadPage(){window.location.reload()}static \u0275fac=function(t){return new(t||i)(y(xn),y(si))};static \u0275cmp=x({type:i,selectors:[["app-login"]],decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["password","ngModel"],[1,"col-md-12"],[1,"card","card-container"],["id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate","",3,"ngSubmit",4,"ngIf"],["class","alert alert-success",4,"ngIf"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","",1,"form-control",3,"ngModelChange","ngModel"],["class","alert alert-danger","role","alert",4,"ngIf"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary","btn-block"],["role","alert",1,"alert","alert-danger"],[4,"ngIf"],[1,"alert","alert-success"]],template:function(t,o){t&1&&(u(0,"div",3)(1,"div",4),z(2,"img",5),E(3,ry,19,5,"form",6)(4,ay,2,1,"div",7),d()()),t&2&&(m(3),b("ngIf",!o.isLoggedIn),m(),b("ngIf",o.isLoggedIn))},dependencies:[cn,ti,Ne,qe,ei,xi,Co,rt,ot,Ue],encapsulation:2})}return i})();var Km=(()=>{class i{userService;content;constructor(e){this.userService=e}ngOnInit(){}static \u0275fac=function(t){return new(t||i)(y(va))};static \u0275cmp=x({type:i,selectors:[["app-home"]],standalone:!1,decls:4,vars:1,consts:[[1,"container"],[1,"jumbotron"]],template:function(t,o){t&1&&(u(0,"div",0)(1,"header",1)(2,"p"),f(3),d()()()),t&2&&(m(3),Oe(o.content))},encapsulation:2})}return i})();var sy=[{path:"home",component:Km},{path:"login",component:Wa},{path:"register",component:Ym},{path:"profile",component:qm},{path:"user",component:Wm},{path:"mod",component:Gm},{path:"admin",component:$m},{path:"",redirectTo:"home",pathMatch:"full"},{path:"tutorials",component:yh},{path:"tutorials/:id",component:Ch},{path:"add",component:wh}],Zm=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[Jr.forRoot(sy,{useHash:!0}),Jr]})}return i})();function ly(i,n){}var li=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var _c=(()=>{class i extends ki{_elementRef=l(P);_focusTrapFactory=l(Ol);_config;_interactivityChecker=l(Fl);_ngZone=l(T);_overlayRef=l(Li);_focusMonitor=l(Ai);_renderer=l(_e);_changeDetectorRef=l(ye);_injector=l(ie);_platform=l(te);_document=l(R,{optional:!0});_portalOutlet;_focusTrapped=new C;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=l(li,{optional:!0})||new li,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r(),a(),e.removeAttribute("tabindex")},r=this._renderer.listen(e,"blur",o),a=this._renderer.listen(e,"mousedown",o)})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(e){this._isDestroyed||Xe(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let o=Si(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=Si();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Si()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,o){if(t&1&&ve(Dn,7),t&2){let r;$(r=G())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,o){t&2&&V("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,o){t&1&&E(0,ly,0,0,"ng-template",0)},dependencies:[Dn],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} -`],encapsulation:2})}return i})(),zo=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new C;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!ze(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(n),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},cy=new v("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=l(Mt);return()=>i.scrollStrategies.block()}}),dy=new v("DialogData"),uy=new v("DefaultDialogConfig");var Xm=(()=>{class i{_overlay=l(Mt);_injector=l(ie);_defaultOptions=l(uy,{optional:!0});_parentDialog=l(i,{optional:!0,skipSelf:!0});_overlayContainer=l(za);_idGenerator=l(Ae);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;_ariaHiddenElements=new Map;_scrollStrategy=l(cy);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Rt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Te(void 0)));constructor(){}open(e,t){let o=this._defaultOptions||new li;t=_(_({},o),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let r=this._getOverlayConfig(t),a=this._overlay.create(r),s=new zo(a,t),c=this._attachContainer(a,s,t);if(s.containerInstance=c,!this.openDialogs.length){let h=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Re(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(h)}):this._hideNonDialogContentFromAssistiveTechnology(h)}return this._attachDialogContent(e,s,c,t),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){gc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){gc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),gc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new ai({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:li,useValue:o},{provide:zo,useValue:t},{provide:Li,useValue:e}],s;o.container?typeof o.container=="function"?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=_c;let c=new Oi(s,o.viewContainerRef,ie.create({parent:r||this._injector,providers:a}));return e.attach(c).instance}_attachDialogContent(e,t,o,r){if(e instanceof wt){let a=this._createInjector(r,t,o,void 0),s={$implicit:r.data,dialogRef:t};r.templateContext&&(s=_(_({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new Bt(e,null,s,a))}else{let a=this._createInjector(r,t,o,this._injector),s=o.attachComponentPortal(new Oi(e,r.viewContainerRef,a));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,o,r){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:dy,useValue:e.data},{provide:zo,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(Ke,null,{optional:!0}))&&s.push({provide:Ke,useValue:{value:e.direction,change:D()}}),ie.create({parent:a||r,providers:s})}_removeOpenDialog(e,t){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let r=t[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function gc(i,n){let e=i.length;for(;e--;)n(i[e])}function hy(i,n){}var $o=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},vc="mdc-dialog--open",Qm="mdc-dialog--opening",Jm="mdc-dialog--closing",my=150,py=75,ip=(()=>{class i extends _c{_animationMode=l(De,{optional:!0});_animationStateChanged=new q;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?tp(this._config.enterAnimationDuration)??my:0;_exitAnimationDuration=this._animationsEnabled?tp(this._config.exitAnimationDuration)??py:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ep,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qm,vc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(vc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(vc),this._animationsEnabled?(this._hostElement.style.setProperty(ep,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Jm)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(Qm,Jm)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,o){t&2&&(je("id",o._config.id),V("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),N("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[ee],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,o){t&1&&(u(0,"div",0)(1,"div",1),E(2,hy,0,0,"ng-template",2),d()())},dependencies:[Dn],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} -`],encapsulation:2})}return i})(),ep="--mat-dialog-transition-duration";function tp(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?un(i.substring(0,i.length-2)):i.endsWith("s")?un(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var Ho=(function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i})(Ho||{}),ci=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new C;_beforeClosed=new C;_result;_closeFallbackTimeout;_state=Ho.OPEN;_closeInteractionType;constructor(n,e,t){this._ref=n,this._containerInstance=t,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(oe(o=>o.state==="opened"),Re(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(oe(o=>o.state==="closed"),Re(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ge(this.backdropClick(),this.keydownEvents().pipe(oe(o=>o.keyCode===27&&!this.disableClose&&!ze(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),bc(this,o.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(oe(e=>e.state==="closing"),Re(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Ho.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ho.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function bc(i,n,e){return i._closeInteractionType=n,i.close(e)}var qa=new v("MatMdcDialogData"),np=new v("mat-mdc-dialog-default-options"),op=new v("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=l(Mt);return()=>i.scrollStrategies.block()}});var Go=(()=>{class i{_overlay=l(Mt);_defaultOptions=l(np,{optional:!0});_scrollStrategy=l(op);_parentDialog=l(i,{optional:!0,skipSelf:!0});_idGenerator=l(Ae);_dialog=l(Xm);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;dialogConfigClass=$o;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Rt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Te(void 0)));constructor(){this._dialogRefConstructor=ci,this._dialogContainerType=ip,this._dialogDataToken=qa}open(e,t){let o;t=_(_({},this._defaultOptions||new $o),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,re(_({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:li,useValue:t}]},templateContext:()=>({dialogRef:o}),providers:(a,s,c)=>(o=new this._dialogRefConstructor(a,t,c),o.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),yc=(()=>{class i{dialogRef=l(ci,{optional:!0});_elementRef=l(P);_dialog=l(Go);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=ap(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){bc(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,o){t&1&&O("click",function(a){return o._onButtonClick(a)}),t&2&&V("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[me]})}return i})(),rp=(()=>{class i{_dialogRef=l(ci,{optional:!0});_elementRef=l(P);_dialog=l(Go);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=ap(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i})}return i})(),Cc=(()=>{class i extends rp{id=l(Ae).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,o){t&2&&je("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ee]})}return i})(),wc=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Qc([Im])]})}return i})(),Dc=(()=>{class i extends rp{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,o){t&2&&N("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[ee]})}return i})();function ap(i,n){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}var fy=["mat-icon-button",""],gy=["*"];var _y=new v("MAT_BUTTON_CONFIG");var vy=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ya=(()=>{class i{_elementRef=l(P);_ngZone=l(T);_animationMode=l(De,{optional:!0});_focusMonitor=l(Ai);_rippleLoader=l(Ma);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){l(ke).load(Mi);let e=l(_y,{optional:!0}),t=this._elementRef.nativeElement,o=t.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"});for(let{attribute:r,mdcClasses:a}of vy)t.hasAttribute(r)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",L],disabled:[2,"disabled","disabled",L],ariaDisabled:[2,"aria-disabled","ariaDisabled",L],disabledInteractive:[2,"disabledInteractive","disabledInteractive",L]}})}return i})();var sp=(()=>{class i extends Ya{_renderer=l(_e);_cleanupClick;tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._cleanupClick?.()}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Ui(e)]},features:[ee]})}return i})(),xc=(()=>{class i extends Ya{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(V("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Je(o.color?"mat-"+o.color:""),N("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ee],attrs:fy,ngContentSelectors:gy,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(ue(),z(0,"span",0),B(1),z(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1} -`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`],encapsulation:2,changeDetection:0})}return i})();var lp=["mat-button",""],cp=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],dp=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],by=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} -`,yy=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`;var En=(()=>{class i extends Ya{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(V("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Je(o.color?"mat-"+o.color:""),N("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ee],attrs:lp,ngContentSelectors:dp,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(ue(cp),z(0,"span",0),B(1),u(2,"span",1),B(3,1),d(),B(4,2),z(5,"span",2)(6,"span",3)),t&2&&N("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} -`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`],encapsulation:2,changeDetection:0})}return i})(),up=(()=>{class i extends sp{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,o){t&2&&(V("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Je(o.color?"mat-"+o.color:""),N("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[ee],attrs:lp,ngContentSelectors:dp,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(ue(cp),z(0,"span",0),B(1),u(2,"span",1),B(3,1),d(),B(4,2),z(5,"span",2)(6,"span",3)),t&2&&N("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[by,yy],encapsulation:2,changeDetection:0})}return i})();var hp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[gn,pm,gn]})}return i})();var Cy=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms} -`],encapsulation:2,changeDetection:0})}return i})(),wy={passive:!0},pp=(()=>{class i{_platform=l(te);_ngZone=l(T);_renderer=l(Fe).createRenderer(null,null);_styleLoader=l(ke);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return pt;this._styleLoader.load(Cy);let t=at(e),o=this._monitoredElements.get(t);if(o)return o.subject;let r=new C,a="cdk-text-field-autofilled",s=h=>{h.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>r.next({target:h.target,isAutofilled:!0}))):h.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>r.next({target:h.target,isAutofilled:!1})))},c=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),Ye(this._renderer,t,"animationstart",s,wy)));return this._monitoredElements.set(t,{subject:r,unlisten:c}),r}stopMonitoring(e){let t=at(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var fp=new v("MAT_INPUT_VALUE_ACCESSOR");var Dy=["button","checkbox","file","hidden","image","radio","range","reset","submit"],xy=new v("MAT_INPUT_CONFIG"),gp=(()=>{class i{_elementRef=l(P);_platform=l(te);ngControl=l(bt,{optional:!0,self:!0});_autofillMonitor=l(pp);_ngZone=l(T);_formField=l(oi,{optional:!0});_renderer=l(_e);_uid=l(Ae).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=l(xy,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new C;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Ti(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(sn.required)??!1}set required(e){this._required=Ti(e)}_required;get type(){return this._type}set type(e){let t=this._type;this._type=e||"text",this._validateType(),!this._isTextarea&&Vl().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==t&&this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ti(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Vl().has(e));constructor(){let e=l(ot,{optional:!0}),t=l(yo,{optional:!0}),o=l(Ra),r=l(fp,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();r?ui(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new bn(o,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&or(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Dy.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let t=this._elementRef.nativeElement,o=t.getAttribute("aria-describedby"),r;if(o){let a=this._formFieldDescribedBy||e;r=e.concat(o.split(" ").filter(s=>s&&!a.includes(s)))}else r=e;this._formFieldDescribedBy=e,r.length?t.setAttribute("aria-describedby",r.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){this._cleanupWebkitWheel?.(),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,o){t&1&&O("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),t&2&&(je("id",o.id)("disabled",o.disabled&&!o.disabledInteractive)("required",o.required),V("name",o.name||null)("readonly",o._getReadonlyAttribute())("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),N("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mat-mdc-input-disabled-interactive",o.disabledInteractive)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",L]},exportAs:["matInput"],features:[se([{provide:yn,useExisting:i}]),me]})}return i})();var _p=(()=>{class i{data;dialogRef=l(ci);hide=Ct(!0);constructor(e){this.data=e}onNoClick(){this.dialogRef.close()}clickEvent(e){this.hide.set(!this.hide()),e.stopPropagation()}static \u0275fac=function(t){return new(t||i)(y(qa))};static \u0275cmp=x({type:i,selectors:[["app-dialog"]],decls:21,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"fillField"],["matInput","",3,"ngModelChange","ngModel"],["matInput","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","",3,"click"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",3,"click"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,o){t&1&&(u(0,"h1",0),f(1,"Hi "),d(),u(2,"div",1)(3,"p"),f(4,"User name"),d(),u(5,"mat-form-field",2)(6,"input",3),Se("ngModelChange",function(a){return Ee(o.data.username,a)||(o.data.username=a),a}),d()(),u(7,"p"),f(8,"Password"),d(),u(9,"mat-form-field",2)(10,"mat-label"),f(11,"Enter your password"),d(),u(12,"input",4),Se("ngModelChange",function(a){return Ee(o.data.password,a)||(o.data.password=a),a}),d(),u(13,"button",5),O("click",function(a){return o.clickEvent(a)}),u(14,"mat-icon"),f(15),d()()()(),u(16,"div",6)(17,"button",7),O("click",function(){return o.onNoClick()}),f(18,"No Thanks"),d(),u(19,"button",8),f(20,"Ok"),d()()),t&2&&(m(6),xe("ngModel",o.data.username),m(6),b("type",o.hide()?"password":"text"),xe("ngModel",o.data.password),m(),V("aria-label","Hide password")("aria-pressed",o.hide()),m(2),Oe(o.hide()?"visibility_off":"visibility"),m(4),b("mat-dialog-close",o.data))},dependencies:[hp,En,xc,ko,Dc,yc,Cc,wc,Fi,gp,cn,Ne,qe,rt,ni,ql],styles:[".fillField[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}return i})();var vp=(()=>{class i{subject$=new C;emit(e){this.subject$.next(e)}on(e,t){return this.subject$.pipe(oe(o=>o.name===e),k(o=>o.value)).subscribe(t)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Sy=["*",[["mat-toolbar-row"]]],Ay=["*","mat-toolbar-row"],Iy=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return i})(),Ka=(()=>{class i{_elementRef=l(P);_platform=l(te);_document=l(R);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-toolbar"]],contentQueries:function(t,o,r){if(t&1&&he(r,Iy,5),t&2){let a;$(a=G())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,o){t&2&&(Je(o.color?"mat-"+o.color:""),N("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Ay,decls:2,vars:0,template:function(t,o){t&1&&(ue(Sy),B(0),B(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}} -`],encapsulation:2,changeDetection:0})}return i})();function Ry(i,n){i&1&&(u(0,"li",3)(1,"a",14),f(2,"Admin Board"),d()())}function Ty(i,n){i&1&&(u(0,"li",3)(1,"a",15),f(2,"Moderator Board"),d()())}function Fy(i,n){i&1&&(u(0,"a",16),f(1,"User"),d())}function Oy(i,n){i&1&&(u(0,"ul",17)(1,"li",3)(2,"a",18),f(3,"Sign Up"),d()(),u(4,"li",3)(5,"a",19),f(6,"Login"),d()()())}function ky(i,n){if(i&1){let e=ge();u(0,"ul",17)(1,"li",3)(2,"a",20),f(3),d()(),u(4,"li",3)(5,"a",21),O("click",function(){Q(e);let o=w();return J(o.logout())}),f(6,"LogOut"),d()()()}if(i&2){let e=w();m(3),Oe(e.username)}}function Py(i,n){i&1&&(u(0,"button",22)(1,"mat-icon"),f(2,"app_registration"),d(),f(3," Register "),d())}function Ly(i,n){if(i&1){let e=ge();u(0,"button",23),O("click",function(){Q(e);let o=w();return J(o.openDialog("100ms","5ms"))}),u(1,"mat-icon"),f(2,"login"),d(),f(3," Login "),d()}}function Ny(i,n){if(i&1&&(u(0,"button",22)(1,"mat-icon"),f(2,"account_circle"),d(),f(3),d()),i&2){let e=w();m(3),be(" ",e.username," ")}}function By(i,n){if(i&1){let e=ge();u(0,"button",23),O("click",function(){Q(e);let o=w();return J(o.logout())}),u(1,"mat-icon"),f(2,"logout"),d(),f(3," Logout "),d()}}var bp=(()=>{class i{storageService;authService;eventBusService;dialog=l(Go);dialogData={password:"",username:""};roles=[];isLoggedIn=!1;showAdminBoard=!1;showModeratorBoard=!1;username;eventBusSub;errorMessage;isLoginFailed=!1;constructor(e,t,o){this.storageService=e,this.authService=t,this.eventBusService=o}ngOnInit(){if(this.isLoggedIn=this.storageService.isLoggedIn(),this.isLoggedIn){let e=this.storageService.getUser();this.roles=e.roles,this.showAdminBoard=!0,this.showModeratorBoard=this.roles.includes("ROLE_MODERATOR"),this.username=e.username}this.eventBusSub=this.eventBusService.on("logout",()=>{this.logout()})}logout(){this.authService.logout().subscribe({next:e=>{console.log(e),this.storageService.clean(),window.location.reload()},error:e=>{console.log(e)}})}openDialog(e,t){this.dialog.open(_p,{width:"350px",enterAnimationDuration:e,exitAnimationDuration:t,data:{username:this.dialogData.username,password:this.dialogData.password}}).afterClosed().subscribe(r=>{console.log("The dialog was closed"),r!=null&&(this.dialogData=r,this.authService.login(this.dialogData.username,this.dialogData.password).subscribe(a=>{this.storageService.saveToken(a.accessToken),this.storageService.saveUser(a),this.isLoginFailed=!1,this.isLoggedIn=!0;let s=this.storageService.getUser();this.roles=s.roles,this.reloadPage()},a=>{this.errorMessage=a.error.message,this.isLoginFailed=!0}))})}reloadPage(){window.location.reload()}static \u0275fac=function(t){return new(t||i)(y(si),y(xn),y(vp))};static \u0275cmp=x({type:i,selectors:[["app-root"]],standalone:!1,decls:29,vars:9,consts:[[1,"navbar","navbar-expand","navbar-dark","bg-dark"],["href","#",1,"navbar-brand"],["routerLinkActive","active",1,"navbar-nav","mr-auto"],[1,"nav-item"],["routerLink","tutorials",1,"nav-link"],["routerLink","add",1,"nav-link"],["class","nav-item",4,"ngIf"],["href","/user","class","nav-link","routerLink","user",4,"ngIf"],["class","navbar-nav ml-auto",4,"ngIf"],["mat-raised-button","","routerLink","/","href","#"],[1,"example-spacer"],["mat-raised-button","",4,"ngIf"],["mat-raised-button","",3,"click",4,"ngIf"],[1,"container","mt-3"],["href","/admin","routerLink","admin",1,"nav-link"],["href","/mod","routerLink","mod",1,"nav-link"],["href","/user","routerLink","user",1,"nav-link"],[1,"navbar-nav","ml-auto"],["href","/register","routerLink","register",1,"nav-link"],["href","/login","routerLink","login",1,"nav-link"],["href","/profile","routerLink","profile",1,"nav-link"],["href","",1,"nav-link",3,"click"],["mat-raised-button",""],["mat-raised-button","",3,"click"]],template:function(t,o){t&1&&(u(0,"div")(1,"nav",0)(2,"a",1),f(3,"Spring-AngularTS"),d(),u(4,"ul",2)(5,"li",3)(6,"a",4),f(7,"Tutorials"),d()(),u(8,"li",3)(9,"a",5),f(10,"Add"),d()(),E(11,Ry,3,0,"li",6)(12,Ty,3,0,"li",6),u(13,"li",3),E(14,Fy,2,0,"a",7),d()(),E(15,Oy,7,0,"ul",8)(16,ky,7,1,"ul",8),d(),u(17,"mat-toolbar")(18,"button",9),f(19," My App "),d(),u(20,"span"),f(21,"My App "),d(),z(22,"span",10),E(23,Py,4,0,"button",11)(24,Ly,4,0,"button",12)(25,Ny,4,1,"button",11)(26,By,4,0,"button",12),d(),u(27,"div",13),z(28,"router-outlet"),d()()),t&2&&(m(11),b("ngIf",o.showAdminBoard),m(),b("ngIf",o.showModeratorBoard),m(2),b("ngIf",o.isLoggedIn),m(),b("ngIf",!o.isLoggedIn),m(),b("ngIf",o.isLoggedIn),m(7),b("ngIf",!o.isLoggedIn),m(),b("ngIf",!o.isLoggedIn),m(),b("ngIf",o.isLoggedIn),m(),b("ngIf",o.isLoggedIn))},dependencies:[Ue,so,Zt,ml,Ka,En,ni],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}"]})}return i})();var Vy="Authorization",jy=(()=>{class i{token;constructor(e){this.token=e}intercept(e,t){let o=e,r=this.token.getToken();return r!=null&&(o=e.clone({headers:e.headers.set(Vy,"Bearer "+r)})),t.handle(o)}static \u0275fac=function(t){return new(t||i)(A(si))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),yp=[{provide:Dr,useClass:jy,multi:!0}];var Uy="@",zy=(()=>{class i{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=l(ie);loadingSchedulerFn=l(Hy,{optional:!0});_engine;constructor(e,t,o,r,a){this.doc=e,this.delegate=t,this.zone=o,this.animationType=r,this.moduleImpl=a}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-QGX6IMNZ.js").then(o=>o),t;return this.loadingSchedulerFn?t=this.loadingSchedulerFn(e):t=e(),t.catch(o=>{throw new H(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:r})=>{this._engine=o(this.animationType,this.doc);let a=new r(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,t){let o=this.delegate.createRenderer(e,t);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let r=new Ec(o);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let s=a.createRenderer(e,t);r.use(s),this.scheduler??=this.injector.get(Lc,null,{optional:!0}),this.scheduler?.notify(10)}).catch(a=>{r.use(o)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(t){Xo()};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Ec=class{delegate;replay=[];\u0275type=1;constructor(n){this.delegate=n}use(n){if(this.delegate=n,this.replay!==null){for(let e of this.replay)e(n);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}get destroyNode(){return this.delegate.destroyNode}appendChild(n,e){this.delegate.appendChild(n,e)}insertBefore(n,e,t,o){this.delegate.insertBefore(n,e,t,o)}removeChild(n,e,t){this.delegate.removeChild(n,e,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,o){this.delegate.setAttribute(n,e,t,o)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,o){this.delegate.setStyle(n,e,t,o)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(n,e,t)),this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t,o){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(n,e,t,o)),this.delegate.listen(n,e,t,o)}shouldReplay(n){return this.replay!==null&&n.startsWith(Uy)}},Hy=new v("");function Cp(i="animations"){return Tn("NgAsyncAnimations"),Bi([{provide:Fe,useFactory:(n,e,t)=>new zy(n,e,t,i),deps:[R,jn,T]},{provide:De,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var wp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i,bootstrap:[bp]});static \u0275inj=Z({providers:[yp,Ls(Ns()),Cp()],imports:[Rs,Zm,cn,Wa,Ka,En,ni,up,ka,Lo,Ha,Cn,Fi,tc,ec,bh]})}return i})();var Dp={production:!0};Dp.production&&void 0;Ms().bootstrapModule(wp).catch(i=>console.error(i)); diff --git a/spring-angular-ui/static/browser/polyfills-4CM4QRSW.js b/spring-angular-ui/static/browser/polyfills-4CM4QRSW.js new file mode 100644 index 0000000..37c1f6c --- /dev/null +++ b/spring-angular-ui/static/browser/polyfills-4CM4QRSW.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===y)he&&E._transitionTo(d,A,y);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(y,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,y,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==y&&s._transitionTo(d,y),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;EI.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,y)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),p=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[p]&&(L=ce[p].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var ye=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e{let p=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(p,T),p})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=ye(t,n);if(!e&&a&&ye(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),p=Ce[T];p||(p=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[p]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[p]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[p];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;efunction(g,T){let p=a(g,T);return p.cbIdx>=0&&typeof T[p.cbIdx]=="function"?xe(p.name,T[p.cbIdx],p,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function pt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var yt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",p=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(y,d,A){if(y.isRemoved)return;let V=y.callback;typeof V=="object"&&V.handleEvent&&(y.callback=k=>V.handleEvent(k),y.originalDelegate=V);let X;try{y.invoke(y,d,[A])}catch(k){X=k}let F=y.options;if(F&&typeof F=="object"&&F.once){let k=y.originalDelegate?y.originalDelegate:y.callback;d[f].call(d,A.type,k,F)}return X};function H(y,d,A){if(d=d||t.event,!d)return;let V=y||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U{throw U})}}}let z=function(y){return H(this,y,!1)},$=function(y){return H(this,y,!0)};function J(y,d){if(!y)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=y;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&y[c]&&(k=y),!k||k[p])return!1;let U=d&&d.eventNameToString,S={},R=k[p]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;Gfunction(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function p(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,p);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:y}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!y)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let p=0;pf.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;cfunction(w,_){return a.current.run(g,n,_,p)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{pe("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{pe("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function y(R){let b=R.data,D=b.target;D[g]=!1,D[p]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;Efunction(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,y,A);R&&R[p]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&>(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let p=n.PromiseRejectionEvent;if(p){let w=new p(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,p=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;p.length;){let h=p.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let y=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[y]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(y)&&o.hasOwnProperty(d)&&o[y]!==k)i(o),I(h,o[y],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[y]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[y]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[y]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[y]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[y]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=p,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,p="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?p:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,p,w){return p&&p.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=p.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(p.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,p,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=pt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=ye,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=pe,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut); diff --git a/spring-angular-ui/static/browser/polyfills-5FDKUQTZ.js b/spring-angular-ui/static/browser/polyfills-5FDKUQTZ.js deleted file mode 100644 index 14bd9fe..0000000 --- a/spring-angular-ui/static/browser/polyfills-5FDKUQTZ.js +++ /dev/null @@ -1,2 +0,0 @@ -var ce=globalThis;function ee(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function ht(){let e=ce.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static __symbol__=ee;static assertZonePatched(){if(ce.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){let P=ce[ee("forceDuplicateZoneCheck")]===!0;if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!ce["__Zone_disable_"+n]){let P="Zone:"+n;r(P),O[n]=o(ce,N,C),c(P,P)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){let o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if(typeof n!="function")throw new Error("Expecting function got: "+n);let p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");let P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;let ae=n.state!=j;ae&&P._transitionTo(j,h);let le=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne}}finally{let ne=n.state;if(ne!==X&&ne!==Y)if(q==U||A||_e&&ne===y)ae&&P._transitionTo(h,j,y);else{let f=P._zoneDelegates;this._updateTaskCount(P,-1),ae&&P._transitionTo(X,j,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=le}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(y,X);let o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(F,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(U,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(!(n.state!==h&&n.state!==j)){n._transitionTo(x,h,j);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,x),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,x),n.runCount=-1,n}}_updateTaskCount(n,o){let p=n._zoneDelegates;o==-1&&(n._zoneDelegates=null);for(let P=0;PN.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(_,n,o){this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=o&&o.onHasTask,P=n&&n._hasTaskZS;(p||P)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n):!0}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else if(n.type==F)z(n);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){let o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");if(p==0||P==0){let q={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_};this.hasTask(this._zone,q)}}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(_,n,o,p,P,q){if(this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;let A=this;_===U&&p&&p.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{Q==1&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(_,n,o){if(this._state===n||this._state===o)this._state=_,_==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=ee("setTimeout"),m=ee("Promise"),D=ee("then"),d=[],R=!1,M;function V(N){if(M||ce[m]&&(M=ce[m].resolve(0)),M){let _=M[D];_||(_=M.then),_.call(M,N)}else ce[T](N,0)}function z(N){Q===0&&d.length===0&&V(J),N&&d.push(N)}function J(){if(!R){for(R=!0;d.length;){let N=d;d=[];for(let _=0;_b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:V},b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}function dt(){let e=globalThis,r=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(r||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ht(),e.Zone}var ye=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=ee(je),Ze=ee(He),ue="true",fe="false",ve=ee("");function Ve(e,r){return Zone.current.wrap(e,r)}function xe(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}var H=ee,we=typeof window<"u",be=we?window:void 0,$=we&&be||globalThis,Et="removeAttribute";function Fe(e,r){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ve(e[c],r+"_"+c));return e}function gt(e,r){let c=e.constructor.name;for(let t=0;t{let m=function(){return T.apply(this,Fe(arguments,c+"."+i))};return de(m,T),m})(u)}}}function et(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in $)&&typeof $.process<"u"&&$.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof $.process<"u"&&$.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=H("enable_beforeunload"),Xe=function(e){if(e=e||$.event,!e)return;let r=Ce[e.type];r||(r=Ce[e.type]=H("ON_PROPERTY"+e.type));let c=this||e.target||$,t=c[r],i;if(Ge&&c===be&&e.type==="error"){let u=e;i=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),i===!0&&e.preventDefault()}else i=t&&t.apply(this,arguments),e.type==="beforeunload"&&$[kt]&&typeof i=="string"?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i};function Ye(e,r,c){let t=ye(e,r);if(!t&&c&&ye(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let i=H("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;let u=t.get,E=t.set,T=r.slice(2),m=Ce[T];m||(m=Ce[T]=H("ON_PROPERTY"+T)),t.set=function(D){let d=this;if(!d&&e===$&&(d=$),!d)return;typeof d[m]=="function"&&d.removeEventListener(T,Xe),E?.call(d,null),d[m]=D,typeof D=="function"&&d.addEventListener(T,Xe,!1)},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;let d=D[m];if(d)return d;if(u){let R=u.call(this);if(R)return t.set.call(this,R),typeof D[Et]=="function"&&D.removeAttribute(r),R}return null},Me(e,r,t),e[i]=!0}function rt(e,r,c){if(r)for(let t=0;tfunction(E,T){let m=c(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?xe(m.name,T[m.cbIdx],m,i):u.apply(E,T)})}function de(e,r){e[H("OriginalDelegate")]=r}var $e=!1,Le=!1;function pt(){if($e)return Le;$e=!0;try{let e=be.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(e){return typeof e=="function"}function Ke(e){return typeof e=="number"}var yt={useG:!0},te={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=H("propagationStopped");function ct(e,r){let c=(r?r(e):e)+fe,t=(r?r(e):e)+ue,i=ve+c,u=ve+t;te[e]={},te[e][fe]=i,te[e][ue]=u}function vt(e,r,c,t){let i=t&&t.add||je,u=t&&t.rm||He,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=H(i),D="."+i+":",d="prependListener",R="."+d+":",M=function(y,h,j){if(y.isRemoved)return;let x=y.callback;typeof x=="object"&&x.handleEvent&&(y.callback=g=>x.handleEvent(g),y.originalDelegate=x);let Y;try{y.invoke(y,h,[j])}catch(g){Y=g}let F=y.options;if(F&&typeof F=="object"&&F.once){let g=y.originalDelegate?y.originalDelegate:y.callback;h[u].call(h,j.type,g,F)}return Y};function V(y,h,j){if(h=h||e.event,!h)return;let x=y||h.target||e,Y=x[te[h.type][j?ue:fe]];if(Y){let F=[];if(Y.length===1){let g=M(Y[0],x,h);g&&F.push(g)}else{let g=Y.slice();for(let U=0;U{throw U})}}}let z=function(y){return V(this,y,!1)},J=function(y){return V(this,y,!0)};function K(y,h){if(!y)return!1;let j=!0;h&&h.useG!==void 0&&(j=h.useG);let x=h&&h.vh,Y=!0;h&&h.chkDup!==void 0&&(Y=h.chkDup);let F=!1;h&&h.rt!==void 0&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ae(g);if(!g&&y[i]&&(g=y),!g||g[m])return!1;let U=h&&h.eventNameToString,O={},C=g[m]=g[i],b=g[H(u)]=g[u],S=g[H(E)]=g[E],Q=g[H(T)]=g[T],W;h&&h.prepend&&(W=g[H(h.prepend)]=g[h.prepend]);function N(s,l){return l?typeof s=="boolean"?{capture:s,passive:!0}:s?typeof s=="object"&&s.passive!==!1?{...s,passive:!0}:s:{passive:!0}:s}let _=function(s){if(!O.isExisting)return C.call(O.target,O.eventName,O.capture?J:z,O.options)},n=function(s){if(!s.isRemoved){let l=te[s.eventName],v;l&&(v=l[s.capture?ue:fe]);let w=v&&s.target[v];if(w){for(let k=0;kre.zone.cancelTask(re);s.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(O.target=null,me&&(me.taskData=null),Be&&(O.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=L,re.capture=Se,re.eventName=I,B&&(re.originalDelegate=G),Z?ge.unshift(re):ge.push(re),k)return L}};return g[i]=a(C,D,q,A,F),W&&(g[d]=a(W,R,p,A,F,!0)),g[u]=function(){let s=this||e,l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));let v=arguments[2],w=v?typeof v=="boolean"?!0:v.capture:!1,k=arguments[1];if(!k)return b.apply(this,arguments);if(x&&!x(b,k,s,arguments))return;let Z=te[l],L;Z&&(L=Z[w?ue:fe]);let I=L&&s[L];if(I)for(let G=0;Gfunction(i,u){i[it]=!0,t&&t.apply(i,u)})}function Pt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}var Re=H("zoneTask");function ke(e,r,c,t){let i=null,u=null;r+=t,c+=t;let E={};function T(D){let d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};let R=i.apply(e,d.args);return Ke(R)?d.handleId=R:(d.handle=R,d.isRefreshable=Je(R.refresh)),D}function m(D){let{handle:d,handleId:R}=D.data;return u.call(e,d??R)}i=he(e,r,D=>function(d,R){if(Je(R[0])){let M={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?R[1]||0:void 0,args:R},V=R[0];R[0]=function(){try{return V.apply(this,arguments)}finally{let{handle:j,handleId:x,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(x?delete E[x]:j&&(j[Re]=null))}};let z=xe(r,R[0],M,T,m);if(!z)return z;let{handleId:J,handle:K,isRefreshable:X,isPeriodic:y}=z.data;if(J)E[J]=z;else if(K&&(K[Re]=z,X&&!y)){let h=K.refresh;K.refresh=function(){let{zone:j,state:x}=z;return x==="notScheduled"?(z._state="scheduled",j._updateTaskCount(z,1)):x==="running"&&(z._state="scheduling"),h.call(this)}}return K??J??z}else return D.apply(e,R)}),u=he(e,c,D=>function(d,R){let M=R[0],V;Ke(M)?(V=E[M],delete E[M]):(V=M?.[Re],V?M[Re]=null:V=M),V?.type?V.cancelFn&&V.zone.cancelTask(V):D.apply(e,R)})}function Rt(e,r){let{isBrowser:c,isMix:t}=r.getGlobalObjects();if(!c&&!t||!e.customElements||!("customElements"in e))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,e.customElements,"customElements","define",i)}function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;mu.target===e);if(t.length===0)return r;let i=t[0].ignoreProperties;return r.filter(u=>i.indexOf(u)===-1)}function Qe(e,r,c,t){if(!e)return;let i=lt(e,r,c);rt(e,i,t)}function Ie(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Dt(e,r){if(De&&!nt||Zone[e.symbol("patchEvents")])return;let c=r.__Zone_ignore_on_properties,t=[];if(Ge){let i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=[];Qe(i,Ie(i),c&&c.concat(u),Ae(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{let c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{let t="clear";ke(r,"set",t,"Timeout"),ke(r,"set",t,"Interval"),ke(r,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ke(r,"request","cancel","AnimationFrame"),ke(r,"mozRequest","mozCancel","AnimationFrame"),ke(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{let t=["alert","prompt","confirm"];for(let i=0;ifunction(D,d){return c.current.run(E,r,d,m)})}}),e.__load_patch("EventTarget",(r,c,t)=>{wt(r,t),Ct(r,t);let i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{pe("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{pe("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{Dt(t,r)}),e.__load_patch("customElements",(r,c,t)=>{Rt(r,t)}),e.__load_patch("XHR",(r,c)=>{D(r);let t=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),E=H("xhrScheduled"),T=H("xhrURL"),m=H("xhrErrorBeforeScheduled");function D(d){let R=d.XMLHttpRequest;if(!R)return;let M=R.prototype;function V(C){return C[t]}let z=M[Ne],J=M[Ze];if(!z){let C=d.XMLHttpRequestEventTarget;if(C){let b=C.prototype;z=b[Ne],J=b[Ze]}}let K="readystatechange",X="scheduled";function y(C){let b=C.data,S=b.target;S[E]=!1,S[m]=!1;let Q=S[u];z||(z=S[Ne],J=S[Ze]),Q&&J.call(S,K,Q);let W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&C.state===X){let _=S[c.__symbol__("loadfalse")];if(S.status!==0&&_&&_.length>0){let n=C.invoke;C.invoke=function(){let o=S[c.__symbol__("loadfalse")];for(let p=0;pfunction(C,b){return C[i]=b[2]==!1,C[T]=b[1],x.apply(C,b)}),Y="XMLHttpRequest.send",F=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=he(M,"send",()=>function(C,b){if(c.current[g]===!0||C[i])return U.apply(C,b);{let S={target:C,url:C[T],isPeriodic:!1,args:b,aborted:!1},Q=xe(Y,h,S,y,j);C&&C[m]===!0&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=he(M,"abort",()=>function(C,b){let S=V(C);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(c.current[F]===!0)return O.apply(C,b)})}}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&>(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){at(r,i).forEach(T=>{let m=r.PromiseRejectionEvent;if(m){let D=new m(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{Pt(r,t)})}function Ot(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{let i=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function E(f){if(f&&f.toString===Object.prototype.toString){let a=f.constructor&&f.constructor.name;return(a||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let T=t.symbol,m=[],D=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,d=T("Promise"),R=T("then"),M="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){let a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;m.length;){let f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};let V=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{let a=c[V];typeof a=="function"&&a.call(this,f)}catch{}}function J(f){return f&&typeof f.then=="function"}function K(f){return f}function X(f){return A.reject(f)}let y=T("state"),h=T("value"),j=T("finally"),x=T("parentPromiseValue"),Y=T("parentPromiseState"),F="Promise.then",g=null,U=!0,O=!1,C=0;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}let S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){let l=S();if(f===s)throw new TypeError(Q);if(f[y]===g){let v=null;try{(typeof s=="object"||typeof s=="function")&&(v=s&&s.then)}catch(w){return l(()=>{N(f,!1,w)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&typeof v=="function")try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(w){l(()=>{N(f,!1,w)})()}else{f[y]=a;let w=f[h];if(f[h]=s,f[j]===j&&a===U&&(f[y]=f[Y],f[h]=f[x]),a===O&&s instanceof Error){let k=c.currentTask&&c.currentTask.data&&c.currentTask.data[M];k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k{try{let Z=f[h],L=!!s&&j===s[j];L&&(s[x]=Z,s[Y]=w);let I=a.run(k,void 0,L&&k!==X&&k!==K?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}let p="function ZoneAwarePromise() { [native code] }",P=function(){},q=r.AggregateError;class A{static toString(){return p}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){let a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new q([],"All promises were rejected"));let s=[],l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(l===0)return Promise.reject(new q([],"All promises were rejected"));let v=!1,w=[];return new A((k,Z)=>{for(let L=0;L{v||(v=!0,k(I))},I=>{w.push(I),l--,l===0&&(v=!0,Z(new q(w,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function w(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)J(Z)||(Z=this.resolve(Z)),Z.then(w,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,w=new this((I,G)=>{l=I,v=G}),k=2,Z=0,L=[];for(let I of a){J(I)||(I=this.resolve(I));let G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,k===0&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,k===0&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,k===0&&l(L),w}constructor(a){let s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{let l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=this.constructor||A);let v=new l(P),w=c.current;return this[y]==g?this[h].push(w,v,a,s):o(this,w,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||typeof s!="function")&&(s=A);let l=new s(P);l[j]=j;let v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;let _e=r[d]=r.Promise;r.Promise=A;let ae=T("thenPatched");function le(f){let a=f.prototype,s=i(a,"then");if(s&&(s.writable===!1||!s.configurable))return;let l=a.then;a[R]=l,f.prototype.then=function(v,w){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,w)},f[ae]=!0}t.patchThen=le;function ne(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[ae]||le(v),l}}return _e&&(le(_e),he(r,"fetch",f=>ne(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})}function Nt(e){e.__load_patch("toString",r=>{let c=Function.prototype.toString,t=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),E=function(){if(typeof this=="function"){let d=this[t];if(d)return typeof d=="function"?c.call(d):Object.prototype.toString.call(d);if(this===Promise){let R=r[i];if(R)return c.call(R)}if(this===Error){let R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Zt(e,r,c,t,i){let u=Zone.__symbol__(t);if(r[u])return;let E=r[u]=r[t];r[t]=function(T,m,D){return m&&m.prototype&&i.forEach(function(d){let R=`${c}.${t}::`+d,M=m.prototype;try{if(M.hasOwnProperty(d)){let V=e.ObjectGetOwnPropertyDescriptor(M,d);V&&V.value?(V.value=e.wrapWithCurrentZone(V.value,R),e._redefineProperty(m.prototype,d,V)):M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}else M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}catch{}}),E.call(r,T,m,D)},e.attachOriginToPatched(r[t],E)}function Lt(e){e.__load_patch("util",(r,c,t)=>{let i=Ie(r);t.patchOnProperties=rt,t.patchMethod=he,t.bindArguments=Fe,t.patchMacroTask=mt;let u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=bt,t.patchEventTarget=vt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Me,t.ObjectGetOwnPropertyDescriptor=ye,t.ObjectCreate=_t,t.ArraySlice=Tt,t.patchClass=pe,t.wrapWithCurrentZone=Ve,t.filterProperties=lt,t.attachOriginToPatched=de,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Zt,t.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:te,eventNames:i,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ue,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(e){Ot(e),Nt(e),Lt(e)}var ut=dt();It(ut);St(ut); diff --git a/spring-angular-ui/static/browser/styles-BENHQVNJ.css b/spring-angular-ui/static/browser/styles-BENHQVNJ.css new file mode 100644 index 0000000..a6ab85e --- /dev/null +++ b/spring-angular-ui/static/browser/styles-BENHQVNJ.css @@ -0,0 +1 @@ +.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{color-scheme:light dark;--mat-sys-background: light-dark(#fef8fc, #151316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f5eff4, #323033);--mat-sys-inverse-primary: light-dark(#d5baff, #7d00fa);--mat-sys-inverse-surface: light-dark(#323033, #e6e1e6);--mat-sys-on-background: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #42008a);--mat-sys-on-primary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-primary-fixed: light-dark(#270057, #270057);--mat-sys-on-primary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-on-secondary: light-dark(#ffffff, #352d40);--mat-sys-on-secondary-container: light-dark(#4b4357, #eadef7);--mat-sys-on-secondary-fixed: light-dark(#1f182a, #1f182a);--mat-sys-on-secondary-fixed-variant: light-dark(#4b4357, #4b4357);--mat-sys-on-surface: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-surface-variant: light-dark(#49454e, #e8e0eb);--mat-sys-on-tertiary: light-dark(#ffffff, #42008a);--mat-sys-on-tertiary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-tertiary-fixed: light-dark(#270057, #270057);--mat-sys-on-tertiary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-outline: light-dark(#7b757f, #958e99);--mat-sys-outline-variant: light-dark(#cbc4cf, #49454e);--mat-sys-primary: light-dark(#7d00fa, #d5baff);--mat-sys-primary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-primary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-primary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#645b70, #cec2db);--mat-sys-secondary-container: light-dark(#eadef7, #4b4357);--mat-sys-secondary-fixed: light-dark(#eadef7, #eadef7);--mat-sys-secondary-fixed-dim: light-dark(#cec2db, #cec2db);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#fef8fc, #151316);--mat-sys-surface-bright: light-dark(#fef8fc, #3b383c);--mat-sys-surface-container: light-dark(#f2ecf1, #211f22);--mat-sys-surface-container-high: light-dark(#ede6eb, #2b292d);--mat-sys-surface-container-highest: light-dark(#e6e1e6, #363437);--mat-sys-surface-container-low: light-dark(#f8f2f6, #1d1b1e);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0f0d11);--mat-sys-surface-dim: light-dark(#ded8dd, #151316);--mat-sys-surface-tint: light-dark(#7d00fa, #d5baff);--mat-sys-surface-variant: light-dark(#e8e0eb, #49454e);--mat-sys-tertiary: light-dark(#7d00fa, #d5baff);--mat-sys-tertiary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-tertiary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-tertiary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-neutral-variant20: #332f37;--mat-sys-neutral10: #1d1b1e;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12} diff --git a/spring-angular-ui/static/browser/styles-YWNZLESN.css b/spring-angular-ui/static/browser/styles-YWNZLESN.css deleted file mode 100644 index 1091c27..0000000 --- a/spring-angular-ui/static/browser/styles-YWNZLESN.css +++ /dev/null @@ -1 +0,0 @@ -.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{color-scheme:light dark}html{--mat-sys-background: light-dark(#fef8fc, #151316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f5eff4, #323033);--mat-sys-inverse-primary: light-dark(#d5baff, #7d00fa);--mat-sys-inverse-surface: light-dark(#323033, #e6e1e6);--mat-sys-on-background: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #42008a);--mat-sys-on-primary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-primary-fixed: light-dark(#270057, #270057);--mat-sys-on-primary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-on-secondary: light-dark(#ffffff, #352d40);--mat-sys-on-secondary-container: light-dark(#4b4357, #eadef7);--mat-sys-on-secondary-fixed: light-dark(#1f182a, #1f182a);--mat-sys-on-secondary-fixed-variant: light-dark(#4b4357, #4b4357);--mat-sys-on-surface: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-surface-variant: light-dark(#49454e, #e8e0eb);--mat-sys-on-tertiary: light-dark(#ffffff, #42008a);--mat-sys-on-tertiary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-tertiary-fixed: light-dark(#270057, #270057);--mat-sys-on-tertiary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-outline: light-dark(#7b757f, #958e99);--mat-sys-outline-variant: light-dark(#cbc4cf, #49454e);--mat-sys-primary: light-dark(#7d00fa, #d5baff);--mat-sys-primary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-primary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-primary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#645b70, #cec2db);--mat-sys-secondary-container: light-dark(#eadef7, #4b4357);--mat-sys-secondary-fixed: light-dark(#eadef7, #eadef7);--mat-sys-secondary-fixed-dim: light-dark(#cec2db, #cec2db);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#fef8fc, #151316);--mat-sys-surface-bright: light-dark(#fef8fc, #3b383c);--mat-sys-surface-container: light-dark(#f2ecf1, #211f22);--mat-sys-surface-container-high: light-dark(#ede6eb, #2b292d);--mat-sys-surface-container-highest: light-dark(#e6e1e6, #363437);--mat-sys-surface-container-low: light-dark(#f8f2f6, #1d1b1e);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0f0d11);--mat-sys-surface-dim: light-dark(#ded8dd, #151316);--mat-sys-surface-tint: light-dark(#7d00fa, #d5baff);--mat-sys-surface-variant: light-dark(#e8e0eb, #49454e);--mat-sys-tertiary: light-dark(#7d00fa, #d5baff);--mat-sys-tertiary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-tertiary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-tertiary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-neutral-variant20: #332f37;--mat-sys-neutral10: #1d1b1e}html{--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500}html{--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px}html{--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12} diff --git a/spring-angular-ui/static/prerendered-routes.json b/spring-angular-ui/static/prerendered-routes.json deleted file mode 100644 index 3226541..0000000 --- a/spring-angular-ui/static/prerendered-routes.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "routes": {} -} \ No newline at end of file diff --git a/spring-angular-ui/tsconfig.app.json b/spring-angular-ui/tsconfig.app.json index 82d91dc..a7c49a3 100644 --- a/spring-angular-ui/tsconfig.app.json +++ b/spring-angular-ui/tsconfig.app.json @@ -11,5 +11,13 @@ ], "include": [ "src/**/*.d.ts" - ] + ], + "angularCompilerOptions": { + "extendedDiagnostics": { + "checks": { + "nullishCoalescingNotNullable": "suppress", + "optionalChainNotNullable": "suppress" + } + } + } } diff --git a/spring-angular-ui/tsconfig.json b/spring-angular-ui/tsconfig.json index e1b5115..ef5c78f 100644 --- a/spring-angular-ui/tsconfig.json +++ b/spring-angular-ui/tsconfig.json @@ -2,7 +2,9 @@ { "compileOnSave": false, "compilerOptions": { - "baseUrl": "./", + "paths": { + "src/*": ["./src/*"] + }, "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "esModuleInterop": true, @@ -12,14 +14,10 @@ "sourceMap": true, "declaration": false, "experimentalDecorators": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "importHelpers": true, "target": "ES2022", - "module": "es2022", - "lib": [ - "es2018", - "dom" - ] + "module": "es2022" }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, diff --git a/spring-angular-ui/tsconfig.spec.json b/spring-angular-ui/tsconfig.spec.json index 092345b..6aa248e 100644 --- a/spring-angular-ui/tsconfig.spec.json +++ b/spring-angular-ui/tsconfig.spec.json @@ -14,5 +14,13 @@ "include": [ "src/**/*.spec.ts", "src/**/*.d.ts" - ] + ], + "angularCompilerOptions": { + "extendedDiagnostics": { + "checks": { + "nullishCoalescingNotNullable": "suppress", + "optionalChainNotNullable": "suppress" + } + } + } } diff --git a/src/main/java/com/example/demo_monolith/DTOs/RoleDto.java b/src/main/java/com/example/demo_monolith/DTOs/RoleDto.java index 69c5ef1..46cb480 100644 --- a/src/main/java/com/example/demo_monolith/DTOs/RoleDto.java +++ b/src/main/java/com/example/demo_monolith/DTOs/RoleDto.java @@ -33,12 +33,6 @@ public class RoleDto { this.name = name; } - // Mapping helpers - public static RoleDto fromEntity(Role role) { - if (role == null) return null; - return new RoleDto(role.getId(), role.getName()); - } - public Role toEntity() { Role role = new Role(); role.setId(this.id); diff --git a/src/main/java/com/example/demo_monolith/DTOs/UserDto.java b/src/main/java/com/example/demo_monolith/DTOs/UserDto.java index f9e1418..b6ce368 100644 --- a/src/main/java/com/example/demo_monolith/DTOs/UserDto.java +++ b/src/main/java/com/example/demo_monolith/DTOs/UserDto.java @@ -1,11 +1,8 @@ package com.example.demo_monolith.DTOs; -import com.example.demo_monolith.model.User; import com.fasterxml.jackson.annotation.JsonIgnore; -import java.util.Objects; import java.util.Set; -import java.util.stream.Collectors; public class UserDto { @JsonIgnore @@ -68,35 +65,4 @@ public class UserDto { public void setPassword(String password) { this.password = password; } - - // Mapping helpers - public static UserDto fromEntity(User user) { - if (user == null) return null; - return new UserDto( - user.getId(), - user.getUsername(), - user.getEmail(), - user.getPassword(), - user.getRoles() == null ? null : - user.getRoles().stream() - .filter(Objects::nonNull) - .map(RoleDto::fromEntity) - .collect(Collectors.toSet()) - ); - } - - public User toEntity() { - User user = new User(); - user.setId(this.id); - user.setUsername(this.username); - user.setEmail(this.email); - user.setPassword(this.password); // Assuming password is already hashed - if (this.roles != null) { - user.setRoles(this.roles.stream() - .filter(Objects::nonNull) - .map(RoleDto::toEntity) - .collect(Collectors.toSet())); - } - return user; - } } diff --git a/src/main/java/com/example/demo_monolith/controllers/AuthController.java b/src/main/java/com/example/demo_monolith/controllers/AuthController.java index f3fd157..4eb7618 100644 --- a/src/main/java/com/example/demo_monolith/controllers/AuthController.java +++ b/src/main/java/com/example/demo_monolith/controllers/AuthController.java @@ -27,8 +27,7 @@ import java.util.List; import java.util.Set; import java.util.stream.Collectors; -//@CrossOrigin(origins = "*", maxAge = 3600) -@CrossOrigin(origins = "http://localhost:4200", maxAge = 3600, allowCredentials="true") +@CrossOrigin(origins = "${app.origin}", maxAge = 3600, allowCredentials="true") @RestController @RequestMapping("/api/auth") public class AuthController { diff --git a/src/main/java/com/example/demo_monolith/controllers/RolesController.java b/src/main/java/com/example/demo_monolith/controllers/RolesController.java index 59dcc1a..f2eb522 100644 --- a/src/main/java/com/example/demo_monolith/controllers/RolesController.java +++ b/src/main/java/com/example/demo_monolith/controllers/RolesController.java @@ -23,7 +23,6 @@ public class RolesController { try { List role = new ArrayList(); role = roleRepository.findAll(); - //userRepository.findAll().forEach(users::add); if (role.isEmpty()) { diff --git a/src/main/java/com/example/demo_monolith/controllers/SettingsController.java b/src/main/java/com/example/demo_monolith/controllers/SettingsController.java deleted file mode 100644 index f84d3d7..0000000 --- a/src/main/java/com/example/demo_monolith/controllers/SettingsController.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.example.demo_monolith.controllers; - - -import com.example.demo_monolith.model.Setting; -import com.example.demo_monolith.repository.SettingsRepository; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.HttpStatus; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; - -import java.util.List; - -@RestController -@RequestMapping("/api") -public class SettingsController { - @Autowired - private SettingsRepository settingsRepository; - - @GetMapping("/settings") - public ResponseEntity> getSettings(@RequestParam(required = false) String title) { - try { - List settings = settingsRepository.findAll(); - //userRepository.findAll().forEach(users::add); - - - if (settings.isEmpty()) { - return new ResponseEntity<>(HttpStatus.NO_CONTENT); - } - - return new ResponseEntity<>(settings, HttpStatus.OK); - } catch (Exception e) { - return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR); - } - } - -} diff --git a/src/main/java/com/example/demo_monolith/controllers/TestController.java b/src/main/java/com/example/demo_monolith/controllers/TestController.java deleted file mode 100644 index e801698..0000000 --- a/src/main/java/com/example/demo_monolith/controllers/TestController.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.example.demo_monolith.controllers; - -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.CrossOrigin; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -@CrossOrigin(origins = "*", maxAge = 3600) -@RestController -@RequestMapping("/api/test") -public class TestController { - @GetMapping("/all") - public String allAccess() { - return "Public Content."; - } - - @GetMapping("/user") - @PreAuthorize("hasRole('USER') or hasRole('MODERATOR') or hasRole('ADMIN')") - public String userAccess() { - return "User Content."; - } - - @GetMapping("/mod") - @PreAuthorize("hasRole('MODERATOR')") - public String moderatorAccess() { - return "Moderator Board."; - } - - @GetMapping("/admin") - @PreAuthorize("hasRole('ADMIN')") - public String adminAccess() { - return "Admin Board."; - } -} diff --git a/src/main/java/com/example/demo_monolith/controllers/TutorialController.java b/src/main/java/com/example/demo_monolith/controllers/TutorialController.java index 3bac67e..c10b948 100644 --- a/src/main/java/com/example/demo_monolith/controllers/TutorialController.java +++ b/src/main/java/com/example/demo_monolith/controllers/TutorialController.java @@ -55,8 +55,11 @@ public class TutorialController { @PostMapping("/tutorials") public ResponseEntity createTutorial(@RequestBody Tutorial tutorial) { try { - Tutorial _tutorial = tutorialRepository - .save(new Tutorial(tutorial.getTitle(), tutorial.getDescription(), false)); + Tutorial _tutorial = new Tutorial(); + _tutorial.setTitle(tutorial.getTitle()); + _tutorial.setDescription(tutorial.getDescription()); + _tutorial.setPublished(false); + _tutorial = tutorialRepository.save(_tutorial); return new ResponseEntity<>(_tutorial, HttpStatus.CREATED); } catch (Exception e) { return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR); diff --git a/src/main/java/com/example/demo_monolith/controllers/UsersController.java b/src/main/java/com/example/demo_monolith/controllers/UsersController.java index 6e240a8..486d51d 100644 --- a/src/main/java/com/example/demo_monolith/controllers/UsersController.java +++ b/src/main/java/com/example/demo_monolith/controllers/UsersController.java @@ -1,15 +1,27 @@ package com.example.demo_monolith.controllers; +import com.example.demo_monolith.model.ERole; +import com.example.demo_monolith.model.Role; import com.example.demo_monolith.model.User; +import com.example.demo_monolith.payload.request.UpdateRolesRequest; +import com.example.demo_monolith.payload.response.MessageResponse; +import com.example.demo_monolith.repository.RoleRepository; import com.example.demo_monolith.repository.UserRepository; +import com.example.demo_monolith.security.services.UserDetailsImpl; +import jakarta.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; +import org.springframework.security.core.annotation.AuthenticationPrincipal; +import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.*; import java.util.ArrayList; import java.util.List; +import java.util.Optional; +import java.util.Set; +import java.util.stream.Collectors; @CrossOrigin(origins = "${app.origin}", maxAge = 3600, allowCredentials="true") @RestController @@ -18,12 +30,14 @@ public class UsersController { @Autowired private UserRepository userRepository; + @Autowired + private RoleRepository roleRepository; + @GetMapping("/users") public ResponseEntity> getUsers(@RequestParam(required = false) String title) { try { List users = new ArrayList(); users = userRepository.findAll(); - //userRepository.findAll().forEach(users::add); if (users.isEmpty()) { @@ -35,4 +49,36 @@ public class UsersController { return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR); } } + + @PutMapping("/users/{id}/roles") + @Transactional + public ResponseEntity updateRoles(@PathVariable("id") long id, + @Valid @RequestBody UpdateRolesRequest request, + @AuthenticationPrincipal UserDetailsImpl currentUser) { + Optional userData = userRepository.findById(id); + if (userData.isEmpty()) { + return new ResponseEntity<>(new MessageResponse("User not found"), HttpStatus.NOT_FOUND); + } + User user = userData.get(); + + boolean isAdmin = user.getRoles().stream().anyMatch(role -> role.getName() == ERole.ROLE_ADMIN); + boolean staysAdmin = request.getRoles().contains(ERole.ROLE_ADMIN); + if (isAdmin && !staysAdmin) { + // Иначе администратор может случайно запереть себя или всех снаружи админки + if (user.getId().equals(currentUser.getId())) { + return ResponseEntity.badRequest().body(new MessageResponse("You cannot remove the admin role from yourself")); + } + if (userRepository.countByRolesName(ERole.ROLE_ADMIN) <= 1) { + return ResponseEntity.badRequest().body(new MessageResponse("At least one admin must remain")); + } + } + + Set roles = request.getRoles().stream() + .map(name -> roleRepository.findByName(name) + .orElseThrow(() -> new RuntimeException("Error: Role is not found."))) + .collect(Collectors.toSet()); + user.setRoles(roles); + + return ResponseEntity.ok(userRepository.save(user)); + } } diff --git a/src/main/java/com/example/demo_monolith/initData/InitDataConfiguration.java b/src/main/java/com/example/demo_monolith/initData/InitDataConfiguration.java index 59070fd..2352364 100644 --- a/src/main/java/com/example/demo_monolith/initData/InitDataConfiguration.java +++ b/src/main/java/com/example/demo_monolith/initData/InitDataConfiguration.java @@ -5,7 +5,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; @Configuration -//@ConditionalOnProperty(name = "app.init.data.enabled", havingValue = "true", matchIfMissing = true) public class InitDataConfiguration { @Autowired diff --git a/src/main/java/com/example/demo_monolith/initData/InitDataService.java b/src/main/java/com/example/demo_monolith/initData/InitDataService.java index 10c5920..6f4fe51 100644 --- a/src/main/java/com/example/demo_monolith/initData/InitDataService.java +++ b/src/main/java/com/example/demo_monolith/initData/InitDataService.java @@ -15,7 +15,6 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Primary; import org.springframework.core.io.ClassPathResource; -import org.springframework.core.io.ResourceLoader; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -36,8 +35,6 @@ public class InitDataService { protected ObjectMapper _mapper; - @Autowired - private ResourceLoader _resources; @Autowired private RoleRepository _roleRepository; @@ -76,13 +73,13 @@ public class InitDataService { Path targetPath = _initDataPath.resolve(fileName); if (!Files.exists(targetPath)) { try (InputStream inputStream = resource.getInputStream()) { - Files.copy(resource.getInputStream(), targetPath); + Files.copy(inputStream, targetPath); } _logger.info("Copied {} to {}", fileName, targetPath.toAbsolutePath()); } else { try (InputStream inputStream = resource.getInputStream()) { - Files.copy(resource.getInputStream(), targetPath, java.nio.file.StandardCopyOption.REPLACE_EXISTING); + Files.copy(inputStream, targetPath, java.nio.file.StandardCopyOption.REPLACE_EXISTING); } _logger.warn("{} already exists, REPLACE", targetPath.toAbsolutePath()); @@ -99,9 +96,6 @@ public class InitDataService { List items = readList(jsonFile, new TypeReference>() {}); for (RoleDto dto : items) { Role roleEntity = dto.toEntity(); - // If a role with same name exists, reuse its ID to upsert -// _roleRepository.findByName(entity.getName()) -// .ifPresent(existing -> entity.setId(existing.getId())); if(!_roleRepository.existsByName(roleEntity.getName())) { _roleRepository.save(roleEntity); diff --git a/src/main/java/com/example/demo_monolith/model/Setting.java b/src/main/java/com/example/demo_monolith/model/Setting.java deleted file mode 100644 index 0bd1447..0000000 --- a/src/main/java/com/example/demo_monolith/model/Setting.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.demo_monolith.model; - - -import jakarta.persistence.*; - -@Entity -@Table(name = "settings") -public class Setting { - - @Id - @GeneratedValue(strategy = GenerationType.AUTO) - private long id; - - @Column(name = "useremaileUniq") - private Boolean useremaileUniq; - -} diff --git a/src/main/java/com/example/demo_monolith/model/Tutorial.java b/src/main/java/com/example/demo_monolith/model/Tutorial.java index a506d8f..188e0c9 100644 --- a/src/main/java/com/example/demo_monolith/model/Tutorial.java +++ b/src/main/java/com/example/demo_monolith/model/Tutorial.java @@ -9,7 +9,7 @@ import jakarta.persistence.*; public class Tutorial { @Id - @GeneratedValue(strategy = GenerationType.AUTO) + @GeneratedValue(strategy = GenerationType.IDENTITY) private long id; @Column(name = "title") @@ -21,16 +21,12 @@ public class Tutorial { @Column(name = "published") private boolean published; + // Единственный конструктор: иначе Jackson 3 выбирает конструктор с параметрами + // и падает на запросах без поля published ("Cannot map `null` into type `boolean`"). public Tutorial() { } - public Tutorial(String title, String description, boolean published) { - this.title = title; - this.description = description; - this.published = published; - } - public long getId() { return id; } diff --git a/src/main/java/com/example/demo_monolith/model/User.java b/src/main/java/com/example/demo_monolith/model/User.java index 411d0ac..775e6c5 100644 --- a/src/main/java/com/example/demo_monolith/model/User.java +++ b/src/main/java/com/example/demo_monolith/model/User.java @@ -1,5 +1,6 @@ package com.example.demo_monolith.model; +import com.fasterxml.jackson.annotation.JsonIgnore; import jakarta.persistence.*; import jakarta.validation.constraints.Email; import jakarta.validation.constraints.NotBlank; @@ -18,7 +19,7 @@ import java.util.Set; }) public class User { @Id - @GeneratedValue(strategy = GenerationType.AUTO) + @GeneratedValue(strategy = GenerationType.IDENTITY) private long id; @Column(name = "username") @@ -31,6 +32,7 @@ public class User { @Email private String email; + @JsonIgnore @NotBlank @Size(max = 120) private String password; diff --git a/src/main/java/com/example/demo_monolith/model/data.sql b/src/main/java/com/example/demo_monolith/model/data.sql deleted file mode 100644 index bb60ff0..0000000 --- a/src/main/java/com/example/demo_monolith/model/data.sql +++ /dev/null @@ -1,16 +0,0 @@ - -INSERT INTO roles (id, name) VALUES (1, 'ROLE_USER'); -INSERT INTO roles (id, name) VALUES (2, 'ROLE_MODERATOR'); -INSERT INTO roles (id, name) VALUES (3, 'ROLE_ADMIN'); - -INSERT INTO users (id, email, password, username) -VALUES (1, ''liosha84@gmail.com'', ''$2a$10$qyoKXYSukha6XCjorTzoweF4Os1pwmwyzbaSsb3RCVB0LK6WLQKPC'', ''Admin''); -INSERT INTO users (id, email, password, username) -VALUES (4, ''Moderator@gmail.com'', ''$2a$10$zLo5th8Xbfq.MM7y/dCRQu3Ud7HHyAwm.7.yS08ytJtkHMKrbOJlu'', ''Moderator''); -INSERT INTO users (id, email, password, username) -VALUES (5, ''user@gmail.com'', ''$2a$10$2EcwYffteBF3GhVaf5qPB.I7XiHepDEauU5D4fx9fpBXMTZI/QnnC'', ''User''); - - -INSERT INTO user_roles (user_id, role_id) VALUES (5, 1); -INSERT INTO user_roles (user_id, role_id) VALUES (1, 3); -INSERT INTO user_roles (user_id, role_id) VALUES (4, 2); \ No newline at end of file diff --git a/src/main/java/com/example/demo_monolith/payload/request/UpdateRolesRequest.java b/src/main/java/com/example/demo_monolith/payload/request/UpdateRolesRequest.java new file mode 100644 index 0000000..565fe27 --- /dev/null +++ b/src/main/java/com/example/demo_monolith/payload/request/UpdateRolesRequest.java @@ -0,0 +1,19 @@ +package com.example.demo_monolith.payload.request; + +import com.example.demo_monolith.model.ERole; +import jakarta.validation.constraints.NotEmpty; + +import java.util.Set; + +public class UpdateRolesRequest { + @NotEmpty + private Set roles; + + public Set getRoles() { + return roles; + } + + public void setRoles(Set roles) { + this.roles = roles; + } +} diff --git a/src/main/java/com/example/demo_monolith/repository/SettingsRepository.java b/src/main/java/com/example/demo_monolith/repository/SettingsRepository.java deleted file mode 100644 index 1abd9b8..0000000 --- a/src/main/java/com/example/demo_monolith/repository/SettingsRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.demo_monolith.repository; - - -import com.example.demo_monolith.model.Setting; -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface SettingsRepository extends JpaRepository { - -} diff --git a/src/main/java/com/example/demo_monolith/repository/UserRepository.java b/src/main/java/com/example/demo_monolith/repository/UserRepository.java index 49cbcb5..355e0d2 100644 --- a/src/main/java/com/example/demo_monolith/repository/UserRepository.java +++ b/src/main/java/com/example/demo_monolith/repository/UserRepository.java @@ -1,6 +1,7 @@ package com.example.demo_monolith.repository; +import com.example.demo_monolith.model.ERole; import com.example.demo_monolith.model.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @@ -14,4 +15,6 @@ public interface UserRepository extends JpaRepository { Boolean existsByUsername(String username); Boolean existsByEmail(String email); + + long countByRolesName(ERole name); } diff --git a/src/main/java/com/example/demo_monolith/security/WebSecurityConfig.java b/src/main/java/com/example/demo_monolith/security/WebSecurityConfig.java index 128aebb..a19381e 100644 --- a/src/main/java/com/example/demo_monolith/security/WebSecurityConfig.java +++ b/src/main/java/com/example/demo_monolith/security/WebSecurityConfig.java @@ -6,10 +6,10 @@ import com.example.demo_monolith.security.services.UserDetailsServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.http.HttpMethod; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.dao.DaoAuthenticationProvider; import org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration; -import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.http.SessionCreationPolicy; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; @@ -17,16 +17,8 @@ import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; -//import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; - @Configuration -@EnableMethodSecurity -//@EnableWebSecurity -//@EnableGlobalMethodSecurity( - // securedEnabled = true, - // jsr250Enabled = true, - //prePostEnabled = true) -public class WebSecurityConfig {// extends WebSecurityConfigurerAdapter { +public class WebSecurityConfig { @Autowired UserDetailsServiceImpl userDetailsService; @@ -38,27 +30,15 @@ public class WebSecurityConfig {// extends WebSecurityConfigurerAdapter { return new AuthTokenFilter(); } -// @Override -// public void configure(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception { -// authenticationManagerBuilder.userDetailsService(userDetailsService).passwordEncoder(passwordEncoder()); -// } - @Bean public DaoAuthenticationProvider authenticationProvider() { DaoAuthenticationProvider authProvider = new DaoAuthenticationProvider(userDetailsService); - //authProvider.setUserDetailsService(userDetailsService); authProvider.setPasswordEncoder(passwordEncoder()); return authProvider; } -// @Bean -// @Override -// public AuthenticationManager authenticationManagerBean() throws Exception { -// return super.authenticationManagerBean(); -// } - @Bean public AuthenticationManager authenticationManager(AuthenticationConfiguration authConfig) throws Exception { return authConfig.getAuthenticationManager(); @@ -69,36 +49,6 @@ public class WebSecurityConfig {// extends WebSecurityConfigurerAdapter { return new BCryptPasswordEncoder(); } -// @Override -// protected void configure(HttpSecurity http) throws Exception { -// http -// .csrf() -// .disable() -// .exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and() -// .authorizeRequests() -// -// -// // //Доступ только для пользователей с ролью Администратор -// //.antMatchers("/api/users").hasRole("ADMIN") -// // .antMatchers("/news").hasRole("USER") -// //Доступ разрешен всем пользователей -// .antMatchers("/*", "/home", "/resources/**").permitAll() -// .antMatchers("/api/auth/**").permitAll() -// .antMatchers("/api/tutorials").permitAll() -// .antMatchers("/api/tutorials/**").permitAll() -// //.antMatchers("/api/test/**").permitAll() -// //Все остальные страницы требуют аутентификации -// .anyRequest().authenticated() -// .and() -// .sessionManagement() -// .sessionCreationPolicy(SessionCreationPolicy.STATELESS) -// .and() -// .addFilterBefore(authenticationJwtTokenFilter(), UsernamePasswordAuthenticationFilter.class); -// -// -// //http.addFilterBefore(authenticationJwtTokenFilter(), UsernamePasswordAuthenticationFilter.class); -// } - @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http.csrf(csrf -> csrf.disable()) @@ -107,16 +57,16 @@ public class WebSecurityConfig {// extends WebSecurityConfigurerAdapter { .authorizeHttpRequests(auth -> auth.requestMatchers("/api/auth/**").permitAll() .requestMatchers("/*", "/home", "/resources/**").permitAll() - .requestMatchers("/api/test/**").permitAll() - .requestMatchers("/api/tutorials").permitAll() + .requestMatchers("/actuator/health").permitAll() - .requestMatchers("/api/users").permitAll() - .requestMatchers("/api/users/**").permitAll() + // Читать туториалы может любой, изменять — только вошедший пользователь + .requestMatchers(HttpMethod.GET, "/api/tutorials", "/api/tutorials/**").permitAll() + .requestMatchers(HttpMethod.DELETE, "/api/tutorials").hasRole("ADMIN") + .requestMatchers("/api/tutorials", "/api/tutorials/**").authenticated() - .requestMatchers("/api/roles").permitAll() - .requestMatchers("/api/roles/**").permitAll() + .requestMatchers("/api/users", "/api/users/**").hasRole("ADMIN") + .requestMatchers("/api/roles", "/api/roles/**").hasRole("ADMIN") - .requestMatchers("/api/tutorials/**").permitAll() .anyRequest().authenticated() ); diff --git a/src/main/java/com/example/demo_monolith/security/jwt/JwtUtils.java b/src/main/java/com/example/demo_monolith/security/jwt/JwtUtils.java index 5f370d0..15dbee1 100644 --- a/src/main/java/com/example/demo_monolith/security/jwt/JwtUtils.java +++ b/src/main/java/com/example/demo_monolith/security/jwt/JwtUtils.java @@ -57,8 +57,7 @@ public class JwtUtils { } private Key key() { - return Keys.hmacShaKeyFor(Decoders.BASE64.decode(jwtSecret));//java.util.Base64.getDecoder().decode(jwtSecret.getBytes())); - //Decoders.BASE64.decode(jwtSecret)); + return Keys.hmacShaKeyFor(Decoders.BASE64.decode(jwtSecret)); } public boolean validateJwtToken(String authToken) { diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index e705012..5a9dcb0 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -15,12 +15,13 @@ spring: jdbc: lob: non_contextual_creation: true - dialect: org.hibernate.dialect.PostgreSQLDialect hibernate: - ddl-auto: update + # Схемой управляет Flyway (db/migration), Hibernate только проверяет соответствие сущностям + ddl-auto: validate app: - jwtSecret: ======================spring=back==================== - jwtExpirationMs: 30000 + jwtSecret: ${JWT_SECRET:======================spring=back====================} + # Совпадает со сроком жизни cookie (24 ч), иначе UI считает пользователя вошедшим, а API отвечает 401 + jwtExpirationMs: 86400000 jwtCookieName: springangularts origin: http://localhost:4200 \ No newline at end of file diff --git a/src/main/resources/db/migration/V2__Align_schema_with_entities.sql b/src/main/resources/db/migration/V2__Align_schema_with_entities.sql new file mode 100644 index 0000000..47ebe2e --- /dev/null +++ b/src/main/resources/db/migration/V2__Align_schema_with_entities.sql @@ -0,0 +1,32 @@ +-- Выравнивает схему под JPA-сущности, чтобы Hibernate работал в режиме ddl-auto: validate. +-- Должна проходить и на чистой базе (только V1), и на базе, где раньше работал ddl-auto: update +-- и успел создать свои последовательности и таблицу settings. + +-- 1. Идентификаторы users и roles: integer -> bigint (в сущностях long/Long) +ALTER TABLE public.user_roles ALTER COLUMN role_id TYPE bigint; +ALTER TABLE public.roles ALTER COLUMN id TYPE bigint; +ALTER TABLE public.roles ALTER COLUMN id SET MAXVALUE 9223372036854775807; +ALTER TABLE public.users ALTER COLUMN id TYPE bigint; +ALTER TABLE public.users ALTER COLUMN id SET MAXVALUE 9223372036854775807; + +-- 2. У tutorials в V1 не было первичного ключа +ALTER TABLE public.tutorials ADD CONSTRAINT tutorials_pkey PRIMARY KEY (id); + +-- 3. Сущности переведены на GenerationType.IDENTITY. Если раньше id выдавал Hibernate из своих +-- последовательностей, identity-последовательности отстают от данных — подтягиваем их к MAX(id) +SELECT setval(pg_get_serial_sequence('public.users', 'id'), + COALESCE((SELECT MAX(id) FROM public.users), 0) + 1, false); +SELECT setval(pg_get_serial_sequence('public.roles', 'id'), + COALESCE((SELECT MAX(id) FROM public.roles), 0) + 1, false); +SELECT setval(pg_get_serial_sequence('public.tutorials', 'id'), + COALESCE((SELECT MAX(id) FROM public.tutorials), 0) + 1, false); + +-- 4. Остатки ddl-auto: update — больше не используются. +-- Hibernate 6 называет последовательности по имени сущности (user_seq), старые версии — по таблице +DROP SEQUENCE IF EXISTS public.user_seq; +DROP SEQUENCE IF EXISTS public.users_seq; +DROP SEQUENCE IF EXISTS public.tutorial_seq; +DROP SEQUENCE IF EXISTS public.tutorials_seq; +DROP TABLE IF EXISTS public.settings; +DROP SEQUENCE IF EXISTS public.setting_seq; +DROP SEQUENCE IF EXISTS public.settings_seq; diff --git a/src/main/resources/static/chunk-K23E4FPH.js b/src/main/resources/static/chunk-K23E4FPH.js new file mode 100644 index 0000000..be0de0b --- /dev/null +++ b/src/main/resources/static/chunk-K23E4FPH.js @@ -0,0 +1,4 @@ +var yh=Object.defineProperty,vh=Object.defineProperties;var Eh=Object.getOwnPropertyDescriptors;var _r=Object.getOwnPropertySymbols;var Ac=Object.prototype.hasOwnProperty,Rc=Object.prototype.propertyIsEnumerable;var xc=(e,t,n)=>t in e?yh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,H=(e,t)=>{for(var n in t||={})Ac.call(t,n)&&xc(e,n,t[n]);if(_r)for(var n of _r(t))Rc.call(t,n)&&xc(e,n,t[n]);return e},U=(e,t)=>vh(e,Eh(t));var Ih=(e,t)=>{var n={};for(var r in e)Ac.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&_r)for(var r of _r(e))t.indexOf(r)<0&&Rc.call(e,r)&&(n[r]=e[r]);return n};var Gt=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});var Sn=[null],Nr=[!1],lt=1,Dh=null,F=Symbol("SIGNAL");function g(e){let t=Sn[0];return Sn[0]=e,t}function Mr(){return Sn[0]}var Ke={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ce(e){if(Nr[0])throw new Error("");let t=Sn[0];if(t===null)return;t.consumerOnSignalRead(e);let n=t.producersTail;if(n!==void 0&&n.producer===e)return;let r,o=t.recomputing;if(o&&(r=n!==void 0?n.nextProducer:t.producers,r!==void 0&&r.producer===e)){t.producersTail=r,r.lastReadVersion=e.version,r.knownValidAtEpoch=lt;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===t&&(!o||i.knownValidAtEpoch===lt))return;let s=Zt(t),a={producer:e,consumer:t,nextProducer:r,prevConsumer:void 0,knownValidAtEpoch:lt,lastReadVersion:e.version,nextConsumer:void 0};t.producersTail=a,n!==void 0?n.nextProducer=a:t.producers=a,s&&Pc(e,a)}function Oc(){lt++}function Je(e){if(!(Zt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===lt)){if(!e.producerMustRecompute(e)&&!Qt(e)){zt(e);return}e.producerRecomputeValue(e),zt(e)}}function Ti(e){if(e.consumers===void 0)return;let t=Nr[0];Nr[0]=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||wh(r)}}finally{Nr[0]=t}}function Ci(){return Sn[0]?.consumerAllowSignalWrites!==!1}function wh(e){e.dirty=!0,Ti(e),e.consumerMarkedDirty?.(e)}function zt(e){e.dirty=!1,e.lastCleanEpoch=lt}function Ae(e){return e&&kc(e),g(e)}function kc(e){if(e.producersTail?.knownValidAtEpoch===lt){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Xe(e,t){g(t),e&&Lc(e)}function Lc(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Zt(e))do n=_i(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Qt(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Je(n),r!==n.version))return!0}return!1}function et(e){if(Zt(e)){let t=e.producers;for(;t!==void 0;)t=_i(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Pc(e,t){let n=e.consumersTail,r=Zt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Pc(o.producer,o)}function _i(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Zt(t)){let i=t.producers;for(;i!==void 0;)i=_i(i)}return n}function Zt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function xn(e){Dh?.(e)}function An(e,t){return Object.is(e,t)}function Rn(e,t){let n=Object.create(bh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Je(n),Ce(n),n.value===ue)throw n.error;return n.value};return r[F]=n,xn(n),r}var ut=Symbol("UNSET"),dt=Symbol("COMPUTING"),ue=Symbol("ERRORED"),bh=U(H({},Ke),{value:ut,dirty:!0,error:null,equal:An,kind:"computed",producerMustRecompute(e){return e.value===ut||e.value===dt},producerRecomputeValue(e){if(e.value===dt)throw new Error("");let t=e.value;e.value=dt;let n=Ae(e),r,o=!1;try{r=e.computation(),g(null),o=t!==ut&&t!==ue&&r!==ue&&e.equal(t,r)}catch(i){r=ue,e.error=i}finally{Xe(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Th(){throw new Error}var Fc=Th;function jc(e){Fc(e)}function Ni(e){Fc=e}var Ch=null;function Mi(e,t){let n=Object.create(Yt);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Vc(n);return r[F]=n,xn(n),[r,s=>Re(n,s),s=>Sr(n,s)]}function Vc(e){return Ce(e),e.value}function Re(e,t){Ci()||jc(e),e.equal(e.value,t)||(e.value=t,_h(e))}function Sr(e,t){Ci()||jc(e),Re(e,t(e.value))}var Yt=U(H({},Ke),{equal:An,value:void 0,kind:"signal"});function _h(e){e.version++,Oc(),Ti(e),Ch?.(e)}var Si=U(H({},Ke),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function xi(e){if(e.dirty=!1,e.version>0&&!Qt(e))return;e.version++;let t=Ae(e);try{e.cleanup(),e.fn()}finally{Xe(e,t)}}var Ai=[void 0];function xr(){return Ai[0]}function _e(e){let t=Ai[0];return Ai[0]=e,t}var Hc=Symbol("NotFound");function Kt(e){return e===Hc||e?.name==="\u0275NotFound"}function Ri(e,t,n){let r=Object.create(Nh);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Je(r),Ce(r),r.value===ue)throw r.error;return r.value};return i[F]=r,xn(r),i}function Oi(e,t){Je(e),Re(e,t),zt(e)}function Bc(e,t){if(Je(e),e.value===ue)throw e.error;Sr(e,t),zt(e)}var Nh=U(H({},Ke),{value:ut,dirty:!0,error:null,equal:An,kind:"linkedSignal",producerMustRecompute(e){return e.value===ut||e.value===dt},producerRecomputeValue(e){if(e.value===dt)throw new Error("");let t=e.value;e.value=dt;let n=Ae(e),r,o=!1;try{let i=e.source(),s=t!==ut&&t!==ue,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,g(null),o=s&&r!==ue&&e.equal(t,r)}catch(i){r=ue,e.error=i}finally{Xe(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function $c(e){let t=g(null);try{return e()}finally{g(t)}}function w(e){return typeof e=="function"}function Jt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ar=Jt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ft(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var W=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof Ar?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Uc(i)}catch(s){t=t??[],s instanceof Ar?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ar(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Uc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ft(n,t)}remove(t){let{_finalizers:n}=this;n&&ft(n,t),t instanceof e&&t._removeParent(this)}};W.EMPTY=(()=>{let e=new W;return e.closed=!0,e})();var ki=W.EMPTY;function Rr(e){return e instanceof W||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function Uc(e){w(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Xt={setTimeout(e,t,...n){let{delegate:r}=Xt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Xt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Or(e){Xt.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function pt(){}var Wc=Li("C",void 0,void 0);function qc(e){return Li("E",void 0,e)}function Gc(e){return Li("N",e,void 0)}function Li(e,t,n){return{kind:e,value:t,error:n}}var ht=null;function en(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ht;if(ht=null,n)throw r}}else e()}function zc(e){ye.useDeprecatedSynchronousErrorHandling&&ht&&(ht.errorThrown=!0,ht.error=e)}var gt=class extends W{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Rr(t)&&t.add(this)):this.destination=xh}static create(t,n,r){return new Oe(t,n,r)}next(t){this.isStopped?Fi(Gc(t),this):this._next(t)}error(t){this.isStopped?Fi(qc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fi(Wc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Mh=Function.prototype.bind;function Pi(e,t){return Mh.call(e,t)}var ji=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){kr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){kr(r)}else kr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){kr(n)}}},Oe=class extends gt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Pi(t.next,i),error:t.error&&Pi(t.error,i),complete:t.complete&&Pi(t.complete,i)}):o=t}this.destination=new ji(o)}};function kr(e){ye.useDeprecatedSynchronousErrorHandling?zc(e):Or(e)}function Sh(e){throw e}function Fi(e,t){let{onStoppedNotification:n}=ye;n&&Xt.setTimeout(()=>n(e,t))}var xh={closed:!0,next:pt,error:Sh,complete:pt};var tn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ie(e){return e}function Ah(...e){return Vi(e)}function Vi(e){return e.length===0?ie:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=Oh(t)?t:new Oe(t,n,r);return en(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=Qc(n),new n((r,o)=>{let i=new Oe({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[tn](){return this}pipe(...t){return Vi(t)(this)}toPromise(t){return t=Qc(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};N.create=e=>new N(e);function Qc(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function Rh(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Oh(e){return e&&e instanceof gt||Rh(e)&&Rr(e)}function kh(e){return w(e?.lift)}function b(e){return t=>{if(kh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new Hi(e,t,n,r,o)}var Hi=class extends gt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};var Zc=Jt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=class extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new Lr(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new Zc}next(t){en(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){en(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){en(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?ki:(this.currentObservers=null,o.push(t),new W(()=>{this.currentObservers=null,ft(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new N;return t.source=this,t}};K.create=(e,t)=>new Lr(e,t);var Lr=class extends K{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ki}};var On=class extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var kn={now(){return(kn.delegate||Date).now()},delegate:void 0};var Ln=class extends K{constructor(t=1/0,n=1/0,r=kn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function Vr(e){return e&&w(e.schedule)}function Bi(e){return e[e.length-1]}function Hr(e){return w(Bi(e))?e.pop():void 0}function Ne(e){return Vr(Bi(e))?e.pop():void 0}function Kc(e,t){return typeof Bi(e)=="number"?e.pop():t}function Xc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Jc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function vt(e){return this instanceof vt?(this.v=e,this):new vt(e)}function el(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(T,S){i.push([f,m,T,S])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof vt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function tl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Jc=="function"?Jc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Br=(e=>e&&typeof e.length=="number"&&typeof e!="function");function $r(e){return w(e?.then)}function Ur(e){return w(e[tn])}function Wr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function qr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Lh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gr=Lh();function zr(e){return w(e?.[Gr])}function Qr(e){return el(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield vt(n.read());if(o)return yield vt(void 0);yield yield vt(r)}}finally{n.releaseLock()}})}function Zr(e){return w(e?.getReader)}function R(e){if(e instanceof N)return e;if(e!=null){if(Ur(e))return Ph(e);if(Br(e))return Fh(e);if($r(e))return jh(e);if(Wr(e))return nl(e);if(zr(e))return Vh(e);if(Zr(e))return Hh(e)}throw qr(e)}function Ph(e){return new N(t=>{let n=e[tn]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fh(e){return new N(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Or)})}function Vh(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function nl(e){return new N(t=>{Bh(e,t).catch(n=>t.error(n))})}function Hh(e){return nl(Qr(e))}function Bh(e,t){var n,r,o,i;return Xc(this,void 0,void 0,function*(){try{for(n=tl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Yr(e,t=0){return b((n,r)=>{n.subscribe(C(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function Kr(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function rl(e,t){return R(e).pipe(Kr(t),Yr(t))}function ol(e,t){return R(e).pipe(Kr(t),Yr(t))}function il(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function sl(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[Gr](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function Jr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function al(e,t){return Jr(Qr(e),t)}function cl(e,t){if(e!=null){if(Ur(e))return rl(e,t);if(Br(e))return il(e,t);if($r(e))return ol(e,t);if(Wr(e))return Jr(e,t);if(zr(e))return sl(e,t);if(Zr(e))return al(e,t)}throw qr(e)}function Me(e,t){return t?cl(e,t):R(e)}function $h(...e){let t=Ne(e);return Me(e,t)}function Uh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Wh(e){return!!e&&(e instanceof N||w(e.lift)&&w(e.subscribe))}var Fn=Jt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ll(e){return e instanceof Date&&!isNaN(e)}function ke(e,t){return b((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:qh}=Array;function Gh(e,t){return qh(t)?e(...t):e(t)}function Xr(e){return ke(t=>Gh(e,t))}var{isArray:zh}=Array,{getPrototypeOf:Qh,prototype:Zh,keys:Yh}=Object;function eo(e){if(e.length===1){let t=e[0];if(zh(t))return{args:t,keys:null};if(Kh(t)){let n=Yh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Kh(e){return e&&typeof e=="object"&&Qh(e)===Zh}function to(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Jh(...e){let t=Ne(e),n=Hr(e),{args:r,keys:o}=eo(e);if(r.length===0)return Me([],t);let i=new N(Xh(r,t,o?s=>to(o,s):ie));return n?i.pipe(Xr(n)):i}function Xh(e,t,n=ie){return r=>{ul(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=Me(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ul(e,t,n){e?oe(n,e,t):t()}function dl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l{i&&t.next(m),l++;let T=!1;R(n(m,u++)).subscribe(C(t,S=>{o?.(S),i?f(S):t.next(S)},()=>{T=!0},void 0,()=>{if(T)try{for(l--;c.length&&lh(S)):h(S)}p()}catch(S){t.error(S)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Le(e,t,n=1/0){return w(t)?Le((r,o)=>ke((i,s)=>t(r,i,o,s))(R(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>dl(r,o,e,n)))}function jn(e=1/0){return Le(ie,e)}function fl(){return jn(1)}function rn(...e){return fl()(Me(e,Ne(e)))}function eg(e){return new N(t=>{R(e()).subscribe(t)})}function tg(...e){let t=Hr(e),{args:n,keys:r}=eo(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?to(r,a):a),i.complete())}))}});return t?o.pipe(Xr(t)):o}function no(e=0,t,n=Yc){let r=-1;return t!=null&&(Vr(t)?n=t:r=t),new N(o=>{let i=ll(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function ng(...e){let t=Ne(e),n=Kc(e,1/0),r=e;return r.length?r.length===1?R(r[0]):jn(n)(Me(r,t)):yt}function Vn(e,t){return b((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function pl(e){return b((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,l=>{r=!0,o=l,i||R(e(l)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function rg(e,t=mt){return pl(()=>no(e,t))}function hl(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=R(e(s,hl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function og(e,t){return w(t)?Le(e,t,1):Le(e,1)}function ig(e,t=mt){return b((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function gl(e){return b((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function on(e){return e<=0?()=>yt:b((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ml(){return b((e,t)=>{e.subscribe(C(t,pt))})}function yl(e){return ke(()=>e)}function $i(e,t){return t?n=>rn(t.pipe(on(1),ml()),n.pipe($i(e))):Le((n,r)=>R(e(n,r)).pipe(on(1),yl(n)))}function sg(e,t=mt){let n=no(e,t);return $i(()=>n)}function ag(e,t=ie){return e=e??cg,b((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function cg(e,t){return e===t}function vl(e=lg){return b((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function lg(){return new Fn}function ug(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function dg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Vn((o,i)=>e(o,i,r)):ie,on(1),n?gl(t):vl(()=>new Fn))}function fg(e){return e<=0?()=>yt:b((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function pg(){return b((e,t)=>{let n,r=!1;e.subscribe(C(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Wi(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return b((m,T)=>{l++,!d&&!u&&p();let S=c=c??t();T.add(()=>{l--,l===0&&!d&&!u&&(a=Ui(h,o))}),S.subscribe(T),!s&&l>0&&(s=new Oe({next:O=>S.next(O),error:O=>{d=!0,p(),a=Ui(f,n,O),S.error(O)},complete:()=>{u=!0,p(),a=Ui(f,r),S.complete()}}),R(m).subscribe(s))})(i)}}function Ui(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Oe({next:()=>{r.unsubscribe(),e()}});return R(t(...n)).subscribe(r)}function hg(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Wi({connector:()=>new Ln(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function gg(e){return Vn((t,n)=>e<=n)}function mg(...e){let t=Ne(e);return b((n,r)=>{(t?rn(e,n,t):rn(e,n)).subscribe(r)})}function yg(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;R(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vg(e){return b((t,n)=>{R(e).subscribe(C(n,()=>n.complete(),pt)),!n.closed&&t.subscribe(n)})}function Eg(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ie}var ss="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(Gn(t,n)),this.code=t}};function Ig(e){return`NG0${Math.abs(e)}`}function Gn(e,t){return`${Ig(e)}${t?": "+t:""}`}function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function Tl(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function zn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(zn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` +`);return r>=0?n.slice(0,r):n}function lo(e,t){return e?t?`${e} ${t}`:e:t||""}var Dg=A({__forward_ref__:A});function uo(e){return e.__forward_ref__=uo,e}function q(e){return as(e)?e():e}function as(e){return typeof e=="function"&&Object.hasOwn(e,Dg)&&e.__forward_ref__===uo}function re(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function cs(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qn(e){return bg(e,fo)}function wg(e){return Qn(e)!==null}function bg(e,t){return Object.hasOwn(e,t)&&e[t]||null}function Tg(e){let t=e?.[fo]??null;return t||null}function Gi(e){return e&&Object.hasOwn(e,oo)?e[oo]:null}var fo=A({\u0275prov:A}),oo=A({\u0275inj:A}),M=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=re({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ls(e){return e&&!!e.\u0275providers}var Zn=A({\u0275cmp:A}),Yn=A({\u0275dir:A}),us=A({\u0275pipe:A}),ds=A({\u0275mod:A}),$n=A({\u0275fac:A}),Ct=A({__NG_ELEMENT_ID__:A}),El=A({__NG_ENV_ID__:A});function Cl(e){return po(e,"@NgModule"),e[ds]||null}function Be(e){return po(e,"@Component"),e[Zn]||null}function Kn(e){return po(e,"@Directive"),e[Yn]||null}function _l(e){return po(e,"@Pipe"),e[us]||null}function po(e,t){if(e==null)throw new D(-919,!1)}function $e(e){return typeof e=="string"?e:e==null?"":String(e)}var Nl=A({ngErrorCode:A}),Cg=A({ngErrorMessage:A}),_g=A({ngTokenPath:A});function fs(e,t){return Ml("",-200,t)}function ho(e,t){throw new D(-201,!1)}function Ml(e,t,n){let r=new D(t,e);return r[Nl]=t,r[Cg]=e,n&&(r[_g]=n),r}function Ng(e){return e[Nl]}var zi;function Sl(){return zi}function se(e){let t=zi;return zi=e,t}function ps(e,t,n){let r=Qn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;ho(e,"")}var _t=globalThis;var Mg={},Et=Mg,Sg="__NG_DI_FLAG__",Qi=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=It(n)||0;try{return this.injector.get(t,r&8?null:Et,r)}catch(o){if(Kt(o))return o;throw o}}};function xg(e,t=0){let n=xr();if(n===void 0)throw new D(-203,!1);if(n===null)return ps(e,void 0,t);{let r=Ag(t),o=n.retrieve(e,r);if(Kt(o)){if(r.optional)return null;throw o}return o}}function te(e,t=0){return(Sl()||xg)(q(e),t)}function E(e,t){return te(e,It(t))}function It(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ag(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Zi(e){let t=[];for(let n=0;nArray.isArray(n)?go(n,t):t(n))}function hs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Jn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Rl(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function mo(e,t,n){let r=cn(e,t);return r>=0?e[r|1]=n:(r=~r,Ol(e,r,t,n)),r}function yo(e,t){let n=cn(e,t);if(n>=0)return e[n|1]}function cn(e,t){return Og(e,t,1)}function Og(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return go(t,s=>{let a=s;io(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ll(o,i),n}function Ll(e,t){for(let n=0;n{t(i,r)})}}function io(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=Gi(e),s=!i&&Be(e);if(!i&&!s){let c=e.ngModule;if(i=Gi(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)io(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;go(i.imports,u=>{io(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Ll(l,t)}if(!a){let l=Dt(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:ms,useValue:o,multi:!0},o),t({provide:Nt,useValue:()=>te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;vs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function vs(e,t){for(let n of e)ls(n)&&(n=n.\u0275providers),Array.isArray(n)?vs(n,t):t(n)}var kg=A({provide:String,useValue:A});function Pl(e){return e!==null&&typeof e=="object"&&kg in e}function Lg(e){return!!(e&&e.useExisting)}function Pg(e){return!!(e&&e.useFactory)}function wt(e){return typeof e=="function"}function Fl(e){return!!e.useClass}var Es=new M(""),ro={},Il={},qi;function ln(){return qi===void 0&&(qi=new an),qi}var ve=class{},bt=class extends ve{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ki(t,s=>this.processProvider(s)),this.records.set(gs,sn(void 0,this)),o.has("environment")&&this.records.set(ve,sn(void 0,this));let i=this.records.get(Es);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ms,J,{self:!0}))}retrieve(t,n){let r=It(n)||0;try{return this.get(t,Et,r)}catch(o){if(Kt(o))return o;throw o}}destroy(){Hn(this),this._destroyed=!0;let t=g(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),g(t)}}onDestroy(t){return Hn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Hn(this);let n=_e(this),r=se(void 0),o;try{return t()}finally{_e(n),se(r)}}get(t,n=Et,r){if(Hn(this),Object.hasOwn(t,El))return t[El](this);let o=It(r),i,s=_e(this),a=se(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Bg(t)&&Qn(t);u&&this.injectableDefInScope(u)?l=sn(Yi(t),ro):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?ln():this.parent;return n=o&8&&n===Et?null:n,c.get(t,n)}catch(c){let l=Ng(c);throw l===-200||l===-201?new D(l,null):c}finally{se(a),_e(s)}}resolveInjectorInitializers(){let t=g(null),n=_e(this),r=se(void 0),o;try{let i=this.get(Nt,J,{self:!0});for(let s of i)s()}finally{_e(n),se(r),g(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=q(t);let n=wt(t)?t:q(t&&t.provide),r=jg(t);if(!wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=sn(void 0,ro,!0),o.factory=()=>Zi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=g(null);try{if(n.value===Il)throw fs("");return n.value===ro&&(n.value=Il,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Hg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{g(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Yi(e){let t=Qn(e),n=t!==null?t.factory:Dt(e);if(n!==null)return n;if(e instanceof M)throw new D(-204,!1);if(e instanceof Function)return Fg(e);throw new D(-204,!1)}function Fg(e){if(e.length>0)throw new D(-204,!1);let n=Tg(e);return n!==null?()=>n.factory(e):()=>new e}function jg(e){if(Pl(e))return sn(void 0,e.useValue);{let t=Is(e);return sn(t,ro)}}function Is(e,t,n){let r;if(wt(e)){let o=q(e);return Dt(o)||Yi(o)}else if(Pl(e))r=()=>q(e.useValue);else if(Pg(e))r=()=>e.useFactory(...Zi(e.deps||[]));else if(Lg(e))r=(o,i)=>te(q(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=q(e&&(e.useClass||e.provide));if(Vg(e))r=()=>new o(...Zi(e.deps));else return Dt(o)||Yi(o)}return r}function Hn(e){if(e.destroyed)throw new D(-205,!1)}function sn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Vg(e){return!!e.deps}function Hg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Bg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ki(e,t){for(let n of e)Array.isArray(n)?Ki(n,t):n&&ls(n)?Ki(n.\u0275providers,t):t(n)}function Eo(e,t){let n;e instanceof bt?(Hn(e),n=e):n=new Qi(e);let r,o=_e(n),i=se(void 0);try{return t()}finally{_e(o),se(i)}}function Ds(){return Sl()!==void 0||xr()!=null}var Ie=0,y=1,I=2,B=3,fe=4,Z=5,Mt=6,un=7,j=8,Ue=9,De=10,L=11,dn=12,ws=13,rt=14,X=15,ot=16,St=17,Se=18,Xn=19,bs=20,Fe=21,Io=22,je=23,ae=24,xt=25,jl=26,fn=27,$=28,Vl=1,Ts=6,At=7,er=8,Rt=9,V=10;function We(e){return Array.isArray(e)&&typeof e[Vl]=="object"}function pe(e){return Array.isArray(e)&&e[Vl]===!0}function Cs(e){return(e.flags&4)!==0}function qe(e){return e.componentOffset>-1}function tr(e){return(e.flags&1)===1}function we(e){return!!e.template}function pn(e){return(e[I]&512)!==0}function Ot(e){return(e[I]&256)===256}var Q=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Q||{}),Bn,Tt="svg",Do="math",Ji="",Dl="*",Xi=()=>Object.create(null);function $g(){return Bn||(Bn=Xi(),tt(Q.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),tt(Q.STYLE,void 0,[["*",["style"]]]),tt(Q.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]]]),tt(Q.URL,Do,[["*",["href","xlink:href"]]]),tt(Q.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),tt(Q.URL,Tt,[["a",["href","xlink:href"]]]),tt(Q.ATTRIBUTE_NO_BINDING,Tt,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),tt(Q.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),Bn)}function tt(e,t,n){let r=t??Ji;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=Bn[c]??=Xi(),u=l[r]??=Xi();u[s]=e}}}function Hl(e,t,n){let o=$g()[t.toLowerCase()];if(!o)return Q.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[Dl])}if(s===void 0){let a=o[Ji];a&&(s=a[i]??a[Dl])}if(s===void 0&&(!n||n===Ji)){let a=o[Tt];a&&(s=a[i])}return s??Q.NONE}function Y(e){for(;Array.isArray(e);)e=e[Ie];return e}function _s(e,t){return Y(t[e])}function ce(e,t){return Y(t[e.index])}function wo(e,t){return e.data[t]}function Bl(e,t){return e[t]}function he(e,t){let n=t[e];return We(n)?n:n[Ie]}function $l(e){return(e[I]&4)===4}function bo(e){return(e[I]&128)===128}function Ul(e){return pe(e[B])}function le(e,t){return t==null?null:e[t]}function Ns(e){e[St]=0}function Ms(e){e[I]&1024||(e[I]|=1024,bo(e)&&kt(e))}function Wl(e,t){for(;e>0;)t=t[rt],e--;return t}function nr(e){return!!(e[I]&9216||e[ae]?.dirty)}function To(e){e[De].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),nr(e)&&kt(e)}function kt(e){e[De].changeDetectionScheduler?.notify(0);let t=Ve(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!bo(t)));)t=Ve(t)}function Co(e,t){if(Ot(e))throw new D(911,!1);e[Fe]===null&&(e[Fe]=[]),e[Fe].push(t)}function ql(e,t){if(e[Fe]===null)return;let n=e[Fe].indexOf(t);n!==-1&&e[Fe].splice(n,1)}function Ve(e){let t=e[B];return pe(t)?t[B]:t}function Ss(e){return e[un]??=[]}function xs(e){return e.cleanup??=[]}function Gl(e,t,n,r){let o=Ss(t);o.push(n),e.firstCreatePass&&xs(e).push(r,o.length-1)}var _={lFrame:su(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var es=!1;function zl(){return _.lFrame.elementDepthCount}function Ql(){_.lFrame.elementDepthCount++}function As(){_.lFrame.elementDepthCount--}function Rs(){return _.bindingsEnabled}function Os(){return _.skipHydrationRootTNode!==null}function ks(e){return _.skipHydrationRootTNode===e}function Ls(){_.skipHydrationRootTNode=null}function v(){return _.lFrame.lView}function P(){return _.lFrame.tView}function Zl(e){return _.lFrame.contextLView=e,e[j]}function Yl(e){return _.lFrame.contextLView=null,e}function z(){let e=Ps();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ps(){return _.lFrame.currentTNode}function Kl(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function hn(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Fs(){return _.lFrame.isParent}function js(){_.lFrame.isParent=!1}function Jl(){return _.lFrame.contextLView}function Vs(){return es}function Un(e){let t=es;return es=e,t}function Xl(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hs(){return _.lFrame.bindingIndex}function eu(e){return _.lFrame.bindingIndex=e}function it(){return _.lFrame.bindingIndex++}function rr(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tu(){return _.lFrame.inI18n}function nu(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,_o(t)}function ru(){return _.lFrame.currentDirectiveIndex}function _o(e){_.lFrame.currentDirectiveIndex=e}function ou(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function No(){return _.lFrame.currentQueryIndex}function or(e){_.lFrame.currentQueryIndex=e}function Ug(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function Bs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Ug(i),o===null||(i=i[rt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=iu();return r.currentTNode=t,r.lView=e,!0}function Mo(e){let t=iu(),n=e[y];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function iu(){let e=_.lFrame,t=e===null?null:e.child;return t===null?su(e):t}function su(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function au(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var $s=au;function So(){let e=au();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function cu(e){return(_.lFrame.contextLView=Wl(e,_.lFrame.contextLView))[j]}function ge(){return _.lFrame.selectedIndex}function st(e){_.lFrame.selectedIndex=e}function Lt(){let e=_.lFrame;return wo(e.tView,e.selectedIndex)}function lu(){_.lFrame.currentNamespace=Tt}function Us(){return _.lFrame.currentNamespace}var uu=!0;function xo(){return uu}function Ao(e){uu=e}function ts(e,t=null,n=null,r){let o=Ws(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ws(e,t=null,n=null,r,o=new Set){let i=[n||J,kl(e)],s;return new bt(i,t||ln(),s||null,o)}var ne=class e{static THROW_IF_NOT_FOUND=Et;static NULL=new an;static create(t,n){if(Array.isArray(t))return ts({name:""},n,t,"");{let r=t.name??"";return ts({name:r},t.parent,t.providers,r)}}static \u0275prov=re({token:e,providedIn:"any",factory:()=>te(gs)});static __NG_ELEMENT_ID__=-1},Ro=new M(""),de=class{static __NG_ELEMENT_ID__=Wg;static __NG_ENV_ID__=t=>t},so=class extends de{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Ot(this._lView)}onDestroy(t){let n=this._lView;return Co(n,t),()=>ql(n,t)}};function Wg(){return new so(v())}var qs=!1,du=new M(""),Ge=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new On(!1);debugTaskTracker=E(du,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=re({token:e,providedIn:"root",factory:()=>new e})}return e})(),ns=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ds()&&(this.destroyRef=E(de,{optional:!0})??void 0,this.pendingTasks=E(Ge,{optional:!0})??void 0)}emit(t){let n=g(null);try{super.next(t)}finally{g(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof W&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Pe=ns;function ao(...e){}function Gs(e){let t,n;function r(){e=ao;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function fu(e){return queueMicrotask(()=>e()),()=>{e=ao}}var zs="isAngularZone",Wn=zs+"_ID",qg=0,G=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Pe(!1);onMicrotaskEmpty=new Pe(!1);onStable=new Pe(!1);onError=new Pe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=qs}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Qg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(zs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Gg,ao,ao);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Gg={};function Qs(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Gs(()=>{e.callbackScheduled=!1,rs(e),e.isCheckStableRunning=!0,Qs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),rs(e)}function Qg(e){let t=()=>{zg(e)},n=qg++;e._inner=e._inner.fork({name:"angular",properties:{[zs]:!0,[Wn]:n,[Wn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Zg(c))return r.invokeTask(i,s,a,c);try{return wl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),bl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return wl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Yg(c)&&t(),bl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,rs(e),Qs(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function rs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function wl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bl(e){e._nesting--,Qs(e)}var qn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Pe;onMicrotaskEmpty=new Pe;onStable=new Pe;onError=new Pe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Zg(e){return pu(e,"__ignore_ng_zone__")}function Yg(e){return pu(e,"__scheduler_tick__")}function pu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var He=class{_console=console;handleError(t){this._console.error("ERROR",t)}};function hu(e){return gu(e)?e:new os(e)}function gu(e){return e instanceof Error||typeof e=="object"&&e!==null&&typeof e.name=="string"&&typeof e.message=="string"}var os=class extends Error{constructor(t){super(String(t),{cause:t}),this.name="ErrorBoundaryWrappedError"}},at=new M("",{factory:()=>{let e=E(G),t=E(ve),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(He),n.handleError(r))})}}}),mu={provide:Nt,useValue:()=>{let e=E(He,{optional:!0})},multi:!0};function Oo(e,t){let[n,r,o]=Mi(e,t?.equal),i=n,s=i[F];return i.set=r,i.update=o,i.asReadonly=ir.bind(i),i}function ir(){let e=this[F];if(e.readonlyFn===void 0){let t=()=>this();t[F]=e,e.readonlyFn=t}return e.readonlyFn}var yu=new M("",{factory:()=>Kg}),Kg="ng";var vu=new M(""),Jg=new M("",{providedIn:"platform",factory:()=>"unknown"}),Xg=new M(""),em=new M("",{factory:()=>E(Ro).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var gn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=tm}return e})();function tm(){return new gn(v(),z())}var Ee=class{},mn=new M("",{factory:()=>!0});var ko=new M(""),Lo=(()=>{class e{static \u0275prov=re({token:e,providedIn:"root",factory:()=>new is})}return e})(),is=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},co=class{[F];constructor(t){this[F]=t}destroy(){this[F].destroy()}};function Eu(e,t){let n=t?.injector??E(ne),r=t?.manualCleanup!==!0?n.get(de):null,o,i=n.get(gn,null,{optional:!0}),s=n.get(Ee);return i!==null?(o=Du(i.view,s,e),r instanceof so&&r._lView===i.view&&(r=null)):o=om(e,n.get(Lo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new co(o)}var Iu=U(H({},Si),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Un(!1);try{xi(this)}finally{Un(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=g(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],g(e)}}}),nm=U(H({},Iu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(et(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),rm=U(H({},Iu),{consumerMarkedDirty(){this.view[I]|=8192,kt(this.view),this.notifier.notify(13)},destroy(){if(et(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[je]?.delete(this)}});function Du(e,t,n){let r=Object.create(rm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.userFn=n,r.fn=wu(r,n),e[je]??=new Set,e[je].add(r),r.consumerMarkedDirty(r),r}function om(e,t,n){let r=Object.create(nm);return r.userFn=e,r.fn=wu(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function wu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Po(e){return typeof e=="function"&&e[F]!==void 0}function Fo(e){return Po(e)&&typeof e.set=="function"}var Zs=(()=>{class e{internalPendingTasks=E(Ge);scheduler=E(Ee);errorHandler=E(at);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static \u0275prov=re({token:e,providedIn:"root",factory:()=>new e})}return e})();var _n=Symbol("InputSignalNode#UNSET"),qa=U(H({},Yt),{transformFn:void 0,applyValueToInputSignal(e,t){Re(e,t)}});function vr(e){return{toString:e}.toString()}var x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{}),zo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ud(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var dd=null,ym=(()=>{dd=bu;let e=()=>bu;return e.ngInherit=!0,e})();function vm(){return dd}function bu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Im),Em}function Em(){let e=fd(this),t=e?.current;if(t){let n=e.previous;if(n===nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Im(e,t,n,r,o){let i=this.declaredInputs[r],s=fd(e)||Dm(e,{previous:nt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new zo(l&&l.currentValue,n,c===nt),ud(e,t,o,n)}var sa="__ngSimpleChanges__";function fd(e){return Object.hasOwn(e,sa)&&e[sa]||null}function Dm(e,t){return e[sa]=t}var Tu=[];var k=function(e,t=null,n){for(let r=0;r=r)break}else t[c]<0&&(e[St]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,Cu(a,i)):Cu(a,i)}var En=-1,Ft=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Tm(e){return(e.flags&8)!==0}function Cm(e){return(e.flags&16)!==0}function _m(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Zo(e,t){let n=Mm(e),r=t;for(;n>0;)r=r[rt],n--;return r}var aa=!0;function Nu(e){let t=aa;return aa=e,t}var Sm=256,yd=Sm-1,vd=5,xm=0,xe={};function Am(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:Object.hasOwn(n,Ct)&&(r=n[Ct]),r==null&&(r=n[Ct]=xm++);let o=r&yd,i=1<>vd)]|=i}function Yo(e,t){let n=Ed(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Ks(r.data,e),Ks(t,null),Ks(r.blueprint,null));let o=Ga(e,t),i=e.injectorIndex;if(md(o)){let s=Qo(o),a=Zo(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ks(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ed(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ga(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Td(o),r===null)return En;if(n++,o=o[rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return En}function ca(e,t,n){Am(e,t,n)}function Rm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f=c&&h.type===n)return f}if(o){let f=s[c];if(f&&we(f)&&f.type===n)return c}return null}function lr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ft){let a=i;if(a.resolving)throw fs("");let c=Nu(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?se(a.injectImpl):null,p=Bs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&wm(n,s[n],t)}finally{d!==null&&se(d),Nu(c),a.resolving=!1,$s()}}return i}function km(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=Object.hasOwn(e,Ct)?e[Ct]:void 0;return typeof t=="number"?t>=0?t&yd:Lm:t}function Mu(e,t,n){let r=1<>vd)]&r)}function Su(e,t){return!(e&2)&&!(e&1&&t)}var ze=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return wd(this._tNode,this._lView,t,It(r),n)}};function Lm(){return new ze(z(),v())}function Pm(e){return vr(()=>{let t=e.prototype.constructor,n=t[$n]||la(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[$n]||la(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function la(e){return as(e)?()=>{let t=la(q(e));return t&&t()}:Dt(e)}function Fm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!pn(s);){let a=bd(i,s,n,r|2,xe);if(a!==xe)return a;r&=-5;let c=i.parent;if(!c){let l=s[bs];if(l){let u=l.get(n,xe,r);if(u!==xe)return u}c=Td(s),s=s[rt]}i=c}return o}function Td(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function Cd(e){return Rm(z(),e)}function _d(e){let t=_t.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Ut(e){return{token:e.token,providedIn:e.autoProvided===!1?null:"root",factory:e.factory,value:void 0}}function jm(){return Nn(z(),v())}function Nn(e,t){return new Er(ce(e,t))}var Er=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=jm}return e})();function Nd(e){return e instanceof Er?e.nativeElement:e}function Vm(){return this._results[Symbol.iterator]()}var Ko=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new K}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Al(t);(this._changesDetected=!xl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Vm};function Md(e){return(e.flags&128)===128}var za=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(za||{}),Sd=new Map,Hm=0;function Bm(){return Hm++}function $m(e){Sd.set(e[Xn],e)}function ua(e){Sd.delete(e[Xn])}var xu="__ngContext__";function Dn(e,t){We(t)?(e[xu]=t[Xn],$m(t)):e[xu]=t}function xd(e){return Rd(e[dn])}function Ad(e){return Rd(e[fe])}function Rd(e){for(;e!==null&&!pe(e);)e=e[fe];return e}var da;function Um(e){da=e}function Od(){if(da!==void 0)return da;if(typeof document<"u")return document;throw new D(210,!1)}var kd="r";var Ld="di";var Wm=new M(""),Pd=!1,Fd=new M("",{factory:()=>Pd});var qm=new M("");var Au=new WeakMap;function Gm(e,t){if(e==null||typeof e!="object")return;let n=Au.get(e);n||(n=new WeakSet,Au.set(e,n)),n.add(t)}var zm=(e,t,n,r)=>{};function Qm(e,t,n,r){zm(e,t,n,r)}function di(e){return(e.flags&32)===32}var Zm=()=>null;function jd(e,t,n=!1){return Zm(e,t,n)}function Vd(e,t){let n=e.contentQueries;if(n!==null){let r=g(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return jo}function fi(e){return ny()?.createHTML(e)||e}var Vo;function ry(){if(Vo===void 0&&(Vo=null,_t.trustedTypes))try{Vo=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Vo}function Ru(e){return ry()?.createScriptURL(e)||e}function oy(e){let t=new Ea(e);return iy()?new va(t):t}var va=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(fi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ea=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=fi(t),n}};function iy(){try{return!!new window.DOMParser().parseFromString(fi(""),"text/html")}catch(e){return!1}}var sy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Za(e){return e=String(e),e.match(sy)?e:"unsafe:"+e}function Ze(e){let t=Object.create(null);for(let n of e.split(","))t[n]=!0;return t}function Ir(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var $d=Ze("area,br,col,hr,img,wbr"),Ud=Ze("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wd=Ze("rp,rt"),ay=Ir(Wd,Ud),cy=Ir(Ud,Ze("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")),ly=Ir(Wd,Ze("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")),Ou=Ir($d,cy,ly,ay),qd=Ze("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),uy=Ze("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"),dy=Ze("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"),fy=Ir(qd,uy,dy),py=Ze("script,style,template"),Ia=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=my(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=gy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ku(t).toLowerCase();if(!Object.hasOwn(Ou,n))return this.sanitizedSomething=!0,!Object.hasOwn(py,n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=ku(t).toLowerCase();Object.hasOwn(Ou,n)&&!Object.hasOwn($d,n)&&(this.buf.push(""))}chars(t){this.buf.push(Lu(t))}};function hy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function gy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Gd(t);return t}function my(e){let t=e.firstChild;if(t&&hy(e,t))throw Gd(t);return t}function ku(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var yy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vy=/([^\#-~ |!])/g;function Lu(e){return e.replace(/&/g,"&").replace(yy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(vy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Ho;function Ey(e,t){let n=null;try{Ho=Ho||oy(e);let r=t?String(t):"";n=Ho.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ho.getInertBodyElement(r)}while(r!==i);let a=new Ia().sanitizeChildren(Pu(n)||n);return fi(a)}finally{if(n){let r=Pu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Pu(e){return"content"in e&&Iy(e)?e.content:null}function Iy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function Dy(e,t){return e.createText(t)}function wy(e,t,n){e.setValue(t,n)}function zd(e,t,n){return e.createElement(t,n)}function Pt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qd(e,t,n){e.appendChild(t,n)}function Fu(e,t,n,r,o){r!==null?Pt(e,t,n,r,o):Qd(e,t,n)}function Zd(e,t,n,r){e.removeChild(null,t,n,r)}function by(e,t,n){e.setAttribute(t,"style",n)}function Ty(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Yd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&_m(e,t,r),o!==null&&Ty(e,t,o),i!==null&&by(e,t,i)}function Cy(e,t=!0){if(e[0]!=":")return[null,e];let n=e.indexOf(":",1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Kd(e){let t=Xd();return t?t.sanitize(Q.URL,e)||"":Qa(e,"URL")?Vt(e):Za($e(e))}function Jd(e){let t=Xd();if(t)return Ru(t.sanitize(Q.RESOURCE_URL,e)||"");if(Qa(e,"ResourceURL"))return Ru(Vt(e));throw new D(-904,!1)}function _y(e,t){switch(My(e,t)){case Q.RESOURCE_URL:return Jd;case Q.URL:return Kd;default:return null}}function Ny(e,t,n){return _y(t,n)?.(e)??e}function Xd(){let e=v();return e&&e[De].sanitizer}function My(e,t){let[n,r]=Sy(e);return Hl(r,t,n)}function Sy(e){e=e.toLowerCase();let t=Cy(e,!1);if(t[0])return t;let r=ge()===-1?null:Lt(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=ce(r,v());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&ty[s]}}return[o,e]}function xy(e){return e instanceof Function?e():e}function Ay(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var ef="ng-template";function Ry(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function Ly(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!be(s)&&(t+=ju(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=ju(i,o)),t}function By(e){return e.map(Hy).join(",")}function $y(e){let t=[],n=[],r=1,o=2;for(;r=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),yn.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function Gy(e,t,n){let r=nf(n),o=Da.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Da.set(e,[{el:t,declarationView:r}])}var pi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(pi||{}),Wt=new M(""),Vu=new Set;function Ye(e){Vu.has(e)||(Vu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var hi=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=re({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ja=[0,1,2,3],Xa=(()=>{class e{ngZone=E(G);scheduler=E(Ee);errorHandler=E(He,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Wt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(x.AfterRenderHooksStart),this.executing=!0;for(let r of Ja)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&k(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[xt]??=[]).push(n),kt(r),r[I]|=8192):this.addSequence(n)}addSequence(n){this.executing?this.deferredRegistrations.add(n):this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(pi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=re({token:e,providedIn:"root",factory:()=>new e})}return e})(),ur=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[xt];t&&(this.view[xt]=t.filter(n=>n!==this))}};function zy(e,t){let n=t?.injector??E(ne);return Ye("NgAfterNextRender"),Zy(e,n,t,!0)}function Qy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Zy(e,t,n,r){let o=t.get(hi);o.impl??=t.get(Xa);let i=t.get(Wt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(de):null,a=t.get(gn,null,{optional:!0}),c=new ur(o.impl,Qy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var wa=null,rf=null;function Hu(e,t,n,r){wa?.maybeQueueEnterAnimation(e,t,n,r)}function Bu(e,t,n,r){wa===null?r(!1):wa.runLeaveAnimationsWithCallback(e,t,n,r)}function Yy(e){rf?.initViewDetachAnimations(e)}function Ky(e){rf?.clearViewDetachAnimations(e)}function vn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;pe(o)?c=o:We(o)&&(l=!0,o=o[Ie]);let u=Y(o);e===0&&r!==null?(Hu(a,r,i,n),s==null?Qd(t,r,u):Pt(t,r,u,s||null,!0)):e===1&&r!==null?(Pt(t,r,u,s||null,!0),qy(i,u,a),yn.has(u)||Hu(a,r,i,n)):e===2?(a?.[jl]?.leave?.has(i.index)&&Gy(i,u,a),yn.delete(u),Bu(a,i,n,d=>{if(yn.has(u)){yn.delete(u);return}Zd(t,u,l,d)})):e===3&&(yn.delete(u),Bu(a,i,n,()=>{t.destroyNode(u)})),c!=null&&cv(t,e,n,c,i,r,s)}}function Jy(e,t){of(e,t),t[Ie]=null,t[Z]=null}function Xy(e,t,n,r,o,i){r[Ie]=o,r[Z]=t,mi(e,r,n,1,o,i)}function of(e,t){t[De].changeDetectionScheduler?.notify(9),mi(e,t,t[L],2,null,null)}function ev(e){let t=e[dn];if(!t)return Js(e[y],e);for(;t;){let n=null;if(We(t))n=t[dn];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)We(t)&&Js(t[y],t),t=t[B];t===null&&(t=e),We(t)&&Js(t[y],t),n=t&&t[fe]}t=n}}function ec(e,t){let n=e[Rt],r=n.indexOf(t);n.splice(r,1)}function gi(e,t){if(Ot(t))return;let n=t[L];n.destroyNode&&mi(e,t,n,3,null,null),ev(t)}function Js(e,t){if(Ot(t))return;let n=g(null);try{t[I]&=-129,t[I]|=256,t[ae]&&et(t[ae]),nv(e,t),tv(e,t),t[y].type===1&&t[L].destroy();let r=t[ot];if(r!==null&&pe(t[B])){r!==t[B]&&ec(r,t);let o=t[Se];o!==null&&o.detachView(e)}ua(t)}finally{g(n)}}function tv(e,t){let n=e.cleanup,r=t[un];if(n!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[un]=null);let o=t[Fe];if(o!==null){t[Fe]=null;for(let s=0;s$&&ff(e,t,$,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;k(a,o,n),n(r,o)}finally{st(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;k(a,o,n)}}function sc(e,t,n){Ev(e,t,n),(n.flags&64)===64&&Iv(e,t,n)}function yi(e,t,n=ce){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function yv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function hf(e,t,n,r,o,i){let s=t[y];if(ac(e,s,t,n,r)){qe(e)&&vv(t,e.index);return}e.type&3&&(n=yv(n)),gf(e,t,n,r,o,i)}function gf(e,t,n,r,o,i){if(e.type&3){let s=ce(e,t);r=i!=null?i(r,e.value||"",n):r,r=mf(n,s,r),o.setProperty(s,n,r)}else e.type&12}function mf(e,t,n){return e==="src"&&(t.tagName==="IMG"||t.tagName==="VIDEO")?n==null?"":Vt(n):n}function vv(e,t){let n=he(t,e);n[I]&16||(n[I]|=64)}function Ev(e,t,n){let r=n.directiveStart,o=n.directiveEnd;qe(n)&&fv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Yo(n,t);let i=n.initialInputs;for(let s=r;s=a&&f<=c){let h=t.data[f],m=d[p+1];Ht(h,n[f],m,i),l=!0}else if(f>c)break}}return s!==null&&Object.hasOwn(r.inputs,o)&&(Ht(r,n[s],o,i),l=!0),l}function Nv(e,t){let n=he(t,e),r=n[y];Mv(r,n);let o=n[Ie];o!==null&&n[Mt]===null&&(n[Mt]=jd(o,n[Ue])),k(x.ComponentStart);try{cc(r,n,n[j])}finally{k(x.ComponentEnd,n[j])}}function Mv(e,t){for(let n=t.length;n{kt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function kv(e){let t=e[ae]??Object.create(Lv);return t.lView=e,t}var Lv=U(H({},Ke),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ve(e.lView);for(;t&&!bf(t[y]);)t=Ve(t);t&&Ms(t)},consumerOnSignalRead(){this.lView[ae]=this}});function bf(e){return e.type!==2}function Tf(e){if(e[je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[je])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[je]===null))return;t=n&&!!(e[I]&8192)}}var Pv=100;function Cf(e,t=0){let r=e[De].rendererFactory,o=!1;o||r.begin?.();try{Fv(e,t)}finally{o||r.end?.()}}function Fv(e,t){let n=Vs();try{Un(!0),Ta(e,t);let r=0;for(;nr(e);){if(r===Pv)throw new D(103,!1);r++,Ta(e,1)}}finally{Un(n)}}function jv(e,t,n,r){if(Ot(t))return;let o=t[I],i=!1,s=!1;Mo(t);let a=!0,c=null,l=null;i||(bf(e)?(l=xv(t),c=Ae(l)):Mr()===null?(a=!1,l=kv(t),c=Ae(l)):t[ae]&&(et(t[ae]),t[ae]=null));try{Ns(t),eu(e.bindingStartIndex),n!==null&&pf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Uo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Wo(t,f,0,null),Ys(t,0)}if(s||Vv(t),Tf(t),_f(t,0),e.contentQueries!==null&&Vd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Uo(t,f)}else{let f=e.contentHooks;f!==null&&Wo(t,f,1),Ys(t,1)}Bv(e,t);let d=e.components;d!==null&&Mf(t,d,0);let p=e.viewQuery;if(p!==null&&fa(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Uo(t,f)}else{let f=e.viewHooks;f!==null&&Wo(t,f,2),Ys(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Io]){for(let f of t[Io])f();t[Io]=null}i||(Df(t),t[I]&=-73)}catch(u){let d=!1,p=u,f=t;for(;f!==null;){if(pe(f)){f=f[B];continue}let h=f[fn];if(h)try{let m=t[X][j],T=m?.constructor,S={declarationInstance:m,declarationType:T,caughtBy:h},O=g(null);try{h(hu(p),S)}finally{g(O)}d=!0;break}catch(m){p=m}f=f[B]}if(!d)throw i||kt(t),p}finally{l!==null&&(Xe(l,c),a&&Rv(l)),So()}}function _f(e,t){for(let n=xd(e);n!==null;n=Ad(n))for(let r=V;r0&&(e[n-1][fe]=r[fe]);let i=Jn(e,V+t);Jy(r[y],r);let s=i[Se];s!==null&&s.detachView(i[y]),r[B]=null,r[fe]=null,r[I]&=-129}return r}function $v(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][fe]=t),r-1&&(fr(t,r),Jn(n,r))}this._attachedToViewContainer=!1}gi(this._lView[y],this._lView)}onDestroy(t){Co(this._lView,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){To(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Cf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=pn(this._lView),n=this._lView[ot];n!==null&&!t&&ec(n,this._lView),of(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=pn(this._lView),r=this._lView[ot];r!==null&&!n&&Rf(r,this._lView),To(this._lView)}};var pr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Uv;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=wr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new ct(i)}}return e})();function Uv(){return vi(z(),v())}function vi(e,t){return e.type&4?new pr(t,e,Nn(e,t)):null}function Mn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Wv(e,t,n,r,o),tu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Kl();i.injectorIndex=s===null?-1:s.injectorIndex}return hn(i,!0),i}function Wv(e,t,n,r,o){let i=Ps(),s=Fs(),a=s?i:i&&i.parent,c=e.data[t]=Gv(e,a,n,t,r,o);return qv(e,c,i,s),c}function qv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Gv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Os()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Us(),attrs:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function zv(e){let t=e[Ts]??[],r=e[B][L],o=[];for(let i of t)i.data[Ld]!==void 0?o.push(i):Qv(i,r);e[Ts]=o}function Qv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[kd];for(;nnull,Yv=()=>null;function Xo(e,t){return Zv(e,t)}function Of(e,t,n){return Yv(e,t,n)}var kf=class{},hr=class{},Ca=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>Kv()};function Kv(){let e=v(),t=z(),n=he(t.index,e);return(We(n)?n:e)[L]}var Lf=(()=>{class e{static \u0275prov=re({token:e,providedIn:"root",factory:()=>null})}return e})();function Pf(e){return e.debugInfo?.className||e.type.name||null}var Go={},ei=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Go,r);return o!==Go||n===Go?o:this.parentInjector.get(t,n,r)}};function Jv(e,t,n){return e[t]=n}function Xv(e,t){return e[t]}function me(e,t,n){if(n===ee)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ff(e,t,n,r){let o=me(e,t,n);return me(e,t+1,r)||o}function eE(e,t,n,r,o){let i=Ff(e,t,n,r);return me(e,t+2,o)||i}function ar(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Gm(o,i);let s=qe(e)?he(e.index,t):t;lc(s,5);let a=t[j],c=Uu(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Uu(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Uu(e,t,n,r){let o=g(null);try{return k(x.OutputStart,t,n),n(r)!==!1}catch(i){return Cv(e,i),!1}finally{k(x.OutputEnd,t,n),g(o)}}function tE(e,t,n,r,o,i,s,a){let c=tr(e),l=!1,u=null;if(!r&&c&&(u=rE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ce(e,n),p=r?r(d):d;Qm(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!nE(i)){let h=r?m=>r(Y(m[e.index])):e.index;jf(h,t,n,i,a,f,!1)}}return l}function nE(e){return e.startsWith("animation")||e.startsWith("transition")}function rE(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function jf(e,t,n,r,o,i,s){let a=t.firstCreatePass?xs(t):null,c=Ss(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Wu(e,t,n,r,o){let i=null,s=null,a=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l=="number"?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d=s&&p<=a)c=!0,ti(e,t,p,u[d+1],r,o);else if(p>a)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,ti(e,t,i,r,r,o)),c}function ti(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);jf(e.index,a,t,o,i,d,!0)}function oE(){iE()}function iE(){let e=v(),t=P(),n=z();if(t.firstCreatePass&&cE(t,n),n.controlDirectiveIndex===-1)return;Ye("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new ni(e,t,n))}function sE(){aE()}function aE(){let e=v(),t=P(),n=Lt();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new ni(e,t,n))}var ni=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ce(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Wu(this.tNode,this.lView,r,t,ar(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Wu(this.tNode,this.lView,r,n,ar(this.tNode,this.lView,t))}setInputOnDirectives(t,n,r){let o=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!o&&!i)return!1;let s=!1;if(o)for(let a of o){if(a===this.tNode.controlDirectiveIndex)continue;let c=this.lView[a],l=this.tView.data[a];(!r||r(Gu(c,l,t)))&&(Ht(l,c,t,n),s=!0)}if(i)for(let a=0;a0;){let o=r.shift();if(typeof o!="function"){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=qu(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i=="function")continue;if(i.inputs)for(let a=0;a1){t.flags|=4096;return}lE(e,t)}function lE(e,t){for(let n=t.directiveStart;n{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!i||!s)return!1;for(let a=0;a=f&&c<=h)return t.flags|=o,t.customControlIndex=p,!0}}}return!1};if(n("value",1024)||n("checked",2048))return}}function zu(e,t){return uE(e,t)&&dE(e,t+"Change")}function uE(e,t){return t in e.inputs}function dE(e,t){return t in e.outputs}var _a=Symbol("BINDING");var Vf=new M("");function ri(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function IE(e,t,n){if(n){if(t.exportAs)for(let r=0;r{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Dr.SignalBased)!==0};return o&&(i.transform=o),i})}function CE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _E(e,t,n){let r=t instanceof ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new ei(n,r):n}function NE(e){let t=e.get(hr,null);if(t===null)throw new D(407,!1);let n=e.get(Lf,null),r=e.get(Ee,null),o=e.get(Wt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function ME(e,t,n){let r=qf(e);return zd(t,r,r==="svg"?Tt:r==="math"?Do:n)}function SE(e){if((e&&"localName"in e&&typeof e.localName=="string"?e.localName:e?.tagName)?.toLowerCase()==="script")throw new D(905,!1)}function qf(e){return(e.selectors[0][0]||"div").toLowerCase()}var Bt=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=TE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=CE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=By(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a,c){k(x.DynamicComponentStart);let l=g(null);try{let u=this.componentDef,d=_E(u,o||this.ngModule,t),p=NE(d),f=p.tracingService;return f&&f.componentCreate?f.componentCreate(Pf(u),()=>this.createComponentRef(p,d,n,r,i,s,a,c)):this.createComponentRef(p,d,n,r,i,s,a,c)}finally{g(l)}}createComponentRef(t,n,r,o,i,s,a,c){let l=this.componentDef,u=xE(o,l,s,i,c),d=t.rendererFactory.createRenderer(null,l),p=o?hv(d,o,l.encapsulation,n):ME(l,d,a??null);SE(p);let f=n.get(Vf,null),h=AE(p,()=>n.get(Ro,null)??Od());f&&f.addHost(h);let m=s?.some(Ku)||i?.some(O=>typeof O!="function"&&O.bindings.some(Ku)),T=oc(null,u,null,512|uf(l),null,null,t,d,n,null,jd(p,n,!0));f&&Wf&&h instanceof ShadowRoot&&Co(T,()=>{f.removeHost(h)}),T[$]=p,Mo(T);let S=null;try{let O=$f($,T,2,"#host",()=>u.directiveRegistry,!0,0);Yd(d,p,O),Dn(p,T),sc(u,T,O),Hd(u,O,T),Uf(u,O),r!==void 0&&OE(O,this.ngContentSelectors,r),S=he(O.index,T),T[j]=S[j],cc(u,T,null)}catch(O){throw S!==null&&ua(S),ua(T),O}finally{k(x.DynamicComponentEnd),So()}return new oi(this.componentType,T,!!m)}};function xE(e,t,n,r,o){let i=e?["ng-version","22.2.3"]:$y(t.selectors[0]),s=null,a=null,c=0;if(n)for(let d of n)c+=d[_a].requiredVars,d.create&&(d.targetIdx=0,(s??=[]).push(d)),d.update&&(d.targetIdx=0,(a??=[]).push(d));if(r)for(let d=0;d{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Ku(e){let t=e[_a].kind;return t==="input"||t==="twoWay"}var oi=class extends kf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=wo(n[y],$),this.location=Nn(this._tNode,n),this.instance=he(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new ct(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=ac(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=he(r.index,o);lc(s,1)}get injector(){return new ze(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function OE(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=kE}return e})();function kE(){let e=z();return Gf(e,v())}var Na=class e extends Ii{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nn(this._hostTNode,this._hostLView)}get injector(){return new ze(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ga(this._hostTNode,this._hostLView);if(md(t)){let n=Zo(t,this._hostLView),r=Qo(t),o=n[y].data[r+8];return new ze(o,n)}else return new ze(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ju(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i,s;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector,s=r.onError);let a=Xo(this._lContainer,t.ssrId),c=t.createEmbeddedViewImpl(n||{},i,a);return s&&(c._lView[fn]=s),this.insertImpl(c,o,wn(this._hostTNode,a)),c}createComponent(t,n,r,o,i,s,a){let c,l,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings,l=u.onError;let d=new Bt(Be(t)),p=r||this.parentInjector;if(!i&&d.ngModule==null){let O=this.parentInjector.get(ve,null);O&&(i=O)}let f=Be(d.componentType??{}),h=Xo(this._lContainer,f?.id??null),m=h?.firstChild??null,T=d.create(p,o,m,i,s,a,this._getHostElementNamespace());return l&&(T.hostView._lView[fn]=l),this.insertImpl(T.hostView,c,wn(this._hostTNode,h)),T}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[Z];return t!==null&&t.type&2&&typeof t.value=="string"&&t.value.toLowerCase()==="foreignobject"?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Ul(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new e(c,c[Z],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return br(s,o,i,r),t.attachToViewContainerRef(),hs(Xs(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ju(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=fr(this._lContainer,n);r&&(Jn(Xs(this._lContainer),n),gi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=fr(this._lContainer,n);return r&&Jn(Xs(this._lContainer),n)!=null?new ct(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ju(e){return e[er]}function Xs(e){return e[er]||(e[er]=[])}function Gf(e,t){let n,r=t[e.index];return pe(r)?n=r:(n=Sf(r,t,null,e),t[e.index]=n,ic(t,n)),PE(n,t,e,r),new Na(n,e,t)}function LE(e,t){let n=e[L],r=n.createComment(""),o=ce(t,e),i=n.parentNode(o);return Pt(n,i,r,n.nextSibling(o),!1),r}var PE=VE,FE=()=>!1;function jE(e,t,n){return FE(e,t,n)}function VE(e,t,n,r){if(e[At])return;let o;n.type&8?o=Y(r):o=LE(t,n),e[At]=o}var Ma=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Sa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=V;dt.trim())}function Kf(e,t,n){e.queries===null&&(e.queries=new xa),e.queries.track(new Aa(t,n))}function qE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function dc(e,t){return e.queries.getByIndex(t)}function Jf(e,t){let n=e[y],r=dc(n,t);return r.crossesNgTemplate?Ra(n,e,t,[]):zf(n,e,r,t)}function Xf(e,t,n){let r,o=Rn(()=>{r._dirtyCounter();let i=GE(r,e);if(t&&i===void 0)throw new D(-951,!1);return i});return r=o[F],r._dirtyCounter=Oo(0),r._flatValue=void 0,o}function fc(e){return Xf(!0,!1,e)}function pc(e){return Xf(!0,!0,e)}function ep(e,t){let n=e[F];n._lView=v(),n._queryIndex=t,n._queryList=uc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function GE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:J;let o=uc(n,r),i=Jf(n,r);return o.reset(i,Nd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function hc(e){return!!e&&typeof e.then=="function"}function tp(e){return!!e&&typeof e.subscribe=="function"}var bn=class{},np=class{};var gr=class extends bn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Cl(t);this._bootstrapComponents=xy(i.bootstrap),this._r3Injector=Ws(t,n,[{provide:bn,useValue:this},...r],zn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},mr=class extends np{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new gr(this.moduleType,t,[])}};function rp(e,t,n){return new gr(e,t,n,!1)}var si=class extends bn{injector;instance=null;constructor(t){super();let n=new bt([...t.providers,{provide:bn,useValue:this}],t.parent||ln(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function op(e,t,n=null){return new si({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var zE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ys(!1,n.type),o=r.length>0?op([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=re({token:e,providedIn:"environment",factory:()=>new e(te(ve))})}return e})();function QE(e){return vr(()=>{let t=sp(e),n=U(H({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==za.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(zE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jt.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ye("NgStandalone"),ap(n);let r=e.dependencies;return n.directiveDefs=Xu(r,ZE),n.pipeDefs=Xu(r,_l),n.id=XE(n),n})}function ZE(e){return Be(e)||Kn(e)}function ip(e){return vr(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function YE(e,t){if(e==null)return nt;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Dr.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function KE(e){if(e==null)return nt;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function JE(e){return vr(()=>{let t=sp(e);return ap(t),t})}function sp(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||nt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:YE(e.inputs,t),outputs:KE(e.outputs),debugInfo:null}}function ap(e){e.features?.forEach(t=>t(e))}function Xu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function XE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var gc=new M("");function eI(e){return vo([{provide:gc,multi:!0,useValue:e}])}var mc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(gc,{optional:!0})??[];injector=E(ne);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Eo(this.injector,o);if(hc(i))n.push(i);else if(tp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})(),Oa=new Map,tI=new Set;function cp(e){return Gt(this,null,function*(){let t=Oa;Oa=new Map;let n=new Map;function r(i){let s=n.get(i);if(s)return s;let a=e(i).then(c=>nI(i,c));return n.set(i,a),a}let o=Array.from(t).map(a=>Gt(null,[a],function*([i,s]){if(s.styleUrl&&s.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");let c=[];s.templateUrl&&c.push(r(s.templateUrl).then(p=>{s.template=p}));let l=typeof s.styles=="string"?[s.styles]:s.styles??[];s.styles=l;let{styleUrl:u,styleUrls:d}=s;if(u&&(d=[u],s.styleUrl=void 0),d?.length){let p=Promise.all(d.map(f=>r(f))).then(f=>{l.push(...f),s.styleUrls=void 0});c.push(p)}yield Promise.all(c),tI.delete(i)}));yield Promise.all(o)})}function lp(){return Oa.size===0}function nI(e,t){return Gt(this,null,function*(){if(typeof t=="string")return t;if(t.status!==void 0&&t.status!==200)throw new D(918,!1);return t.text()})}function rI(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}}function oI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=iI,n.hostDirectives=r?e.map(ka):[e]):r?n.hostDirectives.unshift(...e.map(ka)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function iI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i{sI(s.declaredInputs,i.inputs)}),[t,r,o]}function up(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o=="function"){let i=o();for(let s of i)ed(ka(s),t,n,r)}else ed(o,t,n,r)}function ed(e,t,n,r){let o=Kn(e.directive);if(up(o,t,n,r),n.has(o)){let i=n.get(o);td(i,e.inputs,"input"),td(i,e.outputs,"output")}else r.includes(o)||(n.set(o,e),t.push(o))}function td(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!Object.hasOwn(r,o)||r[o]===i)&&(r[o]=i)})}function ka(e){return typeof e=="function"?{directive:q(e),inputs:{},outputs:{}}:{directive:q(e.directive),inputs:nd(e.inputs),outputs:nd(e.outputs)}}function nd(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=In(o.hostAttrs,n=In(n,o.hostAttrs))}}function ea(e){return e===nt?{}:e===J?[]:e}function uI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function dI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function fI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function fp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=In(e.mergedAttrs,e.attrs);let u=e.tView=rc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),hn(e,!1);let c=hI(n,t,e,r);xo()&&tc(n,t,c,e),Dn(c,t);let l=Sf(c,t,c,e);t[r+$]=l,ic(t,l),jE(l,e,t)}function pI(e,t,n,r,o,i,s,a,c,l,u){let d=n+$,p;return t.firstCreatePass?(p=Mn(t,d,4,s||null,a||null),Rs()&&Hf(t,e,p,le(t.consts,l),yf),pd(t,p)):p=t.data[d],fp(p,e,t,n,r,o,i,c),tr(p)&&sc(t,e,p),l!=null&&yi(e,p,u),p}function Tn(e,t,n,r,o,i,s,a,c,l,u){let d=n+$,p;if(t.firstCreatePass){if(p=Mn(t,d,4,s||null,a||null),l!=null){let f=le(t.consts,l);p.localNames=[];for(let h=0;h{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var gp=new M(""),mp=new M(""),yp=new M("USE_PENDING_TASKS",{providedIn:"root",factory:()=>typeof Zone>"u"}),yI=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=E(Ge);_usePendingTasks=E(yp);constructor(n,r,o){this._ngZone=n,this.registry=r,Ds()&&(this._destroyRef=E(de,{optional:!0})??void 0),yc||(Ep(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r,o;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(r=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),o=this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r?.unsubscribe(),o.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(te(G),te(vp),te(mp))};static \u0275prov=re({token:e,factory:e.\u0275fac})}return e})(),vp=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yc?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ep(e){yc=e}var yc,Ip=new M("");function Dp(){Ni(e=>{let t="";throw new D(-600,t)})}var vI=10;function vc(e,t){return Array.isArray(t)?t.reduce(vc,e):H(H({},e),t)}var qt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(at);afterRenderManager=E(hi);zonelessEnabled=E(mn);rootEffectScheduler=E(Lo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(Ge);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ke(n=>!n))}constructor(){E(Wt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ne.NULL){return this._injector.get(G).run(()=>{if(k(x.BootstrapComponentStart),!this._injector.get(mc).done){let S="";throw new D(405,S)}let a=Be(n),c=this._injector.get(bn),l=new Bt(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=EI(r),f=u||l.selector,h=l.create(o,[],f,c.injector,d,p),m=h.location.nativeElement,T=h.injector.get(gp,null);return T?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),cr(this.components,h),T?.unregisterApplication(m)}),this._loadComponent(h),k(x.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(pi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(x.ChangeDetectionEnd),new D(101,!1);let n=g(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,g(n),this.afterTick.next(),k(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(hr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++nr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;cr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Ip,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>cr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})();function EI(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function cr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function wp(e,t,n,r){let o=v(),i=it();if(me(o,i,t)){let s=P(),a=Lt();wv(a,o,e,t,n,r)}return wp}var La=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ta(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function II(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){g(r);let l=t.length-1;for(g(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=ta(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],m=ta(a,f,l,h,n);if(m!==0){m<0&&e.updateValue(a,h),a--,l--;continue}let T=n(s,u),S=n(a,f),O=n(s,d);if(Object.is(O,S)){let bi=n(l,h);Object.is(bi,T)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ai,i??=od(e,s,a,n),Pa(e,o,s,O))e.updateValue(s,d),s++,a++;else if(i.has(O))o.set(T,e.detach(s)),a--;else{let bi=e.create(s,t[s]);e.attach(s,bi),s++,a++}}for(;s<=l;)rd(e,o,n,s,t[s]),s++}else if(t!=null){g(r);let l=t[Symbol.iterator]();g(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=ta(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new ai,i??=od(e,s,a,n);let h=n(s,p);if(Pa(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let m=n(s,d);o.set(m,e.detach(s)),a--}}}for(;!u.done;)rd(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Pa(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function rd(e,t,n,r,o){if(Pa(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function od(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ai=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function DI(e,t,n,r,o,i,s,a){Ye("NgControlFlow");let c=v(),l=P(),u=le(l.consts,i);return Tn(c,l,e,t,n,r,o,u,256,s,a),Ec}function Ec(e,t,n,r,o,i,s,a){return Ye("NgControlFlow"),wI(e,t,n,r,o,i,s,a),Ec}function wI(e,t,n,r,o,i,s,a){let c=v(),l=P(),u=le(l.consts,i);Tn(c,l,e,t,n,r,o,u,512,s,a)}function bI(e,t){Ye("NgControlFlow");let n=v(),r=it(),o=n[r]!==ee?n[r]:-1,i=o!==-1?ci(n,$+o):void 0,s=0;if(me(n,r,e)){let a=g(null);try{if(i!==void 0&&Af(i,s),e!==-1){let c=$+e,l=ci(n,c),u=Ha(n[y],c),d=Of(l,u,n),p=wr(n,u,t,{dehydratedView:d});br(l,p,s,wn(u,d))}}finally{g(a)}}else if(i!==void 0){let a=xf(i,s);a!==void 0&&(a[j]=t)}}var Fa=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function TI(e){return e}function CI(e,t){return t}var ja=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function _I(e,t,n,r,o,i,s,a,c,l,u,d,p){Ye("NgControlFlow");let f=v(),h=P(),m=c!==void 0,T=v(),S=a?s.bind(T[X][j]):s,O=new ja(m,S);T[$+e]=O,Tn(f,h,e+1,t,n,r,o,le(h.consts,i),256),m&&Tn(f,h,e+2,c,l,u,d,le(h.consts,p),512)}var Va=class extends La{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Mt];this.needsIndexUpdate||=t!==this.length,br(this.lContainer,n,t,wn(this.templateTNode,r)),MI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,SI(this.lContainer,t),xI(this.lContainer,t)}create(t,n){let r=Xo(this.lContainer,this.templateTNode.tView.ssrId);return wr(this.hostLView,this.templateTNode,new Fa(this.lContainer,n,t),{dehydratedView:r})}destroy(t){gi(t[y],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(id(e,t,o,a,r),li))}}return id(e,t,o,a,r),li}function id(e,t,n,r,o){if(vf(r,n,e,t,_p),tr(r)){let i=n[y];sc(i,n,r),Hd(i,r,n)}o!=null&&yi(n,r)}function Ic(){let e=P(),t=z(),n=Ef(t);return e.firstCreatePass&&Uf(e,n),ks(n)&&Ls(),As(),n.classesWithoutHost!=null&&Tm(n)&&Ba(e,n,v(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Cm(n)&&Ba(e,n,v(),n.stylesWithoutHost,!1),Ic}function Tp(e,t,n,r){return li(e,t,n,r),Ic(),Tp}function Dc(e,t,n,r){let o=v(),i=o[y],s=e+$,a=i.firstCreatePass?wE(s,i,2,t,n,r):i.data[s];return vf(a,o,e,t,_p),r!=null&&yi(o,a),Dc}function wc(){let e=z(),t=Ef(e);return ks(t)&&Ls(),As(),wc}function Cp(e,t,n,r){return Dc(e,t,n,r),wc(),Cp}var _p=(e,t,n,r,o)=>(Ao(!0),zd(t[L],r,Us()));function RI(){return v()}function Np(e,t,n){let r=v(),o=it();if(me(r,o,t)){let i=P(),s=Lt();gf(s,r,e,t,r[L],n)}return Np}var Tr="en-US";var OI=Tr;function Mp(e){typeof e=="string"&&(OI=e.toLowerCase().replace(/_/g,"-"))}function Sp(e,t,n){let r=v(),o=P(),i=z();return xp(o,r,r[L],i,e,t,n),Sp}function xp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ar(r,t,i),tE(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d>17&32767}function UI(e){return(e&2)==2}function WI(e,t){return e&131071|t<<17}function $a(e){return e|2}function Cn(e){return(e&131068)>>2}function na(e,t){return e&-131069|t<<2}function qI(e){return(e&1)===1}function Ua(e){return e|1}function GI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=$t(s),c=Cn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||cn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=$t(e[a+1]);e[r+1]=Bo(p,a),p!==0&&(e[p+1]=na(e[p+1],r)),e[a+1]=WI(e[a+1],r)}else e[r+1]=Bo(a,0),a!==0&&(e[a+1]=na(e[a+1],r)),a=r;else e[r+1]=Bo(c,0),a===0?a=r:e[c+1]=na(e[c+1],r),c=r;l&&(e[r+1]=$a(e[r+1])),sd(e,u,r,!0),sd(e,u,r,!1),zI(t,u,e,r,i),s=Bo(a,c),i?t.classBindings=s:t.styleBindings=s}function zI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&cn(i,t)>=0&&(n[r+1]=Ua(n[r+1]))}function sd(e,t,n,r){let o=e[n+1],i=t===null,s=r?$t(o):Cn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];QI(c,t)&&(a=!0,e[s+1]=r?Ua(l):$a(l)),s=r?$t(l):Cn(l)}a&&(e[n+1]=r?$a(o):Ua(o))}function QI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?cn(e,t)>=0:!1}var Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ZI(e){return e.substring(Te.key,Te.keyEnd)}function YI(e){return KI(e),Lp(e,Pp(e,0,Te.textEnd))}function Lp(e,t){let n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=JI(e,Te.key=t,n),Pp(e,t,n))}function KI(e){Te.key=0,Te.keyEnd=0,Te.value=0,Te.valueEnd=0,Te.textEnd=e.length}function Pp(e,t,n){for(;t32;)t++;return t}function Fp(e,t){return tD(e,t,null,!0),Fp}function XI(e){nD(cD,eD,e,!0)}function eD(e,t){for(let n=YI(t);n>=0;n=Lp(t,n))mo(e,ZI(t),!0)}function tD(e,t,n,r){let o=v(),i=P(),s=rr(2);if(i.firstUpdatePass&&Vp(i,e,s,r),t!==ee&&me(o,s,t)){let a=i.data[ge()];Hp(i,a,o,o[L],e,o[s+1]=uD(t,n),r,s)}}function nD(e,t,n,r){let o=P(),i=rr(2);o.firstUpdatePass&&Vp(o,null,i,r);let s=v();if(n!==ee&&me(s,i,n)){let a=o.data[ge()];if(Bp(a,r)&&!jp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=lo(c,n||"")),Ba(o,a,s,n,r)}else lD(o,a,s,s[L],s[i+1],s[i+1]=aD(e,t,n),r,i)}}function jp(e,t){return t>=e.expandoStartIndex}function Vp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ge()],s=jp(e,n);Bp(i,r)&&t===null&&!s&&(t=!1),t=rD(o,i,t,r),GI(o,i,t,n,s,r)}}function rD(e,t,n,r){let o=ou(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ra(null,e,t,n,r),n=yr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ra(o,e,t,n,r),i===null){let c=oD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ra(null,e,t,c[1],r),c=yr(c,t.attrs,r),iD(e,t,r,c))}else i=sD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function oD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Cn(r)!==0)return e[$t(r)]}function iD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[$t(o)]=r}function sD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===ee&&(p=d?J:void 0);let f=d?yo(p,r):u===r?p:void 0;if(l&&!ui(f)&&(f=yo(c,r)),ui(f)&&(a=f,s))return a;let h=e[o+1];o=s?$t(h):Cn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=yo(c,r))}return a}function ui(e){return e!==void 0}function uD(e,t){return e==null||e===""||(typeof t=="string"?e=Vt(e)+t:typeof e=="object"&&(e=zn(Vt(e)))),e}function Bp(e,t){return(e.flags&(t?8:16))!==0}function dD(e,t=""){let n=v(),r=P(),o=e+$,i=r.firstCreatePass?Mn(r,o,1,t,null):r.data[o],s=fD(r,n,i,t);n[o]=s,xo()&&tc(r,n,s,i),hn(i,!1)}var fD=(e,t,n,r)=>(Ao(!0),Dy(t[L],r));function $p(e,t,n,r=""){return me(e,it(),n)?t+$e(n)+r:ee}function pD(e,t,n,r,o,i=""){let s=Hs(),a=Ff(e,s,n,o);return rr(2),a?t+$e(n)+r+$e(o)+i:ee}function hD(e,t,n,r,o,i,s,a=""){let c=Hs(),l=eE(e,c,n,o,s);return rr(3),l?t+$e(n)+r+$e(o)+i+$e(s)+a:ee}function Up(e){return bc("",e),Up}function bc(e,t,n){let r=v(),o=$p(r,e,t,n);return o!==ee&&Tc(r,ge(),o),bc}function Wp(e,t,n,r,o){let i=v(),s=pD(i,e,t,n,r,o);return s!==ee&&Tc(i,ge(),s),Wp}function qp(e,t,n,r,o,i,s){let a=v(),c=hD(a,e,t,n,r,o,i,s);return c!==ee&&Tc(a,ge(),c),qp}function Tc(e,t,n){let r=_s(t,e);wy(e[L],r,n)}function Gp(e,t,n){Fo(t)&&(t=t());let r=v(),o=it();if(me(r,o,t)){let i=P(),s=Lt();hf(s,r,e,t,r[L],n)}return Gp}function gD(e,t){let n=Fo(e);return n&&e.set(t),n}function zp(e,t){let n=v(),r=P(),o=z();return xp(r,n,n[L],o,e,t),zp}function mD(e,t,n=""){return $p(v(),e,t,n)}function cd(e,t,n){let r=P();r.firstCreatePass&&Qp(t,r.data,r.blueprint,we(e),n)}function Qp(e,t,n,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i>20;if(wt(e)||!e.multi){let f=new Ft(l,o,Ei,null),h=ia(c,t,o?u:u+p,d);h===-1?(ca(Yo(a,s),i,c),oa(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ia(c,t,u+p,d),h=ia(c,t,u,u+p),m=f>=0&&n[f],T=h>=0&&n[h];if(o&&!T||!o&&!m){ca(Yo(a,s),i,c);let S=ED(o?vD:yD,n.length,o,r,l,e);!o&&T&&(n[h].providerFactory=S),oa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(S),s.push(S)}else{let S=Zp(n[o?h:f],l,!o&&r);oa(i,e,f>-1?f:h,S)}!o&&r&&T&&n[h].componentProviders++}}}function oa(e,t,n,r){let o=wt(t),i=Fl(t);if(o||i){let c=(i?q(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Zp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ia(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>cd(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>cd(r,o?o(t):t,!0))}}function DD(e,t){let n=Xl()+e,r=v();return r[n]===ee?Jv(r,n,t()):Xv(r,n)}function wD(e,t){return vi(e,t)}var $o=null;function Yp(e){$o!==null&&(e.defaultEncapsulation!==$o.defaultEncapsulation||e.preserveWhitespaces!==$o.preserveWhitespaces)||($o=e)}var Kp=(()=>{class e{applicationErrorHandler=E(at);appRef=E(qt);taskService=E(Ge);ngZone=E(G);zonelessEnabled=E(mn);tracing=E(Wt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new W;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(ko,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?fu:Gs;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Wn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})();function Jp(){return[{provide:Ee,useExisting:Kp},{provide:G,useClass:qn},{provide:mn,useValue:!0}]}var bD=(()=>{class e{compileModuleSync(n){return new mr(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})(),Xp=new M("");function TD(){return typeof $localize<"u"&&$localize.locale||Tr}var Cc=new M("",{factory:()=>E(Cc,{optional:!0,skipSelf:!0})||TD()});var Di=class{destroyed=!1;listeners=null;errorHandler=E(He,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=E(de);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(Gn(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=g(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&CD(this.listeners)),g(n),this.isEmitting=!1}}};function CD(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function _D(e,t){return Rn(e,t?.equal)}function nh(e){return $c(e)}var eh=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e("IDLE");static LOADING=new e("LOADING")},ND=e=>e;function MD(e,t){if(typeof e=="function"){let n=Ri(e,ND,t?.equal);return th(n,t?.debugName,t?.set)}else{let n=Ri(e.source,e.computation,e.equal);return th(n,e.debugName,e.set)}}function th(e,t,n){let r=e[F],o=e;if(n!==void 0){let i=s=>Oi(r,s);o.set=s=>n(s,i),o.update=s=>n(s(nh(e)),i)}else o.set=i=>Oi(r,i),o.update=i=>Bc(r,i);return o.asReadonly=ir.bind(e),o}function dh(e,t){let n=Object.create(qa);n.value=e,n.transformFn=t?.transform;function r(){if(Ce(n),n.value===_n){let o=null;throw new D(-950,o)}return n.value}return r[F]=n,r}var rh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Cd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},VP=(()=>{let e=new M("");return e.__NG_ELEMENT_ID__=t=>{let n=z();if(n===null)throw new D(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new D(-204,!1)},e})();function HP(e){return SD(e)?e.default:e}function SD(e){return e&&typeof e=="object"&&"default"in e}function oh(e,t){return dh(e,t)}function xD(e){return dh(_n,e)}var BP=(oh.required=xD,oh);function fh(e,t){let n=Object.create(qa),r=new Di;n.value=e;function o(){return Ce(n),ih(n.value),n.value}return o[F]=n,o.asReadonly=ir.bind(o),o.set=i=>{n.equal(n.value,i)||(Re(n,i),r.emit(i))},o.update=i=>{ih(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function ih(e){if(e===_n)throw new D(952,!1)}function sh(e,t){return fh(e,t)}function AD(e){return fh(_n,e)}var $P=(sh.required=AD,sh);function ah(e,t){return fc(t)}function RD(e,t){return pc(t)}var UP=(ah.required=RD,ah);function ch(e,t){return fc(t)}function OD(e,t){return pc(t)}var WP=(ch.required=OD,ch);var qP=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(te(qt))};static \u0275mod=ip({type:e});static \u0275inj=cs({})}return e})();var kD=1e4;var GP=kD-1e3;var zP=(()=>{class e{static __NG_ELEMENT_ID__=LD}return e})();function LD(e){return PD(z(),v(),(e&16)===16)}function PD(e,t,n){if(qe(e)&&!n){let r=he(e.index,t);return new ct(r,r)}else if(e.type&175){let r=t[X];return new ct(r,t)}return null}var FD=(()=>{class e{zone=E(G);changeDetectionScheduler=E(Ee);applicationRef=E(qt);applicationErrorHandler=E(at);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.applicationRef._runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})(),jD=new M("",{factory:()=>!1});function VD({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new G(U(H({},ph()),{scheduleInRootZone:t})),[{provide:mn,useValue:!1},{provide:G,useFactory:e},{provide:Nt,multi:!0,useFactory:()=>{let n=E(FD,{optional:!0});return()=>n.initialize()}},{provide:Nt,multi:!0,useFactory:()=>{let n=E(HD);return()=>{n.initialize()}}},{provide:ko,useValue:t??qs}]}function QP(e){let t=e?.scheduleInRootZone,n=VD({ngZoneFactory:()=>{let r=ph(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&Ye("NgZone_CoalesceEvent"),new G(r)},scheduleInRootZone:t});return vo([{provide:jD,useValue:!0},n])}function ph(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var HD=(()=>{class e{subscription=new W;initialized=!1;zone=E(G);pendingTasks=E(Ge);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Ut({token:e,factory:e.\u0275fac})}return e})();function BD(e,t,n){let r=new mr(n);return Promise.resolve(r)}function lh(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var wi=new M(""),$D=new M("");function Cr(e){return!e.moduleRef}function UD(e){let t=Cr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(G);return n.run(()=>{Cr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(at),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Cr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(wi);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(wi);s.add(i),e.moduleRef.onDestroy(()=>{cr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qD(r,n,()=>{let i=t.get(Ge),s=i.add(),a=t.get(mc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Cc,Tr);if(Mp(c||Tr),!t.get($D,!0))return Cr(e)?t.get(qt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Cr(e)){let u=t.get(qt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return hh?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var hh;function uh(){hh=WD}function WD(e,t){let n=e.injector.get(qt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new D(-403,!1);t.push(e)}function qD(e,t,n){try{let r=n();return hc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var gh=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=[Jp(),...r?.applicationProviders??[],mu],i=rp(n.moduleType,this.injector,o);return uh(),UD({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=vc({},r);return uh(),BD(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(wi,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(te(ne))};static \u0275prov=re({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Mc=null;function GD(e){if(Sc())throw new D(400,!1);Dp(),Mc=e;let t=e.get(gh);return YD(e),t}function zD(e,t,n=[]){let r=`Platform: ${t}`,o=new M(r);return(i=[])=>{let s=Sc();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??GD(QD(a,r))}return ZD(o)}}function QD(e=[],t){return ne.create({name:t,providers:[{provide:Es,useValue:"platform"},{provide:wi,useValue:new Set([()=>Mc=null])},...e]})}function ZD(e){let t=Sc();if(!t)throw new D(-401,!1);return t}function Sc(){return Mc?.get(gh)??null}function YD(e){let t=e.get(vu,null);Eo(e,()=>{t?.forEach(n=>n())})}function ZP(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function YP(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var _c=Symbol("NOT_SET"),mh=new Set,KD=U(H({},Yt),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:_c,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(Ce(u),u.value),u.signal[F]=u,u.registerCleanupFn=d=>(u.cleanup??=new Set).add(d),this.nodes[c]=u,this.hooks[c]=d=>u.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??mh)n()}finally{et(t)}}};function KP(e,t){let n=t?.injector??E(ne),r=n.get(Ee),o=n.get(hi),i=n.get(Wt,null,{optional:!0});o.impl??=n.get(Xa);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(gn,null,{optional:!0}),c=new Nc(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null),void 0);return o.impl.register(c),c}var JP=zD(null,"core",[]);function XP(e,t){let n=Be(e),r=t.elementInjector||ln(),i=new Bt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings);return t.onError&&(i.hostView._lView[fn]=t.onError),i}function eF(e){let t=Be(e);if(!t)return null;let n=new Bt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{H as a,U as b,Ih as c,Gt as d,W as e,Ah as f,N as g,K as h,On as i,Ln as j,yt as k,Me as l,$h as m,Uh as n,Wh as o,Fn as p,ke as q,Jh as r,Le as s,jn as t,rn as u,eg as v,tg as w,ng as x,Vn as y,rg as z,hl as A,og as B,ig as C,on as D,sg as E,ag as F,ug as G,dg as H,fg as I,pg as J,Wi as K,hg as L,gg as M,mg as N,yg as O,vg as P,Eg as Q,D as R,Gn as S,uo as T,re as U,cs as V,wg as W,M as X,_t as Y,te as Z,E as _,vo as $,Es as aa,ve as ba,Eo as ca,Q as da,Zl as ea,Yl as fa,lu as ga,ne as ha,Ro as ia,de as ja,Ge as ka,Pe as la,G as ma,He as na,at as oa,Oo as pa,yu as qa,vu as ra,Jg as sa,Xg as ta,em as ua,Ee as va,Eu as wa,Po as xa,Fo as ya,Zs as za,ym as Aa,Pm as Ba,Cd as Ca,Ut as Da,Er as Ea,Ko as Fa,Um as Ga,Wm as Ha,qm as Ia,jt as Ja,Vt as Ka,Qa as La,Ym as Ma,Km as Na,Jm as Oa,Xm as Pa,ey as Qa,Za as Ra,Ey as Sa,Ny as Ta,Jo as Ua,Wy as Va,Wt as Wa,Ye as Xa,zy as Ya,pv as Za,pr as _a,hr as $a,Ca as ab,oE as bb,sE as cb,Vf as db,Ei as eb,fE as fb,Ii as gb,hc as hb,bn as ib,np as jb,op as kb,QE as lb,ip as mb,JE as nb,eI as ob,rI as pb,oI as qb,dp as rb,pp as sb,hp as tb,mI as ub,gp as vb,mp as wb,yI as xb,vp as yb,Ip as zb,qt as Ab,wp as Bb,DI as Cb,bI as Db,TI as Eb,CI as Fb,_I as Gb,NI as Hb,bp as Ib,li as Jb,Ic as Kb,Tp as Lb,Dc as Mb,wc as Nb,Cp as Ob,RI as Pb,Np as Qb,Sp as Rb,kI as Sb,PI as Tb,FI as Ub,Ap as Vb,Rp as Wb,VI as Xb,HI as Yb,Op as Zb,kp as _b,BI as $b,$I as ac,Fp as bc,XI as cc,dD as dc,Up as ec,bc as fc,Wp as gc,qp as hc,Gp as ic,gD as jc,zp as kc,mD as lc,ID as mc,DD as nc,wD as oc,bD as pc,_D as qc,nh as rc,MD as sc,rh as tc,VP as uc,HP as vc,BP as wc,$P as xc,UP as yc,WP as zc,qP as Ac,zP as Bc,QP as Cc,zD as Dc,ZP as Ec,YP as Fc,KP as Gc,JP as Hc,XP as Ic,eF as Jc}; diff --git a/src/main/resources/static/chunk-NIKFPCN4.js b/src/main/resources/static/chunk-NIKFPCN4.js new file mode 100644 index 0000000..a585514 --- /dev/null +++ b/src/main/resources/static/chunk-NIKFPCN4.js @@ -0,0 +1 @@ +import{R as E,U as Tt,a as me,c as Et}from"./chunk-K23E4FPH.js";var _=(function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n})(_||{}),z="*";function vt(n,e=null){return{type:_.Sequence,steps:n,options:e}}function Le(n){return{type:_.Style,styles:n,offset:null}}var $=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ee=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,s=0,i=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==r&&this._onFinish()}),a.onDestroy(()=>{++s==r&&this._onDestroy()}),a.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,o)=>Math.max(a,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(s=>{let i=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(i)})}getPosition(){let e=this.players.reduce((t,s)=>t===null||s.totalTime>t.totalTime?s:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},re="!";function bt(n){return new E(3e3,!1)}function bs(){return new E(3100,!1)}function ws(){return new E(3101,!1)}function As(n){return new E(3001,!1)}function Ps(n){return new E(3003,!1)}function Ns(n){return new E(3004,!1)}function At(n,e){return new E(3005,!1)}function Pt(){return new E(3006,!1)}function Nt(){return new E(3007,!1)}function Ct(n,e){return new E(3008,!1)}function Dt(n){return new E(3002,!1)}function Mt(n,e,t,s,i){return new E(3010,!1)}function kt(){return new E(3011,!1)}function Ft(){return new E(3012,!1)}function Ot(){return new E(3200,!1)}function Rt(){return new E(3202,!1)}function Lt(){return new E(3013,!1)}function It(n){return new E(3014,!1)}function zt(n){return new E(3015,!1)}function Kt(n){return new E(3016,!1)}function qt(n){return new E(3500,!1)}function Bt(n){return new E(3501,!1)}function Qt(n,e){return new E(3404,!1)}function Cs(n){return new E(3502,!1)}function Vt(n){return new E(3503,!1)}function $t(){return new E(3300,!1)}function Ut(n){return new E(3504,!1)}function jt(n){return new E(3301,!1)}function Gt(n,e){return new E(3302,!1)}function Wt(n){return new E(3303,!1)}function Ht(n,e){return new E(3400,!1)}function Yt(n){return new E(3401,!1)}function Xt(n){return new E(3402,!1)}function xt(n,e){return new E(3505,!1)}var Ds=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 U(n){switch(n.length){case 0:return new $;case 1:return n[0];default:return new ee(n)}}function qe(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),c=u==a,h=c&&o||new Map;l.forEach((S,y)=>{let d=y,g=S;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case re:g=t.get(y);break;case z:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}h.set(d,g)}),c||r.push(h),o=h,a=u}),i.length)throw Cs(i);return r}function pe(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ie(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ie(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ie(t,"destroy",n)));break}}function Ie(n,e,t){let s=t.totalTime,i=!!t.disabled,r=ge(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function ge(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function F(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Be(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function ye(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function ks(n){return n.substring(1,6)=="ebkit"}var X=null,wt=!1;function Jt(n){X||(X=Os()||{},wt=X.style?"WebkitAppearance"in X.style:!1);let e=!0;return X.style&&!ks(n)&&(e=n in X.style,!e&&wt&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in X.style)),e}function Fs(n){return Ds.has(n)}function Os(){return typeof document<"u"?document.body:null}function Qe(n,e){for(;e;){if(e===n)return!0;e=ye(e)}return!1}function Ve(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var Rs=1e3,$e="{{",Ls="}}",_e="ng-enter",ae="ng-leave",oe="ng-trigger",le=".ng-trigger",Ue="ng-animating",Se=".ng-animating";function V(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ze(parseFloat(e[1]),e[2])}function ze(n,e){return e==="s"?n*Rs:n}function ue(n,e,t){return typeof n=="object"&&n!==null&&Object.hasOwn(n,"duration")?n:zs(n,e,t)}var Is=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function zs(n,e,t){let s,i=0,r="";if(typeof n=="string"){let a=n.match(Is);if(a===null)return e.push(bt(n)),{duration:0,delay:0,easing:""};s=ze(parseFloat(a[1]),a[2]);let o=a[3];o!=null&&(i=ze(parseFloat(o),a[4]));let l=a[5];l&&(r=l)}else s=n;if(!t){let a=!1,o=e.length;s<0&&(e.push(bs()),a=!0),i<0&&(e.push(ws()),a=!0),a&&e.splice(o,0,bt(n))}return{duration:s,delay:i,easing:r}}function Zt(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function je(n){return Array.isArray(n)?new Map(...n):new Map(n)}function K(n,e,t){e.forEach((s,i)=>{let r=Ee(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function G(n,e){e.forEach((t,s)=>{let i=Ee(s);n.style[i]=""})}function te(n){return Array.isArray(n)?n.length==1?n[0]:vt(n):n}function es(n,e,t){let s=e.params||{},i=Ge(n);i.length&&i.forEach(r=>{Object.hasOwn(s,r)||t.push(As(r))})}var Ke=new RegExp(`${$e}\\s*(.+?)\\s*${Ls}`,"g");function Ge(n){let e=[];if(typeof n=="string"){let t;for(;t=Ke.exec(n);)e.push(t[1]);Ke.lastIndex=0}return e}function se(n,e,t){let s=`${n}`,i=s.replace(Ke,(r,a)=>{let o=e[a];return o==null&&(t.push(Ps(a)),o=""),o.toString()});return i==s?n:i}var Ks=/-+([a-z0-9])/g;function Ee(n){return n.replace(Ks,(...e)=>e[1].toUpperCase())}function qs(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ts(n,e){return n===0||e===0}function ss(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,Te(n,o)))}}return e}function O(n,e,t){switch(e.type){case _.Trigger:return n.visitTrigger(e,t);case _.State:return n.visitState(e,t);case _.Transition:return n.visitTransition(e,t);case _.Sequence:return n.visitSequence(e,t);case _.Group:return n.visitGroup(e,t);case _.Animate:return n.visitAnimate(e,t);case _.Keyframes:return n.visitKeyframes(e,t);case _.Style:return n.visitStyle(e,t);case _.Reference:return n.visitReference(e,t);case _.AnimateChild:return n.visitAnimateChild(e,t);case _.AnimateRef:return n.visitAnimateRef(e,t);case _.Query:return n.visitQuery(e,t);case _.Stagger:return n.visitStagger(e,t);default:throw Ns(e.type)}}function Te(n,e){return window.getComputedStyle(n)[e]}var gs=(()=>{class n{validateStyleProperty(t){return Jt(t)}containsElement(t,s){return Qe(t,s)}getParentElement(t){return ye(t)}query(t,s,i){return Ve(t,s,i)}computeStyle(t,s,i){return i||""}animate(t,s,i,r,a,o=[],l){return new $(i,r)}static \u0275fac=function(s){return new(s||n)};static \u0275prov=Tt({token:n,factory:n.\u0275fac})}return n})(),is=class{static NOOP=new gs},Je=class{},Ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Bs=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"]),et=class extends Je{normalizePropertyName(e,t){return Ee(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(At(e,s))}return a+r}};var Pe="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>Vs(s,t,e)):t.push(n),t}function Vs(n,e,t){if(n[0]==":"){let l=$s(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(zt(n)),e;let i=s[1],r=s[2],a=s[3];e.push(ns(i,a));let o=i==Pe&&a==Pe;r[0]=="<"&&!o&&e.push(ns(a,i))}function $s(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var ve=new Set(["true","1"]),be=new Set(["false","0"]);function ns(n,e){let t=ve.has(n)||be.has(n),s=ve.has(e)||be.has(e);return(i,r)=>{let a=n==Pe||n==i,o=e==Pe||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?ve.has(n):be.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?ve.has(e):be.has(e)),a&&o}}var ys=":self",Us=new RegExp(`s*${ys}s*,?`,"g");function dt(n,e,t,s){return new tt(n).build(e,t,s)}var rs="",tt=class{_driver;constructor(e){this._driver=e}build(e,t,s){let i=new st(t);return this._resetContextStyleTimingState(i),O(this,te(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=rs,e.collectedStyles=new Map,e.collectedStyles.set(rs,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Pt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==_.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(Nt())}),{type:_.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Ge(l).forEach(u=>{Object.hasOwn(a,u)||r.add(u)})})}),r.size&&t.errors.push(Ct(e.name,[...r.values()]))}return{type:_.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,te(e.animation),t),i=Qs(e.expr,t.errors);return{type:_.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:x(e.options)}}visitSequence(e,t){return{type:_.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:x(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:_.Group,steps:r,options:x(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Le({});if(r.type==_.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Le(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:_.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===z?s.push(o):t.errors.push(Dt(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf($e)>=0){r=!0;break}}}),{type:_.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(Mt(l,c.startTime,c.endTime,r,i)),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:i}),t.options&&es(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:_.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(kt()),s;let i=1,r=0,a=[],o=!1,l=!1,u=0,c=e.steps.map(w=>{let A=this._makeStyleAst(w,t),D=A.offset!=null?A.offset:Ws(A.styles),N=0;return D!=null&&(r++,N=A.offset=D),l=l||N<0||N>1,o=o||N0&&r{let D=S>0?A==y?1:S*A:a[A],N=D*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(w,t),w.offset=D,s.styles.push(w)}),s}visitReference(e,t){return{type:_.Reference,animation:O(this,te(e.animation),t),options:x(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_.AnimateChild,options:x(e.options)}}visitAnimateRef(e,t){return{type:_.AnimateRef,animation:this.visitReference(e.animation,t),options:x(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,F(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,te(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:_.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:x(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Lt());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ue(e.timings,t.errors,!0);return{type:_.Stagger,animation:O(this,te(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ys);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,le).replace(/@\w+/g,t=>le+"-"+t.slice(1)).replace(/:animating/g,Se),[n,e]}function Gs(n){return n?me({},n):null}var st=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function Ws(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(typeof n=="object"&&n!==null&&Object.hasOwn(n,"duration"))return n;if(typeof n=="number"){let r=ue(n,e).duration;return We(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=We(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=ue(t,e);return We(i.duration,i.delay,i.easing)}function x(n){return n?(n=me({},n),n.params&&(n.params=Gs(n.params))):n={},n}function We(n,e,t){return{duration:n,delay:e,easing:t}}function mt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var ne=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",xs=new RegExp(Xs,"g"),Js=":leave",Zs=new RegExp(Js,"g");function pt(n,e,t,s,i,r=new Map,a=new Map,o,l,u=[]){return new it().buildKeyframes(n,e,t,s,i,r,a,o,l,u)}var it=class{buildKeyframes(e,t,s,i,r,a,o,l,u,c=[]){u=u||new ne;let h=new nt(e,t,u,i,r,c,[]);h.options=l;let S=l.delay?V(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([a],null,h.errors,l),O(this,s,h);let y=h.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,h.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[mt(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:V(se(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?V(s.duration):null,o=s.delay!=null?V(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==_.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ne);let a=V(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?V(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?se(s,t.params,t.errors):s;return ue(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==_.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?V(i.delay):0;r&&(t.previousNode.type===_.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ne);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),O(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let S=h.currentTimeline.currentTime;a=Math.max(a,S)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let h=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-h+(i.startTime-s.currentTimeline.startTime)}},Ne={},nt=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ne;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ce(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=V(s.duration)),s.delay!=null&&(i.delay=V(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!Object.hasOwn(a,o))&&(a[o]=se(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ne,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new rt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(xs,"."+this._enterClassName),e=e.replace(Zs,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(It(t)),o}},Ce=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||z),this._currentKeyframe.set(t,z);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let u=se(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??z),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((c,h)=>{c===re?e.add(h):c===z&&t.add(h)}),s||u.set("offset",l/this.duration),i.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return mt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},rt=class extends Ce{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",as(o)),r.push(u);let c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]),y=S.get("offset"),d=t+y*s;S.set("offset",as(d/a)),r.push(S)}s=a,t=0,i="",e=r}return mt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function as(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,z)}else for(let[r,a]of i)t.set(r,a)}),t}function os(n,e,t,s,i,r,a,o,l,u,c,h,S){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}var He={},De=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,u,c){let h=[],S=this.ast.options&&this.ast.options.params||He,y=o&&o.params||He,d=this.buildStyles(s,y,h),g=l&&l.params||He,v=this.buildStyles(i,g,h),w=new Set,A=new Map,D=new Map,N=i==="void",J={params:_s(g,S),delay:this.ast.options?.delay},B=c?[]:pt(e,t,this.ast.animation,r,a,d,v,J,u,h),M=0;return B.forEach(k=>{M=Math.max(k.duration+k.delay,M)}),h.length?os(t,this._triggerName,s,i,N,d,v,[],[],A,D,M,h):(B.forEach(k=>{let W=k.element,Z=F(A,W,new Set);k.preStyleProps.forEach(H=>Z.add(H));let gt=F(D,W,new Set);k.postStyleProps.forEach(H=>gt.add(H)),W!==t&&w.add(W)}),os(t,this._triggerName,s,i,N,d,v,B,[...w.values()],A,D,M))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function _s(n,e){let t=me({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var at=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=_s(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=se(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new ot(n,e,t)}var ot=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new at(i.style,r,s))}),ls(this.states,"true","1"),ls(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new De(e,i,this.states))}),this.fallbackTransition=ii(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:_.Sequence,steps:[],options:null},r={type:_.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new De(n,r,e)}function ls(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new ne,lt=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],i=[],r=dt(this._driver,t,s,i);if(s.length)throw Vt(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=qe(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=pt(this._driver,t,r,_e,ae,new Map,new Map,s,ni,i),a.forEach(c=>{let h=F(o,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(i.push($t()),a=[]),i.length)throw Ut(i);o.forEach((c,h)=>{c.forEach((S,y)=>{c.set(y,this._driver.computeStyle(h,y,z))})});let l=a.map(c=>{let h=o.get(c.element);return this._buildPlayer(c,new Map,h)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw jt(e);return t}listen(e,t,s,i){let r=ge(t,"","","");return pe(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},us="ng-animate-queued",ri=".ng-animate-queued",Ye="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",ui=[],Ss={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},q="__ng_removed",ce=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&Object.hasOwn(e,"value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=Et(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},he="void",Xe=new ce(he),ut=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Gt(s,t);if(s==null||s.length==0)throw Wt(t);if(!di(s))throw Ht(s,t);let r=F(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=F(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,oe),I(e,oe+"-"+t),o.set(t,Xe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Yt(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new fe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,oe),I(e,oe+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new ce(s,this.id);if(!(s&&Object.hasOwn(s,"value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Xe),!(u.value===he)&&l.value===u.value){if(!gi(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),w=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{G(e,v),K(e,w)})}return}let S=F(this._engine.playersByElement,e,[]);S.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,us),a.onStart(()=>{ie(e,us)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let w=v.indexOf(a);w>=0&&v.splice(w,1)}}),this.players.push(a),S.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,le,!0);s.forEach(i=>{if(i[q])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,he,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Xe,c=new ce(he),h=new fe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[q];(!r||r===Ss)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=ge(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,pe(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ht=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new ut(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(we(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!we(t))return;let r=t[q];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Ye)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ie(e,Ye))}removeNode(e,t,s){if(we(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[q]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return we(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,le,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Se,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[q];if(t&&t.setForRemoval){if(e[q]=Ss,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ye)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw Xt(e)}_flushAnimations(e,t){let s=new ne,i=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=_e+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],w=new Set,A=new Set;for(let f=0;fw.add(T)):A.add(m))}let D=new Map,N=fs(S,Array.from(w));N.forEach((f,m)=>{let p=ae+g++;D.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ie(T,p))}),N.forEach((f,m)=>{let p=D.get(m);f.forEach(T=>ie(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let J=[],B=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(J.push(T),this.collectedEnterElements.length){let C=P[q];if(C&&C.setForMove){if(C.previousTriggersValues&&C.previousTriggersValues.has(p.triggerName)){let Y=C.previousTriggersValues.get(p.triggerName),L=this.statesByElement.get(p.element);if(L&&L.has(p.triggerName)){let de=L.get(p.triggerName);de.value=Y,L.set(p.triggerName,de)}}T.destroy();return}}let Q=!h||!this.driver.containsElement(h,P),R=D.get(P),j=d.get(P),b=this._buildInstruction(p,s,j,R,Q);if(b.errors&&b.errors.length){B.push(b);return}if(Q){T.onStart(()=>G(P,b.fromStyles)),T.onDestroy(()=>K(P,b.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>G(P,b.fromStyles)),T.onDestroy(()=>K(P,b.toStyles)),i.push(T);return}let St=[];b.timelines.forEach(C=>{C.stretchStartingKeyframe=!0,this.disabledNodes.has(C.element)||St.push(C)}),b.timelines=St,s.append(P,b.timelines);let vs={instruction:b,player:T,element:P};a.push(vs),b.queriedElements.forEach(C=>F(o,C,[]).push(T)),b.preStyleProps.forEach((C,Y)=>{if(C.size){let L=l.get(Y);L||l.set(Y,L=new Set),C.forEach((de,Re)=>L.add(Re))}}),b.postStyleProps.forEach((C,Y)=>{let L=u.get(Y);L||u.set(Y,L=new Set),C.forEach((de,Re)=>L.add(Re))})});if(B.length){let f=[];B.forEach(m=>{f.push(xt(m.triggerName,m.errors))}),J.forEach(m=>m.destroy()),this.reportError(f)}let M=new Map,k=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(k.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,M))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{F(M,m,[]).push(T),T.destroy()})});let W=v.filter(f=>ds(f,l,u)),Z=new Map;cs(Z,this.driver,A,u,z).forEach(f=>{ds(f,l,u)&&W.push(f)});let H=new Map;y.forEach((f,m)=>{cs(H,this.driver,new Set(f),l,re)}),W.forEach(f=>{let m=Z.get(f),p=H.get(f);Z.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Oe=[],yt=[],_t={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>K(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=_t;if(k.size>1){let R=m,j=[];for(;R=R.parentNode;){let b=k.get(R);if(b){P=b;break}j.push(R)}j.forEach(b=>k.set(b,P))}let Q=this._buildAnimation(p.namespaceId,T,M,r,H,Z);if(p.setRealPlayer(Q),P===_t)Oe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else G(m,T.fromStyles),p.onDestroy(()=>K(m,T.toStyles)),yt.push(p),c.has(m)&&i.push(p)}),yt.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!Q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Oe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Oe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==he;o.forEach(u=>{u.queued||!l&&u.triggerName!=i||a.push(u)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let u=l.element,c=u!==r,h=F(s,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),h.push(y)})}G(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[q];if(v&&v.removedBeforeQueried)return new $(d.duration,d.delay);let w=g!==l,A=pi((s.get(g)||ui).map(M=>M.getRealPlayer())).filter(M=>{let k=M;return k.element?k.element===g:!1}),D=r.get(g),N=a.get(g),J=qe(this._normalizer,d.keyframes,D,N),B=this._buildPlayer(d,J,A);if(d.subTimeline&&i&&h.add(g),w){let M=new fe(e,o,g);M.setRealPlayer(B),u.push(M)}return B});u.forEach(d=>{F(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Ue));let y=U(S);return y.onDestroy(()=>{c.forEach(d=>ie(d,Ue)),K(l,t.toStyles)}),h.forEach(d=>{F(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new $(e.duration,e.delay)}},fe=class{namespaceId;triggerName;element;_player=new $;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>pe(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){F(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function we(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function hs(n,e){let t=n.style.display;return n.style.display=e??"none",t}function cs(n,e,t,s,i){let r=[];t.forEach(l=>r.push(hs(l)));let a=[];s.forEach((l,u)=>{let c=new Map;l.forEach(h=>{let S=e.computeStyle(u,h,i);c.set(h,S),(!S||S.length==0)&&(u[q]=hi,a.push(u))}),n.set(u,c)});let o=0;return t.forEach(l=>hs(l,r[o++])),a}function fs(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:i.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ie(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return Es(n,e),e}function Es(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var Me=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new ht(e.body,t,s),this._timelineEngine=new lt(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],u=[],c=dt(this._driver,r,l,u);if(l.length)throw Qt(i,l);o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Be(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Be(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=xe(e[0]),e.length>1&&(s=xe(e[e.length-1]))):e instanceof Map&&(t=xe(e)),t||s?new _i(n,t,s):null}var _i=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,i){this._element=t,this._startStyles=s,this._endStyles=i;let r=n.initialStylesByElement.get(t);r||n.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(G(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(G(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}return n})();function xe(n){let e=null;return n.forEach((t,s)=>{Si(s)&&(e=e||new Map,e.set(s,t))}),e}function Si(n){return n==="display"||n==="position"}var ke=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;let s=()=>this._onFinish();return t.addEventListener("finish",s),this.onDestroy(()=>{t.removeEventListener("finish",s)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){let i=this._convertKeyframesToObject(t);try{return e.animate(i,s)}catch(r){return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:Te(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ct=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Qe(e,t)}getParentElement(e){return ye(e)}query(e,t,s){return Ve(e,t,s)}computeStyle(e,t,s){return Te(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let u=new Map,c=a.filter(y=>y instanceof ke);ts(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let h=Zt(t).map(y=>new Map(y));h=ss(e,h,u);let S=yi(e,h);return new ke(e,h,l,S)}};function Mi(n,e){return n==="noop"?new Me(e,new gs,new Ze):new Me(e,new ct,new et)}var ms=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=dt(e,t,s,[]);if(s.length)throw qt(s);this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?je(t):t,o=Array.isArray(s)?je(s):s,l=[];r=r||new ne;let u=pt(this._driver,e,this._animationAst,_e,ae,a,o,i,r,l);if(l.length)throw Bt(l);return u}},Ae="@",Ts="@.disabled",Fe=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s,i){if(i){this.delegate.removeChild(e,t,s,i);return}this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==Ae&&t==Ts?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s,i){return this.delegate.listen(e,t,s,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},ft=class extends Fe{factory;constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==Ae?t.charAt(1)=="."&&t==Ts?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s,i){if(t.charAt(0)==Ae){let r=Ei(e),a=t.slice(1),o="";return a.charAt(0)!=Ae&&([a,o]=Ti(a)),this.engine.listen(this.namespaceId,r,a,o,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,s,l)})}return this.delegate.listen(e,t,s,i)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ti(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var ps=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,c=u.get(i);if(!c){let h=()=>u.delete(i);c=new Fe("",i,this.engine,h),u.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new ft(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};export{is as AnimationDriver,gs as NoopAnimationDriver,ms as \u0275Animation,Me as \u0275AnimationEngine,ft as \u0275AnimationRenderer,ps as \u0275AnimationRendererFactory,Je as \u0275AnimationStyleNormalizer,Fe as \u0275BaseAnimationRenderer,_e as \u0275ENTER_CLASSNAME,ae as \u0275LEAVE_CLASSNAME,Ze as \u0275NoopAnimationStyleNormalizer,fe as \u0275TransitionAnimationPlayer,ct as \u0275WebAnimationsDriver,ke as \u0275WebAnimationsPlayer,et as \u0275WebAnimationsStyleNormalizer,ts as \u0275allowPreviousPlayerStylesMerge,qs as \u0275camelCaseToDashCase,Qe as \u0275containsElement,Mi as \u0275createEngine,ye as \u0275getParentElement,Ve as \u0275invokeQuery,Zt as \u0275normalizeKeyframes,Jt as \u0275validateStyleProperty,Fs as \u0275validateWebAnimatableStyleProperty}; diff --git a/src/main/resources/static/chunk-QGX6IMNZ.js b/src/main/resources/static/chunk-QGX6IMNZ.js deleted file mode 100644 index 79314c7..0000000 --- a/src/main/resources/static/chunk-QGX6IMNZ.js +++ /dev/null @@ -1 +0,0 @@ -import{U as E,X as Tt,a as me,c as Et}from"./chunk-ZQSDF5TI.js";var _=(function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n})(_||{}),z="*";function vt(n,e=null){return{type:_.Sequence,steps:n,options:e}}function Le(n){return{type:_.Style,styles:n,offset:null}}var $=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ee=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,s=0,i=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==r&&this._onFinish()}),a.onDestroy(()=>{++s==r&&this._onDestroy()}),a.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((a,o)=>Math.max(a,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(s=>{let i=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(i)})}getPosition(){let e=this.players.reduce((t,s)=>t===null||s.totalTime>t.totalTime?s:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},re="!";function bt(n){return new E(3e3,!1)}function bs(){return new E(3100,!1)}function ws(){return new E(3101,!1)}function Ps(n){return new E(3001,!1)}function As(n){return new E(3003,!1)}function Ns(n){return new E(3004,!1)}function Pt(n,e){return new E(3005,!1)}function At(){return new E(3006,!1)}function Nt(){return new E(3007,!1)}function Ct(n,e){return new E(3008,!1)}function Dt(n){return new E(3002,!1)}function Mt(n,e,t,s,i){return new E(3010,!1)}function kt(){return new E(3011,!1)}function Ft(){return new E(3012,!1)}function Rt(){return new E(3200,!1)}function Ot(){return new E(3202,!1)}function Lt(){return new E(3013,!1)}function It(n){return new E(3014,!1)}function zt(n){return new E(3015,!1)}function Kt(n){return new E(3016,!1)}function qt(n){return new E(3500,!1)}function Bt(n){return new E(3501,!1)}function Qt(n,e){return new E(3404,!1)}function Cs(n){return new E(3502,!1)}function Vt(n){return new E(3503,!1)}function $t(){return new E(3300,!1)}function Ut(n){return new E(3504,!1)}function Gt(n){return new E(3301,!1)}function jt(n,e){return new E(3302,!1)}function Wt(n){return new E(3303,!1)}function Ht(n,e){return new E(3400,!1)}function Yt(n){return new E(3401,!1)}function Xt(n){return new E(3402,!1)}function xt(n,e){return new E(3505,!1)}var Ds=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 U(n){switch(n.length){case 0:return new $;case 1:return n[0];default:return new ee(n)}}function qe(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let u=l.get("offset"),c=u==a,h=c&&o||new Map;l.forEach((S,y)=>{let d=y,g=S;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case re:g=t.get(y);break;case z:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}h.set(d,g)}),c||r.push(h),o=h,a=u}),i.length)throw Cs(i);return r}function pe(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ie(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ie(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ie(t,"destroy",n)));break}}function Ie(n,e,t){let s=t.totalTime,i=!!t.disabled,r=ge(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function ge(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function F(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Be(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function ye(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function ks(n){return n.substring(1,6)=="ebkit"}var X=null,wt=!1;function Jt(n){X||(X=Rs()||{},wt=X.style?"WebkitAppearance"in X.style:!1);let e=!0;return X.style&&!ks(n)&&(e=n in X.style,!e&&wt&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in X.style)),e}function Fs(n){return Ds.has(n)}function Rs(){return typeof document<"u"?document.body:null}function Qe(n,e){for(;e;){if(e===n)return!0;e=ye(e)}return!1}function Ve(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var Os=1e3,$e="{{",Ls="}}",_e="ng-enter",ae="ng-leave",oe="ng-trigger",le=".ng-trigger",Ue="ng-animating",Se=".ng-animating";function V(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:ze(parseFloat(e[1]),e[2])}function ze(n,e){return e==="s"?n*Os:n}function ue(n,e,t){return n.hasOwnProperty("duration")?n:Is(n,e,t)}function Is(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(bt(n)),{duration:0,delay:0,easing:""};i=ze(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=ze(parseFloat(l),o[4]));let u=o[5];u&&(a=u)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(bs()),o=!0),r<0&&(e.push(ws()),o=!0),o&&e.splice(l,0,bt(n))}return{duration:i,delay:r,easing:a}}function Zt(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function Ge(n){return Array.isArray(n)?new Map(...n):new Map(n)}function K(n,e,t){e.forEach((s,i)=>{let r=Ee(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function j(n,e){e.forEach((t,s)=>{let i=Ee(s);n.style[i]=""})}function te(n){return Array.isArray(n)?n.length==1?n[0]:vt(n):n}function es(n,e,t){let s=e.params||{},i=je(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Ps(r))})}var Ke=new RegExp(`${$e}\\s*(.+?)\\s*${Ls}`,"g");function je(n){let e=[];if(typeof n=="string"){let t;for(;t=Ke.exec(n);)e.push(t[1]);Ke.lastIndex=0}return e}function se(n,e,t){let s=`${n}`,i=s.replace(Ke,(r,a)=>{let o=e[a];return o==null&&(t.push(As(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function Ee(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Ks(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ts(n,e){return n===0||e===0}function ss(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,Te(n,o)))}}return e}function R(n,e,t){switch(e.type){case _.Trigger:return n.visitTrigger(e,t);case _.State:return n.visitState(e,t);case _.Transition:return n.visitTransition(e,t);case _.Sequence:return n.visitSequence(e,t);case _.Group:return n.visitGroup(e,t);case _.Animate:return n.visitAnimate(e,t);case _.Keyframes:return n.visitKeyframes(e,t);case _.Style:return n.visitStyle(e,t);case _.Reference:return n.visitReference(e,t);case _.AnimateChild:return n.visitAnimateChild(e,t);case _.AnimateRef:return n.visitAnimateRef(e,t);case _.Query:return n.visitQuery(e,t);case _.Stagger:return n.visitStagger(e,t);default:throw Ns(e.type)}}function Te(n,e){return window.getComputedStyle(n)[e]}var gs=(()=>{class n{validateStyleProperty(t){return Jt(t)}containsElement(t,s){return Qe(t,s)}getParentElement(t){return ye(t)}query(t,s,i){return Ve(t,s,i)}computeStyle(t,s,i){return i||""}animate(t,s,i,r,a,o=[],l){return new $(i,r)}static \u0275fac=function(s){return new(s||n)};static \u0275prov=Tt({token:n,factory:n.\u0275fac})}return n})(),is=class{static NOOP=new gs},Je=class{},Ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},qs=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"]),et=class extends Je{normalizePropertyName(e,t){return Ee(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(qs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(Pt(e,s))}return a+r}};var Ae="*";function Bs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>Qs(s,t,e)):t.push(n),t}function Qs(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(zt(n)),e;let i=s[1],r=s[2],a=s[3];e.push(ns(i,a));let o=i==Ae&&a==Ae;r[0]=="<"&&!o&&e.push(ns(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var ve=new Set(["true","1"]),be=new Set(["false","0"]);function ns(n,e){let t=ve.has(n)||be.has(n),s=ve.has(e)||be.has(e);return(i,r)=>{let a=n==Ae||n==i,o=e==Ae||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?ve.has(n):be.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?ve.has(e):be.has(e)),a&&o}}var ys=":self",$s=new RegExp(`s*${ys}s*,?`,"g");function dt(n,e,t,s){return new tt(n).build(e,t,s)}var rs="",tt=class{_driver;constructor(e){this._driver=e}build(e,t,s){let i=new st(t);return this._resetContextStyleTimingState(i),R(this,te(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=rs,e.collectedStyles=new Map,e.collectedStyles.set(rs,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(At()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==_.State){let l=o,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=u}else if(o.type==_.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(Nt())}),{type:_.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{je(l).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(Ct(e.name,[...r.values()]))}return{type:_.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=R(this,te(e.animation),t),i=Bs(e.expr,t.errors);return{type:_.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:x(e.options)}}visitSequence(e,t){return{type:_.Sequence,steps:e.steps.map(s=>R(this,s,t)),options:x(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=R(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:_.Group,steps:r,options:x(e.options)}}visitAnimate(e,t){let s=Ws(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Le({});if(r.type==_.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let u={};s.easing&&(u.easing=s.easing),a=Le(u)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:_.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===z?s.push(o):t.errors.push(Dt(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf($e)>=0){r=!0;break}}}),{type:_.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l),h=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(Mt(l,c.startTime,c.endTime,r,i)),h=!1),r=c.startTime),h&&u.set(l,{startTime:r,endTime:i}),t.options&&es(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:_.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(kt()),s;let i=1,r=0,a=[],o=!1,l=!1,u=0,c=e.steps.map(w=>{let P=this._makeStyleAst(w,t),D=P.offset!=null?P.offset:js(P.styles),N=0;return D!=null&&(r++,N=P.offset=D),l=l||N<0||N>1,o=o||N0&&r{let D=S>0?P==y?1:S*P:a[P],N=D*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(w,t),w.offset=D,s.styles.push(w)}),s}visitReference(e,t){return{type:_.Reference,animation:R(this,te(e.animation),t),options:x(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:_.AnimateChild,options:x(e.options)}}visitAnimateRef(e,t){return{type:_.AnimateRef,animation:this.visitReference(e.animation,t),options:x(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=Us(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,F(t.collectedStyles,t.currentQuerySelector,new Map);let o=R(this,te(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:_.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:x(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Lt());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ue(e.timings,t.errors,!0);return{type:_.Stagger,animation:R(this,te(e.animation),t),timings:s,options:null}}};function Us(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ys);return e&&(n=n.replace($s,"")),n=n.replace(/@\*/g,le).replace(/@\w+/g,t=>le+"-"+t.slice(1)).replace(/:animating/g,Se),[n,e]}function Gs(n){return n?me({},n):null}var st=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function js(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ws(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=ue(n,e).duration;return We(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=We(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=ue(t,e);return We(i.duration,i.delay,i.easing)}function x(n){return n?(n=me({},n),n.params&&(n.params=Gs(n.params))):n={},n}function We(n,e,t){return{duration:n,delay:e,easing:t}}function mt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var ne=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Hs=1,Ys=":enter",Xs=new RegExp(Ys,"g"),xs=":leave",Js=new RegExp(xs,"g");function pt(n,e,t,s,i,r=new Map,a=new Map,o,l,u=[]){return new it().buildKeyframes(n,e,t,s,i,r,a,o,l,u)}var it=class{buildKeyframes(e,t,s,i,r,a,o,l,u,c=[]){u=u||new ne;let h=new nt(e,t,u,i,r,c,[]);h.options=l;let S=l.delay?V(l.delay):0;h.currentTimeline.delayNextStep(S),h.currentTimeline.setStyles([a],null,h.errors,l),R(this,s,h);let y=h.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,h.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[mt(t,[],[],[],0,S,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:V(se(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?V(s.duration):null,o=s.delay!=null?V(s.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,u.duration+u.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),R(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==_.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ne);let a=V(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>R(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?V(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),R(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?se(s,t.params,t.errors):s;return ue(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==_.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let u=l.offset||0;o.forwardTime(u*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?V(i.delay):0;r&&(t.previousNode.type===_.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ne);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((u,c)=>{t.currentQueryIndex=c;let h=t.createSubContext(e.options,u);r&&h.delayNextStep(r),u===t.element&&(l=h.currentTimeline),R(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let S=h.currentTimeline.currentTime;a=Math.max(a,S)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let h=c.currentTime;R(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-h+(i.startTime-s.currentTimeline.startTime)}},Ne={},nt=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ne;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.currentTimeline=l||new Ce(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=V(s.duration)),s.delay!=null&&(i.delay=V(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=se(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ne,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new rt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Xs,"."+this._enterClassName),e=e.replace(Js,"."+this._leaveClassName);let l=s!=1,u=this._driver.query(this.element,e,l);s!==0&&(u=s<0?u.slice(u.length+s,u.length):u.slice(0,s)),o.push(...u)}return!r&&o.length==0&&a.push(It(t)),o}},Ce=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Hs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||z),this._currentKeyframe.set(t,z);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=Zs(e,this._globalTimelineStyles);for(let[o,l]of a){let u=se(l,r,s);this._pendingStyles.set(o,u),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??z),this._updateStyle(o,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let u=new Map([...this._backFill,...o]);u.forEach((c,h)=>{c===re?e.add(h):c===z&&t.add(h)}),s||u.set("offset",l/this.duration),i.push(u)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return mt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},rt=class extends Ce{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let u=new Map(e[0]);u.set("offset",as(o)),r.push(u);let c=e.length-1;for(let h=1;h<=c;h++){let S=new Map(e[h]),y=S.get("offset"),d=t+y*s;S.set("offset",as(d/a)),r.push(S)}s=a,t=0,i="",e=r}return mt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function as(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Zs(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,z)}else for(let[r,a]of i)t.set(r,a)}),t}function os(n,e,t,s,i,r,a,o,l,u,c,h,S){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:S}}var He={},De=class{_triggerName;ast;_stateStyles;constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ei(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,u,c){let h=[],S=this.ast.options&&this.ast.options.params||He,y=o&&o.params||He,d=this.buildStyles(s,y,h),g=l&&l.params||He,v=this.buildStyles(i,g,h),w=new Set,P=new Map,D=new Map,N=i==="void",J={params:_s(g,S),delay:this.ast.options?.delay},B=c?[]:pt(e,t,this.ast.animation,r,a,d,v,J,u,h),M=0;return B.forEach(k=>{M=Math.max(k.duration+k.delay,M)}),h.length?os(t,this._triggerName,s,i,N,d,v,[],[],P,D,M,h):(B.forEach(k=>{let W=k.element,Z=F(P,W,new Set);k.preStyleProps.forEach(H=>Z.add(H));let gt=F(D,W,new Set);k.postStyleProps.forEach(H=>gt.add(H)),W!==t&&w.add(W)}),os(t,this._triggerName,s,i,N,d,v,B,[...w.values()],P,D,M))}};function ei(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function _s(n,e){let t=me({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var at=class{styles;defaultParams;normalizer;constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=_s(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=se(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function ti(n,e,t){return new ot(n,e,t)}var ot=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new at(i.style,r,s))}),ls(this.states,"true","1"),ls(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new De(e,i,this.states))}),this.fallbackTransition=si(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function si(n,e,t){let s=[(a,o)=>!0],i={type:_.Sequence,steps:[],options:null},r={type:_.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new De(n,r,e)}function ls(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ii=new ne,lt=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s}register(e,t){let s=[],i=[],r=dt(this._driver,t,s,i);if(s.length)throw Vt(s);this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=qe(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=pt(this._driver,t,r,_e,ae,new Map,new Map,s,ii,i),a.forEach(c=>{let h=F(o,c.element,new Map);c.postStyleProps.forEach(S=>h.set(S,null))})):(i.push($t()),a=[]),i.length)throw Ut(i);o.forEach((c,h)=>{c.forEach((S,y)=>{c.set(y,this._driver.computeStyle(h,y,z))})});let l=a.map(c=>{let h=o.get(c.element);return this._buildPlayer(c,new Map,h)}),u=U(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Gt(e);return t}listen(e,t,s,i){let r=ge(t,"","","");return pe(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},us="ng-animate-queued",ni=".ng-animate-queued",Ye="ng-animate-disabled",ri=".ng-animate-disabled",ai="ng-star-inserted",oi=".ng-star-inserted",li=[],Ss={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},q="__ng_removed",ce=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=ci(i),s){let r=e,{value:a}=r,o=Et(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},he="void",Xe=new ce(he),ut=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw jt(s,t);if(s==null||s.length==0)throw Wt(t);if(!fi(s))throw Ht(s,t);let r=F(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=F(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,oe),I(e,oe+"-"+t),o.set(t,Xe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Yt(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new fe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,oe),I(e,oe+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),u=new ce(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),o.set(t,u),l||(l=Xe),!(u.value===he)&&l.value===u.value){if(!pi(l.params,u.params)){let g=[],v=r.matchStyles(l.value,l.params,g),w=r.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{j(e,v),K(e,w)})}return}let S=F(this._engine.playersByElement,e,[]);S.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,u.value,e,u.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(I(e,us),a.onStart(()=>{ie(e,us)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let w=v.indexOf(a);w>=0&&v.splice(w,1)}}),this.players.push(a),S.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,le,!0);s.forEach(i=>{if(i[q])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let c=this.trigger(e,u,he,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,u=s.get(a)||Xe,c=new ce(he),h=new fe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:c,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[q];(!r||r===Ss)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=ge(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,pe(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ht=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new ut(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let u=s.indexOf(l);s.splice(u+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(we(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!we(t))return;let r=t[q];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Ye)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ie(e,Ye))}removeNode(e,t,s){if(we(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[q]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return we(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,le,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Se,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[q];if(t&&t.setForRemoval){if(e[q]=Ss,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ye)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ri,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw Xt(e)}_flushAnimations(e,t){let s=new ne,i=[],r=new Map,a=[],o=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ni,!0);for(let p=0;p{let p=_e+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],w=new Set,P=new Set;for(let f=0;fw.add(T)):P.add(m))}let D=new Map,N=fs(S,Array.from(w));N.forEach((f,m)=>{let p=ae+g++;D.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ie(T,p))}),N.forEach((f,m)=>{let p=D.get(m);f.forEach(T=>ie(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let J=[],B=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,A=p.element;if(J.push(T),this.collectedEnterElements.length){let C=A[q];if(C&&C.setForMove){if(C.previousTriggersValues&&C.previousTriggersValues.has(p.triggerName)){let Y=C.previousTriggersValues.get(p.triggerName),L=this.statesByElement.get(p.element);if(L&&L.has(p.triggerName)){let de=L.get(p.triggerName);de.value=Y,L.set(p.triggerName,de)}}T.destroy();return}}let Q=!h||!this.driver.containsElement(h,A),O=D.get(A),G=d.get(A),b=this._buildInstruction(p,s,G,O,Q);if(b.errors&&b.errors.length){B.push(b);return}if(Q){T.onStart(()=>j(A,b.fromStyles)),T.onDestroy(()=>K(A,b.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>j(A,b.fromStyles)),T.onDestroy(()=>K(A,b.toStyles)),i.push(T);return}let St=[];b.timelines.forEach(C=>{C.stretchStartingKeyframe=!0,this.disabledNodes.has(C.element)||St.push(C)}),b.timelines=St,s.append(A,b.timelines);let vs={instruction:b,player:T,element:A};a.push(vs),b.queriedElements.forEach(C=>F(o,C,[]).push(T)),b.preStyleProps.forEach((C,Y)=>{if(C.size){let L=l.get(Y);L||l.set(Y,L=new Set),C.forEach((de,Oe)=>L.add(Oe))}}),b.postStyleProps.forEach((C,Y)=>{let L=u.get(Y);L||u.set(Y,L=new Set),C.forEach((de,Oe)=>L.add(Oe))})});if(B.length){let f=[];B.forEach(m=>{f.push(xt(m.triggerName,m.errors))}),J.forEach(m=>m.destroy()),this.reportError(f)}let M=new Map,k=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(k.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,M))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{F(M,m,[]).push(T),T.destroy()})});let W=v.filter(f=>ds(f,l,u)),Z=new Map;cs(Z,this.driver,P,u,z).forEach(f=>{ds(f,l,u)&&W.push(f)});let H=new Map;y.forEach((f,m)=>{cs(H,this.driver,new Set(f),l,re)}),W.forEach(f=>{let m=Z.get(f),p=H.get(f);Z.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Re=[],yt=[],_t={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>K(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let A=_t;if(k.size>1){let O=m,G=[];for(;O=O.parentNode;){let b=k.get(O);if(b){A=b;break}G.push(O)}G.forEach(b=>k.set(b,A))}let Q=this._buildAnimation(p.namespaceId,T,M,r,H,Z);if(p.setRealPlayer(Q),A===_t)Re.push(p);else{let O=this.playersByElement.get(A);O&&O.length&&(p.parentPlayer=U(O)),i.push(p)}}else j(m,T.fromStyles),p.onDestroy(()=>K(m,T.toStyles)),yt.push(p),c.has(m)&&i.push(p)}),yt.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!Q.destroyed);A.length?di(this,m,A):this.processLeaveNode(m)}return v.length=0,Re.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Re}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==he;o.forEach(u=>{u.queued||!l&&u.triggerName!=i||a.push(u)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let u=l.element,c=u!==r,h=F(s,u,[]);this._getPreviousPlayers(u,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),h.push(y)})}j(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,u=[],c=new Set,h=new Set,S=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[q];if(v&&v.removedBeforeQueried)return new $(d.duration,d.delay);let w=g!==l,P=mi((s.get(g)||li).map(M=>M.getRealPlayer())).filter(M=>{let k=M;return k.element?k.element===g:!1}),D=r.get(g),N=a.get(g),J=qe(this._normalizer,d.keyframes,D,N),B=this._buildPlayer(d,J,P);if(d.subTimeline&&i&&h.add(g),w){let M=new fe(e,o,g);M.setRealPlayer(B),u.push(M)}return B});u.forEach(d=>{F(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>hi(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Ue));let y=U(S);return y.onDestroy(()=>{c.forEach(d=>ie(d,Ue)),K(l,t.toStyles)}),h.forEach(d=>{F(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new $(e.duration,e.delay)}},fe=class{namespaceId;triggerName;element;_player=new $;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>pe(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){F(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1: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=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hi(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function ci(n){return n??null}function we(n){return n&&n.nodeType===1}function fi(n){return n=="start"||n=="done"}function hs(n,e){let t=n.style.display;return n.style.display=e??"none",t}function cs(n,e,t,s,i){let r=[];t.forEach(l=>r.push(hs(l)));let a=[];s.forEach((l,u)=>{let c=new Map;l.forEach(h=>{let S=e.computeStyle(u,h,i);c.set(h,S),(!S||S.length==0)&&(u[q]=ui,a.push(u))}),n.set(u,c)});let o=0;return t.forEach(l=>hs(l,r[o++])),a}function fs(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let u=o.parentNode;return t.has(u)?l=u:i.has(u)?l=s:l=a(u),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ie(n,e){n.classList?.remove(e)}function di(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function mi(n){let e=[];return Es(n,e),e}function Es(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var Me=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,s){this._driver=t,this._normalizer=s,this._transitionEngine=new ht(e.body,t,s),this._timelineEngine=new lt(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],u=[],c=dt(this._driver,r,l,u);if(l.length)throw Qt(i,l);o=ti(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Be(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Be(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function gi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=xe(e[0]),e.length>1&&(s=xe(e[e.length-1]))):e instanceof Map&&(t=xe(e)),t||s?new yi(n,t,s):null}var yi=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,s,i){this._element=t,this._startStyles=s,this._endStyles=i;let r=n.initialStylesByElement.get(t);r||n.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}return n})();function xe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var ke=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:Te(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},ct=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Qe(e,t)}getParentElement(e){return ye(e)}query(e,t,s){return Ve(e,t,s)}computeStyle(e,t,s){return Te(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let u=new Map,c=a.filter(y=>y instanceof ke);ts(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>u.set(g,d))});let h=Zt(t).map(y=>new Map(y));h=ss(e,h,u);let S=gi(e,h);return new ke(e,h,l,S)}};function Ci(n,e){return n==="noop"?new Me(e,new gs,new Ze):new Me(e,new ct,new et)}var ms=class{_driver;_animationAst;constructor(e,t){this._driver=e;let s=[],r=dt(e,t,s,[]);if(s.length)throw qt(s);this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?Ge(t):t,o=Array.isArray(s)?Ge(s):s,l=[];r=r||new ne;let u=pt(this._driver,e,this._animationAst,_e,ae,a,o,i,r,l);if(l.length)throw Bt(l);return u}},Pe="@",Ts="@.disabled",Fe=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==Pe&&t==Ts?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s,i){return this.delegate.listen(e,t,s,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},ft=class extends Fe{factory;constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==Pe?t.charAt(1)=="."&&t==Ts?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s,i){if(t.charAt(0)==Pe){let r=Si(e),a=t.slice(1),o="";return a.charAt(0)!=Pe&&([a,o]=Ei(a)),this.engine.listen(this.namespaceId,r,a,o,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,s,l)})}return this.delegate.listen(e,t,s,i)}};function Si(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Ei(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var ps=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,c=u.get(i);if(!c){let h=()=>u.delete(i);c=new Fe("",i,this.engine,h),u.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=u=>{Array.isArray(u)?u.forEach(o):this.engine.registerTrigger(r,a,e,u.name,u)};return t.data.animation.forEach(o),new ft(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};export{is as AnimationDriver,gs as NoopAnimationDriver,ms as \u0275Animation,Me as \u0275AnimationEngine,ft as \u0275AnimationRenderer,ps as \u0275AnimationRendererFactory,Je as \u0275AnimationStyleNormalizer,Fe as \u0275BaseAnimationRenderer,_e as \u0275ENTER_CLASSNAME,ae as \u0275LEAVE_CLASSNAME,Ze as \u0275NoopAnimationStyleNormalizer,fe as \u0275TransitionAnimationPlayer,ct as \u0275WebAnimationsDriver,ke as \u0275WebAnimationsPlayer,et as \u0275WebAnimationsStyleNormalizer,ts as \u0275allowPreviousPlayerStylesMerge,Ks as \u0275camelCaseToDashCase,Qe as \u0275containsElement,Ci as \u0275createEngine,ye as \u0275getParentElement,Ve as \u0275invokeQuery,Zt as \u0275normalizeKeyframes,Jt as \u0275validateStyleProperty,Fs as \u0275validateWebAnimatableStyleProperty}; diff --git a/src/main/resources/static/chunk-ZQSDF5TI.js b/src/main/resources/static/chunk-ZQSDF5TI.js deleted file mode 100644 index 5894e1e..0000000 --- a/src/main/resources/static/chunk-ZQSDF5TI.js +++ /dev/null @@ -1,7 +0,0 @@ -var Od=Object.defineProperty,Ad=Object.defineProperties;var Pd=Object.getOwnPropertyDescriptors;var In=Object.getOwnPropertySymbols;var ea=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable;var Xs=(e,t,n)=>t in e?Od(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||={})ea.call(t,n)&&Xs(e,n,t[n]);if(In)for(var n of In(t))ta.call(t,n)&&Xs(e,n,t[n]);return e},J=(e,t)=>Ad(e,Pd(t));var TI=(e,t)=>{var n={};for(var r in e)ea.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&In)for(var r of In(e))t.indexOf(r)<0&&ta.call(e,r)&&(n[r]=e[r]);return n};function go(e,t){return Object.is(e,t)}var F=null,En=!1,mo=1,W=Symbol("SIGNAL");function D(e){let t=F;return F=e,t}function yo(){return F}var st={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function at(e){if(En)throw new Error("");if(F===null)return;F.consumerOnSignalRead(e);let t=F.nextProducerIndex++;if(Cn(F),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function bn(e){Cn(e);for(let t=0;t0}function Cn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function oa(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ia(e){return e.producerNode!==void 0}function xn(e,t){let n=Object.create(Fd);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(vo(n),at(n),n.value===wn)throw n.error;return n.value};return r[W]=n,r}var fo=Symbol("UNSET"),po=Symbol("COMPUTING"),wn=Symbol("ERRORED"),Fd=J($({},st),{value:fo,dirty:!0,error:null,equal:go,kind:"computed",producerMustRecompute(e){return e.value===fo||e.value===po},producerRecomputeValue(e){if(e.value===po)throw new Error("Detected cycle in computations.");let t=e.value;e.value=po;let n=Ht(e),r,o=!1;try{r=e.computation(),D(null),o=t!==fo&&t!==wn&&r!==wn&&e.equal(t,r)}catch(i){r=wn,e.error=i}finally{Dn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function jd(){throw new Error}var sa=jd;function aa(e){sa(e)}function wo(e){sa=e}var Vd=null;function Do(e,t){let n=Object.create(_n);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(at(n),n.value);return r[W]=n,r}function ct(e,t){Eo()||aa(e),e.equal(e.value,t)||(e.value=t,Hd(e))}function bo(e,t){Eo()||aa(e),ct(e,t(e.value))}var _n=J($({},st),{equal:go,value:void 0,kind:"signal"});function Hd(e){e.version++,na(),Io(e),Vd?.()}function Mo(e){let t=D(null);try{return e()}finally{D(t)}}var Co;function Bt(){return Co}function De(e){let t=Co;return Co=e,t}var Tn=Symbol("NotFound");function I(e){return typeof e=="function"}function lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Nn=lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ve(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(I(r))try{r()}catch(i){t=i instanceof Nn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ca(i)}catch(s){t=t??[],s instanceof Nn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Nn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ca(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ve(n,t)}remove(t){let{_finalizers:n}=this;n&&Ve(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var xo=L.EMPTY;function Sn(e){return e instanceof L||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function ca(e){I(e)?e():e.unsubscribe()}var ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ut={setTimeout(e,t,...n){let{delegate:r}=ut;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ut;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function kn(e){ut.setTimeout(()=>{let{onUnhandledError:t}=ae;if(t)t(e);else throw e})}function He(){}var la=_o("C",void 0,void 0);function ua(e){return _o("E",void 0,e)}function da(e){return _o("N",e,void 0)}function _o(e,t,n){return{kind:e,value:t,error:n}}var $e=null;function dt(e){if(ae.useDeprecatedSynchronousErrorHandling){let t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=$e;if($e=null,n)throw r}}else e()}function fa(e){ae.useDeprecatedSynchronousErrorHandling&&$e&&($e.errorThrown=!0,$e.error=e)}var Be=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Sn(t)&&t.add(this)):this.destination=zd}static create(t,n,r){return new be(t,n,r)}next(t){this.isStopped?No(da(t),this):this._next(t)}error(t){this.isStopped?No(ua(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?No(la,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},qd=Function.prototype.bind;function To(e,t){return qd.call(e,t)}var So=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Rn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Rn(r)}else Rn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Rn(n)}}},be=class extends Be{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ae.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&To(t.next,i),error:t.error&&To(t.error,i),complete:t.complete&&To(t.complete,i)}):o=t}this.destination=new So(o)}};function Rn(e){ae.useDeprecatedSynchronousErrorHandling?fa(e):kn(e)}function Wd(e){throw e}function No(e,t){let{onStoppedNotification:n}=ae;n&&ut.setTimeout(()=>n(e,t))}var zd={closed:!0,next:He,error:Wd,complete:He};var ft=typeof Symbol=="function"&&Symbol.observable||"@@observable";function z(e){return e}function Gd(...e){return ko(e)}function ko(e){return e.length===0?z:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Qd(n)?n:new be(n,r,o);return dt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=pa(r),new r((o,i)=>{let s=new be({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ft](){return this}pipe(...n){return ko(n)(this)}toPromise(n){return n=pa(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function pa(e){var t;return(t=e??ae.Promise)!==null&&t!==void 0?t:Promise}function Zd(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Qd(e){return e&&e instanceof Be||Zd(e)&&Sn(e)}function Ro(e){return I(e?.lift)}function y(e){return t=>{if(Ro(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(e,t,n,r,o){return new Oo(e,t,n,r,o)}var Oo=class extends Be{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ao(){return y((e,t)=>{let n=null;e._refCount++;let r=m(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Po=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ro(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Ao()(this)}};var ha=lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new On(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ha}next(n){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?xo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Ve(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new On(t,n),e})(),On=class extends re{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:xo}};var Ut=class extends re{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var qt={now(){return(qt.delegate||Date).now()},delegate:void 0};var An=class extends re{constructor(t=1/0,n=1/0,r=qt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function jn(e){return e&&I(e.schedule)}function Lo(e){return e[e.length-1]}function Vn(e){return I(Lo(e))?e.pop():void 0}function fe(e){return jn(Lo(e))?e.pop():void 0}function ma(e,t){return typeof Lo(e)=="number"?e.pop():t}function va(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(f){s(f)}}function c(u){try{l(r.throw(u))}catch(f){s(f)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function ya(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function We(e){return this instanceof We?(this.v=e,this):new We(e)}function Ia(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(d){return function(h){return Promise.resolve(h).then(d,f)}}function a(d,h){r[d]&&(o[d]=function(g){return new Promise(function(R,_){i.push([d,g,R,_])>1||c(d,g)})},h&&(o[d]=h(o[d])))}function c(d,h){try{l(r[d](h))}catch(g){p(i[0][3],g)}}function l(d){d.value instanceof We?Promise.resolve(d.value.v).then(u,f):p(i[0][2],d)}function u(d){c("next",d)}function f(d){c("throw",d)}function p(d,h){d(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ea(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof ya=="function"?ya(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Hn=e=>e&&typeof e.length=="number"&&typeof e!="function";function $n(e){return I(e?.then)}function Bn(e){return I(e[ft])}function Un(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function qn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Yd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Wn=Yd();function zn(e){return I(e?.[Wn])}function Gn(e){return Ia(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield We(n.read());if(o)return yield We(void 0);yield yield We(r)}}finally{n.releaseLock()}})}function Zn(e){return I(e?.getReader)}function N(e){if(e instanceof T)return e;if(e!=null){if(Bn(e))return Jd(e);if(Hn(e))return Kd(e);if($n(e))return Xd(e);if(Un(e))return wa(e);if(zn(e))return ef(e);if(Zn(e))return tf(e)}throw qn(e)}function Jd(e){return new T(t=>{let n=e[ft]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kd(e){return new T(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,kn)})}function ef(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wa(e){return new T(t=>{nf(e,t).catch(n=>t.error(n))})}function tf(e){return wa(Gn(e))}function nf(e,t){var n,r,o,i;return va(this,void 0,void 0,function*(){try{for(n=Ea(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function K(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Qn(e,t=0){return y((n,r)=>{n.subscribe(m(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function Yn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Da(e,t){return N(e).pipe(Yn(t),Qn(t))}function ba(e,t){return N(e).pipe(Yn(t),Qn(t))}function Ma(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ca(e,t){return new T(n=>{let r;return K(n,t,()=>{r=e[Wn](),K(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function Jn(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{K(n,t,()=>{let r=e[Symbol.asyncIterator]();K(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xa(e,t){return Jn(Gn(e),t)}function _a(e,t){if(e!=null){if(Bn(e))return Da(e,t);if(Hn(e))return Ma(e,t);if($n(e))return ba(e,t);if(Un(e))return Jn(e,t);if(zn(e))return Ca(e,t);if(Zn(e))return xa(e,t)}throw qn(e)}function pe(e,t){return t?_a(e,t):N(e)}function rf(...e){let t=fe(e);return pe(e,t)}function of(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function sf(e){return!!e&&(e instanceof T||I(e.lift)&&I(e.subscribe))}var ze=lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ta(e){return e instanceof Date&&!isNaN(e)}function Me(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:af}=Array;function cf(e,t){return af(t)?e(...t):e(t)}function Kn(e){return Me(t=>cf(e,t))}var{isArray:lf}=Array,{getPrototypeOf:uf,prototype:df,keys:ff}=Object;function Xn(e){if(e.length===1){let t=e[0];if(lf(t))return{args:t,keys:null};if(pf(t)){let n=ff(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function pf(e){return e&&typeof e=="object"&&uf(e)===df}function er(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function hf(...e){let t=fe(e),n=Vn(e),{args:r,keys:o}=Xn(e);if(r.length===0)return pe([],t);let i=new T(gf(r,t,o?s=>er(o,s):z));return n?i.pipe(Kn(n)):i}function gf(e,t,n=z){return r=>{Na(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=pe(e[c],t),u=!1;l.subscribe(m(r,f=>{i[c]=f,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Na(e,t,n){e?K(n,e,t):t()}function Sa(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,f=!1,p=()=>{f&&!c.length&&!l&&t.complete()},d=g=>l{i&&t.next(g),l++;let R=!1;N(n(g,u++)).subscribe(m(t,_=>{o?.(_),i?d(_):t.next(_)},()=>{R=!0},void 0,()=>{if(R)try{for(l--;c.length&&lh(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(m(t,d,()=>{f=!0,p()})),()=>{a?.()}}function Ce(e,t,n=1/0){return I(t)?Ce((r,o)=>Me((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>Sa(r,o,e,n)))}function zt(e=1/0){return Ce(z,e)}function ka(){return zt(1)}function ht(...e){return ka()(pe(e,fe(e)))}function mf(e){return new T(t=>{N(e()).subscribe(t)})}function yf(...e){let t=Vn(e),{args:n,keys:r}=Xn(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{f||(f=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!f)&&(l||i.next(r?er(r,a):a),i.complete())}))}});return t?o.pipe(Kn(t)):o}function tr(e=0,t,n=ga){let r=-1;return t!=null&&(jn(t)?n=t:r=t),new T(o=>{let i=Ta(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function vf(...e){let t=fe(e),n=ma(e,1/0),r=e;return r.length?r.length===1?N(r[0]):zt(n)(pe(r,t)):qe}function Ge(e,t){return y((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ra(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(m(n,l=>{r=!0,o=l,i||N(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function If(e,t=Ue){return Ra(()=>tr(e,t))}function Oa(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=N(e(s,Oa(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Aa(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(s,u=>{let f=l++;c=a?e(c,u,f):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ef(e,t){return I(t)?Ce(e,t,1):Ce(e,1)}function wf(e,t=Ue){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Gt(e){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function gt(e){return e<=0?()=>qe:y((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Pa(){return y((e,t)=>{e.subscribe(m(t,He))})}function La(e){return Me(()=>e)}function Fo(e,t){return t?n=>ht(t.pipe(gt(1),Pa()),n.pipe(Fo(e))):Ce((n,r)=>N(e(n,r)).pipe(gt(1),La(n)))}function Df(e,t=Ue){let n=tr(e,t);return Fo(()=>n)}function bf(e,t=z){return e=e??Mf,y((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Mf(e,t){return e===t}function nr(e=Cf){return y((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Cf(){return new ze}function xf(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _f(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ge((o,i)=>e(o,i,r)):z,gt(1),n?Gt(t):nr(()=>new ze))}function jo(e){return e<=0?()=>qe:y((t,n)=>{let r=[];t.subscribe(m(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Tf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ge((o,i)=>e(o,i,r)):z,jo(1),n?Gt(t):nr(()=>new ze))}function Nf(){return y((e,t)=>{let n,r=!1;e.subscribe(m(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Sf(e,t){return y(Aa(e,t,arguments.length>=2,!0))}function Ho(e={}){let{connector:t=()=>new re,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,f=!1,p=()=>{a?.unsubscribe(),a=void 0},d=()=>{p(),s=c=void 0,u=f=!1},h=()=>{let g=s;d(),g?.unsubscribe()};return y((g,R)=>{l++,!f&&!u&&p();let _=c=c??t();R.add(()=>{l--,l===0&&!f&&!u&&(a=Vo(h,o))}),_.subscribe(R),!s&&l>0&&(s=new be({next:de=>_.next(de),error:de=>{f=!0,p(),a=Vo(d,n,de),_.error(de)},complete:()=>{u=!0,p(),a=Vo(d,r),_.complete()}}),N(g).subscribe(s))})(i)}}function Vo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new be({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function kf(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Ho({connector:()=>new An(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Rf(e){return Ge((t,n)=>e<=n)}function Of(...e){let t=fe(e);return y((n,r)=>{(t?ht(e,n,t):ht(e,n)).subscribe(r)})}function Af(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=m(r,f=>r.next(t?t(c,f,u,l++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Pf(e){return y((t,n)=>{N(e).subscribe(m(n,()=>n.complete(),He)),!n.closed&&t.subscribe(n)})}function Lf(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):z}var Oc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(Ac(t,n)),this.code=t}};function Ff(e){return`NG0${Math.abs(e)}`}function Ac(e,t){return`${Ff(e)}${t?": "+t:""}`}var zr=Symbol("InputSignalNode#UNSET"),Pc=J($({},_n),{transformFn:void 0,applyValueToInputSignal(e,t){ct(e,t)}});function Lc(e,t){let n=Object.create(Pc);n.value=e,n.transformFn=t?.transform;function r(){if(at(n),n.value===zr){let o=null;throw new b(-950,o)}return n.value}return r[W]=n,r}function un(e){return{toString:e}.toString()}var rr="__parameters__";function jf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Fc(e,t,n){return un(()=>{let r=jf(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let f=c.hasOwnProperty(rr)?c[rr]:Object.defineProperty(c,rr,{value:[]})[rr];for(;f.length<=u;)f.push(null);return(f[u]=f[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Kt=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function Vf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(X).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(` -`);return r>=0?n.slice(0,r):n}function ti(e,t){return e?t?`${e} ${t}`:e:t||""}var Hf=k({__forward_ref__:k});function jc(e){return e.__forward_ref__=jc,e.toString=function(){return X(this())},e}function H(e){return Vc(e)?e():e}function Vc(e){return typeof e=="function"&&e.hasOwnProperty(Hf)&&e.__forward_ref__===jc}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $f(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gr(e){return Fa(e,Hc)||Fa(e,$c)}function i_(e){return Gr(e)!==null}function Fa(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bf(e){let t=e&&(e[Hc]||e[$c]);return t||null}function ja(e){return e&&(e.hasOwnProperty(Va)||e.hasOwnProperty(Uf))?e[Va]:null}var Hc=k({\u0275prov:k}),Va=k({\u0275inj:k}),$c=k({ngInjectableDef:k}),Uf=k({ngInjectorDef:k}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Bc(e){return e&&!!e.\u0275providers}var qf=k({\u0275cmp:k}),Wf=k({\u0275dir:k}),zf=k({\u0275pipe:k}),Gf=k({\u0275mod:k}),hr=k({\u0275fac:k}),Jt=k({__NG_ELEMENT_ID__:k}),Ha=k({__NG_ENV_ID__:k});function xe(e){return typeof e=="string"?e:e==null?"":String(e)}function Zf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():xe(e)}function Uc(e,t){throw new b(-200,e)}function us(e,t){throw new b(-201,!1)}var x=(function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e})(x||{}),ni;function qc(){return ni}function oe(e){let t=ni;return ni=e,t}function Wc(e,t,n){let r=Gr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;us(e,"Injector")}var Qf={},Ze=Qf,ri="__NG_DI_FLAG__",gr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?Tn:Ze,r)}},mr="ngTempTokenPath",Yf="ngTokenPath",Jf=/\n/gm,Kf="\u0275",$a="__source";function Xf(e,t=x.Default){if(Bt()===void 0)throw new b(-203,!1);if(Bt()===null)return Wc(e,void 0,t);{let n=Bt(),r;return n instanceof gr?r=n.injector:r=n,r.get(e,t&x.Optional?null:void 0,t)}}function te(e,t=x.Default){return(qc()||Xf)(H(e),t)}function C(e,t=x.Default){return te(e,Zr(t))}function Zr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function oi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Jf,` - `)}`}var rp=zc(Fc("Optional"),8);var op=zc(Fc("SkipSelf"),4);function Dt(e,t){let n=e.hasOwnProperty(hr);return n?e[hr]:null}function ip(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?ds(n,t):t(n))}function Gc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ap(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function fs(e,t,n){let r=dn(e,t);return r>=0?e[r|1]=n:(r=~r,cp(e,r,t,n)),r}function $o(e,t){let n=dn(e,t);if(n>=0)return e[n|1]}function dn(e,t){return lp(e,t,1)}function lp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return ds(t,s=>{let a=s;ii(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Xc(o,i),n}function Xc(e,t){for(let n=0;n{t(i,r)})}}function ii(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ja(e),s=!i&&Le(e);if(!i&&!s){let c=e.ngModule;if(i=ja(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ii(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ds(i.imports,u=>{ii(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Xc(l,t)}if(!a){let l=Dt(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:Qc,useValue:o,multi:!0},o),t({provide:vr,useValue:()=>te(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ps(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ps(e,t){for(let n of e)Bc(n)&&(n=n.\u0275providers),Array.isArray(n)?ps(n,t):t(n)}var pp=k({provide:String,useValue:k});function el(e){return e!==null&&typeof e=="object"&&pp in e}function hp(e){return!!(e&&e.useExisting)}function gp(e){return!!(e&&e.useFactory)}function bt(e){return typeof e=="function"}function mp(e){return!!e.useClass}var tl=new S(""),lr={},Ba={},Bo;function Qr(){return Bo===void 0&&(Bo=new Ir),Bo}var Fe=class{},Xt=class extends Fe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ai(t,s=>this.processProvider(s)),this.records.set(Zc,mt(void 0,this)),o.has("environment")&&this.records.set(Fe,mt(void 0,this));let i=this.records.get(tl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Qc,G,x.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?Tn:Ze,r)}destroy(){Qt(this),this._destroyed=!0;let t=D(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(t)}}onDestroy(t){return Qt(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Qt(this);let n=De(this),r=oe(void 0),o;try{return t()}finally{De(n),oe(r)}}get(t,n=Ze,r=x.Default){if(Qt(this),t.hasOwnProperty(Ha))return t[Ha](this);r=Zr(r);let o,i=De(this),s=oe(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=wp(t)&&Gr(t);l&&this.injectableDefInScope(l)?c=mt(si(t),lr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&x.Self?Qr():this.parent;return n=r&x.Optional&&n===Ze?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[mr]=a[mr]||[]).unshift(X(t)),i)throw a;return tp(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),De(i)}}resolveInjectorInitializers(){let t=D(null),n=De(this),r=oe(void 0),o;try{let i=this.get(vr,G,x.Self);for(let s of i)s()}finally{De(n),oe(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=H(t);let n=bt(t)?t:H(t&&t.provide),r=vp(t);if(!bt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=mt(void 0,lr,!0),o.factory=()=>oi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{return n.value===Ba?Uc(X(t)):n.value===lr&&(n.value=Ba,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Ep(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function si(e){let t=Gr(e),n=t!==null?t.factory:Dt(e);if(n!==null)return n;if(e instanceof S)throw new b(204,!1);if(e instanceof Function)return yp(e);throw new b(204,!1)}function yp(e){if(e.length>0)throw new b(204,!1);let n=Bf(e);return n!==null?()=>n.factory(e):()=>new e}function vp(e){if(el(e))return mt(void 0,e.useValue);{let t=nl(e);return mt(t,lr)}}function nl(e,t,n){let r;if(bt(e)){let o=H(e);return Dt(o)||si(o)}else if(el(e))r=()=>H(e.useValue);else if(gp(e))r=()=>e.useFactory(...oi(e.deps||[]));else if(hp(e))r=(o,i)=>te(H(e.useExisting),i!==void 0&&i&x.Optional?x.Optional:void 0);else{let o=H(e&&(e.useClass||e.provide));if(Ip(e))r=()=>new o(...oi(e.deps));else return Dt(o)||si(o)}return r}function Qt(e){if(e.destroyed)throw new b(205,!1)}function mt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ip(e){return!!e.deps}function Ep(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function wp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function ai(e,t){for(let n of e)Array.isArray(n)?ai(n,t):n&&Bc(n)?ai(n.\u0275providers,t):t(n)}function rl(e,t){let n;e instanceof Xt?(Qt(e),n=e):n=new gr(e);let r,o=De(n),i=oe(void 0);try{return t()}finally{De(o),oe(i)}}function hs(){return qc()!==void 0||Bt()!=null}function gs(e){if(!hs())throw new b(-203,!1)}function Dp(e){let t=Kt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function bp(e){return typeof e=="function"}var Se=0,E=1,v=2,U=3,ue=4,ee=5,Mt=6,Er=7,j=8,Ct=9,_e=10,A=11,en=12,Ua=13,Rt=14,ne=15,Ye=16,yt=17,Te=18,Yr=19,ol=20,Ae=21,Uo=22,Je=23,ie=24,Et=25,q=26,il=1;var Ke=7,wr=8,xt=9,B=10;function Pe(e){return Array.isArray(e)&&typeof e[il]=="object"}function ke(e){return Array.isArray(e)&&e[il]===!0}function sl(e){return(e.flags&4)!==0}function Ot(e){return e.componentOffset>-1}function ms(e){return(e.flags&1)===1}function me(e){return!!e.template}function Dr(e){return(e[v]&512)!==0}function At(e){return(e[v]&256)===256}var ci=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function al(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var s_=(()=>{let e=()=>cl;return e.ngInherit=!0,e})();function cl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cp),Mp}function Mp(){let e=ul(this),t=e?.current;if(t){let n=e.previous;if(n===ge)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Cp(e,t,n,r,o){let i=this.declaredInputs[r],s=ul(e)||xp(e,{previous:ge,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ci(l&&l.currentValue,n,c===ge),al(e,t,o,n)}var ll="__ngSimpleChanges__";function ul(e){return e[ll]||null}function xp(e,t){return e[ll]=t}var qa=null;var O=function(e,t=null,n){qa?.(e,t,n)},dl="svg",_p="math";function ye(e){for(;Array.isArray(e);)e=e[Se];return e}function fl(e,t){return ye(t[e])}function Ee(e,t){return ye(t[e.index])}function ys(e,t){return e.data[t]}function Tp(e,t){return e[t]}function Np(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ve(e,t){let n=t[e];return Pe(n)?n:n[Se]}function Sp(e){return(e[v]&4)===4}function vs(e){return(e[v]&128)===128}function kp(e){return ke(e[U])}function _t(e,t){return t==null?null:e[t]}function pl(e){e[yt]=0}function hl(e){e[v]&1024||(e[v]|=1024,vs(e)&&Pt(e))}function Rp(e,t){for(;e>0;)t=t[Rt],e--;return t}function Jr(e){return!!(e[v]&9216||e[ie]?.dirty)}function li(e){e[_e].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),Jr(e)&&Pt(e)}function Pt(e){e[_e].changeDetectionScheduler?.notify(0);let t=Xe(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!vs(t)));)t=Xe(t)}function gl(e,t){if(At(e))throw new b(911,!1);e[Ae]===null&&(e[Ae]=[]),e[Ae].push(t)}function Op(e,t){if(e[Ae]===null)return;let n=e[Ae].indexOf(t);n!==-1&&e[Ae].splice(n,1)}function Xe(e){let t=e[U];return ke(t)?t[U]:t}function Is(e){return e[Er]??=[]}function Es(e){return e.cleanup??=[]}function Ap(e,t,n,r){let o=Is(t);o.push(n),e.firstCreatePass&&Es(e).push(r,o.length-1)}var M={lFrame:Cl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ui=!1;function Pp(){return M.lFrame.elementDepthCount}function Lp(){M.lFrame.elementDepthCount++}function Fp(){M.lFrame.elementDepthCount--}function ml(){return M.bindingsEnabled}function yl(){return M.skipHydrationRootTNode!==null}function jp(e){return M.skipHydrationRootTNode===e}function Vp(){M.skipHydrationRootTNode=null}function w(){return M.lFrame.lView}function P(){return M.lFrame.tView}function a_(e){return M.lFrame.contextLView=e,e[j]}function c_(e){return M.lFrame.contextLView=null,e}function Q(){let e=vl();for(;e!==null&&e.type===64;)e=e.parent;return e}function vl(){return M.lFrame.currentTNode}function Hp(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Il(){return M.lFrame.isParent}function El(){M.lFrame.isParent=!1}function $p(){return M.lFrame.contextLView}function wl(){return ui}function br(e){let t=ui;return ui=e,t}function Bp(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Dl(){return M.lFrame.bindingIndex}function Up(e){return M.lFrame.bindingIndex=e}function it(){return M.lFrame.bindingIndex++}function Kr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function qp(){return M.lFrame.inI18n}function Wp(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,di(t)}function zp(){return M.lFrame.currentDirectiveIndex}function di(e){M.lFrame.currentDirectiveIndex=e}function Gp(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ws(){return M.lFrame.currentQueryIndex}function Xr(e){M.lFrame.currentQueryIndex=e}function Zp(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function bl(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Zp(i),o===null||(i=i[Rt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Ml();return r.currentTNode=t,r.lView=e,!0}function Ds(e){let t=Ml(),n=e[E];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ml(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Cl(e):t}function Cl(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function xl(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=xl;function bs(){let e=xl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Qp(e){return(M.lFrame.contextLView=Rp(e,M.lFrame.contextLView))[j]}function we(){return M.lFrame.selectedIndex}function et(e){M.lFrame.selectedIndex=e}function fn(){let e=M.lFrame;return ys(e.tView,e.selectedIndex)}function l_(){M.lFrame.currentNamespace=dl}function Tl(){return M.lFrame.currentNamespace}var Nl=!0;function Ms(){return Nl}function Cs(e){Nl=e}function Yp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=cl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Sl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[yt]+=65536),(a>14>16&&(e[v]&3)===t&&(e[v]+=16384,Wa(a,i)):Wa(a,i)}var wt=-1,tt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Kp(e){return(e.flags&8)!==0}function Xp(e){return(e.flags&16)!==0}function eh(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}function Cr(e,t){let n=nh(e),r=t;for(;n>0;)r=r[Rt],n--;return r}var fi=!0;function Ga(e){let t=fi;return fi=e,t}var rh=256,Al=rh-1,Pl=5,oh=0,he={};function ih(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jt)&&(r=n[Jt]),r==null&&(r=n[Jt]=oh++);let o=r&Al,i=1<>Pl)]|=i}function xr(e,t){let n=Ll(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Wo(r.data,e),Wo(t,null),Wo(r.blueprint,null));let o=xs(e,t),i=e.injectorIndex;if(Ol(o)){let s=Mr(o),a=Cr(o,t),c=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Wo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ll(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function xs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=$l(o),r===null)return wt;if(n++,o=o[Rt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wt}function pi(e,t,n){ih(e,t,n)}function sh(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,f=r?a:a+u,p=o?a+u:l;for(let d=f;d=c&&h.type===n)return d}if(o){let d=s[c];if(d&&me(d)&&d.type===n)return c}return null}function nn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof tt){let a=i;a.resolving&&Uc(Zf(s[n]));let c=Ga(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?oe(a.injectImpl):null,f=bl(e,r,x.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Yp(n,s[n],t)}finally{u!==null&&oe(u),Ga(c),a.resolving=!1,_l()}}return i}function ch(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Jt)?e[Jt]:void 0;return typeof t=="number"?t>=0?t&Al:lh:t}function Za(e,t,n){let r=1<>Pl)]&r)}function Qa(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var Qe=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Vl(this._tNode,this._lView,t,Zr(r),n)}};function lh(){return new Qe(Q(),w())}function u_(e){return un(()=>{let t=e.prototype.constructor,n=t[hr]||hi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[hr]||hi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function hi(e){return Vc(e)?()=>{let t=hi(H(e));return t&&t()}:Dt(e)}function uh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!Dr(s);){let a=Hl(i,s,n,r|x.Self,he);if(a!==he)return a;let c=i.parent;if(!c){let l=s[ol];if(l){let u=l.get(n,he,r);if(u!==he)return u}c=$l(s),s=s[Rt]}i=c}return o}function $l(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function dh(e){return sh(Q(),e)}function Ya(e,t=null,n=null,r){let o=Bl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Bl(e,t=null,n=null,r,o=new Set){let i=[n||G,fp(e)];return r=r||(typeof e=="object"?void 0:X(e)),new Xt(i,t||Qr(),r||null,o)}var Ie=class e{static THROW_IF_NOT_FOUND=Ze;static NULL=new Ir;static create(t,n){if(Array.isArray(t))return Ya({name:""},n,t,"");{let r=t.name??"";return Ya({name:r},t.parent,t.providers,r)}}static \u0275prov=V({token:e,providedIn:"any",factory:()=>te(Zc)});static __NG_ELEMENT_ID__=-1};var Ja=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>dh(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},fh=new S("");fh.__NG_ELEMENT_ID__=e=>{let t=Q();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new b(204,!1)};var Ul=!1,Ft=(()=>{class e{static __NG_ELEMENT_ID__=ph;static __NG_ENV_ID__=n=>n}return e})(),_r=class extends Ft{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return At(n)?(t(),()=>{}):(gl(n,t),()=>Op(n,t))}};function ph(){return new _r(w())}var nt=class{},ql=new S("",{providedIn:"root",factory:()=>!1});var Wl=new S(""),zl=new S(""),eo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ut(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})();var gi=class extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hs()&&(this.destroyRef=C(Ft,{optional:!0})??void 0,this.pendingTasks=C(eo,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Oe=gi;function rn(...e){}function Gl(e){let t,n;function r(){e=rn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Ka(e){return queueMicrotask(()=>e()),()=>{e=rn}}var _s="isAngularZone",Tr=_s+"_ID",hh=0,Z=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Oe(!1);onMicrotaskEmpty=new Oe(!1);onStable=new Oe(!1);onError=new Oe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ul}=t;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,yh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_s)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,gh,rn,rn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},gh={};function Ts(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function mh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Gl(()=>{e.callbackScheduled=!1,mi(e),e.isCheckStableRunning=!0,Ts(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),mi(e)}function yh(e){let t=()=>{mh(e)},n=hh++;e._inner=e._inner.fork({name:"angular",properties:{[_s]:!0,[Tr]:n,[Tr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(vh(c))return r.invokeTask(i,s,a,c);try{return Xa(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ec(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Xa(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ih(c)&&t(),ec(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,mi(e),Ts(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function mi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Xa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ec(e){e._nesting--,Ts(e)}var Nr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Oe;onMicrotaskEmpty=new Oe;onStable=new Oe;onError=new Oe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function vh(e){return Zl(e,"__ignore_ng_zone__")}function Ih(e){return Zl(e,"__scheduler_tick__")}function Zl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function Eh(e="zone.js",t){return e==="noop"?new Nr:e==="zone.js"?new Z(t):e}var je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},wh=new S("",{providedIn:"root",factory:()=>{let e=C(Z),t=C(je);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),yi=class{destroyed=!1;listeners=null;errorHandler=C(je,{optional:!0});destroyRef=C(Ft);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Ac(953,!1));return}if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function tc(e,t){return Lc(e,t)}function Dh(e){return Lc(zr,e)}var d_=(tc.required=Dh,tc);function bh(){return jt(Q(),w())}function jt(e,t){return new to(Ee(e,t))}var to=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=bh}return e})();function Ql(e){return e instanceof to?e.nativeElement:e}function Mh(e){return typeof e=="function"&&e[W]!==void 0}function Ch(e,t){let n=Do(e,t?.equal),r=n[W];return n.set=o=>ct(r,o),n.update=o=>bo(r,o),n.asReadonly=Yl.bind(n),n}function Yl(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}function Jl(e){return Mh(e)&&typeof e.set=="function"}function xh(){return this._results[Symbol.iterator]()}var vi=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new re}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sp(t);(this._changesDetected=!ip(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=xh};function Kl(e){return(e.flags&128)===128}var Xl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Xl||{}),eu=new Map,_h=0;function Th(){return _h++}function Nh(e){eu.set(e[Yr],e)}function Ii(e){eu.delete(e[Yr])}var nc="__ngContext__";function pn(e,t){Pe(t)?(e[nc]=t[Yr],Nh(t)):e[nc]=t}function tu(e){return ru(e[en])}function nu(e){return ru(e[ue])}function ru(e){for(;e!==null&&!ke(e);)e=e[ue];return e}var Ei;function f_(e){Ei=e}function Sh(){if(Ei!==void 0)return Ei;if(typeof document<"u")return document;throw new b(210,!1)}var p_=new S("",{providedIn:"root",factory:()=>kh}),kh="ng",Rh=new S(""),h_=new S("",{providedIn:"platform",factory:()=>"unknown"});var g_=new S(""),m_=new S("",{providedIn:"root",factory:()=>Sh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Oh="h",Ah="b";var ou=!1,Ph=new S("",{providedIn:"root",factory:()=>ou});var Ns=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ns||{}),no=new S(""),rc=new Set;function hn(e){rc.has(e)||(rc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ss=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Lh}return e})();function Lh(){return new Ss(w(),Q())}var vt=(function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e})(vt||{}),iu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fh=[vt.EarlyRead,vt.Write,vt.MixedReadWrite,vt.Read],jh=(()=>{class e{ngZone=C(Z);scheduler=C(nt);errorHandler=C(je,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(no,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(16),this.executing=!0;for(let r of Fh)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(17)}register(n){let{view:r}=n;r!==void 0?((r[Et]??=[]).push(n),Pt(r),r[v]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ns.AFTER_NEXT_RENDER,n):n()}static \u0275prov=V({token:e,providedIn:"root",factory:()=>new e})}return e})(),wi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Et];t&&(this.view[Et]=t.filter(n=>n!==this))}};function Vh(e,t){!t?.injector&&gs(Vh);let n=t?.injector??C(Ie);return hn("NgAfterRender"),su(e,n,t,!1)}function Hh(e,t){!t?.injector&&gs(Hh);let n=t?.injector??C(Ie);return hn("NgAfterNextRender"),su(e,n,t,!0)}function $h(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function su(e,t,n,r){let o=t.get(iu);o.impl??=t.get(jh);let i=t.get(no,null,{optional:!0}),s=n?.phase??vt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Ft):null,c=t.get(Ss,null,{optional:!0}),l=new wi(o.impl,$h(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Bh=(e,t,n,r)=>{};function Uh(e,t,n,r){Bh(e,t,n,r)}var qh=()=>null;function au(e,t,n=!1){return qh(e,t,n)}function cu(e,t){let n=e.contentQueries;if(n!==null){let r=D(null);try{for(let o=0;oe,createScript:e=>e,createScriptURL:e=>e})}catch{}return or}function ro(e){return Wh()?.createHTML(e)||e}var ir;function zh(){if(ir===void 0&&(ir=null,Kt.trustedTypes))try{ir=Kt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ir}function oc(e){return zh()?.createScriptURL(e)||e}var Ne=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Oc})`}},bi=class extends Ne{getTypeName(){return"HTML"}},Mi=class extends Ne{getTypeName(){return"Style"}},Ci=class extends Ne{getTypeName(){return"Script"}},xi=class extends Ne{getTypeName(){return"URL"}},_i=class extends Ne{getTypeName(){return"ResourceURL"}};function oo(e){return e instanceof Ne?e.changingThisBreaksApplicationSecurity:e}function uu(e,t){let n=Gh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Oc})`)}return n===t}function Gh(e){return e instanceof Ne&&e.getTypeName()||null}function y_(e){return new bi(e)}function v_(e){return new Mi(e)}function I_(e){return new Ci(e)}function E_(e){return new xi(e)}function w_(e){return new _i(e)}function Zh(e){let t=new Ni(e);return Qh()?new Ti(t):t}var Ti=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(ro(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ni=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ro(t),n}};function Qh(){try{return!!new window.DOMParser().parseFromString(ro(""),"text/html")}catch{return!1}}var Yh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function du(e){return e=String(e),e.match(Yh)?e:"unsafe:"+e}function Re(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function gn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fu=Re("area,br,col,hr,img,wbr"),pu=Re("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hu=Re("rp,rt"),Jh=gn(hu,pu),Kh=gn(pu,Re("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")),Xh=gn(hu,Re("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")),ic=gn(fu,Kh,Xh,Jh),gu=Re("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eg=Re("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"),tg=Re("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"),ng=gn(gu,eg,tg),rg=Re("script,style,template"),Si=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=sg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ig(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=sc(t).toLowerCase();if(!ic.hasOwnProperty(n))return this.sanitizedSomething=!0,!rg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=sc(t).toLowerCase();ic.hasOwnProperty(n)&&!fu.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ac(t))}};function og(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ig(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw mu(t);return t}function sg(e){let t=e.firstChild;if(t&&og(e,t))throw mu(t);return t}function sc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function mu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ag=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cg=/([^\#-~ |!])/g;function ac(e){return e.replace(/&/g,"&").replace(ag,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(cg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var sr;function D_(e,t){let n=null;try{sr=sr||Zh(e);let r=t?String(t):"";n=sr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=sr.getInertBodyElement(r)}while(r!==i);let a=new Si().sanitizeChildren(cc(n)||n);return ro(a)}finally{if(n){let r=cc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function cc(e){return"content"in e&&lg(e)?e.content:null}function lg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function ug(e,t){return e.createText(t)}function dg(e,t,n){e.setValue(t,n)}function yu(e,t,n){return e.createElement(t,n)}function Sr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function vu(e,t,n){e.appendChild(t,n)}function lc(e,t,n,r,o){r!==null?Sr(e,t,n,r,o):vu(e,t,n)}function fg(e,t,n){e.removeChild(null,t,n)}function pg(e,t,n){e.setAttribute(t,"style",n)}function hg(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Iu(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&eh(e,t,r),o!==null&&hg(e,t,o),i!==null&&pg(e,t,i)}var ks=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(ks||{});function gg(e){let t=Eu();return t?t.sanitize(ks.URL,e)||"":uu(e,"URL")?oo(e):du(xe(e))}function mg(e){let t=Eu();if(t)return oc(t.sanitize(ks.RESOURCE_URL,e)||"");if(uu(e,"ResourceURL"))return oc(oo(e));throw new b(904,!1)}var yg={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function vg(e,t){return yg[e.toLowerCase()]?.[t.toLowerCase()]===!0?mg:gg}function b_(e,t,n){return vg(t,n)(e)}function Ig(e){if(e.toLowerCase().startsWith("on"))throw new b(306,!1)}function Eu(){let e=w();return e&&e[_e].sanitizer}function wu(e){return e instanceof Function?e():e}function Eg(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Du="ng-template";function wg(e,t,n,r){let o=0;if(r){for(;o-1){let i;for(;++oi?f="":f=o[u+1].toLowerCase(),r&2&&l!==f){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function Mg(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(t+=uc(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=uc(i,o)),t}function Sg(e){return e.map(Ng).join(",")}function kg(e){let t=[],n=[],r=1,o=2;for(;rq&&xu(e,t,q,!1),O(s?2:0,o),n(r,o)}finally{et(i),O(s?3:1,o)}}function Ls(e,t,n){Hg(e,t,n),(n.flags&64)===64&&$g(e,t,n)}function Tu(e,t,n=Ee){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;inull;function jg(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function so(e,t,n,r,o,i,s,a){if(!a&&Fs(t,e,n,r,o)){Ot(t)&&Vg(n,t.index);return}if(t.type&3){let c=Ee(t,n);r=jg(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Vg(e,t){let n=ve(t,e);n[v]&16||(n[v]|=64)}function Hg(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ot(n)&&Ag(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||xr(n,t);let i=n.initialInputs;for(let s=r;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Er]=null);let o=t[Ae];if(o!==null){t[Ae]=null;for(let s=0;s{Pt(e.lView)},consumerOnSignalRead(){this.lView[ie]=this}});function pm(e){let t=e[ie]??Object.create(hm);return t.lView=e,t}var hm=J($({},st),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Xe(e.lView);for(;t&&!Fu(t[E]);)t=Xe(t);t&&hl(t)},consumerOnSignalRead(){this.lView[ie]=this}});function Fu(e){return e.type!==2}function ju(e){if(e[Je]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Je])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var gm=100;function Vu(e,t=!0,n=0){let o=e[_e].rendererFactory,i=!1;i||o.begin?.();try{mm(e,n)}catch(s){throw t&&zg(e,s),s}finally{i||o.end?.()}}function mm(e,t){let n=wl();try{br(!0),Ai(e,t);let r=0;for(;Jr(e);){if(r===gm)throw new b(103,!1);r++,Ai(e,1)}}finally{br(n)}}function ym(e,t,n,r){if(At(t))return;let o=t[v],i=!1,s=!1;Ds(t);let a=!0,c=null,l=null;i||(Fu(e)?(l=lm(t),c=Ht(l)):yo()===null?(a=!1,l=pm(t),c=Ht(l)):t[ie]&&($t(t[ie]),t[ie]=null));try{pl(t),Up(e.bindingStartIndex),n!==null&&_u(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&ur(t,d,null)}else{let d=e.preOrderHooks;d!==null&&dr(t,d,0,null),qo(t,0)}if(s||vm(t),ju(t),Hu(t,0),e.contentQueries!==null&&cu(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&ur(t,d)}else{let d=e.contentHooks;d!==null&&dr(t,d,1),qo(t,1)}Em(e,t);let f=e.components;f!==null&&Bu(t,f,0);let p=e.viewQuery;if(p!==null&&Di(2,p,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&ur(t,d)}else{let d=e.viewHooks;d!==null&&dr(t,d,2),qo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Uo]){for(let d of t[Uo])d();t[Uo]=null}i||(Pu(t),t[v]&=-73)}catch(u){throw i||Pt(t),u}finally{l!==null&&(Dn(l,c),a&&dm(l)),bs()}}function Hu(e,t){for(let n=tu(e);n!==null;n=nu(n))for(let r=B;r0&&(e[n-1][ue]=r[ue]);let i=yr(e,B+t);Jg(r[E],r);let s=i[Te];s!==null&&s.detachView(i[E]),r[U]=null,r[ue]=null,r[v]&=-129}return r}function wm(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][ue]=t),r-1&&(sn(t,r),yr(n,r))}this._attachedToViewContainer=!1}ao(this._lView[E],this._lView)}onDestroy(t){gl(this._lView,t)}markForCheck(){qs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){li(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Vu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dr(this._lView),n=this._lView[Ye];n!==null&&!t&&$s(n,this._lView),Su(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Dr(this._lView),r=this._lView[Ye];r!==null&&!n&&zu(r,this._lView),li(this._lView)}};var Rr=(()=>{class e{static __NG_ELEMENT_ID__=Mm}return e})(),Dm=Rr,bm=class extends Dm{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=mn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new an(o)}};function Mm(){return lo(Q(),w())}function lo(e,t){return e.type&4?new bm(t,e,jt(e,t)):null}function vn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Cm(e,t,n,r,o),qp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Hp();i.injectorIndex=s===null?-1:s.injectorIndex}return Lt(i,!0),i}function Cm(e,t,n,r,o){let i=vl(),s=Il(),a=s?i:i&&i.parent,c=e.data[t]=_m(e,a,n,t,r,o);return xm(e,c,i,s),c}function xm(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function _m(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return yl()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Tl(),attrs:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var __=new RegExp(`^(\\d+)*(${Ah}|${Oh})*(.*)`);var Tm=()=>null;function Nt(e,t){return Tm(e,t)}var Nm=class{},Gu=class{},Pi=class{resolveComponentFactory(t){throw Error(`No component factory found for ${X(t)}.`)}},uo=class{static NULL=new Pi},Or=class{},k_=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Sm()}return e})();function Sm(){let e=w(),t=Q(),n=ve(t.index,e);return(Pe(n)?n:e)[A]}var km=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>null})}return e})();var Go={},Li=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Zr(r);let o=this.injector.get(t,Go,r);return o!==Go||n===Go?o:this.parentInjector.get(t,n,r)}};function fc(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&(n.directiveToIndex=new Map);for(let p=0;p0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function $m(e,t,n){if(n){if(t.exportAs)for(let r=0;r{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&io.SignalBased)!==0};return o&&(i.transform=o),i})}function qm(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Wm(e,t,n){let r=t instanceof Fe?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Li(n,r):n}function zm(e){let t=e.get(Or,null);if(t===null)throw new b(407,!1);let n=e.get(km,null),r=e.get(nt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Gm(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return yu(t,n,n==="svg"?dl:n==="math"?_p:null)}var rt=class extends Gu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Um(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=qm(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Sg(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){O(22);let i=D(null);try{let s=this.componentDef,a=r?["ng-version","19.2.25"]:kg(this.componentDef.selectors[0]),c=Os(0,null,null,1,0,null,null,null,null,[a],null),l=Wm(s,o||this.ngModule,t),u=zm(l),f=u.rendererFactory.createRenderer(null,s),p=r?Pg(f,r,s.encapsulation,l):Gm(s,f),d=As(null,c,null,512|Mu(s),null,null,u,f,l,null,au(p,l,!0));d[q]=p,Ds(d);let h=null;try{let g=Yu(q,c,d,"#host",()=>[this.componentDef],!0,0);p&&(Iu(f,p,g),pn(p,d)),Ls(c,d,g),lu(c,g,d),Ju(c,g),n!==void 0&&Zm(g,this.ngContentSelectors,n),h=ve(g.index,d),d[j]=h[j],js(c,d,null)}catch(g){throw h!==null&&Ii(h),Ii(d),g}finally{O(23),bs()}return new Fi(this.componentType,d)}finally{D(i)}}},Fi=class extends Nm{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=ys(n[E],q),this.location=jt(this._tNode,n),this.instance=ve(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new an(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Fs(r,o[E],o,t,n);this.previousInputValues.set(t,n);let s=ve(r.index,o);qs(s,1)}get injector(){return new Qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Zm(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=Qm}return e})();function Qm(){let e=Q();return Xu(e,w())}var Ym=zs,Ku=class extends Ym{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return jt(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){let t=xs(this._hostTNode,this._hostLView);if(Ol(t)){let n=Cr(t,this._hostLView),r=Mr(t),o=n[E].data[r+8];return new Qe(o,n)}else return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=mc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Nt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Tt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!bp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new rt(Le(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Fe,null);g&&(i=g)}let u=Le(c.componentType??{}),f=Nt(this._lContainer,u?.id??null),p=f?.firstChild??null,d=c.create(l,o,p,i);return this.insertImpl(d.hostView,a,Tt(this._hostTNode,f)),d}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(kp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new Ku(c,c[ee],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return yn(s,o,i,r),t.attachToViewContainerRef(),Gc(Zo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=mc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=sn(this._lContainer,n);r&&(yr(Zo(this._lContainer),n),ao(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=sn(this._lContainer,n);return r&&yr(Zo(this._lContainer),n)!=null?new an(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function mc(e){return e[wr]}function Zo(e){return e[wr]||(e[wr]=[])}function Xu(e,t){let n,r=t[e.index];return ke(r)?n=r:(n=Uu(r,t,null,e),t[e.index]=n,Ps(t,n)),Km(n,t,e,r),new Ku(n,e,t)}function Jm(e,t){let n=e[A],r=n.createComment(""),o=Ee(t,e),i=n.parentNode(o);return Sr(n,i,r,n.nextSibling(o),!1),r}var Km=ty,Xm=()=>!1;function ey(e,t,n){return Xm(e,t,n)}function ty(e,t,n,r){if(e[Ke])return;let o;n.type&8?o=ye(r):o=Jm(t,n),e[Ke]=o}var ji=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Vi=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let f=B;ft.trim())}function rd(e,t,n){e.queries===null&&(e.queries=new Hi),e.queries.track(new $i(t,n))}function cy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Zs(e,t){return e.queries.getByIndex(t)}function od(e,t){let n=e[E],r=Zs(n,t);return r.crossesNgTemplate?Bi(n,e,t,[]):ed(n,e,r,t)}function id(e,t,n){let r,o=xn(()=>{r._dirtyCounter();let i=fy(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[W],r._dirtyCounter=Ch(0),r._flatValue=void 0,o}function ly(e){return id(!0,!1,e)}function uy(e){return id(!0,!0,e)}function dy(e,t){let n=e[W];n._lView=w(),n._queryIndex=t,n._queryList=Gs(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function fy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:G;let o=Gs(n,r),i=od(n,r);return o.reset(i,Ql),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function yc(e,t){return ly(t)}function py(e,t){return uy(t)}var A_=(yc.required=py,yc);function sd(e,t){let n=Object.create(Pc),r=new yi;n.value=e;function o(){return at(n),vc(n.value),n.value}return o[W]=n,o.asReadonly=Yl.bind(o),o.set=i=>{n.equal(n.value,i)||(ct(n,i),r.emit(i))},o.update=i=>{vc(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function vc(e){if(e===zr)throw new b(952,!1)}function Ic(e,t){return sd(e,t)}function hy(e){return sd(zr,e)}var P_=(Ic.required=hy,Ic);function gy(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(Iy))}return i}return Lr.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(l=>{o.template=l}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.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");if(o.styleUrls?.length){let l=o.styles.length,u=o.styleUrls;o.styleUrls.forEach((f,p)=>{a.push(""),s.push(r(f).then(d=>{a[l+p]=d,u.splice(u.indexOf(f),1),u.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(l=>{a.push(l),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Ey(i));t.push(c)}),yy(),Promise.all(t).then(()=>{})}var Lr=new Map,my=new Set;function yy(){let e=Lr;return Lr=new Map,e}function vy(){return Lr.size===0}function Iy(e){return typeof e=="string"?e:e.text()}function Ey(e){my.delete(e)}var cn=class{},wy=class{};var Fr=class extends cn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ar(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Yc(t);this._bootstrapComponents=wu(i.bootstrap),this._r3Injector=Bl(t,n,[{provide:cn,useValue:this},{provide:uo,useValue:this.componentFactoryResolver},...r],X(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},jr=class extends wy{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Fr(this.moduleType,t,[])}};function Dy(e,t,n){return new Fr(e,t,n,!1)}var Ui=class extends cn{injector;componentFactoryResolver=new Ar(this);instance=null;constructor(t){super();let n=new Xt([...t.providers,{provide:cn,useValue:this},{provide:uo,useValue:this.componentFactoryResolver}],t.parent||Qr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function by(e,t,n=null){return new Ui({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var My=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Kc(!1,n.type),o=r.length>0?by([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=V({token:e,providedIn:"environment",factory:()=>new e(te(Fe))})}return e})();function j_(e){return un(()=>{let t=ad(e),n=J($({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(My).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&hn("NgStandalone"),cd(n);let r=e.dependencies;return n.directiveDefs=Ec(r,!1),n.pipeDefs=Ec(r,!0),n.id=Sy(n),n})}function Cy(e){return Le(e)||Jc(e)}function xy(e){return e!==null}function _y(e){return un(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ty(e,t){if(e==null)return ge;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=io.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Ny(e){if(e==null)return ge;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function V_(e){return un(()=>{let t=ad(e);return cd(t),t})}function ad(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ge,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ty(e.inputs,t),outputs:Ny(e.outputs),debugInfo:null}}function cd(e){e.features?.forEach(t=>t(e))}function Ec(e,t){if(!e)return null;let n=t?up:Cy;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(xy)}function Sy(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function ky(e){return Object.getPrototypeOf(e.prototype).constructor}function Ry(e){let t=ky(e.type),n=!0,r=[e];for(;t;){let o;if(me(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Qo(e.inputs),s.declaredInputs=Qo(e.declaredInputs),s.outputs=Qo(e.outputs);let a=o.hostBindings;a&&Fy(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&Py(e,c),l&&Ly(e,l),Oy(e,o),Vf(e.outputs,o.outputs),me(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function Qo(e){return e===ge?{}:e===G?[]:e}function Py(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Ly(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Fy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function H_(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=ld,n.hostDirectives=r?e.map(qi):[e]):r?n.hostDirectives.unshift(...e.map(qi)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function ld(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)wc(qi(i),t,n)}else wc(r,t,n)}function wc(e,t,n){let r=Jc(e.directive);jy(r.declaredInputs,e.inputs),ld(r,t,n),n.set(r,e),t.push(r)}function qi(e){return typeof e=="function"?{directive:H(e),inputs:ge,outputs:ge}:{directive:H(e.directive),inputs:Dc(e.inputs),outputs:Dc(e.outputs)}}function Dc(e){if(e===void 0||e.length===0)return ge;let t={};for(let n=0;n{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Zy=new S(""),Qy=new S(""),B_=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,hs()&&(this._destroyRef=C(Ft,{optional:!0})??void 0),Qs||(Jy(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(te(Z),te(Yy),te(Qy))};static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),Yy=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Qs?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Jy(e){Qs=e}var Qs,fd=(()=>{class e{static \u0275prov=V({token:e,providedIn:"root",factory:()=>new Wi})}return e})(),Wi=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function pd(e){return!!e&&typeof e.then=="function"}function Ky(e){return!!e&&typeof e.subscribe=="function"}var hd=new S("");function U_(e){return dp([{provide:hd,multi:!0,useValue:e}])}var gd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(hd,{optional:!0})??[];injector=C(Ie);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=rl(this.injector,o);if(pd(i))n.push(i);else if(Ky(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xy=new S("");function ev(){wo(()=>{throw new b(600,!1)})}function tv(e){return e.isBoundToModule}var nv=10;function md(e,t){return Array.isArray(t)?t.reduce(md,e):$($({},e),t)}var St=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(wh);afterRenderManager=C(iu);zonelessEnabled=C(ql);rootEffectScheduler=C(fd);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new re;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(eo).hasPendingTasks.pipe(Me(n=>!n));constructor(){C(no,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Fe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ie.NULL){O(10);let i=n instanceof Gu;if(!this._injector.get(gd).done){let d="";throw new b(405,d)}let a;i?a=n:a=this._injector.get(uo).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=tv(a)?void 0:this._injector.get(cn),l=r||a.selector,u=a.create(o,[],l,c),f=u.location.nativeElement,p=u.injector.get(Zy,null);return p?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),pr(this.components,u),p?.unregisterApplication(f)}),this._loadComponent(u),O(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ns.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),O(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Or,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++Jr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;pr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Xy,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function rv(e,t,n,r){if(!n&&!Jr(e))return;Vu(e,t,n&&!r?0:1)}function ov(e,t,n,r){let o=w(),i=it();if(se(o,i,t)){let s=P(),a=fn();Ug(a,o,e,t,n,r)}return ov}function yd(e,t,n,r){return se(e,it(),n)?t+xe(n)+r:Y}function iv(e,t,n,r,o,i){let s=Dl(),a=dd(e,s,n,o);return Kr(2),a?t+xe(n)+r+xe(o)+i:Y}function sv(e,t,n,r,o,i,s,a){let c=Dl(),l=Uy(e,c,n,o,s);return Kr(3),l?t+xe(n)+r+xe(o)+i+xe(s)+a:Y}function ar(e,t){return e<<17|t<<2}function ot(e){return e>>17&32767}function av(e){return(e&2)==2}function cv(e,t){return e&131071|t<<17}function zi(e){return e|2}function kt(e){return(e&131068)>>2}function Yo(e,t){return e&-131069|t<<2}function lv(e){return(e&1)===1}function Gi(e){return e|1}function uv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ot(s),c=kt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let f=n;u=f[1],(u===null||dn(f,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ot(e[a+1]);e[r+1]=ar(p,a),p!==0&&(e[p+1]=Yo(e[p+1],r)),e[a+1]=cv(e[a+1],r)}else e[r+1]=ar(a,0),a!==0&&(e[a+1]=Yo(e[a+1],r)),a=r;else e[r+1]=ar(c,0),a===0?a=r:e[c+1]=Yo(e[c+1],r),c=r;l&&(e[r+1]=zi(e[r+1])),bc(e,u,r,!0),bc(e,u,r,!1),dv(t,u,e,r,i),s=ar(a,c),i?t.classBindings=s:t.styleBindings=s}function dv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&dn(i,t)>=0&&(n[r+1]=Gi(n[r+1]))}function bc(e,t,n,r){let o=e[n+1],i=t===null,s=r?ot(o):kt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];fv(c,t)&&(a=!0,e[s+1]=r?Gi(l):zi(l)),s=r?ot(l):kt(l)}a&&(e[n+1]=r?zi(o):Gi(o))}function fv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?dn(e,t)>=0:!1}var le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pv(e){return e.substring(le.key,le.keyEnd)}function hv(e){return gv(e),vd(e,Id(e,0,le.textEnd))}function vd(e,t){let n=le.textEnd;return n===t?-1:(t=le.keyEnd=mv(e,le.key=t,n),Id(e,t,n))}function gv(e){le.key=0,le.keyEnd=0,le.value=0,le.valueEnd=0,le.textEnd=e.length}function Id(e,t,n){for(;t32;)t++;return t}function yv(e,t,n){let r=w(),o=it();if(se(r,o,t)){let i=P(),s=fn();so(i,s,r,e,t,r[A],n,!1)}return yv}function Zi(e,t,n,r,o){Fs(t,e,n,o?"class":"style",r)}function vv(e,t){return Ev(e,t,null,!0),vv}function q_(e){wv(_v,Iv,e,!0)}function Iv(e,t){for(let n=hv(t);n>=0;n=vd(t,n))fs(e,pv(t),!0)}function Ev(e,t,n,r){let o=w(),i=P(),s=Kr(2);if(i.firstUpdatePass&&wd(i,e,s,r),t!==Y&&se(o,s,t)){let a=i.data[we()];Dd(i,a,o,o[A],e,o[s+1]=Nv(t,n),r,s)}}function wv(e,t,n,r){let o=P(),i=Kr(2);o.firstUpdatePass&&wd(o,null,i,r);let s=w();if(n!==Y&&se(s,i,n)){let a=o.data[we()];if(bd(a,r)&&!Ed(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ti(c,n||"")),Zi(o,a,s,n,r)}else Tv(o,a,s,s[A],s[i+1],s[i+1]=xv(e,t,n),r,i)}}function Ed(e,t){return t>=e.expandoStartIndex}function wd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=Ed(e,n);bd(i,r)&&t===null&&!s&&(t=!1),t=Dv(o,i,t,r),uv(o,i,t,n,s,r)}}function Dv(e,t,n,r){let o=Gp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Jo(null,e,t,n,r),n=ln(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Jo(o,e,t,n,r),i===null){let c=bv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Jo(null,e,t,c[1],r),c=ln(c,t.attrs,r),Mv(e,t,r,c))}else i=Cv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function bv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(kt(r)!==0)return e[ot(r)]}function Mv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ot(o)]=r}function Cv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,f=u===null,p=n[o+1];p===Y&&(p=f?G:void 0);let d=f?$o(p,r):u===r?p:void 0;if(l&&!Hr(d)&&(d=$o(c,r)),Hr(d)&&(a=d,s))return a;let h=e[o+1];o=s?ot(h):kt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=$o(c,r))}return a}function Hr(e){return e!==void 0}function Nv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=X(oo(e)))),e}function bd(e,t){return(e.flags&(t?8:16))!==0}var Qi=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ko(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Sv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],f=Ko(i,l,i,u,n);if(f!==0){f<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),d=t[c],h=Ko(s,p,c,d,n);if(h!==0){h<0&&e.updateValue(s,d),s--,c--;continue}let g=n(i,l),R=n(s,p),_=n(i,u);if(Object.is(_,R)){let de=n(c,d);Object.is(de,g)?(e.swap(i,s),e.updateValue(s,d),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new $r,o??=xc(e,i,s,n),Yi(e,r,i,_))e.updateValue(i,u),i++,s++;else if(o.has(_))r.set(g,e.detach(i)),s--;else{let de=e.create(i,t[i]);e.attach(i,de),i++,s++}}for(;i<=c;)Cc(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),f=l.value,p=Ko(i,u,i,f,n);if(p!==0)p<0&&e.updateValue(i,f),i++,l=c.next();else{r??=new $r,o??=xc(e,i,s,n);let d=n(i,f);if(Yi(e,r,i,d))e.updateValue(i,f),i++,s++,l=c.next();else if(!o.has(d))e.attach(i,e.create(i,f)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Cc(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Yi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Cc(e,t,n,r,o){if(Yi(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function xc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var $r=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function W_(e,t){hn("NgControlFlow");let n=w(),r=it(),o=n[r]!==Y?n[r]:-1,i=o!==-1?Br(n,q+o):void 0,s=0;if(se(n,r,e)){let a=D(null);try{if(i!==void 0&&Wu(i,s),e!==-1){let c=q+e,l=Br(n,c),u=es(n[E],c),f=Nt(l,u.tView.ssrId),p=mn(n,u,t,{dehydratedView:f});yn(l,p,s,Tt(u,f))}}finally{D(a)}}else if(i!==void 0){let a=qu(i,s);a!==void 0&&(a[j]=t)}}var Ji=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function z_(e){return e}function G_(e,t){return t}var Ki=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Z_(e,t,n,r,o,i,s,a,c,l,u,f,p){hn("NgControlFlow");let d=w(),h=P(),g=c!==void 0,R=w(),_=a?s.bind(R[ne][j]):s,de=new Ki(g,_);R[q+e]=de,Vr(d,h,e+1,t,n,r,o,_t(h.consts,i)),g&&Vr(d,h,e+2,c,l,u,f,_t(h.consts,p))}var Xi=class extends Qi{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-B}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Mt];this.needsIndexUpdate||=t!==this.length,yn(this.lContainer,n,t,Tt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,kv(this.lContainer,t)}create(t,n){let r=Nt(this.lContainer,this.templateTNode.tView.ssrId),o=mn(this.hostLView,this.templateTNode,new Ji(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){ao(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Cs(!0),yu(r,o,Tl()));function Y_(){return w()}function Pv(e,t,n){let r=w(),o=it();if(se(r,o,t)){let i=P(),s=fn();so(i,s,r,e,t,r[A],n,!0)}return Pv}var Ur="en-US";var Lv=Ur;function Fv(e){typeof e=="string"&&(Lv=e.toLowerCase().replace(/_/g,"-"))}function _c(e,t,n){return function r(o){if(o===Function)return n;let i=Ot(e)?ve(e.index,t):t;qs(i,5);let s=t[j],a=Tc(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Tc(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Tc(e,t,n,r){let o=D(null);try{return O(6,t,n),n(r)!==!1}catch(i){return jv(e,i),!1}finally{O(7,t,n),D(o)}}function jv(e,t){let n=e[Ct],r=n?n.get(je,null):null;r&&r.handleError(t)}function Nc(e,t,n,r,o,i){let s=t[n],a=t[E],l=a.data[n].outputs[r],u=s[l],f=a.firstCreatePass?Es(a):null,p=Is(t),d=u.subscribe(i),h=p.length;p.push(i,d),f&&f.push(o,e.index,h,-(h+1))}function Vv(e,t,n,r){let o=w(),i=P(),s=Q();return xd(i,o,o[A],s,e,t,r),Vv}function Hv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function xd(e,t,n,r,o,i,s){let a=ms(r),l=e.firstCreatePass?Es(e):null,u=Is(t),f=!0;if(r.type&3||s){let p=Ee(r,t),d=s?s(p):p,h=u.length,g=s?_=>s(ye(_[r.index])):r.index,R=null;if(!s&&a&&(R=Hv(e,t,o,r.index)),R!==null){let _=R.__ngLastListenerFn__||R;_.__ngNextListenerFn__=i,R.__ngLastListenerFn__=i,f=!1}else{i=_c(r,t,i),Uh(t,d,o,i);let _=n.listen(d,o,i);u.push(i,_),l&&l.push(o,g,h,h+1)}}else i=_c(r,t,i);if(f){let p=r.outputs?.[o],d=r.hostDirectiveOutputs?.[o];if(d&&d.length)for(let h=0;h(Cs(!0),ug(t[A],r));function Wv(e){return _d("",e,""),Wv}function _d(e,t,n){let r=w(),o=yd(r,e,t,n);return o!==Y&&Ys(r,we(),o),_d}function zv(e,t,n,r,o){let i=w(),s=iv(i,e,t,n,r,o);return s!==Y&&Ys(i,we(),s),zv}function Gv(e,t,n,r,o,i,s){let a=w(),c=sv(a,e,t,n,r,o,i,s);return c!==Y&&Ys(a,we(),c),Gv}function Ys(e,t,n){let r=fl(t,e);dg(e[A],r,n)}function Zv(e,t,n){Jl(t)&&(t=t());let r=w(),o=it();if(se(r,o,t)){let i=P(),s=fn();so(i,s,r,e,t,r[A],n,!1)}return Zv}function cT(e,t){let n=Jl(e);return n&&e.set(t),n}function Qv(e,t){let n=w(),r=P(),o=Q();return xd(r,n,n[A],o,e,t),Qv}var Yv={};function Jv(e){let t=P(),n=w(),r=e+q,o=vn(t,r,128,null,null);return Lt(o,!1),Np(t,n,r,Yv),Jv}function Kv(e,t,n){let r=P();if(r.firstCreatePass){let o=me(e);ts(n,r.data,r.blueprint,o,!0),ts(t,r.data,r.blueprint,o,!1)}}function ts(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i>20;if(bt(e)||!e.multi){let d=new tt(l,o,Ws),h=ei(c,t,o?u:u+p,f);h===-1?(pi(xr(a,s),i,c),Xo(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(d),s.push(d)):(n[h]=d,s[h]=d)}else{let d=ei(c,t,u+p,f),h=ei(c,t,u,u+p),g=d>=0&&n[d],R=h>=0&&n[h];if(o&&!R||!o&&!g){pi(xr(a,s),i,c);let _=tI(o?eI:Xv,n.length,o,r,l);!o&&R&&(n[h].providerFactory=_),Xo(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Td(n[o?h:d],l,!o&&r);Xo(i,e,d>-1?d:h,_)}!o&&r&&R&&n[h].componentProviders++}}}function Xo(e,t,n,r){let o=bt(t),i=mp(t);if(o||i){let c=(i?H(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Td(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ei(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Kv(r,o?o(e):e,t)}}function uT(e,t,n){let r=Bp()+e,o=w();return o[r]===Y?$y(o,r,n?t.call(n):t()):By(o,r)}function dT(e,t){return lo(e,t)}var cr=null;function nI(e){cr!==null&&(e.defaultEncapsulation!==cr.defaultEncapsulation||e.preserveWhitespaces!==cr.preserveWhitespaces)||(cr=e)}var rs=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},fT=new rs("19.2.25"),os=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},pT=(()=>{class e{compileModuleSync(n){return new jr(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Yc(n),i=wu(o.declarations).reduce((s,a)=>{let c=Le(a);return c&&s.push(new rt(c)),s},[]);return new os(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rI=new S("");function oI(e,t,n){let r=new jr(n);return Promise.resolve(r)}function Sc(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var iI=(()=>{class e{zone=C(Z);changeDetectionScheduler=C(nt);applicationRef=C(St);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Z(J($({},Nd()),{scheduleInRootZone:n})),[{provide:Z,useFactory:e},{provide:vr,multi:!0,useFactory:()=>{let r=C(iI,{optional:!0});return()=>r.initialize()}},{provide:vr,multi:!0,useFactory:()=>{let r=C(aI);return()=>{r.initialize()}}},t===!0?{provide:Wl,useValue:!0}:[],{provide:zl,useValue:n??Ul}]}function Nd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var aI=(()=>{class e{subscription=new L;initialized=!1;zone=C(Z);pendingTasks=C(eo);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cI=(()=>{class e{appRef=C(St);taskService=C(eo);ngZone=C(Z);zonelessEnabled=C(ql);tracing=C(no,{optional:!0});disableScheduling=C(Wl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Tr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(zl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Nr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Ka:Gl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Tr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ka(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lI(){return typeof $localize<"u"&&$localize.locale||Ur}var Sd=new S("",{providedIn:"root",factory:()=>C(Sd,x.Optional|x.SkipSelf)||lI()});var qr=new S(""),uI=new S("");function Zt(e){return!e.moduleRef}function dI(e){let t=Zt(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Z);return n.run(()=>{Zt(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(je,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Zt(e)){let i=()=>t.destroy(),s=e.platformInjector.get(qr);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(qr);s.add(i),e.moduleRef.onDestroy(()=>{pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return pI(r,n,()=>{let i=t.get(gd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Sd,Ur);if(Fv(s||Ur),!t.get(uI,!0))return Zt(e)?t.get(St):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Zt(e)){let c=t.get(St);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return fI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function fI(e,t){let n=e.injector.get(St);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new b(-403,!1);t.push(e)}function pI(e,t,n){try{let r=n();return pd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var kd=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>Eh(r?.ngZone,J($({},Nd({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[sI({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:nt,useExisting:cI}],c=Dy(n.moduleType,this.injector,a);return dI({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=md({},r);return oI(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(qr,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(te(Ie))};static \u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Js=null;function hI(e){if(Ks())throw new b(400,!1);ev(),Js=e;let t=e.get(kd);return vI(e),t}function gI(e,t,n=[]){let r=`Platform: ${t}`,o=new S(r);return(i=[])=>{let s=Ks();if(!s){let a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??hI(mI(a,r))}return yI(o)}}function mI(e=[],t){return Ie.create({name:t,providers:[{provide:tl,useValue:"platform"},{provide:qr,useValue:new Set([()=>Js=null])},...e]})}function yI(e){let t=Ks();if(!t)throw new b(401,!1);return t}function Ks(){return Js?.get(kd)??null}function vI(e){let t=e.get(Rh,null);rl(e,()=>{t?.forEach(n=>n())})}var hT=(()=>{class e{static __NG_ELEMENT_ID__=II}return e})();function II(e){return EI(Q(),w(),(e&16)===16)}function EI(e,t,n){if(Ot(e)&&!n){let r=ve(e.index,t);return new an(r,r)}else if(e.type&175){let r=t[ne];return new an(r,t)}return null}var is=class{constructor(){}supports(t){return ud(t)}create(t){return new ss(t)}},wI=(e,t)=>t,ss=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||wI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new as(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Wr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Wr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},as=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},cs=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Wr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new cs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function kc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{class e{factories;static \u0275prov=V({token:e,providedIn:"root",factory:Rc});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rc()),deps:[[e,new op,new rp]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();var gT=gI(null,"core",[]),mT=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(te(St))};static \u0275mod=_y({type:e});static \u0275inj=$f({})}return e})();function yT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function vT(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function IT(e){return Mo(e)}function ET(e,t){return xn(e,t?.equal)}var ls=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function bI(e,t){!t?.injector&&gs(bI);let n=t?.injector??C(Ie),r=t?.manualCleanup!==!0?n.get(Ft):null,o,i=n.get(Ss,null,{optional:!0}),s=n.get(nt);return i!==null&&!t?.forceRoot?(o=xI(i.view,s,e),r instanceof _r&&r._lView===i.view&&(r=null)):o=_I(e,n.get(fd),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ls(o)}var Rd=J($({},st),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:rn,run(){if(this.dirty=!1,this.hasRun&&!bn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Ht(this),n=br(!1);try{this.maybeCleanup(),this.fn(e)}finally{br(n),Dn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),MI=J($({},Rd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),CI=J($({},Rd),{consumerMarkedDirty(){this.view[v]|=8192,Pt(this.view),this.notifier.notify(13)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Je]?.delete(this)}});function xI(e,t,n){let r=Object.create(CI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Je]??=new Set,e[Je].add(r),r.consumerMarkedDirty(r),r}function _I(e,t,n){let r=Object.create(MI);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function wT(e,t){let n=Le(e),r=t.elementInjector||Qr();return new rt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function DT(e){let t=Le(e);if(!t)return null;let n=new rt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{$ as a,J as b,TI as c,L as d,Gd as e,T as f,Ao as g,Po as h,re as i,Ut as j,qe as k,pe as l,rf as m,of as n,sf as o,ze as p,Me as q,hf as r,Ce as s,zt as t,ht as u,mf as v,yf as w,vf as x,Ge as y,If as z,Oa as A,Ef as B,wf as C,Gt as D,gt as E,Df as F,bf as G,xf as H,_f as I,jo as J,Tf as K,Nf as L,Sf as M,Ho as N,kf as O,Rf as P,Of as Q,Af as R,Pf as S,Lf as T,b as U,Kt as V,jc as W,V as X,$f as Y,i_ as Z,S as _,x as $,te as aa,C as ba,dp as ca,tl as da,Fe as ea,rl as fa,s_ as ga,a_ as ha,c_ as ia,l_ as ja,u_ as ka,dh as la,Ie as ma,Ja as na,Ft as oa,nt as pa,eo as qa,Oe as ra,Z as sa,je as ta,d_ as ua,to as va,Mh as wa,Ch as xa,vi as ya,f_ as za,p_ as Aa,Rh as Ba,h_ as Ca,g_ as Da,m_ as Ea,no as Fa,hn as Ga,Vh as Ha,Hh as Ia,on as Ja,oo as Ka,uu as La,y_ as Ma,v_ as Na,I_ as Oa,E_ as Pa,w_ as Qa,du as Ra,D_ as Sa,ks as Ta,b_ as Ua,M_ as Va,Ri as Wa,Rr as Xa,Or as Ya,k_ as Za,Ws as _a,R_ as $a,zs as ab,A_ as bb,P_ as cb,cn as db,wy as eb,by as fb,j_ as gb,_y as hb,V_ as ib,Ry as jb,H_ as kb,Wy as lb,$_ as mb,Zy as nb,Qy as ob,B_ as pb,Yy as qb,pd as rb,U_ as sb,Xy as tb,St as ub,ov as vb,yv as wb,vv as xb,q_ as yb,W_ as zb,z_ as Ab,G_ as Bb,Z_ as Cb,Q_ as Db,Md as Eb,Cd as Fb,Ov as Gb,Y_ as Hb,Pv as Ib,Vv as Jb,J_ as Kb,K_ as Lb,X_ as Mb,Uv as Nb,eT as Ob,tT as Pb,nT as Qb,rT as Rb,oT as Sb,iT as Tb,sT as Ub,aT as Vb,Wv as Wb,_d as Xb,zv as Yb,Gv as Zb,Zv as _b,cT as $b,Qv as ac,Jv as bc,lT as cc,uT as dc,dT as ec,fT as fc,pT as gc,gI as hc,hT as ic,DI as jc,gT as kc,mT as lc,yT as mc,vT as nc,IT as oc,ET as pc,bI as qc,wT as rc,DT as sc}; diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 55268fa..acdff42 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -8,8 +8,8 @@ - + - + diff --git a/src/main/resources/static/main-AMMPWVTO.js b/src/main/resources/static/main-AMMPWVTO.js deleted file mode 100644 index e4d55aa..0000000 --- a/src/main/resources/static/main-AMMPWVTO.js +++ /dev/null @@ -1,28 +0,0 @@ -import{$ as as,$a as Xo,$b as Ee,A as Tt,Aa as Mn,Ab as td,B as Ft,Ba as Vc,Bb as id,C as Yo,Ca as zt,Cb as hs,D as ts,Da as De,Db as ms,E as Re,Ea as Rn,Eb as u,F as Ic,Fa as jc,Fb as d,G as is,Ga as Tn,Gb as z,H as Ot,Ha as Zo,Hb as ge,I as jt,Ia as Xe,Ib as je,J as ns,Ja as Fn,Jb as O,K as Mc,Ka as hi,Kb as w,L as os,La as Vi,Lb as ue,M as Rc,Ma as Uc,Mb as B,N as Tc,Na as zc,Nb as nd,O as rs,Oa as Hc,Ob as he,P as Ko,Pa as $c,Pb as ve,Q as Te,Qa as Gc,Qb as $,R as we,Ra as Wc,Rb as G,S as le,Sa as qc,Sb as od,T as de,Ta as Qe,Tb as rd,U as H,Ua as Yc,Ub as pe,V as kt,Va as m,Vb as f,W as Ve,Wa as ji,Wb as Oe,X as g,Xa as wt,Xb as be,Y as Z,Ya as Fe,Yb as ad,Z as Fc,Za as _e,Zb as sd,_ as v,_a as y,_b as xe,a as _,aa as A,ab as lt,ac as Se,b as re,ba as l,bb as Kc,bc as ld,ca as Bi,cb as Zc,cc as se,d as Pe,da as Oc,db as Qo,dc as ir,e as Sc,ea as Le,eb as Xc,ec as nr,f as mt,fa as st,fb as Jo,fc as ps,g as Xa,ga as me,gb as x,gc as cd,h as Qa,ha as Q,hb as X,hc as dd,i as C,ia as J,ib as I,ic as ye,j as He,ja as kc,jb as ee,jc as fs,k as pt,ka as ce,kb as Qc,kc as ud,l as Ie,la as ss,lb as E,lc as hd,m as D,ma as ie,mb as cs,mc as L,n as di,na as Pc,nb as Jc,nc as Ui,o as Ja,oa as ls,ob as er,oc as ct,p as Ac,pa as Lc,pb as tr,pc as Pt,q as k,qa as An,qb as ds,qc as or,r as Ni,ra as q,rb as On,rc as rr,s as $e,sa as T,sb as us,sc as md,t as Sn,ta as Ut,tb as ed,u as Wo,ua as Nc,ub as mi,v as Rt,va as P,vb as V,w as qo,wa as ui,wb as b,x as Ge,xa as Ct,xb as N,y as oe,ya as In,yb as Je,z as es,za as Bc,zb as ae}from"./chunk-ZQSDF5TI.js";var R=new v("");var gd=null;function et(){return gd}function gs(i){gd??=i}var kn=class{},Pn=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(_d),providedIn:"platform"})}return i})(),_s=new v(""),_d=(()=>{class i extends Pn{_location;_history;_doc=l(R);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return et().getBaseHref(this._doc)}onPopState(e){let t=et().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=et().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,o){this._history.pushState(e,t,o)}replaceState(e,t,o){this._history.replaceState(e,t,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>new i,providedIn:"platform"})}return i})();function ar(i,n){return i?n?i.endsWith("/")?n.startsWith("/")?i+n.slice(1):i+n:n.startsWith("/")?i+n:`${i}/${n}`:i:n}function pd(i){let n=i.search(/#|\?|$/);return i[n-1]==="/"?i.slice(0,n-1)+i.slice(n):i}function ft(i){return i&&i[0]!=="?"?`?${i}`:i}var gt=(()=>{class i{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(lr),providedIn:"root"})}return i})(),sr=new v(""),lr=(()=>{class i extends gt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??l(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ar(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+ft(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${t}${o}`:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r));this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r));this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||i)(A(Pn),A(sr,8))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Dt=(()=>{class i{_subject=new C;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=Ip(pd(fd(t))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+ft(t))}normalize(e){return i.stripTrailingSlash(Ap(this._basePath,fd(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",o=null){this._locationStrategy.pushState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ft(t)),o)}replaceState(e,t="",o=null){this._locationStrategy.replaceState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ft(t)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(o=>o(e,t))}subscribe(e,t,o){return this._subject.subscribe({next:e,error:t??void 0,complete:o??void 0})}static normalizeQueryParams=ft;static joinWithSlash=ar;static stripTrailingSlash=pd;static \u0275fac=function(t){return new(t||i)(A(gt))};static \u0275prov=g({token:i,factory:()=>Sp(),providedIn:"root"})}return i})();function Sp(){return new Dt(A(gt))}function Ap(i,n){if(!i||!n.startsWith(i))return n;let e=n.substring(i.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function fd(i){return i.replace(/\/index.html$/,"")}function Ip(i){if(new RegExp("^(https?:)?//").test(i)){let[,e]=i.split(/\/\/[^\/]+/);return e}return i}var vs=(()=>{class i extends gt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,t!=null&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){let t=ar(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+ft(r))||this._platformLocation.pathname;this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||i)(A(Pn),A(sr,8))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();var cr=class{$implicit;ngForOf;index;count;constructor(n,e,t,o){this.$implicit=n,this.ngForOf=e,this.index=t,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ht=(()=>{class i{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,o){this._viewContainer=e,this._template=t,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((o,r,a)=>{if(o.previousIndex==null)t.createEmbeddedView(this._template,new cr(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)t.remove(r===null?void 0:r);else if(r!==null){let s=t.get(r);t.move(s,a),vd(s,o)}});for(let o=0,r=t.length;o{let r=t.get(o.currentIndex);vd(r,o)})}static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||i)(y(lt),y(wt),y(fs))};static \u0275dir=I({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return i})();function vd(i,n){i.context.$implicit=n.item}var Ue=(()=>{class i{_viewContainer;_context=new dr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){bd(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){bd(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||i)(y(lt),y(wt))};static \u0275dir=I({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return i})(),dr=class{$implicit=null;ngIf=null};function bd(i,n){if(i&&!i.createEmbeddedView)throw new H(2020,!1)}var bs=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,o):!1,get:(e,t,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,o)}})}static \u0275fac=function(t){return new(t||i)(y(lt))};static \u0275dir=I({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[me]})}return i})();var ys=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();function Ln(i,n){n=encodeURIComponent(n);for(let e of i.split(";")){let t=e.indexOf("="),[o,r]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}var ur="browser",yd="server";function Cs(i){return i===ur}function hr(i){return i===yd}var pi=class{};var wd=(()=>{class i{static \u0275prov=g({token:i,providedIn:"root",factory:()=>new ws(l(R),window)})}return i})(),ws=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=Tp(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),t=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(t-r[0],o-r[1])}};function Tp(i,n){let e=i.getElementById(n)||i.getElementsByName(n)[0];if(e)return e;if(typeof i.createTreeWalker=="function"&&i.body&&typeof i.body.attachShadow=="function"){let t=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT),o=t.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(a)return a}o=t.nextNode()}}return null}var fr=new v(""),Ss=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o,r){return this._findPluginFor(t).addEventListener(e,t,o,r)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new H(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||i)(A(fr),A(T))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Nn=class{_doc;constructor(n){this._doc=n}manager},mr="ng-app-id";function Dd(i){for(let n of i)n.remove()}function xd(i,n){let e=n.createElement("style");return e.textContent=i,e}function Fp(i,n,e,t){let o=i.head?.querySelectorAll(`style[${mr}="${n}"],link[${mr}="${n}"]`);if(o)for(let r of o)r.removeAttribute(mr),r instanceof HTMLLinkElement?t.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&e.set(r.textContent,{usage:0,elements:[r]})}function xs(i,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",i),e}var As=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,r={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=hr(r),Fp(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,xd);t?.forEach(o=>this.addUsage(o,this.external,xs))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(Dd(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Dd(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,xd(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,xs(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(mr,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||i)(A(R),A(Mn),A(Rn,8),A(zt))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Ds={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Is=/%COMP%/g;var Sd="%COMP%",Op=`_nghost-${Sd}`,kp=`_ngcontent-${Sd}`,Pp=!0,Lp=new v("",{providedIn:"root",factory:()=>Pp});function Np(i){return kp.replace(Is,i)}function Bp(i){return Op.replace(Is,i)}function Ad(i,n){return n.map(e=>e.replace(Is,i))}var jn=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,r,a,s,c,h=null,p=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.platformId=s,this.ngZone=c,this.nonce=h,this.tracingService=p,this.platformIsServer=hr(s),this.defaultRenderer=new Bn(e,a,c,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Fn.ShadowDom&&(t=re(_({},t),{encapsulation:Fn.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof pr?o.applyToHost(e):o instanceof Vn&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,r=o.get(t.id);if(!r){let a=this.doc,s=this.ngZone,c=this.eventManager,h=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,M=this.platformIsServer,j=this.tracingService;switch(t.encapsulation){case Fn.Emulated:r=new pr(c,h,t,this.appId,p,a,s,M,j);break;case Fn.ShadowDom:return new Es(c,h,e,t,a,s,this.nonce,M,j);default:r=new Vn(c,h,t,p,a,s,M,j);break}o.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||i)(A(Ss),A(As),A(Mn),A(Lp),A(R),A(zt),A(T),A(Rn),A(jc,8))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Bn=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,o,r){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=o,this.tracingService=r}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Ds[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Ed(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(Ed(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new H(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;let r=Ds[o];r?n.setAttributeNS(r,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let o=Ds[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(ji.DashCase|ji.Important)?n.style.setProperty(e,t,o&ji.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&ji.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,o){if(typeof n=="string"&&(n=et().getGlobalEventTarget(this.doc,n),!n))throw new H(5102,!1);let r=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(n,e,r)),this.eventManager.addEventListener(n,e,r,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Ed(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Es=class extends Bn{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,o,r,a,s,c,h){super(n,r,a,c,h),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let p=o.styles;p=Ad(o.id,p);for(let j of p){let U=document.createElement("style");s&&U.setAttribute("nonce",s),U.textContent=j,this.shadowRoot.appendChild(U)}let M=o.getExternalStyles?.();if(M)for(let j of M){let U=xs(j,r);s&&U.setAttribute("nonce",s),this.shadowRoot.appendChild(U)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Vn=class extends Bn{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,o,r,a,s,c,h){super(n,r,a,s,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let p=t.styles;this.styles=h?Ad(h,p):p,this.styleUrls=t.getExternalStyles?.(h)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},pr=class extends Vn{contentAttr;hostAttr;constructor(n,e,t,o,r,a,s,c,h){let p=o+"-"+t.id;super(n,e,t,r,a,s,c,h,p),this.contentAttr=Np(p),this.hostAttr=Bp(p)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var gr=class i extends kn{supportsDOMEvents=!0;static makeCurrent(){gs(new i)}onAndCancel(n,e,t,o){return n.addEventListener(e,t,o),()=>{n.removeEventListener(e,t,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Vp();return e==null?null:jp(e)}resetBaseElement(){Un=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ln(document.cookie,n)}},Un=null;function Vp(){return Un=Un||document.head.querySelector("base"),Un?Un.getAttribute("href"):null}function jp(i){return new URL(i,document.baseURI).pathname}var _r=class{addToWindow(n){kt.getAngularTestability=(t,o=!0)=>{let r=n.findTestabilityInTree(t,o);if(r==null)throw new H(5103,!1);return r},kt.getAllAngularTestabilities=()=>n.getAllTestabilities(),kt.getAllAngularRootElements=()=>n.getAllRootElements();let e=t=>{let o=kt.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&t()};o.forEach(s=>{s.whenStable(a)})};kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,t){if(e==null)return null;let o=n.getTestability(e);return o??(t?et().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},Up=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Md=(()=>{class i extends Nn{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o,r){return e.addEventListener(t,o,r),()=>this.removeEventListener(e,t,o,r)}removeEventListener(e,t,o,r){return e.removeEventListener(t,o,r)}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Id=["alt","control","meta","shift"],zp={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hp={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},Rd=(()=>{class i extends Nn{constructor(e){super(e)}supports(e){return i.parseEventName(e)!=null}addEventListener(e,t,o,r){let a=i.parseEventName(t),s=i.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>et().onAndCancel(e,a.domEventName,s,r))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let r=i._normalizeKey(t.pop()),a="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),a="code."),Id.forEach(h=>{let p=t.indexOf(h);p>-1&&(t.splice(p,1),a+=h+".")}),a+=r,t.length!=0||r.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(e,t){let o=zp[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Id.forEach(a=>{if(a!==o){let s=Hp[a];s(e)&&(r+=a+".")}}),r+=o,r===t)}static eventCallback(e,t,o){return r=>{i.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>t(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();function $p(){gr.makeCurrent()}function Gp(){return new Ut}function Wp(){return Bc(document),document}var qp=[{provide:zt,useValue:ur},{provide:Vc,useValue:$p,multi:!0},{provide:R,useFactory:Wp}],Ms=dd(ud,"browser",qp);var Yp=[{provide:er,useClass:_r},{provide:Jc,useClass:tr,deps:[T,ds,er]},{provide:tr,useClass:tr,deps:[T,ds,er]}],Kp=[{provide:Oc,useValue:"root"},{provide:Ut,useFactory:Gp},{provide:fr,useClass:Md,multi:!0,deps:[R]},{provide:fr,useClass:Rd,multi:!0,deps:[R]},jn,As,Ss,{provide:Fe,useExisting:jn},{provide:pi,useClass:Up},[]],Rs=(()=>{class i{constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({providers:[...Kp,...Yp],imports:[ys,hd]})}return i})();var Hi=class{},zn=class{},xt=class i{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let t=e.indexOf(":");if(t>0){let o=e.slice(0,t),r=e.slice(t+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new i;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let t=n.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...t),this.headers.set(e,o);break;case"d":let r=n.value;if(!r)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=this.headers.get(e);if(!a)return;a=a.filter(s=>r.indexOf(s)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let t=n.toLowerCase();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(n,e){let t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,t),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var br=class{encodeKey(n){return Td(n)}encodeValue(n){return Td(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Zp(i,n){let e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,s]=r==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],c=e.get(a)||[];c.push(s),e.set(a,c)}),e}var Xp=/%(\d[a-f0-9])/gi,Qp={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Td(i){return encodeURIComponent(i).replace(Xp,(n,e)=>Qp[e]??n)}function vr(i){return`${i}`}var Lt=class i{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new br,n.fromString){if(n.fromObject)throw new H(2805,!1);this.map=Zp(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let t=n.fromObject[e],o=Array.isArray(t)?t.map(vr):[vr(t)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(t=>{let o=n[t];Array.isArray(o)?o.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new i({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(vr(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let t=this.map.get(n.param)||[],o=t.indexOf(vr(n.value));o!==-1&&t.splice(o,1),t.length>0?this.map.set(n.param,t):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var yr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Jp(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Fd(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Od(i){return typeof Blob<"u"&&i instanceof Blob}function kd(i){return typeof FormData<"u"&&i instanceof FormData}function ef(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Pd="Content-Type",Ld="Accept",Bd="X-Request-URL",Vd="text/plain",jd="application/json",tf=`${jd}, ${Vd}, */*`,zi=class i{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,e,t,o){this.url=e,this.method=n.toUpperCase();let r;if(Jp(this.method)||o?(this.body=t!==void 0?t:null,r=o):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new xt,this.context??=new yr,!this.params)this.params=new Lt,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let s=e.indexOf("?"),c=s===-1?"?":sj.set(U,n.setHeaders[U]),h)),n.setParams&&(p=Object.keys(n.setParams).reduce((j,U)=>j.set(U,n.setParams[U]),p)),new i(e,t,a,{params:p,headers:h,context:M,reportProgress:c,responseType:o,withCredentials:s,transferCache:r})}},fi=(function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i})(fi||{}),$i=class{headers;status;statusText;url;ok;type;constructor(n,e=200,t="OK"){this.headers=n.headers||new xt,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Cr=class i extends $i{constructor(n={}){super(n)}type=fi.ResponseHeader;clone(n={}){return new i({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Hn=class i extends $i{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=fi.Response;clone(n={}){return new i({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},$n=class extends $i{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},nf=200,of=204;function Ts(i,n){return{body:n,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var dt=(()=>{class i{handler;constructor(e){this.handler=e}request(e,t,o={}){let r;if(e instanceof zi)r=e;else{let c;o.headers instanceof xt?c=o.headers:c=new xt(o.headers);let h;o.params&&(o.params instanceof Lt?h=o.params:h=new Lt({fromObject:o.params})),r=new zi(e,t,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=D(r).pipe(Ft(c=>this.handler.handle(c)));if(e instanceof zi||o.observe==="events")return a;let s=a.pipe(oe(c=>c instanceof Hn));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(k(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new H(2806,!1);return c.body}));case"blob":return s.pipe(k(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new H(2807,!1);return c.body}));case"text":return s.pipe(k(c=>{if(c.body!==null&&typeof c.body!="string")throw new H(2808,!1);return c.body}));default:return s.pipe(k(c=>c.body))}case"response":return s;default:throw new H(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new Lt().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,o={}){return this.request("PATCH",e,Ts(o,t))}post(e,t,o={}){return this.request("POST",e,Ts(o,t))}put(e,t,o={}){return this.request("PUT",e,Ts(o,t))}static \u0275fac=function(t){return new(t||i)(A(Hi))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();var rf=new v("");function Ud(i,n){return n(i)}function af(i,n){return(e,t)=>n.intercept(e,{handle:o=>i(o,t)})}function sf(i,n,e){return(t,o)=>st(e,()=>n(t,r=>i(r,o)))}var Dr=new v(""),Os=new v(""),zd=new v(""),ks=new v("",{providedIn:"root",factory:()=>!0});function lf(){let i=null;return(n,e)=>{i===null&&(i=(l(Dr,{optional:!0})??[]).reduceRight(af,Ud));let t=l(An);if(l(ks)){let r=t.add();return i(n,e).pipe(Ot(()=>t.remove(r)))}else return i(n,e)}}var wr=(()=>{class i extends Hi{backend;injector;chain=null;pendingTasks=l(An);contributeToStability=l(ks);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(Os),...this.injector.get(zd,[])]));this.chain=t.reduceRight((o,r)=>sf(o,r,this.injector),Ud)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Ot(()=>this.pendingTasks.remove(t)))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||i)(A(zn),A(Le))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();var cf=/^\)\]\}',?\n/,df=RegExp(`^${Bd}:`,"m");function uf(i){return"responseURL"in i&&i.responseURL?i.responseURL:df.test(i.getAllResponseHeaders())?i.getResponseHeader(Bd):null}var Fs=(()=>{class i{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new H(-2800,!1);let t=this.xhrFactory;return(t.\u0275loadImpl?Ie(t.\u0275loadImpl()):D(null)).pipe(we(()=>new mt(r=>{let a=t.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((F,K)=>a.setRequestHeader(F,K.join(","))),e.headers.has(Ld)||a.setRequestHeader(Ld,tf),!e.headers.has(Pd)){let F=e.detectContentTypeHeader();F!==null&&a.setRequestHeader(Pd,F)}if(e.responseType){let F=e.responseType.toLowerCase();a.responseType=F!=="json"?F:"text"}let s=e.serializeBody(),c=null,h=()=>{if(c!==null)return c;let F=a.statusText||"OK",K=new xt(a.getAllResponseHeaders()),Ze=uf(a)||e.url;return c=new Cr({headers:K,status:a.status,statusText:F,url:Ze}),c},p=()=>{let{headers:F,status:K,statusText:Ze,url:Vt}=h(),fe=null;K!==of&&(fe=typeof a.response>"u"?a.responseText:a.response),K===0&&(K=fe?nf:0);let Za=K>=200&&K<300;if(e.responseType==="json"&&typeof fe=="string"){let xp=fe;fe=fe.replace(cf,"");try{fe=fe!==""?JSON.parse(fe):null}catch(Ep){fe=xp,Za&&(Za=!1,fe={error:Ep,text:fe})}}Za?(r.next(new Hn({body:fe,headers:F,status:K,statusText:Ze,url:Vt||void 0})),r.complete()):r.error(new $n({error:fe,headers:F,status:K,statusText:Ze,url:Vt||void 0}))},M=F=>{let{url:K}=h(),Ze=new $n({error:F,status:a.status||0,statusText:a.statusText||"Unknown Error",url:K||void 0});r.error(Ze)},j=!1,U=F=>{j||(r.next(h()),j=!0);let K={type:fi.DownloadProgress,loaded:F.loaded};F.lengthComputable&&(K.total=F.total),e.responseType==="text"&&a.responseText&&(K.partialText=a.responseText),r.next(K)},Y=F=>{let K={type:fi.UploadProgress,loaded:F.loaded};F.lengthComputable&&(K.total=F.total),r.next(K)};return a.addEventListener("load",p),a.addEventListener("error",M),a.addEventListener("timeout",M),a.addEventListener("abort",M),e.reportProgress&&(a.addEventListener("progress",U),s!==null&&a.upload&&a.upload.addEventListener("progress",Y)),a.send(s),r.next({type:fi.Sent}),()=>{a.removeEventListener("error",M),a.removeEventListener("abort",M),a.removeEventListener("load",p),a.removeEventListener("timeout",M),e.reportProgress&&(a.removeEventListener("progress",U),s!==null&&a.upload&&a.upload.removeEventListener("progress",Y)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(t){return new(t||i)(A(pi))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Hd=new v(""),hf="XSRF-TOKEN",mf=new v("",{providedIn:"root",factory:()=>hf}),pf="X-XSRF-TOKEN",ff=new v("",{providedIn:"root",factory:()=>pf}),Gn=class{},gf=(()=>{class i{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t){this.doc=e,this.cookieName=t}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ln(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||i)(A(R),A(mf))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),_f=/^(?:https?:)?\/\//i;function vf(i,n){if(!l(Hd)||i.method==="GET"||i.method==="HEAD"||_f.test(i.url))return n(i);let e=l(Gn).getToken(),t=l(ff);return e!=null&&!i.headers.has(t)&&(i=i.clone({headers:i.headers.set(t,e)})),n(i)}var Ps=(function(i){return i[i.Interceptors=0]="Interceptors",i[i.LegacyInterceptors=1]="LegacyInterceptors",i[i.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",i[i.NoXsrfProtection=3]="NoXsrfProtection",i[i.JsonpSupport=4]="JsonpSupport",i[i.RequestsMadeViaParent=5]="RequestsMadeViaParent",i[i.Fetch=6]="Fetch",i})(Ps||{});function bf(i,n){return{\u0275kind:i,\u0275providers:n}}function Ls(...i){let n=[dt,Fs,wr,{provide:Hi,useExisting:wr},{provide:zn,useFactory:()=>l(rf,{optional:!0})??l(Fs)},{provide:Os,useValue:vf,multi:!0},{provide:Hd,useValue:!0},{provide:Gn,useClass:gf}];for(let e of i)n.push(...e.\u0275providers);return Bi(n)}var Nd=new v("");function Ns(){return bf(Ps.LegacyInterceptors,[{provide:Nd,useFactory:lf},{provide:Os,useExisting:Nd,multi:!0}])}var Gd=(()=>{class i{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Bs=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:function(t){let o=null;return t?o=new(t||i):o=A(Cf),o},providedIn:"root"})}return i})(),Cf=(()=>{class i extends Bs{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case Qe.NONE:return t;case Qe.HTML:return Vi(t,"HTML")?hi(t):qc(this._doc,String(t)).toString();case Qe.STYLE:return Vi(t,"Style")?hi(t):t;case Qe.SCRIPT:if(Vi(t,"Script"))return hi(t);throw new H(5200,!1);case Qe.URL:return Vi(t,"URL")?hi(t):Wc(String(t));case Qe.RESOURCE_URL:if(Vi(t,"ResourceURL"))return hi(t);throw new H(5201,!1);default:throw new H(5202,!1)}}bypassSecurityTrustHtml(e){return Uc(e)}bypassSecurityTrustStyle(e){return zc(e)}bypassSecurityTrustScript(e){return Hc(e)}bypassSecurityTrustUrl(e){return $c(e)}bypassSecurityTrustResourceUrl(e){return Gc(e)}static \u0275fac=function(t){return new(t||i)(A(R))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var W="primary",ro=Symbol("RouteTitle"),$s=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function vi(i){return new $s(i)}function Jd(i,n,e){let t=e.path.split("/");if(t.length>i.length||e.pathMatch==="full"&&(n.hasChildren()||t.lengtht[r]===o)}else return i===n}function tu(i){return i.length>0?i[i.length-1]:null}function Kt(i){return Ja(i)?i:On(i)?Ie(Promise.resolve(i)):D(i)}var Df={exact:nu,subset:ou},iu={exact:xf,subset:Ef,ignored:()=>!0};function Wd(i,n,e){return Df[e.paths](i.root,n.root,e.matrixParams)&&iu[e.queryParams](i.queryParams,n.queryParams)&&!(e.fragment==="exact"&&i.fragment!==n.fragment)}function xf(i,n){return Et(i,n)}function nu(i,n,e){if(!gi(i.segments,n.segments)||!Sr(i.segments,n.segments,e)||i.numberOfChildren!==n.numberOfChildren)return!1;for(let t in n.children)if(!i.children[t]||!nu(i.children[t],n.children[t],e))return!1;return!0}function Ef(i,n){return Object.keys(n).length<=Object.keys(i).length&&Object.keys(n).every(e=>eu(i[e],n[e]))}function ou(i,n,e){return ru(i,n,n.segments,e)}function ru(i,n,e,t){if(i.segments.length>e.length){let o=i.segments.slice(0,e.length);return!(!gi(o,e)||n.hasChildren()||!Sr(o,e,t))}else if(i.segments.length===e.length){if(!gi(i.segments,e)||!Sr(i.segments,e,t))return!1;for(let o in n.children)if(!i.children[o]||!ou(i.children[o],n.children[o],t))return!1;return!0}else{let o=e.slice(0,i.segments.length),r=e.slice(i.segments.length);return!gi(i.segments,o)||!Sr(i.segments,o,t)||!i.children[W]?!1:ru(i.children[W],n,r,t)}}function Sr(i,n,e){return n.every((t,o)=>iu[e](i[o].parameters,t.parameters))}var At=class{root;queryParams;fragment;_queryParamMap;constructor(n=new ne([],{}),e={},t=null){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=vi(this.queryParams),this._queryParamMap}toString(){return If.serialize(this)}},ne=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ar(this)}},Gt=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=vi(this.parameters),this._parameterMap}toString(){return su(this)}};function Sf(i,n){return gi(i,n)&&i.every((e,t)=>Et(e.parameters,n[t].parameters))}function gi(i,n){return i.length!==n.length?!1:i.every((e,t)=>e.path===n[t].path)}function Af(i,n){let e=[];return Object.entries(i.children).forEach(([t,o])=>{t===W&&(e=e.concat(n(o,t)))}),Object.entries(i.children).forEach(([t,o])=>{t!==W&&(e=e.concat(n(o,t)))}),e}var bi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>new Wt,providedIn:"root"})}return i})(),Wt=class{parse(n){let e=new qs(n);return new At(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${qn(n.root,!0)}`,t=Tf(n.queryParams),o=typeof n.fragment=="string"?`#${Mf(n.fragment)}`:"";return`${e}${t}${o}`}},If=new Wt;function Ar(i){return i.segments.map(n=>su(n)).join("/")}function qn(i,n){if(!i.hasChildren())return Ar(i);if(n){let e=i.children[W]?qn(i.children[W],!1):"",t=[];return Object.entries(i.children).forEach(([o,r])=>{o!==W&&t.push(`${o}:${qn(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Af(i,(t,o)=>o===W?[qn(i.children[W],!1)]:[`${o}:${qn(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[W]!=null?`${Ar(i)}/${e[0]}`:`${Ar(i)}/(${e.join("//")})`}}function au(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xr(i){return au(i).replace(/%3B/gi,";")}function Mf(i){return encodeURI(i)}function Ws(i){return au(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ir(i){return decodeURIComponent(i)}function qd(i){return Ir(i.replace(/\+/g,"%20"))}function su(i){return`${Ws(i.path)}${Rf(i.parameters)}`}function Rf(i){return Object.entries(i).map(([n,e])=>`;${Ws(n)}=${Ws(e)}`).join("")}function Tf(i){let n=Object.entries(i).map(([e,t])=>Array.isArray(t)?t.map(o=>`${xr(e)}=${xr(o)}`).join("&"):`${xr(e)}=${xr(t)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Ff=/^[^\/()?;#]+/;function js(i){let n=i.match(Ff);return n?n[0]:""}var Of=/^[^\/()?;=#]+/;function kf(i){let n=i.match(Of);return n?n[0]:""}var Pf=/^[^=?&#]+/;function Lf(i){let n=i.match(Pf);return n?n[0]:""}var Nf=/^[^&#]+/;function Bf(i){let n=i.match(Nf);return n?n[0]:""}var qs=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ne([],{}):new ne([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(t[W]=new ne(n,e)),t}parseSegment(){let n=js(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new H(4009,!1);return this.capture(n),new Gt(Ir(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=kf(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let o=js(this.remaining);o&&(t=o,this.capture(t))}n[Ir(e)]=Ir(t)}parseQueryParam(n){let e=Lf(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let a=Bf(this.remaining);a&&(t=a,this.capture(t))}let o=qd(e),r=qd(t);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(r)}else n[o]=r}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=js(this.remaining),o=this.remaining[t.length];if(o!=="/"&&o!==")"&&o!==";")throw new H(4010,!1);let r;t.indexOf(":")>-1?(r=t.slice(0,t.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=W);let a=this.parseChildren();e[r]=Object.keys(a).length===1?a[W]:new ne([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new H(4011,!1)}};function lu(i){return i.segments.length>0?new ne([],{[W]:i}):i}function cu(i){let n={};for(let[t,o]of Object.entries(i.children)){let r=cu(o);if(t===W&&r.segments.length===0&&r.hasChildren())for(let[a,s]of Object.entries(r.children))n[a]=s;else(r.segments.length>0||r.hasChildren())&&(n[t]=r)}let e=new ne(i.segments,n);return Vf(e)}function Vf(i){if(i.numberOfChildren===1&&i.children[W]){let n=i.children[W];return new ne(i.segments.concat(n.segments),n.children)}return i}function qt(i){return i instanceof At}function du(i,n,e=null,t=null){let o=uu(i);return hu(o,n,e,t)}function uu(i){let n;function e(r){let a={};for(let c of r.children){let h=e(c);a[c.outlet]=h}let s=new ne(r.url,a);return r===i&&(n=s),s}let t=e(i.root),o=lu(t);return n??o}function hu(i,n,e,t){let o=i;for(;o.parent;)o=o.parent;if(n.length===0)return Us(o,o,o,e,t);let r=jf(n);if(r.toRoot())return Us(o,o,new ne([],{}),e,t);let a=Uf(r,o,i),s=a.processChildren?Kn(a.segmentGroup,a.index,r.commands):pu(a.segmentGroup,a.index,r.commands);return Us(o,a.segmentGroup,s,e,t)}function Rr(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Xn(i){return typeof i=="object"&&i!=null&&i.outlets}function Us(i,n,e,t,o){let r={};t&&Object.entries(t).forEach(([c,h])=>{r[c]=Array.isArray(h)?h.map(p=>`${p}`):`${h}`});let a;i===n?a=e:a=mu(i,n,e);let s=lu(cu(a));return new At(s,r,o)}function mu(i,n,e){let t={};return Object.entries(i.children).forEach(([o,r])=>{r===n?t[o]=e:t[o]=mu(r,n,e)}),new ne(i.segments,t)}var Tr=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&Rr(t[0]))throw new H(4003,!1);let o=t.find(Xn);if(o&&o!==tu(t))throw new H(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function jf(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Tr(!0,0,i);let n=0,e=!1,t=i.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let s={};return Object.entries(r.outlets).forEach(([c,h])=>{s[c]=typeof h=="string"?h.split("/"):h}),[...o,{outlets:s}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((s,c)=>{c==0&&s==="."||(c==0&&s===""?e=!0:s===".."?n++:s!=""&&o.push(s))}),o):[...o,r]},[]);return new Tr(e,n,t)}var qi=class{segmentGroup;processChildren;index;constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}};function Uf(i,n,e){if(i.isAbsolute)return new qi(n,!0,0);if(!e)return new qi(n,!1,NaN);if(e.parent===null)return new qi(e,!0,0);let t=Rr(i.commands[0])?0:1,o=e.segments.length-1+t;return zf(e,o,i.numberOfDoubleDots)}function zf(i,n,e){let t=i,o=n,r=e;for(;r>o;){if(r-=o,t=t.parent,!t)throw new H(4005,!1);o=t.segments.length}return new qi(t,!1,o-r)}function Hf(i){return Xn(i[0])?i[0].outlets:{[W]:i}}function pu(i,n,e){if(i??=new ne([],{}),i.segments.length===0&&i.hasChildren())return Kn(i,n,e);let t=$f(i,n,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==W)&&i.children[W]&&i.numberOfChildren===1&&i.children[W].segments.length===0){let r=Kn(i.children[W],n,e);return new ne(i.segments,r.children)}return Object.entries(t).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=pu(i.children[r],n,a))}),Object.entries(i.children).forEach(([r,a])=>{t[r]===void 0&&(o[r]=a)}),new ne(i.segments,o)}}function $f(i,n,e){let t=0,o=n,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=i.segments[o],s=e[t];if(Xn(s))break;let c=`${s}`,h=t0&&c===void 0)break;if(c&&h&&typeof h=="object"&&h.outlets===void 0){if(!Kd(c,h,a))return r;t+=2}else{if(!Kd(c,{},a))return r;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}function Ys(i,n,e){let t=i.segments.slice(0,n),o=0;for(;o{typeof t=="string"&&(t=[t]),t!==null&&(n[e]=Ys(new ne([],{}),0,t))}),n}function Yd(i){let n={};return Object.entries(i).forEach(([e,t])=>n[e]=`${t}`),n}function Kd(i,n,e){return i==e.path&&Et(n,e.parameters)}var Mr="imperative",Me=(function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i})(Me||{}),it=class{id;url;constructor(n,e){this.id=n,this.url=e}},Yt=class extends it{type=Me.NavigationStart;navigationTrigger;restoredState;constructor(n,e,t="imperative",o=null){super(n,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},nt=class extends it{urlAfterRedirects;type=Me.NavigationEnd;constructor(n,e,t){super(n,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},We=(function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i})(We||{}),Ki=(function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i})(Ki||{}),St=class extends it{reason;code;type=Me.NavigationCancel;constructor(n,e,t,o){super(n,e),this.reason=t,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},It=class extends it{reason;code;type=Me.NavigationSkipped;constructor(n,e,t,o){super(n,e),this.reason=t,this.code=o}},Zi=class extends it{error;target;type=Me.NavigationError;constructor(n,e,t,o){super(n,e),this.error=t,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qn=class extends it{urlAfterRedirects;state;type=Me.RoutesRecognized;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fr=class extends it{urlAfterRedirects;state;type=Me.GuardsCheckStart;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Or=class extends it{urlAfterRedirects;state;shouldActivate;type=Me.GuardsCheckEnd;constructor(n,e,t,o,r){super(n,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kr=class extends it{urlAfterRedirects;state;type=Me.ResolveStart;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pr=class extends it{urlAfterRedirects;state;type=Me.ResolveEnd;constructor(n,e,t,o){super(n,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lr=class{route;type=Me.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Nr=class{route;type=Me.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Br=class{snapshot;type=Me.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Vr=class{snapshot;type=Me.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},jr=class{snapshot;type=Me.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ur=class{snapshot;type=Me.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xi=class{routerEvent;position;anchor;type=Me.Scroll;constructor(n,e,t){this.routerEvent=n,this.position=e,this.anchor=t}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Jn=class{},Qi=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Wf(i,n){return i.providers&&!i._injector&&(i._injector=Jo(i.providers,n,`Route: ${i.path}`)),i._injector??n}function _t(i){return i.outlet||W}function qf(i,n){let e=i.filter(t=>_t(t)===n);return e.push(...i.filter(t=>_t(t)!==n)),e}function ao(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let n=i.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var zr=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ao(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new yi(this.rootInjector)}},yi=(()=>{class i{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let o=this.getOrCreateContext(e);o.outlet=t,this.contexts.set(e,o)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new zr(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||i)(A(Le))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Hr=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Ks(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){let e=Ks(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Zs(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Zs(n,this._root).map(e=>e.value)}};function Ks(i,n){if(i===n.value)return n;for(let e of n.children){let t=Ks(i,e);if(t)return t}return null}function Zs(i,n){if(i===n.value)return[n];for(let e of n.children){let t=Zs(i,e);if(t.length)return t.unshift(n),t}return[]}var tt=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Wi(i){let n={};return i&&i.children.forEach(e=>n[e.value.outlet]=e),n}var eo=class extends Hr{snapshot;constructor(n,e){super(n),this.snapshot=e,ol(this,n)}toString(){return this.snapshot.toString()}};function fu(i){let n=Yf(i),e=new He([new Gt("",{})]),t=new He({}),o=new He({}),r=new He({}),a=new He(""),s=new vt(e,t,r,a,o,W,i,n.root);return s.snapshot=n.root,new eo(new tt(s,[]),n)}function Yf(i){let n={},e={},t={},r=new _i([],n,t,"",e,W,i,null,{});return new to("",new tt(r,[]))}var vt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,t,o,r,a,s,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(k(h=>h[ro]))??D(void 0),this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(k(n=>vi(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(n=>vi(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function $r(i,n,e="emptyOnly"){let t,{routeConfig:o}=i;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?t={params:_(_({},n.params),i.params),data:_(_({},n.data),i.data),resolve:_(_(_(_({},i.data),n.data),o?.data),i._resolvedData)}:t={params:_({},i.params),data:_({},i.data),resolve:_(_({},i.data),i._resolvedData??{})},o&&_u(o)&&(t.resolve[ro]=o.title),t}var _i=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ro]}constructor(n,e,t,o,r,a,s,c,h){this.url=n,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=a,this.component=s,this.routeConfig=c,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=vi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=vi(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},to=class extends Hr{url;constructor(n,e){super(e),this.url=n,ol(this,e)}toString(){return gu(this._root)}};function ol(i,n){n.value._routerState=i,n.children.forEach(e=>ol(i,e))}function gu(i){let n=i.children.length>0?` { ${i.children.map(gu).join(", ")} } `:"";return`${i.value}${n}`}function zs(i){if(i.snapshot){let n=i.snapshot,e=i._futureSnapshot;i.snapshot=e,Et(n.queryParams,e.queryParams)||i.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&i.fragmentSubject.next(e.fragment),Et(n.params,e.params)||i.paramsSubject.next(e.params),wf(n.url,e.url)||i.urlSubject.next(e.url),Et(n.data,e.data)||i.dataSubject.next(e.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function Xs(i,n){let e=Et(i.params,n.params)&&Sf(i.url,n.url),t=!i.parent!=!n.parent;return e&&!t&&(!i.parent||Xs(i.parent,n.parent))}function _u(i){return typeof i.title=="string"||i.title===null}var vu=new v(""),so=(()=>{class i{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=W;activateEvents=new q;deactivateEvents=new q;attachEvents=new q;detachEvents=new q;routerOutletData=Nc(void 0);parentContexts=l(yi);location=l(lt);changeDetector=l(ye);inputBinder=l(lo,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:o}=e.name;if(t)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new H(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new H(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new H(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new H(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new Qs(e,s,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[me]})}return i})(),Qs=class{route;childContexts;parent;outletData;constructor(n,e,t,o){this.route=n,this.childContexts=e,this.parent=t,this.outletData=o}get(n,e){return n===vt?this.route:n===yi?this.childContexts:n===vu?this.outletData:this.parent.get(n,e)}},lo=new v(""),rl=(()=>{class i{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:t}=e,o=Ni([t.queryParams,t.params,t.data]).pipe(we(([r,a,s],c)=>(s=_(_(_({},r),a),s),c===0?D(s):Promise.resolve(s)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let a=md(t.component);if(!a){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of a.inputs)e.activatedComponentRef.setInput(s,r[s])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),al=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,o){t&1&&z(0,"router-outlet")},dependencies:[so],encapsulation:2})}return i})();function sl(i){let n=i.children&&i.children.map(sl),e=n?re(_({},i),{children:n}):_({},i);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==W&&(e.component=al),e}function Kf(i,n,e){let t=io(i,n._root,e?e._root:void 0);return new eo(t,n)}function io(i,n,e){if(e&&i.shouldReuseRoute(n.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=n.value;let o=Zf(i,n,e);return new tt(t,o)}else{if(i.shouldAttach(n.value)){let r=i.retrieve(n.value);if(r!==null){let a=r.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(s=>io(i,s)),a}}let t=Xf(n.value),o=n.children.map(r=>io(i,r));return new tt(t,o)}}function Zf(i,n,e){return n.children.map(t=>{for(let o of e.children)if(i.shouldReuseRoute(t.value,o.value.snapshot))return io(i,t,o);return io(i,t)})}function Xf(i){return new vt(new He(i.url),new He(i.params),new He(i.queryParams),new He(i.fragment),new He(i.data),i.outlet,i.component,i)}var Ji=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},bu="ngNavigationCancelingError";function Gr(i,n){let{redirectTo:e,navigationBehaviorOptions:t}=qt(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=yu(!1,We.Redirect);return o.url=e,o.navigationBehaviorOptions=t,o}function yu(i,n){let e=new Error(`NavigationCancelingError: ${i||""}`);return e[bu]=!0,e.cancellationCode=n,e}function Qf(i){return Cu(i)&&qt(i.url)}function Cu(i){return!!i&&i[bu]}var Jf=(i,n,e,t)=>k(o=>(new Js(n,o.targetRouterState,o.currentRouterState,e,t).activate(i),o)),Js=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,t,o,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=o,this.inputBindingEnabled=r}activate(n){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,n),zs(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){let o=Wi(e);n.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],t),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(n,e,t){let o=n.value,r=e?e.value:null;if(o===r)if(o.component){let a=t.getContext(o.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,r=Wi(n);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(t&&t.outlet){let a=t.outlet.detach(),s=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let t=e.getContext(n.value.outlet),o=t&&n.value.component?t.children:e,r=Wi(n);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(n,e,t){let o=Wi(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],t),this.forwardEvent(new Ur(r.value.snapshot))}),n.children.length&&this.forwardEvent(new Vr(n.value.snapshot))}activateRoutes(n,e,t){let o=n.value,r=e?e.value:null;if(zs(o),o===r)if(o.component){let a=t.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,t);else if(o.component){let a=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let s=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),zs(s.route.value),this.activateChildRoutes(n,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,t)}},Wr=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Yi=class{component;route;constructor(n,e){this.component=n,this.route=e}};function eg(i,n,e){let t=i._root,o=n?n._root:null;return Yn(t,o,e,[t.value])}function tg(i){let n=i.routeConfig?i.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:i,guards:n}}function tn(i,n){let e=Symbol(),t=n.get(i,e);return t===e?typeof i=="function"&&!Fc(i)?i:n.get(i):t}function Yn(i,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=Wi(n);return i.children.forEach(a=>{ig(a,r[a.value.outlet],e,t.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,s])=>Zn(s,e.getContext(a),o)),o}function ig(i,n,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=i.value,a=n?n.value:null,s=e?e.getContext(i.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let c=ng(a,r,r.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Wr(t)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?Yn(i,n,s?s.children:null,t,o):Yn(i,n,e,t,o),c&&s&&s.outlet&&s.outlet.isActivated&&o.canDeactivateChecks.push(new Yi(s.outlet.component,a))}else a&&Zn(n,s,o),o.canActivateChecks.push(new Wr(t)),r.component?Yn(i,null,s?s.children:null,t,o):Yn(i,null,e,t,o);return o}function ng(i,n,e){if(typeof e=="function")return e(i,n);switch(e){case"pathParamsChange":return!gi(i.url,n.url);case"pathParamsOrQueryParamsChange":return!gi(i.url,n.url)||!Et(i.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xs(i,n)||!Et(i.queryParams,n.queryParams);default:return!Xs(i,n)}}function Zn(i,n,e){let t=Wi(i),o=i.value;Object.entries(t).forEach(([r,a])=>{o.component?n?Zn(a,n.children.getContext(r),e):Zn(a,null,e):Zn(a,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Yi(n.outlet.component,o)):e.canDeactivateChecks.push(new Yi(null,o)):e.canDeactivateChecks.push(new Yi(null,o))}function co(i){return typeof i=="function"}function og(i){return typeof i=="boolean"}function rg(i){return i&&co(i.canLoad)}function ag(i){return i&&co(i.canActivate)}function sg(i){return i&&co(i.canActivateChild)}function lg(i){return i&&co(i.canDeactivate)}function cg(i){return i&&co(i.canMatch)}function wu(i){return i instanceof Ac||i?.name==="EmptyError"}var Er=Symbol("INITIAL_VALUE");function en(){return we(i=>Ni(i.map(n=>n.pipe(Re(1),Te(Er)))).pipe(k(n=>{for(let e of n)if(e!==!0){if(e===Er)return Er;if(e===!1||dg(e))return e}return!0}),oe(n=>n!==Er),Re(1)))}function dg(i){return qt(i)||i instanceof Ji}function ug(i,n){return $e(e=>{let{targetSnapshot:t,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:a}}=e;return a.length===0&&r.length===0?D(re(_({},e),{guardsResult:!0})):hg(a,t,o,i).pipe($e(s=>s&&og(s)?mg(t,r,i,n):D(s)),k(s=>re(_({},e),{guardsResult:s})))})}function hg(i,n,e,t){return Ie(i).pipe($e(o=>vg(o.component,o.route,e,n,t)),jt(o=>o!==!0,!0))}function mg(i,n,e,t){return Ie(n).pipe(Ft(o=>Wo(fg(o.route.parent,t),pg(o.route,t),_g(i,o.path,e),gg(i,o.route,e))),jt(o=>o!==!0,!0))}function pg(i,n){return i!==null&&n&&n(new jr(i)),D(!0)}function fg(i,n){return i!==null&&n&&n(new Br(i)),D(!0)}function gg(i,n,e){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return D(!0);let o=t.map(r=>Rt(()=>{let a=ao(n)??e,s=tn(r,a),c=ag(s)?s.canActivate(n,i):st(a,()=>s(n,i));return Kt(c).pipe(jt())}));return D(o).pipe(en())}function _g(i,n,e){let t=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(a=>tg(a)).filter(a=>a!==null).map(a=>Rt(()=>{let s=a.guards.map(c=>{let h=ao(a.node)??e,p=tn(c,h),M=sg(p)?p.canActivateChild(t,i):st(h,()=>p(t,i));return Kt(M).pipe(jt())});return D(s).pipe(en())}));return D(r).pipe(en())}function vg(i,n,e,t,o){let r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!r||r.length===0)return D(!0);let a=r.map(s=>{let c=ao(n)??o,h=tn(s,c),p=lg(h)?h.canDeactivate(i,n,e,t):st(c,()=>h(i,n,e,t));return Kt(p).pipe(jt())});return D(a).pipe(en())}function bg(i,n,e,t){let o=n.canLoad;if(o===void 0||o.length===0)return D(!0);let r=o.map(a=>{let s=tn(a,i),c=rg(s)?s.canLoad(n,e):st(i,()=>s(n,e));return Kt(c)});return D(r).pipe(en(),Du(t))}function Du(i){return Sc(de(n=>{if(typeof n!="boolean")throw Gr(i,n)}),k(n=>n===!0))}function yg(i,n,e,t){let o=n.canMatch;if(!o||o.length===0)return D(!0);let r=o.map(a=>{let s=tn(a,i),c=cg(s)?s.canMatch(n,e):st(i,()=>s(n,e));return Kt(c)});return D(r).pipe(en(),Du(t))}var no=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},oo=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Gi(i){return di(new no(i))}function Cg(i){return di(new H(4e3,!1))}function wg(i){return di(yu(!1,We.GuardRejected))}var el=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),o.numberOfChildren===0)return D(t);if(o.numberOfChildren>1||!o.children[W])return Cg(`${n.redirectTo}`);o=o.children[W]}}applyRedirectCommands(n,e,t,o,r){if(typeof e!="string"){let s=e,{queryParams:c,fragment:h,routeConfig:p,url:M,outlet:j,params:U,data:Y,title:F}=o,K=st(r,()=>s({params:U,data:Y,queryParams:c,fragment:h,routeConfig:p,url:M,outlet:j,title:F}));if(K instanceof At)throw new oo(K);e=K}let a=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,t);if(e[0]==="/")throw new oo(a);return a}applyRedirectCreateUrlTree(n,e,t,o){let r=this.createSegmentGroup(n,e.root,t,o);return new At(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let t={};return Object.entries(n).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let s=r.substring(1);t[o]=e[s]}else t[o]=r}),t}createSegmentGroup(n,e,t,o){let r=this.createSegments(n,e.segments,t,o),a={};return Object.entries(e.children).forEach(([s,c])=>{a[s]=this.createSegmentGroup(n,c,t,o)}),new ne(r,a)}createSegments(n,e,t,o){return e.map(r=>r.path[0]===":"?this.findPosParam(n,r,o):this.findOrReturn(r,t))}findPosParam(n,e,t){let o=t[e.path.substring(1)];if(!o)throw new H(4001,!1);return o}findOrReturn(n,e){let t=0;for(let o of e){if(o.path===n.path)return e.splice(t),o;t++}return n}},tl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dg(i,n,e,t,o){let r=xu(i,n,e);return r.matched?(t=Wf(n,t),yg(t,n,e,o).pipe(k(a=>a===!0?r:_({},tl)))):D(r)}function xu(i,n,e){if(n.path==="**")return xg(e);if(n.path==="")return n.pathMatch==="full"&&(i.hasChildren()||e.length>0)?_({},tl):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||Jd)(e,i,n);if(!o)return _({},tl);let r={};Object.entries(o.posParams??{}).forEach(([s,c])=>{r[s]=c.path});let a=o.consumed.length>0?_(_({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function xg(i){return{matched:!0,parameters:i.length>0?tu(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Zd(i,n,e,t){return e.length>0&&Ag(i,e,t)?{segmentGroup:new ne(n,Sg(t,new ne(e,i.children))),slicedSegments:[]}:e.length===0&&Ig(i,e,t)?{segmentGroup:new ne(i.segments,Eg(i,e,t,i.children)),slicedSegments:e}:{segmentGroup:new ne(i.segments,i.children),slicedSegments:e}}function Eg(i,n,e,t){let o={};for(let r of e)if(Yr(i,n,r)&&!t[_t(r)]){let a=new ne([],{});o[_t(r)]=a}return _(_({},t),o)}function Sg(i,n){let e={};e[W]=n;for(let t of i)if(t.path===""&&_t(t)!==W){let o=new ne([],{});e[_t(t)]=o}return e}function Ag(i,n,e){return e.some(t=>Yr(i,n,t)&&_t(t)!==W)}function Ig(i,n,e){return e.some(t=>Yr(i,n,t))}function Yr(i,n,e){return(i.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Mg(i,n,e){return n.length===0&&!i.children[e]}var il=class{};function Rg(i,n,e,t,o,r,a="emptyOnly"){return new nl(i,n,e,t,o,a,r).recognize()}var Tg=31,nl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,t,o,r,a,s){this.injector=n,this.configLoader=e,this.rootComponentType=t,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new el(this.urlSerializer,this.urlTree)}noMatchError(n){return new H(4002,`'${n.segmentGroup}'`)}recognize(){let n=Zd(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(k(({children:e,rootSnapshot:t})=>{let o=new tt(t,e),r=new to("",o),a=du(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}}))}match(n){let e=new _i([],Object.freeze({}),Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),W,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,W,e).pipe(k(t=>({children:t,rootSnapshot:e})),Tt(t=>{if(t instanceof oo)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof no?this.noMatchError(t):t}))}processSegmentGroup(n,e,t,o,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(n,e,t,r):this.processSegment(n,e,t,t.segments,o,!0,r).pipe(k(a=>a instanceof tt?[a]:[]))}processChildren(n,e,t,o){let r=[];for(let a of Object.keys(t.children))a==="primary"?r.unshift(a):r.push(a);return Ie(r).pipe(Ft(a=>{let s=t.children[a],c=qf(e,a);return this.processSegmentGroup(n,c,s,a,o)}),Rc((a,s)=>(a.push(...s),a)),ts(null),Mc(),$e(a=>{if(a===null)return Gi(t);let s=Eu(a);return Fg(s),D(s)}))}processSegment(n,e,t,o,r,a,s){return Ie(e).pipe(Ft(c=>this.processSegmentAgainstRoute(c._injector??n,e,c,t,o,r,a,s).pipe(Tt(h=>{if(h instanceof no)return D(null);throw h}))),jt(c=>!!c),Tt(c=>{if(wu(c))return Mg(t,o,r)?D(new il):Gi(t);throw c}))}processSegmentAgainstRoute(n,e,t,o,r,a,s,c){return _t(t)!==a&&(a===W||!Yr(o,r,t))?Gi(o):t.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,t,r,a,c):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,t,r,a,c):Gi(o)}expandSegmentAgainstRouteUsingRedirect(n,e,t,o,r,a,s){let{matched:c,parameters:h,consumedSegments:p,positionalParamSegments:M,remainingSegments:j}=xu(e,o,r);if(!c)return Gi(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Tg&&(this.allowRedirects=!1));let U=new _i(r,h,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Xd(o),_t(o),o.component??o._loadedComponent??null,o,Qd(o)),Y=$r(U,s,this.paramsInheritanceStrategy);U.params=Object.freeze(Y.params),U.data=Object.freeze(Y.data);let F=this.applyRedirects.applyRedirectCommands(p,o.redirectTo,M,U,n);return this.applyRedirects.lineralizeSegments(o,F).pipe($e(K=>this.processSegment(n,t,e,K.concat(j),a,!1,s)))}matchSegmentAgainstRoute(n,e,t,o,r,a){let s=Dg(e,t,o,n,this.urlSerializer);return t.path==="**"&&(e.children={}),s.pipe(we(c=>c.matched?(n=t._injector??n,this.getChildConfig(n,t,o).pipe(we(({routes:h})=>{let p=t._loadedInjector??n,{parameters:M,consumedSegments:j,remainingSegments:U}=c,Y=new _i(j,M,Object.freeze(_({},this.urlTree.queryParams)),this.urlTree.fragment,Xd(t),_t(t),t.component??t._loadedComponent??null,t,Qd(t)),F=$r(Y,a,this.paramsInheritanceStrategy);Y.params=Object.freeze(F.params),Y.data=Object.freeze(F.data);let{segmentGroup:K,slicedSegments:Ze}=Zd(e,j,U,h);if(Ze.length===0&&K.hasChildren())return this.processChildren(p,h,K,Y).pipe(k(fe=>new tt(Y,fe)));if(h.length===0&&Ze.length===0)return D(new tt(Y,[]));let Vt=_t(t)===r;return this.processSegment(p,h,K,Ze,Vt?W:r,!0,Y).pipe(k(fe=>new tt(Y,fe instanceof tt?[fe]:[])))}))):Gi(e)))}getChildConfig(n,e,t){return e.children?D({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?D({routes:e._loadedRoutes,injector:e._loadedInjector}):bg(n,e,t,this.urlSerializer).pipe($e(o=>o?this.configLoader.loadChildren(n,e).pipe(de(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):wg(e))):D({routes:[],injector:n})}};function Fg(i){i.sort((n,e)=>n.value.outlet===W?-1:e.value.outlet===W?1:n.value.outlet.localeCompare(e.value.outlet))}function Og(i){let n=i.value.routeConfig;return n&&n.path===""}function Eu(i){let n=[],e=new Set;for(let t of i){if(!Og(t)){n.push(t);continue}let o=n.find(r=>t.value.routeConfig===r.value.routeConfig);o!==void 0?(o.children.push(...t.children),e.add(o)):n.push(t)}for(let t of e){let o=Eu(t.children);n.push(new tt(t.value,o))}return n.filter(t=>!e.has(t))}function Xd(i){return i.data||{}}function Qd(i){return i.resolve||{}}function kg(i,n,e,t,o,r){return $e(a=>Rg(i,n,e,t,a.extractedUrl,o,r).pipe(k(({state:s,tree:c})=>re(_({},a),{targetSnapshot:s,urlAfterRedirects:c}))))}function Pg(i,n){return $e(e=>{let{targetSnapshot:t,guards:{canActivateChecks:o}}=e;if(!o.length)return D(e);let r=new Set(o.map(c=>c.route)),a=new Set;for(let c of r)if(!a.has(c))for(let h of Su(c))a.add(h);let s=0;return Ie(a).pipe(Ft(c=>r.has(c)?Lg(c,t,i,n):(c.data=$r(c,c.parent,i).resolve,D(void 0))),de(()=>s++),ns(1),$e(c=>s===a.size?D(e):pt))})}function Su(i){let n=i.children.map(e=>Su(e)).flat();return[i,...n]}function Lg(i,n,e,t){let o=i.routeConfig,r=i._resolve;return o?.title!==void 0&&!_u(o)&&(r[ro]=o.title),Ng(r,i,n,t).pipe(k(a=>(i._resolvedData=a,i.data=$r(i,i.parent,e).resolve,null)))}function Ng(i,n,e,t){let o=Gs(i);if(o.length===0)return D({});let r={};return Ie(o).pipe($e(a=>Bg(i[a],n,e,t).pipe(jt(),de(s=>{if(s instanceof Ji)throw Gr(new Wt,s);r[a]=s}))),ns(1),k(()=>r),Tt(a=>wu(a)?pt:di(a)))}function Bg(i,n,e,t){let o=ao(n)??t,r=tn(i,o),a=r.resolve?r.resolve(n,e):st(o,()=>r(n,e));return Kt(a)}function Hs(i){return we(n=>{let e=i(n);return e?Ie(e).pipe(k(()=>n)):D(n)})}var ll=(()=>{class i{buildTitle(e){let t,o=e.root;for(;o!==void 0;)t=this.getResolvedTitleForRoute(o)??t,o=o.children.find(r=>r.outlet===W);return t}getResolvedTitleForRoute(e){return e.data[ro]}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(Au),providedIn:"root"})}return i})(),Au=(()=>{class i extends ll{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||i)(A(Gd))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ci=new v("",{providedIn:"root",factory:()=>({})}),nn=new v(""),Kr=(()=>{class i{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(cd);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return D(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let t=Kt(e.loadComponent()).pipe(k(Mu),de(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Ot(()=>{this.componentLoaders.delete(e)})),o=new Qa(t,()=>new C).pipe(Xa());return this.componentLoaders.set(e,o),o}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return D({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let r=Iu(t,this.compiler,e,this.onLoadEndListener).pipe(Ot(()=>{this.childrenLoaders.delete(t)})),a=new Qa(r,()=>new C).pipe(Xa());return this.childrenLoaders.set(t,a),a}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Iu(i,n,e,t){return Kt(i.loadChildren()).pipe(k(Mu),$e(o=>o instanceof Xc||Array.isArray(o)?D(o):Ie(n.compileModuleAsync(o))),k(o=>{t&&t(i);let r,a,s=!1;return Array.isArray(o)?(a=o,s=!0):(r=o.create(e).injector,a=r.get(nn,[],{optional:!0,self:!0}).flat()),{routes:a.map(sl),injector:r}}))}function Vg(i){return i&&typeof i=="object"&&"default"in i}function Mu(i){return Vg(i)?i.default:i}var Zr=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(jg),providedIn:"root"})}return i})(),jg=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),cl=new v(""),dl=new v("");function Ru(i,n,e){let t=i.get(dl),o=i.get(R);return i.get(T).runOutsideAngular(()=>{if(!o.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(h=>setTimeout(h));let r,a=new Promise(h=>{r=h}),s=o.startViewTransition(()=>(r(),Ug(i))),{onViewTransitionCreated:c}=t;return c&&st(i,()=>c({transition:s,from:n,to:e})),a})}function Ug(i){return new Promise(n=>{Xe({read:()=>setTimeout(n)},{injector:i})})}var ul=new v(""),Xr=(()=>{class i{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new C;transitionAbortSubject=new C;configLoader=l(Kr);environmentInjector=l(Le);destroyRef=l(ls);urlSerializer=l(bi);rootContexts=l(yi);location=l(Dt);inputBindingEnabled=l(lo,{optional:!0})!==null;titleStrategy=l(ll);options=l(Ci,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=l(Zr);createViewTransition=l(cl,{optional:!0});navigationErrorHandler=l(ul,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>D(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new Lr(o)),t=o=>this.events.next(new Nr(o));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(re(_({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:t}))}setupNavigations(e){return this.transitions=new He(null),this.transitions.pipe(oe(t=>t!==null),we(t=>{let o=!1,r=!1;return D(t).pipe(we(a=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",We.SupersededByNewNavigation),pt;this.currentTransition=t,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?re(_({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&c!=="reload")return this.events.next(new It(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ki.IgnoredSameUrlNavigation)),a.resolve(!1),pt;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return D(a).pipe(we(h=>(this.events.next(new Yt(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),h.id!==this.navigationId?pt:Promise.resolve(h))),kg(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),de(h=>{t.targetSnapshot=h.targetSnapshot,t.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=re(_({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let p=new Qn(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(p)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:p,source:M,restoredState:j,extras:U}=a,Y=new Yt(h,this.urlSerializer.serialize(p),M,j);this.events.next(Y);let F=fu(this.rootComponentType).snapshot;return this.currentTransition=t=re(_({},a),{targetSnapshot:F,urlAfterRedirects:p,extras:re(_({},U),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,D(t)}else return this.events.next(new It(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ki.IgnoredByUrlHandlingStrategy)),a.resolve(!1),pt}),de(a=>{let s=new Fr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),k(a=>(this.currentTransition=t=re(_({},a),{guards:eg(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),t)),ug(this.environmentInjector,a=>this.events.next(a)),de(a=>{if(t.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Gr(this.urlSerializer,a.guardsResult);let s=new Or(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(s)}),oe(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",We.GuardRejected),!1)),Hs(a=>{if(a.guards.canActivateChecks.length!==0)return D(a).pipe(de(s=>{let c=new kr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}),we(s=>{let c=!1;return D(s).pipe(Pg(this.paramsInheritanceStrategy,this.environmentInjector),de({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(s,"",We.NoDataFromResolver)}}))}),de(s=>{let c=new Pr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(c)}))}),Hs(a=>{let s=c=>{let h=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(c.routeConfig).pipe(de(p=>{c.component=p}),k(()=>{})));for(let p of c.children)h.push(...s(p));return h};return Ni(s(a.targetSnapshot.root)).pipe(ts(null),Re(1))}),Hs(()=>this.afterPreactivation()),we(()=>{let{currentSnapshot:a,targetSnapshot:s}=t,c=this.createViewTransition?.(this.environmentInjector,a.root,s.root);return c?Ie(c).pipe(k(()=>t)):D(t)}),k(a=>{let s=Kf(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=t=re(_({},a),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,t}),de(()=>{this.events.next(new Jn)}),Jf(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),Re(1),de({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new nt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),le(this.transitionAbortSubject.pipe(de(a=>{throw a}))),Ot(()=>{!o&&!r&&this.cancelNavigationTransition(t,"",We.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation=null,this.currentTransition=null)}),Tt(a=>{if(this.destroyed)return t.resolve(!1),pt;if(r=!0,Cu(a))this.events.next(new St(t.id,this.urlSerializer.serialize(t.extractedUrl),a.message,a.cancellationCode)),Qf(a)?this.events.next(new Qi(a.url,a.navigationBehaviorOptions)):t.resolve(!1);else{let s=new Zi(t.id,this.urlSerializer.serialize(t.extractedUrl),a,t.targetSnapshot??void 0);try{let c=st(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(c instanceof Ji){let{message:h,cancellationCode:p}=Gr(this.urlSerializer,c);this.events.next(new St(t.id,this.urlSerializer.serialize(t.extractedUrl),h,p)),this.events.next(new Qi(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(s),a}catch(c){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(c)}}return pt}))}))}cancelNavigationTransition(e,t,o){let r=new St(e.id,this.urlSerializer.serialize(e.extractedUrl),t,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function zg(i){return i!==Mr}var Tu=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l(Hg),providedIn:"root"})}return i})(),qr=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Hg=(()=>{class i extends qr{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Fu=(()=>{class i{urlSerializer=l(bi);options=l(Ci,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(Dt);urlHandlingStrategy=l(Zr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new At;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:o}){let r=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,a=o??r;return a instanceof At?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:o}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,o),this.routerState=e):this.rawUrlTree=o}routerState=fu(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:()=>l($g),providedIn:"root"})}return i})(),$g=(()=>{class i extends Fu{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate")})})}handleRouterEvent(e,t){e instanceof Yt?this.updateStateMemento():e instanceof It?this.commitTransition(t):e instanceof Qn?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Jn?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof St&&(e.code===We.GuardRejected||e.code===We.NoDataFromResolver)?this.restoreHistory(t):e instanceof Zi?this.restoreHistory(t,!0):e instanceof nt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:t,id:o}){let{replaceUrl:r,state:a}=t;if(this.location.isCurrentPathEqualTo(e)||r){let s=this.browserPageId,c=_(_({},a),this.generateNgRouterState(o,s));this.location.replaceState(e,"",c)}else{let s=_(_({},a),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(e,"",s)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.getCurrentUrlTree()===e.finalUrl&&r===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Qr(i,n){i.events.pipe(oe(e=>e instanceof nt||e instanceof St||e instanceof Zi||e instanceof It),k(e=>e instanceof nt||e instanceof It?0:(e instanceof St?e.code===We.Redirect||e.code===We.SupersededByNewNavigation:!1)?2:1),oe(e=>e!==2),Re(1)).subscribe(()=>{n()})}var Gg={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Wg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ut=(()=>{class i{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l(cs);stateManager=l(Fu);options=l(Ci,{optional:!0})||{};pendingTasks=l(An);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(Xr);urlSerializer=l(bi);location=l(Dt);urlHandlingStrategy=l(Zr);_events=new C;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(Tu);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(nn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(lo,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Pe;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(t,r),t instanceof St&&t.code!==We.Redirect&&t.code!==We.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof nt)this.navigated=!0;else if(t instanceof Qi){let a=t.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(t.url,o.currentRawUrl),c=_({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||zg(o.source)},a);this.scheduleNavigation(s,Mr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Yg(t)&&this._events.next(t)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,o)=>{this.navigateToSyncWithBrowser(e,o,t)})}navigateToSyncWithBrowser(e,t,o){let r={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=_({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(r.state=c)}let s=this.parseUrl(e);this.scheduleNavigation(s,t,a,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(sl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:s,preserveFragment:c}=t,h=c?this.currentUrlTree.fragment:a,p=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":p=_(_({},this.currentUrlTree.queryParams),r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}p!==null&&(p=this.removeEmptyProps(p));let M;try{let j=o?o.snapshot:this.routerState.snapshot.root;M=uu(j)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),M=this.currentUrlTree.root}return hu(M,e,p,h??null)}navigateByUrl(e,t={skipLocationChange:!1}){let o=qt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,Mr,null,t)}navigate(e,t={skipLocationChange:!1}){return qg(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let o;if(t===!0?o=_({},Gg):t===!1?o=_({},Wg):o=t,qt(e))return Wd(this.currentUrlTree,e,o);let r=this.parseUrl(e);return Wd(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((t,[o,r])=>(r!=null&&(t[o]=r),t),{})}scheduleNavigation(e,t,o,r,a){if(this.disposed)return Promise.resolve(!1);let s,c,h;a?(s=a.resolve,c=a.reject,h=a.promise):h=new Promise((M,j)=>{s=M,c=j});let p=this.pendingTasks.add();return Qr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:c,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(M=>Promise.reject(M))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function qg(i){for(let n=0;n{class i{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new C;constructor(e,t,o,r,a,s){this.router=e,this.route=t,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=s;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(h=>{h instanceof nt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(qt(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,o,r,a){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||t||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let t=this.href===null?null:Yc(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){let o=this.renderer,r=this.el.nativeElement;t!==null?o.setAttribute(r,e,t):o.removeAttribute(r,e)}get urlTree(){return this.routerLinkInput===null?null:qt(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||i)(y(ut),y(vt),ss("tabindex"),y(_e),y(P),y(gt))};static \u0275dir=I({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,o){t&1&&O("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),t&2&&V("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",L],skipLocationChange:[2,"skipLocationChange","skipLocationChange",L],replaceUrl:[2,"replaceUrl","replaceUrl",L],routerLink:"routerLink"},features:[me]})}return i})(),ml=(()=>{class i{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new q;constructor(e,t,o,r,a){this.router=e,this.element=t,this.renderer=o,this.cdr=r,this.link=a,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof nt&&this.update()})}ngAfterContentInit(){D(this.links.changes,D(null)).pipe(Sn()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Ie(e).pipe(Sn()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){let t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let t=Kg(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let r=o.urlTree;return r?e.isActive(r,t):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(t){return new(t||i)(y(ut),y(P),y(_e),y(ye),y(Zt,8))};static \u0275dir=I({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(t,o,r){if(t&1&&he(r,Zt,5),t&2){let a;$(a=G())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[me]})}return i})();function Kg(i){return!!i.paths}var uo=class{};var Ou=(()=>{class i{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,o,r){this.router=e,this.injector=t,this.preloadingStrategy=o,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(oe(e=>e instanceof nt),Ft(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){let o=[];for(let r of t){r.providers&&!r._injector&&(r._injector=Jo(r.providers,e,`Route: ${r.path}`));let a=r._injector??e,s=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(s,r.children??r._loadedRoutes))}return Ie(o).pipe(Sn())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let o;t.loadChildren&&t.canLoad===void 0?o=this.loader.loadChildren(e,t):o=D(null);let r=o.pipe($e(a=>a===null?D(void 0):(t._loadedRoutes=a.routes,t._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));if(t.loadComponent&&!t._loadedComponent){let a=this.loader.loadComponent(t);return Ie([r,a]).pipe(Sn())}else return r})}static \u0275fac=function(t){return new(t||i)(A(ut),A(Le),A(uo),A(Kr))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ku=new v(""),Zg=(()=>{class i{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,t,o,r,a={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=o,this.zone=r,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Yt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof nt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof It&&e.code===Ki.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Xi&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Xi(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){Xo()};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})();function Xg(i){return i.routerState.root}function ho(i,n){return{\u0275kind:i,\u0275providers:n}}function Qg(){let i=l(ie);return n=>{let e=i.get(mi);if(n!==e.components[0])return;let t=i.get(ut),o=i.get(Pu);i.get(pl)===1&&t.initialNavigation(),i.get(Bu,null,as.Optional)?.setUpPreloading(),i.get(ku,null,as.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Pu=new v("",{factory:()=>new C}),pl=new v("",{providedIn:"root",factory:()=>1});function Lu(){let i=[{provide:pl,useValue:0},us(()=>{let n=l(ie);return n.get(_s,Promise.resolve()).then(()=>new Promise(t=>{let o=n.get(ut),r=n.get(Pu);Qr(o,()=>{t(!0)}),n.get(Xr).afterPreactivation=()=>(t(!0),r.closed?D(void 0):r),o.initialNavigation()}))})];return ho(2,i)}function Nu(){let i=[us(()=>{l(ut).setUpLocationChangeListener()}),{provide:pl,useValue:2}];return ho(3,i)}var Bu=new v("");function Vu(i){return ho(0,[{provide:Bu,useExisting:Ou},{provide:uo,useExisting:i}])}function ju(){return ho(8,[rl,{provide:lo,useExisting:rl}])}function Uu(i){Tn("NgRouterViewTransitions");let n=[{provide:cl,useValue:Ru},{provide:dl,useValue:_({skipNextTransition:!!i?.skipInitialTransition},i)}];return ho(9,n)}var zu=[Dt,{provide:bi,useClass:Wt},ut,yi,{provide:vt,useFactory:Xg,deps:[ut]},Kr,[]],Jr=(()=>{class i{constructor(){}static forRoot(e,t){return{ngModule:i,providers:[zu,[],{provide:nn,multi:!0,useValue:e},[],t?.errorHandler?{provide:ul,useValue:t.errorHandler}:[],{provide:Ci,useValue:t||{}},t?.useHash?e_():t_(),Jg(),t?.preloadingStrategy?Vu(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?i_(t):[],t?.bindToComponentInputs?ju().\u0275providers:[],t?.enableViewTransitions?Uu().\u0275providers:[],n_()]}}static forChild(e){return{ngModule:i,providers:[{provide:nn,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();function Jg(){return{provide:ku,useFactory:()=>{let i=l(wd),n=l(T),e=l(Ci),t=l(Xr),o=l(bi);return e.scrollOffset&&i.setOffset(e.scrollOffset),new Zg(o,t,i,n,e)}}}function e_(){return{provide:gt,useClass:vs}}function t_(){return{provide:gt,useClass:lr}}function i_(i){return[i.initialNavigation==="disabled"?Nu().\u0275providers:[],i.initialNavigation==="enabledBlocking"?Lu().\u0275providers:[]]}var hl=new v("");function n_(){return[{provide:hl,useFactory:Qg},{provide:ed,multi:!0,useExisting:hl}]}var wi="http://localhost:8080/api/tutorials",on=(()=>{class i{http;constructor(e){this.http=e}getAll(){return this.http.get(wi)}get(e){return this.http.get(`${wi}/${e}`)}create(e){return this.http.post(wi,e)}update(e,t){return this.http.put(`${wi}/${e}`,t)}delete(e){return this.http.delete(`${wi}/${e}`)}deleteAll(){return this.http.delete(wi)}findByTitle(e){return this.http.get(`${wi}?title=${e}`)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Ku=(()=>{class i{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||i)(y(_e),y(P))};static \u0275dir=I({type:i})}return i})(),o_=(()=>{class i extends Ku{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,features:[ee]})}return i})(),Di=new v("");var r_={provide:Di,useExisting:Ve(()=>Ne),multi:!0};function a_(){let i=et()?et().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var s_=new v(""),Ne=(()=>{class i extends Ku{_compositionMode;_composing=!1;constructor(e,t,o){super(e,t),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!a_())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(t){return new(t||i)(y(_e),y(P),y(s_,8))};static \u0275dir=I({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,o){t&1&&O("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},standalone:!1,features:[se([r_]),ee]})}return i})();function vl(i){return i==null||bl(i)===0}function bl(i){return i==null?null:Array.isArray(i)||typeof i=="string"?i.length:i instanceof Set?i.size:null}var Jt=new v(""),ma=new v(""),l_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,sn=class{static min(n){return c_(n)}static max(n){return d_(n)}static required(n){return Zu(n)}static requiredTrue(n){return u_(n)}static email(n){return Xu(n)}static minLength(n){return Qu(n)}static maxLength(n){return Ju(n)}static pattern(n){return h_(n)}static nullValidator(n){return ta()}static compose(n){return rh(n)}static composeAsync(n){return ah(n)}};function c_(i){return n=>{if(n.value==null||i==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(n.value==null||i==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}function Zu(i){return vl(i.value)?{required:!0}:null}function u_(i){return i.value===!0?null:{required:!0}}function Xu(i){return vl(i.value)||l_.test(i.value)?null:{email:!0}}function Qu(i){return n=>{let e=n.value?.length??bl(n.value);return e===null||e===0?null:e{let e=n.value?.length??bl(n.value);return e!==null&&e>i?{maxlength:{requiredLength:i,actualLength:e}}:null}}function h_(i){if(!i)return ta;let n,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),t=>{if(vl(t.value))return null;let o=t.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function ta(i){return null}function eh(i){return i!=null}function th(i){return On(i)?Ie(i):i}function ih(i){let n={};return i.forEach(e=>{n=e!=null?_(_({},n),e):n}),Object.keys(n).length===0?null:n}function nh(i,n){return n.map(e=>e(i))}function m_(i){return!i.validate}function oh(i){return i.map(n=>m_(n)?n:e=>n.validate(e))}function rh(i){if(!i)return null;let n=i.filter(eh);return n.length==0?null:function(e){return ih(nh(e,n))}}function yl(i){return i!=null?rh(oh(i)):null}function ah(i){if(!i)return null;let n=i.filter(eh);return n.length==0?null:function(e){let t=nh(e,n).map(th);return qo(t).pipe(k(ih))}}function Cl(i){return i!=null?ah(oh(i)):null}function Hu(i,n){return i===null?[n]:Array.isArray(i)?[...i,n]:[i,n]}function sh(i){return i._rawValidators}function lh(i){return i._rawAsyncValidators}function _l(i){return i?Array.isArray(i)?i:[i]:[]}function ia(i,n){return Array.isArray(i)?i.includes(n):i===n}function $u(i,n){let e=_l(n);return _l(i).forEach(o=>{ia(e,o)||e.push(o)}),e}function Gu(i,n){return _l(n).filter(e=>!ia(i,e))}var na=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=yl(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Cl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Xt=class extends na{name;get formDirective(){return null}get path(){return null}},bt=class extends na{_parent=null;name=null;valueAccessor=null},oa=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},p_={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},nx=re(_({},p_),{"[class.ng-submitted]":"isSubmitted"}),qe=(()=>{class i extends oa{constructor(e){super(e)}static \u0275fac=function(t){return new(t||i)(y(bt,2))};static \u0275dir=I({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){t&2&&N("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[ee]})}return i})(),ei=(()=>{class i extends oa{constructor(e){super(e)}static \u0275fac=function(t){return new(t||i)(y(Xt,10))};static \u0275dir=I({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){t&2&&N("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[ee]})}return i})();var mo="VALID",ea="INVALID",rn="PENDING",po="DISABLED",Qt=class{},ra=class extends Qt{value;source;constructor(n,e){super(),this.value=n,this.source=e}},go=class extends Qt{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},_o=class extends Qt{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},an=class extends Qt{status;source;constructor(n,e){super(),this.status=n,this.source=e}},aa=class extends Qt{source;constructor(n){super(),this.source=n}},sa=class extends Qt{source;constructor(n){super(),this.source=n}};function ch(i){return(pa(i)?i.validators:i)||null}function f_(i){return Array.isArray(i)?yl(i):i||null}function dh(i,n){return(pa(n)?n.asyncValidators:i)||null}function g_(i){return Array.isArray(i)?Cl(i):i||null}function pa(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function __(i,n,e){let t=i.controls;if(!(n?Object.keys(t):t).length)throw new H(1e3,"");if(!t[e])throw new H(1001,"")}function v_(i,n,e){i._forEachChild((t,o)=>{if(e[o]===void 0)throw new H(1002,"")})}var la=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return ct(this.statusReactive)}set status(n){ct(()=>this.statusReactive.set(n))}_status=Pt(()=>this.statusReactive());statusReactive=Ct(void 0);get valid(){return this.status===mo}get invalid(){return this.status===ea}get pending(){return this.status==rn}get disabled(){return this.status===po}get enabled(){return this.status!==po}errors;get pristine(){return ct(this.pristineReactive)}set pristine(n){ct(()=>this.pristineReactive.set(n))}_pristine=Pt(()=>this.pristineReactive());pristineReactive=Ct(!0);get dirty(){return!this.pristine}get touched(){return ct(this.touchedReactive)}set touched(n){ct(()=>this.touchedReactive.set(n))}_touched=Pt(()=>this.touchedReactive());touchedReactive=Ct(!1);get untouched(){return!this.touched}_events=new C;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators($u(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators($u(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Gu(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Gu(n,this._rawAsyncValidators))}hasValidator(n){return ia(this._rawValidators,n)}hasAsyncValidator(n){return ia(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(re(_({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new _o(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new _o(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(re(_({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new go(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new go(!0,t))}markAsPending(n={}){this.status=rn;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new an(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(re(_({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=po,this.errors=null,this._forEachChild(o=>{o.disable(re(_({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ra(this.value,t)),this._events.next(new an(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(re(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=mo,this._forEachChild(t=>{t.enable(re(_({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(re(_({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mo||this.status===rn)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ra(this.value,e)),this._events.next(new an(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(re(_({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?po:mo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=rn,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=th(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,o)=>t&&t._find(o),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new an(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new q,this.statusChanges=new q}_calculateStatus(){return this._allControlsDisabled()?po:this.errors?ea:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rn)?rn:this._anyControlsHaveStatus(ea)?ea:mo}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),o=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),o&&this._events.next(new go(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new _o(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){pa(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=f_(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=g_(this._rawAsyncValidators)}},ca=class extends la{constructor(n,e,t){super(ch(e),dh(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){v_(this,!0,n),Object.keys(n).forEach(t=>{__(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let o=this.controls[t];o&&o.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,o)=>{t.reset(n?n[o]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,o)=>((t.enabled||this.disabled)&&(e[o]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((o,r)=>{t=e(t,o,r)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var ln=new v("",{providedIn:"root",factory:()=>fa}),fa="always";function b_(i,n){return[...n.path,i]}function vo(i,n,e=fa){wl(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(i.disabled),C_(i,n),D_(i,n),w_(i,n),y_(i,n)}function da(i,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ha(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ua(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function y_(i,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function wl(i,n){let e=sh(i);n.validator!==null?i.setValidators(Hu(e,n.validator)):typeof e=="function"&&i.setValidators([e]);let t=lh(i);n.asyncValidator!==null?i.setAsyncValidators(Hu(t,n.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let o=()=>i.updateValueAndValidity();ua(n._rawValidators,o),ua(n._rawAsyncValidators,o)}function ha(i,n){let e=!1;if(i!==null){if(n.validator!==null){let o=sh(i);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==n.validator);r.length!==o.length&&(e=!0,i.setValidators(r))}}if(n.asyncValidator!==null){let o=lh(i);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==n.asyncValidator);r.length!==o.length&&(e=!0,i.setAsyncValidators(r))}}}let t=()=>{};return ua(n._rawValidators,t),ua(n._rawAsyncValidators,t),e}function C_(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&uh(i,n)})}function w_(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&uh(i,n),i.updateOn!=="submit"&&i.markAsTouched()})}function uh(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function D_(i,n){let e=(t,o)=>{n.valueAccessor.writeValue(t),o&&n.viewToModelUpdate(t)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function hh(i,n){i==null,wl(i,n)}function x_(i,n){return ha(i,n)}function mh(i,n){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function E_(i){return Object.getPrototypeOf(i.constructor)===o_}function ph(i,n){i._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function fh(i,n){if(!n)return null;Array.isArray(n);let e,t,o;return n.forEach(r=>{r.constructor===Ne?e=r:E_(r)?t=r:o=r}),o||t||e||null}function S_(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}var A_={provide:Xt,useExisting:Ve(()=>ot)},fo=Promise.resolve(),ot=(()=>{class i extends Xt{callSetDisabledState;get submitted(){return ct(this.submittedReactive)}_submitted=Pt(()=>this.submittedReactive());submittedReactive=Ct(!1);_directives=new Set;form;ngSubmit=new q;options;constructor(e,t,o){super(),this.callSetDisabledState=o,this.form=new ca({},yl(e),Cl(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){fo.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),vo(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){fo.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){fo.then(()=>{let t=this._findContainer(e.path),o=new ca({});hh(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){fo.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){fo.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),ph(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new aa(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new sa(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(t){return new(t||i)(y(Jt,10),y(ma,10),y(ln,8))};static \u0275dir=I({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){t&1&&O("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[se([A_]),ee]})}return i})();function Wu(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}function qu(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var bo=class extends la{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,t){super(ch(e),dh(t,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pa(e)&&(e.nonNullable||e.initialValueIsDefault)&&(qu(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Wu(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Wu(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){qu(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var I_=i=>i instanceof bo;var M_={provide:bt,useExisting:Ve(()=>rt)},Yu=Promise.resolve(),rt=(()=>{class i extends bt{_changeDetectorRef;callSetDisabledState;control=new bo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new q;constructor(e,t,o,r,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=e,this._setValidators(t),this._setAsyncValidators(o),this.valueAccessor=fh(this,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),mh(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){vo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Yu.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,o=t!==0&&L(t);Yu.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?b_(e,this._parent):[e]}static \u0275fac=function(t){return new(t||i)(y(Xt,9),y(Jt,10),y(ma,10),y(Di,10),y(ye,8),y(ln,8))};static \u0275dir=I({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[se([M_]),ee,me]})}return i})();var ti=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return i})();var gh=new v(""),R_={provide:bt,useExisting:Ve(()=>Dl)},Dl=(()=>{class i extends bt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new q;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,o,r,a){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=fh(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&da(t,this,!1),vo(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}mh(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&da(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(t){return new(t||i)(y(Jt,10),y(ma,10),y(Di,10),y(gh,8),y(ln,8))};static \u0275dir=I({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[se([R_]),ee,me]})}return i})(),T_={provide:Xt,useExisting:Ve(()=>yo)},yo=(()=>{class i extends Xt{callSetDisabledState;get submitted(){return ct(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Pt(()=>this._submittedReactive());_submittedReactive=Ct(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new q;constructor(e,t,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ha(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return vo(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){da(e.control||null,e,!1),S_(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),ph(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new aa(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new sa(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,o=this.form.get(e.path);t!==o&&(da(t||null,e),I_(o)&&(vo(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);hh(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&x_(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){wl(this.form,this),this._oldForm&&ha(this._oldForm,this)}static \u0275fac=function(t){return new(t||i)(y(Jt,10),y(ma,10),y(ln,8))};static \u0275dir=I({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,o){t&1&&O("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[se([T_]),ee,me]})}return i})();function _h(i){return typeof i=="number"?i:parseInt(i,10)}var ga=(()=>{class i{_validator=ta;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):ta,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,features:[me]})}return i})();var F_={provide:Jt,useExisting:Ve(()=>xi),multi:!0};var xi=(()=>{class i extends ga{required;inputName="required";normalizeInput=L;createValidator=e=>Zu;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,o){t&2&&V("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[se([F_]),ee]})}return i})();var O_={provide:Jt,useExisting:Ve(()=>xl),multi:!0},xl=(()=>{class i extends ga{email;inputName="email";normalizeInput=L;createValidator=e=>Xu;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[se([O_]),ee]})}return i})(),k_={provide:Jt,useExisting:Ve(()=>Co),multi:!0},Co=(()=>{class i extends ga{minlength;inputName="minlength";normalizeInput=e=>_h(e);createValidator=e=>Qu(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&V("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[se([k_]),ee]})}return i})(),P_={provide:Jt,useExisting:Ve(()=>El),multi:!0},El=(()=>{class i extends ga{maxlength;inputName="maxlength";normalizeInput=e=>_h(e);createValidator=e=>Ju(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&V("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[se([P_]),ee]})}return i})();var vh=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();var cn=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:ln,useValue:e.callSetDisabledState??fa}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[vh]})}return i})(),bh=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:gh,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ln,useValue:e.callSetDisabledState??fa}]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[vh]})}return i})();function L_(i,n){if(i&1){let e=ge();u(0,"li",11),O("click",function(){let o=Q(e),r=o.$implicit,a=o.index,s=w();return J(s.setActiveTutorial(r,a))}),f(1),d()}if(i&2){let e=n.$implicit,t=n.index,o=w();N("active",t==o.currentIndex),m(),be(" ",e.title," ")}}function N_(i,n){if(i&1&&(u(0,"div")(1,"h4"),f(2,"Tutorial"),d(),u(3,"div")(4,"label")(5,"strong"),f(6,"Title:"),d()(),f(7),d(),u(8,"div")(9,"label")(10,"strong"),f(11,"Description:"),d()(),f(12),d(),u(13,"div")(14,"label")(15,"strong"),f(16,"Status:"),d()(),f(17),d(),u(18,"a",12),f(19," Edit "),d()()),i&2){let e=w();m(7),be(" ",e.currentTutorial.title," "),m(5),be(" ",e.currentTutorial.description," "),m(5),be(" ",e.currentTutorial.published?"Published":"Pending"," "),m(),nd("routerLink","/tutorials/",e.currentTutorial.id,"")}}function B_(i,n){i&1&&(u(0,"div"),z(1,"br"),u(2,"p"),f(3,"Please click on a Tutorial..."),d()())}var yh=(()=>{class i{tutorialService;tutorials;currentTutorial={};currentIndex=-1;title="";constructor(e){this.tutorialService=e}ngOnInit(){this.retrieveTutorials()}retrieveTutorials(){this.tutorialService.getAll().subscribe(e=>{this.tutorials=e,console.log(e)},e=>{console.log(e)})}refreshList(){this.retrieveTutorials(),this.currentTutorial={},this.currentIndex=-1}setActiveTutorial(e,t){this.currentTutorial=e,this.currentIndex=t}removeAllTutorials(){this.tutorialService.deleteAll().subscribe(e=>{console.log(e),this.refreshList()},e=>{console.log(e)})}searchTitle(){this.currentTutorial={},this.currentIndex=-1,this.tutorialService.findByTitle(this.title).subscribe(e=>{this.tutorials=e,console.log(e)},e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)(y(on))};static \u0275cmp=x({type:i,selectors:[["app-tutorials-list"]],standalone:!1,decls:17,vars:4,consts:[[1,"list","row"],[1,"col-md-8"],[1,"input-group","mb-3"],["type","text","placeholder","Search by title",1,"form-control",3,"ngModelChange","ngModel"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"col-md-6"],[1,"list-group"],["class","list-group-item",3,"active","click",4,"ngFor","ngForOf"],[1,"m-3","btn","btn-sm","btn-danger",3,"click"],[4,"ngIf"],[1,"list-group-item",3,"click"],[1,"badge","badge-warning",3,"routerLink"]],template:function(t,o){t&1&&(u(0,"div",0)(1,"div",1)(2,"div",2)(3,"input",3),Se("ngModelChange",function(a){return Ee(o.title,a)||(o.title=a),a}),d(),u(4,"div",4)(5,"button",5),O("click",function(){return o.searchTitle()}),f(6," Search "),d()()()(),u(7,"div",6)(8,"h4"),f(9,"Tutorials List"),d(),u(10,"ul",7),E(11,L_,2,3,"li",8),d(),u(12,"button",9),O("click",function(){return o.removeAllTutorials()}),f(13," Remove All "),d()(),u(14,"div",6),E(15,N_,20,5,"div",10)(16,B_,4,0,"div",10),d()()),t&2&&(m(3),xe("ngModel",o.title),m(8),b("ngForOf",o.tutorials),m(4),b("ngIf",o.currentTutorial.id),m(),b("ngIf",!o.currentTutorial))},dependencies:[Ht,Ue,Zt,Ne,qe,rt],styles:[".list[_ngcontent-%COMP%]{text-align:left;max-width:750px;margin:auto}"]})}return i})();function V_(i,n){if(i&1){let e=ge();u(0,"button",11),O("click",function(){Q(e);let o=w(2);return J(o.updatePublished(!1))}),f(1," UnPublish "),d()}}function j_(i,n){if(i&1){let e=ge();u(0,"button",11),O("click",function(){Q(e);let o=w(2);return J(o.updatePublished(!0))}),f(1," Publish "),d()}}function U_(i,n){if(i&1){let e=ge();u(0,"div",2)(1,"h4"),f(2,"Tutorial"),d(),u(3,"form")(4,"div",3)(5,"label",4),f(6,"Title"),d(),u(7,"input",5),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.currentTutorial.title,o)||(r.currentTutorial.title=o),J(o)}),d()(),u(8,"div",3)(9,"label",6),f(10,"Description"),d(),u(11,"input",7),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.currentTutorial.description,o)||(r.currentTutorial.description=o),J(o)}),d()(),u(12,"div",3)(13,"label")(14,"strong"),f(15,"Status:"),d()(),f(16),d()(),E(17,V_,2,0,"button",8)(18,j_,2,0,"button",8),u(19,"button",9),O("click",function(){Q(e);let o=w();return J(o.deleteTutorial())}),f(20," Delete "),d(),u(21,"button",10),O("click",function(){Q(e);let o=w();return J(o.updateTutorial())}),f(22," Update "),d(),u(23,"p"),f(24),d()()}if(i&2){let e=w();m(7),xe("ngModel",e.currentTutorial.title),m(4),xe("ngModel",e.currentTutorial.description),m(5),be(" ",e.currentTutorial.published?"Published":"Pending"," "),m(),b("ngIf",e.currentTutorial.published),m(),b("ngIf",!e.currentTutorial.published),m(6),Oe(e.message)}}function z_(i,n){i&1&&(u(0,"div"),z(1,"br"),u(2,"p"),f(3,"Cannot access this Tutorial..."),d()())}var Ch=(()=>{class i{tutorialService;route;router;currentTutorial={title:"",description:"",published:!1};message="";constructor(e,t,o){this.tutorialService=e,this.route=t,this.router=o}ngOnInit(){this.message="",this.getTutorial(this.route.snapshot.params.id)}getTutorial(e){this.tutorialService.get(e).subscribe(t=>{this.currentTutorial=t,console.log(t)},t=>{console.log(t)})}updatePublished(e){let t={title:this.currentTutorial.title,description:this.currentTutorial.description,published:e};this.message="",this.tutorialService.update(this.currentTutorial.id,t).subscribe(o=>{this.currentTutorial.published=e,console.log(o),this.message=o.message?o.message:"The status was updated successfully!"},o=>{console.log(o)})}updateTutorial(){this.message="",this.tutorialService.update(this.currentTutorial.id,this.currentTutorial).subscribe(e=>{console.log(e),this.message=e.message?e.message:"This tutorial was updated successfully!"},e=>{console.log(e)})}deleteTutorial(){this.tutorialService.delete(this.currentTutorial.id).subscribe(e=>{console.log(e),this.router.navigate(["/tutorials"])},e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)(y(on),y(vt),y(ut))};static \u0275cmp=x({type:i,selectors:[["app-tutorial-details"]],standalone:!1,decls:3,vars:2,consts:[["class","edit-form",4,"ngIf"],[4,"ngIf"],[1,"edit-form"],[1,"form-group"],["for","title"],["type","text","id","title","name","title",1,"form-control",3,"ngModelChange","ngModel"],["for","description"],["type","text","id","description","name","description",1,"form-control",3,"ngModelChange","ngModel"],["class","badge badge-primary mr-2",3,"click",4,"ngIf"],[1,"badge","badge-danger","mr-2",3,"click"],["type","submit",1,"badge","badge-success","mb-2",3,"click"],[1,"badge","badge-primary","mr-2",3,"click"]],template:function(t,o){t&1&&(u(0,"div"),E(1,U_,25,6,"div",0)(2,z_,4,0,"div",1),d()),t&2&&(m(),b("ngIf",o.currentTutorial.id),m(),b("ngIf",!o.currentTutorial.id))},dependencies:[Ue,ti,Ne,qe,ei,rt,ot],styles:[".edit-form[_ngcontent-%COMP%]{max-width:400px;margin:auto}"]})}return i})();function H_(i,n){if(i&1){let e=ge();u(0,"div")(1,"div",2)(2,"label",3),f(3,"Title"),d(),u(4,"input",4),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.tutorial.title,o)||(r.tutorial.title=o),J(o)}),d()(),u(5,"div",2)(6,"label",5),f(7,"Description"),d(),u(8,"input",6),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.tutorial.description,o)||(r.tutorial.description=o),J(o)}),d()(),u(9,"button",7),O("click",function(){Q(e);let o=w();return J(o.saveTutorial())}),f(10,"Submit"),d()()}if(i&2){let e=w();m(4),xe("ngModel",e.tutorial.title),m(4),xe("ngModel",e.tutorial.description)}}function $_(i,n){if(i&1){let e=ge();u(0,"div")(1,"h4"),f(2,"Tutorial was submitted successfully!"),d(),u(3,"button",7),O("click",function(){Q(e);let o=w();return J(o.newTutorial())}),f(4,"Add"),d()()}}var wh=(()=>{class i{tutorialService;tutorial={title:"",description:"",published:!1};submitted=!1;constructor(e){this.tutorialService=e}ngOnInit(){}saveTutorial(){let e={title:this.tutorial.title,description:this.tutorial.description};this.tutorialService.create(e).subscribe(t=>{console.log(t),this.submitted=!0},t=>{console.log(t)})}newTutorial(){this.submitted=!1,this.tutorial={title:"",description:"",published:!1}}static \u0275fac=function(t){return new(t||i)(y(on))};static \u0275cmp=x({type:i,selectors:[["app-add-tutorial"]],standalone:!1,decls:4,vars:2,consts:[[1,"submit-form"],[4,"ngIf"],[1,"form-group"],["for","title"],["type","text","id","title","required","","name","title",1,"form-control",3,"ngModelChange","ngModel"],["for","description"],["id","description","required","","name","description",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-success",3,"click"]],template:function(t,o){t&1&&(u(0,"div")(1,"div",0),E(2,H_,11,2,"div",1)(3,$_,5,0,"div",1),d()()),t&2&&(m(2),b("ngIf",!o.submitted),m(),b("ngIf",o.submitted))},dependencies:[Ue,Ne,qe,xi,rt],styles:[".submit-form[_ngcontent-%COMP%]{max-width:400px;margin:auto}"]})}return i})();function ze(i,...n){return n.length?n.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var _a="http://localhost:8080/api/users",va=(()=>{class i{http;constructor(e){this.http=e}getPublicContent(){return this.http.get(_a+"/all",{responseType:"text"})}getUserBoard(){return this.http.get(_a+"/user",{responseType:"text"})}getModeratorBoard(){return this.http.get(_a+"/mod",{responseType:"text"})}getAdminBoard(){return this.http.get(_a)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var G_="http://localhost:8080/api/roles",xh=(()=>{class i{http;constructor(e){this.http=e}getAllRoles(){return this.http.get(G_)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ba;function q_(){if(ba===void 0&&(ba=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(ba=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return ba}function wo(i){return q_()?.createHTML(i)||i}function Eh(i){return Error(`Unable to find icon with the name "${i}"`)}function Y_(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Sh(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Ah(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Nt=class{url;svgText;options;svgElement;constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},Mh=(()=>{class i{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,o,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,r){return this._addSvgIconConfig(e,t,new Nt(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,r){let a=this._sanitizer.sanitize(Qe.HTML,o);if(!a)throw Ah(o);let s=wo(a);return this._addSvgIconConfig(e,t,new Nt("",s,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new Nt(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){let r=this._sanitizer.sanitize(Qe.HTML,t);if(!r)throw Ah(t);let a=wo(r);return this._addSvgIconSetConfig(e,new Nt("",a,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Qe.RESOURCE_URL,e);if(!t)throw Sh(e);let o=this._cachedIconsByUrl.get(t);return o?D(ya(o)):this._loadSvgIconFromConfig(new Nt(e,null)).pipe(de(r=>this._cachedIconsByUrl.set(t,r)),k(r=>ya(r)))}getNamedSvgIcon(e,t=""){let o=Ih(t,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):di(Eh(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?D(ya(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(t=>ya(t)))}_getSvgFromIconSetConfigs(e,t){let o=this._extractIconWithNameFromAnySet(e,t);if(o)return D(o);let r=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Tt(s=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(Qe.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(h)),D(null)})));return qo(r).pipe(k(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Eh(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){let r=t[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),s=this._extractSvgIconFromSet(a,e,r.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(de(t=>e.svgText=t),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?D(null):this._fetchIcon(e).pipe(de(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let s=this._svgElementFromString(wo(""));return s.appendChild(a),this._setSvgAttributes(s,o)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let t=this._svgElementFromString(wo("")),o=e.attributes;for(let r=0;rwo(h)),Ot(()=>this._inProgressUrlFetches.delete(a)),Tc());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(Ih(e,t),o),this}_addSvgIconSetConfig(e,t){let o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;o19||r===19&&a>0||r===0&&a===0?i.listen(n,e,t,o):(n.addEventListener(e,t,o),()=>{n.removeEventListener(e,t,o)})}var Il;try{Il=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Il=!1}var te=(()=>{class i{_platformId=l(zt);isBrowser=this._platformId?Cs(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Il)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Eo;function Th(){if(Eo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Eo=!0}))}finally{Eo=Eo||!1}return Eo}function dn(i){return Th()?i:!!i.capture}function un(i,n=0){return Fh(i)?Number(i):arguments.length===2?n:0}function Fh(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function at(i){return i instanceof P?i.nativeElement:i}var Oh=new v("cdk-input-modality-detector-options"),kh={ignoreKeys:[18,17,224,91,16]},Ph=650,Ml={passive:!0,capture:!0},Lh=(()=>{class i{_platform=l(te);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new He(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Be(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(xo(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Be(e)};constructor(){let e=l(T),t=l(R),o=l(Oh,{optional:!0});if(this._options=_(_({},kh),o),this.modalityDetected=this._modality.pipe(Ko(1)),this.modalityChanged=this.modalityDetected.pipe(is()),this._platform.isBrowser){let r=l(Fe).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[Ye(r,t,"keydown",this._onKeydown,Ml),Ye(r,t,"mousedown",this._onMousedown,Ml),Ye(r,t,"touchstart",this._onTouchstart,Ml)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),So=(function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i})(So||{}),Nh=new v("cdk-focus-monitor-default-options"),Ca=dn({passive:!0,capture:!0}),Ai=(()=>{class i{_ngZone=l(T);_platform=l(te);_inputModalityDetector=l(Lh);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=l(R,{optional:!0});_stopInputModalityDetector=new C;constructor(){let e=l(Nh,{optional:!0});this._detectionMode=e?.detectionMode||So.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=Be(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=at(e);if(!this._platform.isBrowser||o.nodeType!==1)return D();let r=Al(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new C,rootNode:r};return this._elementInfo.set(o,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=at(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=at(e),a=this._getDocument().activeElement;r===a?this._getClosestElementsInfo(r).forEach(([s,c])=>this._originChanged(s,t,c)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===So.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===So.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ph:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=Be(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ca)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(le(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ca),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ca),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class i{_appRef;_injector=l(ie);_environmentInjector=l(Le);load(e){let t=this._appRef=this._appRef||this._injector.get(mi),o=wa.get(t);o||(o={loaders:new Set,refs:[]},wa.set(t,o),t.onDestroy(()=>{wa.get(t)?.refs.forEach(r=>r.destroy()),wa.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(rr(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var hn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0} -`],encapsulation:2,changeDetection:0})}return i})();function mn(i){return Array.isArray(i)?i:[i]}var Bh=new Set,Ii,jh=(()=>{class i{_platform=l(te);_nonce=l(Rn,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X_}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Z_(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Z_(i,n){if(!Bh.has(i))try{Ii||(Ii=document.createElement("style"),n&&Ii.setAttribute("nonce",n),Ii.setAttribute("type","text/css"),document.head.appendChild(Ii)),Ii.sheet&&(Ii.sheet.insertRule(`@media ${i} {body{ }}`,0),Bh.add(i))}catch(e){console.error(e)}}function X_(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Ao=(()=>{class i{_mediaMatcher=l(jh);_zone=l(T);_queries=new Map;_destroySubject=new C;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Vh(mn(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Vh(mn(e)).map(a=>this._registerQuery(a).observable),r=Ni(o);return r=Wo(r.pipe(Re(1)),r.pipe(Ko(1),Yo(0))),r.pipe(k(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:h})=>{s.matches=s.matches||c,s.breakpoints[h]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new mt(a=>{let s=c=>this._zone.run(()=>a.next(c));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Te(t),k(({matches:a})=>({query:e,matches:a})),le(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Vh(i){return i.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var Fl=(()=>{class i{_platform=l(te);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return J_(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=Q_(sv(e));if(t&&(Uh(t)===-1||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=Uh(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!rv(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return av(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Q_(i){try{return i.frameElement}catch{return null}}function J_(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function ev(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function tv(i){return nv(i)&&i.type=="hidden"}function iv(i){return ov(i)&&i.hasAttribute("href")}function nv(i){return i.nodeName.toLowerCase()=="input"}function ov(i){return i.nodeName.toLowerCase()=="a"}function $h(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Uh(i){if(!$h(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function rv(i){let n=i.nodeName.toLowerCase(),e=n==="input"&&i.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function av(i){return tv(i)?!1:ev(i)||iv(i)||i.hasAttribute("contenteditable")||$h(i)}function sv(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var Tl=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,t,o,r=!1,a){this._element=n,this._checker=e,this._ngZone=t,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let t=0;t=0;t--){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Xe(n,{injector:this._injector}):setTimeout(n)}},Ol=(()=>{class i{_checker=l(Fl);_ngZone=l(T);_document=l(R);_injector=l(ie);constructor(){l(ke).load(hn)}create(e,t=!1){return new Tl(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ii=(function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i})(ii||{}),zh="cdk-high-contrast-black-on-white",Hh="cdk-high-contrast-white-on-black",Rl="cdk-high-contrast-active",kl=(()=>{class i{_platform=l(te);_hasCheckedHighContrastMode;_document=l(R);_breakpointSubscription;constructor(){this._breakpointSubscription=l(Ao).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ii.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,o=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ii.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ii.BLACK_ON_WHITE}return ii.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Rl,zh,Hh),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===ii.BLACK_ON_WHITE?e.add(Rl,zh):t===ii.WHITE_ON_BLACK&&e.add(Rl,Hh)}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Pl={},Ae=(()=>{class i{_appId=l(Mn);getId(e){return this._appId!=="ng"&&(e+=this._appId),Pl.hasOwnProperty(e)||(Pl[e]=0),`${e}${Pl[e]++}`}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var lv=200,Da=class{_letterKeyStream=new C;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C;selectedItem=this._selectedItem;constructor(n,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:lv;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(de(e=>this._pressedLetters.push(e)),Yo(n),oe(()=>this._pressedLetters.length>0),k(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tn.disabled;constructor(n,e){this._items=n,n instanceof In?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):ui(n)&&(this._effectRef=or(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new C;change=new C;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Da(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t,this._typeahead?.setCurrentSelectedItemIndex(t))}}};var Mo=class extends pn{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Ro=class extends pn{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Gh=" ";function Ll(i,n,e){let t=Wh(i,n);e=e.trim(),!t.some(o=>o.trim()===e)&&(t.push(e),i.setAttribute(n,t.join(Gh)))}function Ea(i,n,e){let t=Wh(i,n);e=e.trim();let o=t.filter(r=>r!==e);o.length?i.setAttribute(n,o.join(Gh)):i.removeAttribute(n)}function Wh(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var dv=new v("cdk-dir-doc",{providedIn:"root",factory:uv});function uv(){return l(R)}var hv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function qh(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?hv.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ke=(()=>{class i{value="ltr";change=new q;constructor(){let e=l(dv,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=qh(t||o||"ltr")}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Nl=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({})}return i})();var gn=(()=>{class i{constructor(){l(kl)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[Nl,Nl]})}return i})();var mv=["*"],pv=new v("MAT_ICON_DEFAULT_OPTIONS"),fv=new v("mat-icon-location",{providedIn:"root",factory:gv});function gv(){let i=l(R),n=i?i.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var Yh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_v=Yh.map(i=>`[${i}]`).join(", "),vv=/^url\(['"]?#(.*?)['"]?\)$/,ni=(()=>{class i{_elementRef=l(P);_iconRegistry=l(Mh);_location=l(fv);_errorHandler=l(Ut);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Pe.EMPTY;constructor(){let e=l(new Pc("aria-hidden"),{optional:!0}),t=l(pv,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let o=e.childNodes[t];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),t.forEach(o=>e.classList.add(o)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((o,r)=>{o.forEach(a=>{r.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(_v),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let s=t[r],c=s.getAttribute(a),h=c?c.match(vv):null;if(h){let p=o.get(s);p||(p=[],o.set(s,p)),p.push({name:a,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe(Re(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${t}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,o){t&2&&(V("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Je(o.color?"mat-"+o.color:""),N("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",L],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:mv,decls:1,vars:0,template:function(t,o){t&1&&(ue(),B(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto} -`],encapsulation:2,changeDetection:0})}return i})();var Mi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}} -`],encapsulation:2,changeDetection:0})}return i})();var yt=(function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i})(yt||{}),Sa,Ri;function Aa(){if(Ri==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ri=!1,Ri;if("scrollBehavior"in document.documentElement.style)Ri=!0;else{let i=Element.prototype.scrollTo;i?Ri=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Ri=!1}}return Ri}function _n(){if(typeof document!="object"||!document)return yt.NORMAL;if(Sa==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",i.appendChild(e),document.body.appendChild(i),Sa=yt.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,Sa=i.scrollLeft===0?yt.NEGATED:yt.INVERTED),i.remove()}return Sa}function Bl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var vn,Zh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Vl(){if(vn)return vn;if(typeof document!="object"||!document)return vn=new Set(Zh),vn;let i=document.createElement("input");return vn=new Set(Zh.filter(n=>(i.setAttribute("type",n),i.type===n))),vn}function Ti(i){return i!=null&&`${i}`!="false"}function Ce(i){return i==null?"":typeof i=="string"?i:`${i}px`}var ht=(function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i})(ht||{}),jl=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ht.HIDDEN;constructor(n,e,t,o=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},Xh=dn({passive:!0,capture:!0}),Ul=class{_events=new Map;addHandler(n,e,t,o){let r=this._events.get(e);if(r){let a=r.get(t);a?a.add(o):r.set(t,new Set([o]))}else this._events.set(e,new Map([[t,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Xh)})}removeHandler(n,e,t){let o=this._events.get(n);if(!o)return;let r=o.get(e);r&&(r.delete(t),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Xh)))}_delegateEventHandler=n=>{let e=Be(n);e&&this._events.get(n.type)?.forEach((t,o)=>{(o===e||o.contains(e))&&t.forEach(r=>r.handleEvent(n))})}},To={enterDuration:225,exitDuration:150},bv=800,Qh=dn({passive:!0,capture:!0}),Jh=["mousedown","touchstart"],em=["mouseup","mouseleave","touchend","touchcancel"],yv=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none} -`],encapsulation:2,changeDetection:0})}return i})(),Fo=class i{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Ul;constructor(n,e,t,o,r){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=at(t)),r&&r.get(ke).load(yv)}fadeInRipple(n,e,t={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=_(_({},To),t.animation);t.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let a=t.radius||Cv(n,e,o),s=n-o.left,c=e-o.top,h=r.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=`${s-a}px`,p.style.top=`${c-a}px`,p.style.height=`${a*2}px`,p.style.width=`${a*2}px`,t.color!=null&&(p.style.backgroundColor=t.color),p.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(p);let M=window.getComputedStyle(p),j=M.transitionProperty,U=M.transitionDuration,Y=j==="none"||U==="0s"||U==="0s, 0s"||o.width===0&&o.height===0,F=new jl(this,p,t,Y);p.style.transform="scale3d(1, 1, 1)",F.state=ht.FADING_IN,t.persistent||(this._mostRecentTransientRipple=F);let K=null;return!Y&&(h||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Ze=()=>{K&&(K.fallbackTimer=null),clearTimeout(fe),this._finishRippleTransition(F)},Vt=()=>this._destroyRipple(F),fe=setTimeout(Vt,h+100);p.addEventListener("transitionend",Ze),p.addEventListener("transitioncancel",Vt),K={onTransitionEnd:Ze,onTransitionCancel:Vt,fallbackTimer:fe}}),this._activeRipples.set(F,K),(Y||!h)&&this._finishRippleTransition(F),F}fadeOutRipple(n){if(n.state===ht.FADING_OUT||n.state===ht.HIDDEN)return;let e=n.element,t=_(_({},To),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=ht.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=at(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Jh.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{em.forEach(e=>{this._triggerElement.addEventListener(e,this,Qh)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ht.FADING_IN?this._startFadeOutTransition(n):n.state===ht.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=ht.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ht.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Do(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===ht.VISIBLE||n.config.terminateOnPointerUp&&n.state===ht.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(Jh.forEach(e=>i._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(em.forEach(e=>n.removeEventListener(e,this,Qh)),this._pointerUpEventsRegistered=!1))}};function Cv(i,n,e){let t=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+o*o)}var Oo=new v("mat-ripple-global-options"),tm=(()=>{class i{_elementRef=l(P);_animationMode=l(De,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=l(T),t=l(te),o=l(Oo,{optional:!0}),r=l(ie);this._globalOptions=o||{},this._rippleRenderer=new Fo(this,e,this._elementRef,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:_(_(_({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,_(_({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,_(_({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,o){t&2&&N("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return i})();var wv={capture:!0},Dv=["focus","mousedown","mouseenter","touchstart"],zl="mat-ripple-loader-uninitialized",Hl="mat-ripple-loader-class-name",im="mat-ripple-loader-centered",Ia="mat-ripple-loader-disabled",Ma=(()=>{class i{_document=l(R);_animationMode=l(De,{optional:!0});_globalRippleOptions=l(Oo,{optional:!0});_platform=l(te);_ngZone=l(T);_injector=l(ie);_eventCleanups;_hosts=new Map;constructor(){let e=l(Fe).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Dv.map(t=>Ye(e,this._document,t,this._onInteraction,wv)))}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);this._eventCleanups.forEach(t=>t())}configureRipple(e,t){e.setAttribute(zl,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(Hl))&&e.setAttribute(Hl,t.className||""),t.centered&&e.setAttribute(im,""),t.disabled&&e.setAttribute(Ia,"")}setDisabled(e,t){let o=this._hosts.get(e);o?(o.target.rippleDisabled=t,!t&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):t?e.setAttribute(Ia,""):e.removeAttribute(Ia)}_onInteraction=e=>{let t=Be(e);if(t instanceof HTMLElement){let o=t.closest(`[${zl}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",e.getAttribute(Hl)),e.append(t);let o=this._animationMode==="NoopAnimations",r=this._globalRippleOptions,a=o?0:r?.animation?.enterDuration??To.enterDuration,s=o?0:r?.animation?.exitDuration??To.exitDuration,c={rippleDisabled:o||r?.disabled||e.hasAttribute(Ia),rippleConfig:{centered:e.hasAttribute(im),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:a,exitDuration:s}}},h=new Fo(c,this._ngZone,t,this._platform,this._injector),p=!c.rippleDisabled;p&&h.setupTriggerEvents(e),this._hosts.set(e,{target:c,renderer:h,hasSetUpEvents:p}),e.removeAttribute(zl)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Ra=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var bn=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,t,o,r){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=o,this._stateChanges=r}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,o=this.ngControl?this.ngControl.control:null,r=t?.isErrorState(o,e)??!1;r!==n&&(this.errorState=r,this._stateChanges.next())}};var $l=class{_box;_destroyed=new C;_resizeSubject=new C;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new mt(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(oe(e=>e.some(t=>t.target===n)),rs({bufferSize:1,refCount:!0}),le(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},nm=(()=>{class i{_cleanupErrorListener;_observers=new Map;_ngZone=l(T);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let o=t?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new $l(o)),this._observers.get(o).observe(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var xv=["notch"],Ev=["matFormFieldNotchedOutline",""],Sv=["*"],Av=["textField"],Iv=["iconPrefixContainer"],Mv=["textPrefixContainer"],Rv=["iconSuffixContainer"],Tv=["textSuffixContainer"],Fv=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ov=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function kv(i,n){i&1&&z(0,"span",20)}function Pv(i,n){if(i&1&&(u(0,"label",19),B(1,1),E(2,kv,1,0,"span",20),d()),i&2){let e=w(2);b("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),V("for",e._control.disableAutomaticLabeling?null:e._control.id),m(2),ae(!e.hideRequiredMarker&&e._control.required?2:-1)}}function Lv(i,n){if(i&1&&E(0,Pv,3,5,"label",19),i&2){let e=w();ae(e._hasFloatingLabel()?0:-1)}}function Nv(i,n){i&1&&z(0,"div",7)}function Bv(i,n){}function Vv(i,n){if(i&1&&E(0,Bv,0,0,"ng-template",13),i&2){w(2);let e=pe(1);b("ngTemplateOutlet",e)}}function jv(i,n){if(i&1&&(u(0,"div",9),E(1,Vv,1,1,null,13),d()),i&2){let e=w();b("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),m(),ae(e._forceDisplayInfixLabel()?-1:1)}}function Uv(i,n){i&1&&(u(0,"div",10,2),B(2,2),d())}function zv(i,n){i&1&&(u(0,"div",11,3),B(2,3),d())}function Hv(i,n){}function $v(i,n){if(i&1&&E(0,Hv,0,0,"ng-template",13),i&2){w();let e=pe(1);b("ngTemplateOutlet",e)}}function Gv(i,n){i&1&&(u(0,"div",14,4),B(2,4),d())}function Wv(i,n){i&1&&(u(0,"div",15,5),B(2,5),d())}function qv(i,n){i&1&&z(0,"div",16)}function Yv(i,n){i&1&&B(0,6)}function Kv(i,n){if(i&1&&(u(0,"mat-hint",21),f(1),d()),i&2){let e=w(2);b("id",e._hintLabelId),m(),Oe(e.hintLabel)}}function Zv(i,n){if(i&1&&(E(0,Kv,2,2,"mat-hint",21),B(1,7),z(2,"div",22),B(3,8)),i&2){let e=w();ae(e.hintLabel?0:-1)}}var ko=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["mat-label"]]})}return i})(),dm=new v("MatError");var Gl=(()=>{class i{align="start";id=l(Ae).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(je("id",o.id),V("align",null),N("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),um=new v("MatPrefix");var Wl=new v("MatSuffix"),ql=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[se([{provide:Wl,useExisting:i}])]})}return i})(),hm=new v("FloatingLabelParent"),om=(()=>{class i{_elementRef=l(P);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=l(nm);_ngZone=l(T);_parent=l(hm);_resizeSubscription=new Pe;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Xv(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&N("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Xv(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var rm="mdc-line-ripple--active",Ta="mdc-line-ripple--deactivating",am=(()=>{class i{_elementRef=l(P);_cleanupTransitionEnd;constructor(){let e=l(T),t=l(_e);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ta),e.add(rm)}deactivate(){this._elementRef.nativeElement.classList.add(Ta)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(Ta);e.propertyName==="opacity"&&o&&t.remove(rm,Ta)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),sm=(()=>{class i{_elementRef=l(P);_ngZone=l(T);open=!1;_notch;constructor(){}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,o){if(t&1&&ve(xv,5),t&2){let r;$(r=G())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,o){t&2&&N("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Ev,ngContentSelectors:Sv,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,o){t&1&&(ue(),z(0,"div",1),u(1,"div",2,0),B(3),d(),z(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),yn=(()=>{class i{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i})}return i})();var oi=new v("MatFormField"),mm=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),lm="fill",Qv="auto",cm="fixed",Jv="translateY(-50%)",Fi=(()=>{class i{_elementRef=l(P);_changeDetectorRef=l(ye);_dir=l(Ke);_platform=l(te);_idGenerator=l(Ae);_ngZone=l(T);_injector=l(ie);_defaults=l(mm,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Kc(ko);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ti(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Qv}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(e){let t=this._appearance,o=e||this._defaults?.appearance||lm;this._appearance=o,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance=lm;get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||cm}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||cm}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new C;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){let e=this._defaults;e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),this._animationsDisabled=l(De,{optional:!0})==="NoopAnimations"}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Pt(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Te([void 0,void 0]),k(()=>[t.errorState,t.userAriaDescribedBy]),os(),oe(([[r,a],[s,c]])=>r!==s||a!==c)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(le(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ge(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Zo(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(le(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Pt(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let t=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,o=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,h=r?.getBoundingClientRect().width??0,p=a?.getBoundingClientRect().width??0,M=this._dir.value==="rtl"?"-1":"1",j=`${s+c}px`,Y=`calc(${M} * (${j} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${Jv} translateX(${Y}) - )`;let F=s+c+h+p;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${F}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,o,r){if(t&1&&(od(r,o._labelChild,ko,5),he(r,yn,5),he(r,um,5),he(r,Wl,5),he(r,dm,5),he(r,Gl,5)),t&2){rd();let a;$(a=G())&&(o._formFieldControl=a.first),$(a=G())&&(o._prefixChildren=a),$(a=G())&&(o._suffixChildren=a),$(a=G())&&(o._errorChildren=a),$(a=G())&&(o._hintChildren=a)}},viewQuery:function(t,o){if(t&1&&(ve(Av,5),ve(Iv,5),ve(Mv,5),ve(Rv,5),ve(Tv,5),ve(om,5),ve(sm,5),ve(am,5)),t&2){let r;$(r=G())&&(o._textField=r.first),$(r=G())&&(o._iconPrefixContainer=r.first),$(r=G())&&(o._textPrefixContainer=r.first),$(r=G())&&(o._iconSuffixContainer=r.first),$(r=G())&&(o._textSuffixContainer=r.first),$(r=G())&&(o._floatingLabel=r.first),$(r=G())&&(o._notchedOutline=r.first),$(r=G())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(t,o){t&2&&N("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[se([{provide:oi,useExisting:i},{provide:hm,useExisting:i}])],ngContentSelectors:Ov,decls:20,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,o){if(t&1){let r=ge();ue(Fv),E(0,Lv,1,1,"ng-template",null,0,nr),u(2,"div",6,1),O("click",function(s){return Q(r),J(o._control.onContainerClick(s))}),E(4,Nv,1,0,"div",7),u(5,"div",8),E(6,jv,2,2,"div",9)(7,Uv,3,0,"div",10)(8,zv,3,0,"div",11),u(9,"div",12),E(10,$v,1,1,null,13),B(11),d(),E(12,Gv,3,0,"div",14)(13,Wv,3,0,"div",15),d(),E(14,qv,1,0,"div",16),d(),u(15,"div",17),ld(16),u(17,"div",18),E(18,Yv,1,0)(19,Zv,4,1),d()()}if(t&2){let r;m(2),N("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),m(2),ae(!o._hasOutline()&&!o._control.disabled?4:-1),m(2),ae(o._hasOutline()?6:-1),m(),ae(o._hasIconPrefix?7:-1),m(),ae(o._hasTextPrefix?8:-1),m(2),ae(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),m(2),ae(o._hasTextSuffix?12:-1),m(),ae(o._hasIconSuffix?13:-1),m(),ae(o._hasOutline()?-1:14),m(),N("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic");let a=o._getSubscriptMessageType();m(2),N("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),m(),ae((r=a)==="error"?18:r==="hint"?19:-1)}},dependencies:[om,sm,bs,am,Gl],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)} -`],encapsulation:2,changeDetection:0})}return i})();var pm=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[gn,gn]})}return i})();var bm=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ym=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function tb(i,n){i&1&&(u(0,"span",3),B(1,1),d())}function ib(i,n){i&1&&(u(0,"span",6),B(1,2),d())}function nb(i,n){i&1&&(u(0,"span",3),B(1,1),u(2,"span",8),kc(),u(3,"svg",9),z(4,"path",10),d()()())}function ob(i,n){i&1&&(u(0,"span",6),B(1,2),d())}var Cm=`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content} -`,rb=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ab=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function sb(i,n){i&1&&z(0,"span",0)}function lb(i,n){i&1&&(u(0,"span",2),B(1),d())}function cb(i,n){i&1&&B(0,1)}function db(i,n){i&1&&z(0,"span",7)}function ub(i,n){if(i&1&&E(0,cb,1,0)(1,db,1,0,"span",7),i&2){let e=w();ae(e.contentEditInput?0:1)}}function hb(i,n){i&1&&B(0,2)}function mb(i,n){i&1&&(u(0,"span",5),B(1,3),d())}var Ql=["*"],wm=`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px} -`,Jl=new v("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),fm=new v("MatChipAvatar"),gm=new v("MatChipTrailingIcon"),_m=new v("MatChipRemove"),Oa=new v("MatChip"),Fa=(()=>{class i{_elementRef=l(P);_parentChip=l(Oa);isInteractive=!0;_isPrimary=!0;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){l(ke).load(Mi),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,o){t&1&&O("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(V("tabindex",o._getTabindex())("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),N("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--presentational",!o.isInteractive)("mdc-evolution-chip__action--trailing",!o._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",L],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Ui(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return i})();var Po=(()=>{class i{_changeDetectorRef=l(ye);_elementRef=l(P);_ngZone=l(T);_focusMonitor=l(Ai);_globalRippleOptions=l(Oo,{optional:!0});_document=l(R);_onFocus=new C;_onBlur=new C;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled;_allLeadingIcons;_allTrailingIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=l(Ae).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_ariaDescriptionId=`${this.id}-aria-description`;_chipListDisabled=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new q;destroyed=new q;basicChipAttrName="mat-basic-chip";leadingIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=l(Ma);_injector=l(ie);constructor(){let e=l(ke);e.load(Mi),e.load(hn);let t=l(De,{optional:!0});this._animationsDisabled=t==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Ge(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let o=t._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,o,r){if(t&1&&(he(r,fm,5),he(r,gm,5),he(r,_m,5),he(r,fm,5),he(r,gm,5),he(r,_m,5)),t&2){let a;$(a=G())&&(o.leadingIcon=a.first),$(a=G())&&(o.trailingIcon=a.first),$(a=G())&&(o.removeIcon=a.first),$(a=G())&&(o._allLeadingIcons=a),$(a=G())&&(o._allTrailingIcons=a),$(a=G())&&(o._allRemoveIcons=a)}},viewQuery:function(t,o){if(t&1&&ve(Fa,5),t&2){let r;$(r=G())&&(o.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,o){t&1&&O("keydown",function(a){return o._handleKeydown(a)}),t&2&&(je("id",o.id),V("role",o.role)("aria-label",o.ariaLabel),Je("mat-"+(o.color||"primary")),N("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-basic-chip",o._isBasicChip)("mat-mdc-standard-chip",!o._isBasicChip)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon())("_mat-animation-noopable",o._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",L],highlighted:[2,"highlighted","highlighted",L],disableRipple:[2,"disableRipple","disableRipple",L],disabled:[2,"disabled","disabled",L]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[se([{provide:Oa,useExisting:i}])],ngContentSelectors:ym,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,o){t&1&&(ue(bm),z(0,"span",0),u(1,"span",1)(2,"span",2),E(3,tb,2,0,"span",3),u(4,"span",4),B(5),z(6,"span",5),d()()(),E(7,ib,2,0,"span",6)),t&2&&(m(2),b("isInteractive",!1),m(),ae(o.leadingIcon?3:-1),m(4),ae(o._hasTrailingIcon()?7:-1))},dependencies:[Fa],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content} -`],encapsulation:2,changeDetection:0})}return i})();var ec=(()=>{class i extends Po{_defaultOptions=l(Jl,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(e){this._setSelectedState(e,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new q;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,t,o){e!==this.selected&&(this._selected=e,o&&this.selectionChange.emit({source:this,isUserInput:t,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(t,o){t&2&&(je("id",o.id),V("tabindex",null)("aria-label",null)("aria-description",null)("role",o.role),N("mdc-evolution-chip",!o._isBasicChip)("mdc-evolution-chip--filter",!o._isBasicChip)("mdc-evolution-chip--selectable",!o._isBasicChip)("mat-mdc-chip-selected",o.selected)("mat-mdc-chip-multiple",o._chipListMultiple)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-with-avatar",o.leadingIcon)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--selected",o.selected)("mdc-evolution-chip--selecting",!o._animationsDisabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-primary-graphic",o._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",L],selected:[2,"selected","selected",L]},outputs:{selectionChange:"selectionChange"},features:[se([{provide:Po,useExisting:i},{provide:Oa,useExisting:i}]),ee],ngContentSelectors:ym,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(t,o){t&1&&(ue(bm),z(0,"span",0),u(1,"span",1)(2,"button",2),E(3,nb,5,0,"span",3),u(4,"span",4),B(5),z(6,"span",5),d()()(),E(7,ob,2,0,"span",6),u(8,"span",7),f(9),d()),t&2&&(m(2),b("_allowFocusWhenDisabled",!0),V("aria-selected",o.ariaSelected)("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),m(),ae(o._hasLeadingGraphic()?3:-1),m(4),ae(o._hasTrailingIcon()?7:-1),m(),b("id",o._ariaDescriptionId),m(),Oe(o.ariaDescription))},dependencies:[Fa],styles:[Cm],encapsulation:2,changeDetection:0})}return i})(),Yl=(()=>{class i{_elementRef=l(P);_document=l(R);constructor(){}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return i})(),Lo=(()=>{class i extends Po{basicChipAttrName="mat-basic-chip-row";_editStartPending=!1;editable=!1;edited=new q;defaultEditInput;contentEditInput;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(le(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,Xe(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,o,r){if(t&1&&he(r,Yl,5),t&2){let a;$(a=G())&&(o.contentEditInput=a.first)}},viewQuery:function(t,o){if(t&1&&ve(Yl,5),t&2){let r;$(r=G())&&(o.defaultEditInput=r.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,o){t&1&&O("focus",function(){return o._handleFocus()})("dblclick",function(a){return o._handleDoubleclick(a)}),t&2&&(je("id",o.id),V("tabindex",o.disabled?null:-1)("aria-label",null)("aria-description",null)("role",o.role),N("mat-mdc-chip-with-avatar",o.leadingIcon)("mat-mdc-chip-disabled",o.disabled)("mat-mdc-chip-editing",o._isEditing)("mat-mdc-chip-editable",o.editable)("mdc-evolution-chip--disabled",o.disabled)("mdc-evolution-chip--with-trailing-action",o._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",o.leadingIcon)("mdc-evolution-chip--with-primary-icon",o.leadingIcon)("mdc-evolution-chip--with-avatar",o.leadingIcon)("mat-mdc-chip-highlighted",o.highlighted)("mat-mdc-chip-with-trailing-icon",o._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[se([{provide:Po,useExisting:i},{provide:Oa,useExisting:i}]),ee],ngContentSelectors:ab,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,o){t&1&&(ue(rb),E(0,sb,1,0,"span",0),u(1,"span",1),E(2,lb,2,0,"span",2),u(3,"span",3),E(4,ub,2,1)(5,hb,1,0),z(6,"span",4),d()(),E(7,mb,2,0,"span",5),u(8,"span",6),f(9),d()),t&2&&(ae(o._isEditing?-1:0),m(),b("disabled",o.disabled),V("aria-label",o.ariaLabel)("aria-describedby",o._ariaDescriptionId),m(),ae(o.leadingIcon?2:-1),m(2),ae(o._isEditing?4:5),m(3),ae(o._hasTrailingIcon()?7:-1),m(),b("id",o._ariaDescriptionId),m(),Oe(o.ariaDescription))},dependencies:[Fa,Yl],styles:[Cm],encapsulation:2,changeDetection:0})}return i})(),Dm=(()=>{class i{_elementRef=l(P);_changeDetectorRef=l(ye);_dir=l(Ke,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new C;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new In;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Te(null),we(()=>Ge(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Te(this._chips)).subscribe(e=>{let t=[];e.forEach(o=>o._getActions().forEach(r=>t.push(r))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new Ro(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(le(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe(le(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Te(null),le(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(le(this._destroyed)).subscribe(e=>{let o=this._chips.toArray().indexOf(e.chip);this._isValidIndex(o)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,o,r){if(t&1&&he(r,Po,5),t&2){let a;$(a=G())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,o){t&1&&O("keydown",function(a){return o._handleKeydown(a)}),t&2&&V("role",o.role)},inputs:{disabled:[2,"disabled","disabled",L],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ui(e)]},ngContentSelectors:Ql,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(ue(),u(0,"div",0),B(1),d())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px} -`],encapsulation:2,changeDetection:0})}return i})(),Kl=class{source;value;constructor(n,e){this.source=n,this.value=e}},pb={provide:Di,useExisting:Ve(()=>tc),multi:!0},tc=(()=>{class i extends Dm{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=l(Jl,{optional:!0});get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties()}_multiple=!1;get selected(){let e=this._chips.toArray().filter(t=>t.selected);return this.multiple?e:e[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties()}_selectable=!0;compareWith=(e,t)=>e===t;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this._chips&&this._chips.length&&this._setSelectionByValue(e,!1),this._value=e}_value;change=new q;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(Te(null),le(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe(le(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(le(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(t=>{t!==e.source&&t._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){e!=null?this.value=e:this.value=void 0}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,t=!0){this._clearSelection(),Array.isArray(e)?e.forEach(o=>this._selectValue(o,t)):this._selectValue(e,t)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){e.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(t=>t.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new Kl(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(t=>{t!==e&&t.deselect()})}_selectValue(e,t){let o=this._chips.find(r=>r.value!=null&&this.compareWith(r.value,e));return o&&(t?o.selectViaInteraction():o.select()),o}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-chip-listbox"]],contentQueries:function(t,o,r){if(t&1&&he(r,ec,5),t&2){let a;$(a=G())&&(o._chips=a)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(t,o){t&1&&O("focus",function(){return o.focus()})("blur",function(){return o._blur()})("keydown",function(a){return o._keydown(a)}),t&2&&(je("tabIndex",o.disabled||o.empty?-1:o.tabIndex),V("role",o.role)("aria-required",o.role?o.required:null)("aria-disabled",o.disabled.toString())("aria-multiselectable",o.multiple)("aria-orientation",o.ariaOrientation),N("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-required",o.required))},inputs:{multiple:[2,"multiple","multiple",L],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",L],compareWith:"compareWith",required:[2,"required","required",L],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",L],value:"value"},outputs:{change:"change"},features:[se([pb]),ee],ngContentSelectors:Ql,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(ue(),u(0,"div",0),B(1),d())},styles:[wm],encapsulation:2,changeDetection:0})}return i})(),Zl=class{source;value;constructor(n,e){this.source=n,this.value=e}},ka=(()=>{class i extends Dm{ngControl=l(bt,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(sn.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}change=new q;valueChange=new q;_chips=void 0;stateChanges=new C;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super();let e=l(ot,{optional:!0}),t=l(yo,{optional:!0}),o=l(Ra);this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new bn(o,this.ngControl,t,e,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(le(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Ge(this.chipFocusChanges,this._chips.changes).pipe(le(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,o=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&ze(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&o){let r=this._chipActions.filter(c=>c._isPrimary===o._isPrimary&&!this._skipPredicate(c)),a=r.indexOf(o),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(r[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Zl(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(t,o,r){if(t&1&&he(r,Lo,5),t&2){let a;$(a=G())&&(o._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,o){t&1&&O("focus",function(){return o.focus()})("blur",function(){return o._blur()}),t&2&&(V("role",o.role)("tabindex",o.disabled||o._chips&&o._chips.length===0?-1:o.tabIndex)("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState),N("mat-mdc-chip-list-disabled",o.disabled)("mat-mdc-chip-list-invalid",o.errorState)("mat-mdc-chip-list-required",o.required))},inputs:{disabled:[2,"disabled","disabled",L],placeholder:"placeholder",required:[2,"required","required",L],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[se([{provide:yn,useExisting:i}]),ee],ngContentSelectors:Ql,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,o){t&1&&(ue(),u(0,"div",0),B(1),d())},styles:[wm],encapsulation:2,changeDetection:0})}return i})(),xm=(()=>{class i{_elementRef=l(P);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new q;placeholder="";id=l(Ae).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}_disabled=!1;get empty(){return!this.inputElement.value}inputElement;constructor(){let e=l(Jl),t=l(oi,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,t&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!ze(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,o){t&1&&O("keydown",function(a){return o._keydown(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),t&2&&(je("id",o.id),V("disabled",o.disabled||null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",L],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",L]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[me]})}return i})();var Em=(()=>{class i{_animationMode=l(De,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&N("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,o){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px} -`],encapsulation:2,changeDetection:0})}return i})();var gb=["text"],_b=[[["mat-icon"]],"*"],vb=["mat-icon","*"];function bb(i,n){if(i&1&&z(0,"mat-pseudo-checkbox",1),i&2){let e=w();b("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function yb(i,n){if(i&1&&z(0,"mat-pseudo-checkbox",3),i&2){let e=w();b("disabled",e.disabled)}}function Cb(i,n){if(i&1&&(u(0,"span",4),f(1),d()),i&2){let e=w();m(),be("(",e.group.label,")")}}var ic=new v("MAT_OPTION_PARENT_COMPONENT"),nc=new v("MatOptgroup");var No=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Cn=(()=>{class i{_element=l(P);_changeDetectorRef=l(ye);_parent=l(ic,{optional:!0});group=l(nc,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=l(Ae).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new q;_text;_stateChanges=new C;constructor(){let e=l(ke);e.load(Mi),e.load(hn),this._signalDisableRipple=!!this._parent&&ui(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!ze(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new No(this,e))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-option"]],viewQuery:function(t,o){if(t&1&&ve(gb,7),t&2){let r;$(r=G())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,o){t&1&&O("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(je("id",o.id),V("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),N("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",L]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:vb,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,o){t&1&&(ue(_b),E(0,bb,1,2,"mat-pseudo-checkbox",1),B(1),u(2,"span",2,0),B(4,1),d(),E(5,yb,1,1,"mat-pseudo-checkbox",3)(6,Cb,2,1,"span",4),z(7,"div",5)),t&2&&(ae(o.multiple?0:-1),m(5),ae(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),m(),ae(o.group&&o.group._inert?6:-1),m(),b("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Em,tm],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""} -`],encapsulation:2,changeDetection:0})}return i})();function Sm(i,n,e){if(e.length){let t=n.toArray(),o=e.toArray(),r=0;for(let a=0;ae+t?Math.max(0,i-t+n):e}var wb=20,oc=(()=>{class i{_ngZone=l(T);_platform=l(te);_renderer=l(Fe).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=wb){return this._platform.isBrowser?new mt(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(es(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):D()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(oe(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_scrollableContainsElement(e,t){let o=at(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Im=(()=>{class i{elementRef=l(P);scrollDispatcher=l(oc);ngZone=l(T);dir=l(Ke,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=l(_e);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&_n()!=yt.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),_n()==yt.INVERTED?e.left=e.right:_n()==yt.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;Aa()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:t:e=="end"&&(e=a?t:o),a&&_n()==yt.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&_n()==yt.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return i})(),Db=20,Bo=(()=>{class i{_platform=l(te);_listeners;_viewportSize;_change=new C;_document=l(R,{optional:!0});constructor(){let e=l(T),t=l(Fe).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[t.listen("window","resize",o),t.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body.scrollTop||t.scrollY||o.scrollTop||0,s=-r.left||e.body.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:a,left:s}}change(e=Db){return e>0?this._change.pipe(es(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var wn=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Oi=class extends wn{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,e,t,o,r){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.projectableNodes=r}},Bt=class extends wn{templateRef;viewContainerRef;context;injector;constructor(n,e,t,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Pa=class extends wn{element;constructor(n){super(),this.element=n instanceof P?n.nativeElement:n}},ki=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Oi)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Bt)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Pa)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Vo=class extends ki{outletElement;_appRef;_defaultInjector;_document;constructor(n,e,t,o,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=o,this._document=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let t=n.injector||n.viewContainerRef.injector,o=t.get(Qo,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let t=this._appRef,o=n.injector||this._defaultInjector||ie.NULL,r=o.get(Le,t.injector);e=rr(n.component,{elementInjector:o,environmentInjector:r,projectableNodes:n.projectableNodes||void 0}),t.attachView(e.hostView),this.setDisposeFn(()=>{t.viewCount>0&&t.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=n,t}attachDomPortal=n=>{let e=n.element;e.parentNode;let t=this._document.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var Dn=(()=>{class i extends ki{_moduleRef=l(Qo,{optional:!0});_document=l(R);_viewContainerRef=l(lt);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new q;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(o,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ee]})}return i})();var Mm=Aa(),La=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ce(-this._previousScrollPosition.left),n.style.top=Ce(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,o=e.style,r=t.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Mm&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Mm&&(t.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var Na=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,t,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(oe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},jo=class{enable(){}disable(){}attach(){}};function rc(i,n){return n.some(e=>{let t=i.bottome.bottom,r=i.righte.right;return t||o||r||a})}function Rm(i,n){return n.some(e=>{let t=i.tope.bottom,r=i.lefte.right;return t||o||r||a})}var Ba=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,t,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();rc(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Lm=(()=>{class i{_scrollDispatcher=l(oc);_viewportRuler=l(Bo);_ngZone=l(T);_document=l(R);constructor(){}noop=()=>new jo;close=e=>new Na(this._scrollDispatcher,this._ngZone,this._viewportRuler,e);block=()=>new La(this._viewportRuler,this._document);reposition=e=>new Ba(this._scrollDispatcher,this._viewportRuler,this._ngZone,e);static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ai=class{positionStrategy;scrollStrategy=new jo;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var Va=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var Nm=(()=>{class i{_attachedOverlays=[];_document=l(R);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Bm=(()=>{class i extends Nm{_ngZone=l(T);_renderer=l(Fe).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--)if(t[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>t[o]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Vm=(()=>{class i extends Nm{_platform=l(te);_ngZone=l(T);_renderer=l(Fe).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,o={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[Ye(this._renderer,t,"pointerdown",this._pointerDownListener,o),Ye(this._renderer,t,"click",this._clickListener,o),Ye(this._renderer,t,"auxclick",this._clickListener,o),Ye(this._renderer,t,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Be(e)};_clickListener=e=>{let t=Be(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let s=r[a];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(Tm(s.overlayElement,t)||Tm(s.overlayElement,o))break;let c=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Tm(i,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===i)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var jm=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} -`],encapsulation:2,changeDetection:0})}return i})(),za=(()=>{class i{_platform=l(te);_containerElement;_document=l(R);_styleLoader=l(ke);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Bl()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},Li=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=Pe.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_renders=new C;_afterRenderRef;_afterNextRenderRef;constructor(n,e,t,o,r,a,s,c,h,p=!1,M,j){this._portalOutlet=n,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=s,this._location=c,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._injector=M,this._renderer=j,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy,this._afterRenderRef=ct(()=>Zo(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Xe(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=_(_({},this._config),n),this._updateElementSize()}setDirection(n){this._config=re(_({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Ce(this._config.width),n.height=Ce(this._config.height),n.minWidth=Ce(this._config.minWidth),n.minHeight=Ce(this._config.minHeight),n.maxWidth=Ce(this._config.maxWidth),n.maxHeight=Ce(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ac(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,t){let o=mn(e||[]).filter(r=>!!r);o.length&&(t?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(le(Ge(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},Fm="cdk-overlay-connected-position-bounding-box",Eb=/([A-Za-z%]+)$/,ja=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new C;_resizeSubscription=Pe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(Fm),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,o,s),h=this._getOverlayPoint(c,e,s),p=this._getOverlayFit(h,e,t,s);if(p.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(p,h,t)){r.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=p,s=h)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Pi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Fm),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let o;if(t.originX=="center")o=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;o=t.originX=="start"?a:s}e.left<0&&(o-=e.left);let r;return t.originY=="center"?r=n.top+n.height/2:r=t.originY=="top"?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,t,o){let r=km(e),{x:a,y:s}=n,c=this._getOffset(o,"x"),h=this._getOffset(o,"y");c&&(a+=c),h&&(s+=h);let p=0-a,M=a+r.width-t.width,j=0-s,U=s+r.height-t.height,Y=this._subtractOverflows(r.width,p,M),F=this._subtractOverflows(r.height,j,U),K=Y*F;return{visibleArea:K,isCompletelyWithinViewport:r.width*r.height===K,fitsInViewportVertically:F===r.height,fitsInViewportHorizontally:Y==r.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,r=t.right-e.x,a=Om(this._overlayRef.getConfig().minHeight),s=Om(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=o,h=n.fitsInViewportHorizontally||s!=null&&s<=r;return c&&h}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=km(e),r=this._viewportRect,a=Math.max(n.x+o.width-r.width,0),s=Math.max(n.y+o.height-r.height,0),c=Math.max(r.top-t.top-n.y,0),h=Math.max(r.left-t.left-n.x,0),p=0,M=0;return o.width<=r.width?p=h||-a:p=n.xY&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-Y/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,h=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,p,M,j;if(h)j=t.width-n.x+this._viewportMargin*2,p=n.x-this._viewportMargin;else if(c)M=n.x,p=t.right-n.x;else{let U=Math.min(t.right-n.x+t.left,n.x),Y=this._lastBoundingBoxSize.width;p=U*2,M=n.x-U,p>Y&&!this._isInitialRender&&!this._growAfterOpen&&(M=n.x-Y/2)}return{top:a,left:M,bottom:s,right:j,width:p,height:r}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Ce(t.height),o.top=Ce(t.top),o.bottom=Ce(t.bottom),o.width=Ce(t.width),o.left=Ce(t.left),o.right=Ce(t.right),e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=Ce(r)),a&&(o.maxWidth=Ce(a))}this._lastBoundingBoxSize=t,Pi(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Pi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Pi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let p=this._viewportRuler.getViewportScrollPosition();Pi(t,this._getExactOverlayY(e,n,p)),Pi(t,this._getExactOverlayX(e,n,p))}else t.position="static";let s="",c=this._getOffset(e,"x"),h=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),h&&(s+=`translateY(${h}px)`),t.transform=s.trim(),a.maxHeight&&(o?t.maxHeight=Ce(a.maxHeight):r&&(t.maxHeight="")),a.maxWidth&&(o?t.maxWidth=Ce(a.maxWidth):r&&(t.maxWidth="")),Pi(this._pane.style,t)}_getExactOverlayY(n,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=Ce(r.y);return o}_getExactOverlayX(n,e,t){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;o.right=`${s-(r.x+this._overlayRect.width)}px`}else o.left=Ce(r.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Rm(n,t),isOriginOutsideView:rc(n,t),isOverlayClipped:Rm(e,t),isOverlayOutsideView:rc(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,o)=>t-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&mn(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof P)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function Pi(i,n){for(let e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i}function Om(i){if(typeof i!="number"&&i!=null){let[n,e]=i.split(Eb);return!e||e==="px"?parseFloat(n):null}return i||null}function km(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Sb(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var Pm="cdk-global-overlay-wrapper",Ua=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(Pm),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:s}=t,c=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),h=(r==="100%"||r==="100vh")&&(!s||s==="100%"||s==="100vh"),p=this._xPosition,M=this._xOffset,j=this._overlayRef.getConfig().direction==="rtl",U="",Y="",F="";c?F="flex-start":p==="center"?(F="center",j?Y=M:U=M):j?p==="left"||p==="end"?(F="flex-end",U=M):(p==="right"||p==="start")&&(F="flex-start",Y=M):p==="left"||p==="start"?(F="flex-start",U=M):(p==="right"||p==="end")&&(F="flex-end",Y=M),n.position=this._cssPosition,n.marginLeft=c?"0":U,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":Y,e.justifyContent=F,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(Pm),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Um=(()=>{class i{_viewportRuler=l(Bo);_document=l(R);_platform=l(te);_overlayContainer=l(za);constructor(){}global(){return new Ua}flexibleConnectedTo(e){return new ja(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Mt=(()=>{class i{scrollStrategies=l(Lm);_overlayContainer=l(za);_positionBuilder=l(Um);_keyboardDispatcher=l(Bm);_injector=l(ie);_ngZone=l(T);_document=l(R);_directionality=l(Ke);_location=l(Dt);_outsideClickDispatcher=l(Vm);_animationsModuleType=l(De,{optional:!0});_idGenerator=l(Ae);_renderer=l(Fe).createRenderer(null,null);_appRef;_styleLoader=l(ke);constructor(){}create(e){this._styleLoader.load(jm);let t=this._createHostElement(),o=this._createPaneElement(t),r=this._createPortalOutlet(o),a=new ai(e);return a.direction=a.direction||this._directionality.value,new Li(r,t,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Le),this._renderer)}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=this._idGenerator.getId("cdk-overlay-"),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(mi)),new Vo(e,null,this._appRef,this._injector,this._document)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var zm={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Ab=["panel"],Ib=["*"];function Mb(i,n){if(i&1&&(u(0,"div",1,0),B(2),d()),i&2){let e=n.id,t=w();Je(t._classList),N("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-autocomplete-panel-animations-enabled",!t._animationsDisabled)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),b("id",t.id),V("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var cc=class{source;option;constructor(n,e){this.source=n,this.option=e}},Hm=new v("mat-autocomplete-default-options",{providedIn:"root",factory:Rb});function Rb(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var Ha=(()=>{class i{_changeDetectorRef=l(ye);_elementRef=l(P);_defaults=l(Hm);_animationsDisabled=l(De,{optional:!0})==="NoopAnimations";_activeOptionChanges=Pe.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new q;opened=new q;closed=new q;optionActivated=new q;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=l(Ae).getId("mat-autocomplete-");inertGroups;constructor(){let e=l(te);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Mo(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new cc(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(t,o,r){if(t&1&&(he(r,Cn,5),he(r,nc,5)),t&2){let a;$(a=G())&&(o.options=a),$(a=G())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(ve(wt,7),ve(Ab,5)),t&2){let r;$(r=G())&&(o.template=r.first),$(r=G())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",L],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",L],requireSelection:[2,"requireSelection","requireSelection",L],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",L],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",L]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[se([{provide:ic,useExisting:i}])],ngContentSelectors:Ib,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,o){t&1&&(ue(),E(0,Mb,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none} -`],encapsulation:2,changeDetection:0})}return i})();var Tb={provide:Di,useExisting:Ve(()=>dc),multi:!0};var Fb=new v("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=l(Mt);return()=>i.scrollStrategies.reposition()}});var dc=(()=>{class i{_environmentInjector=l(Le);_element=l(P);_overlay=l(Mt);_viewContainerRef=l(lt);_zone=l(T);_changeDetectorRef=l(ye);_dir=l(Ke,{optional:!0});_formField=l(oi,{optional:!0,host:!0});_viewportRuler=l(Bo);_scrollStrategy=l(Fb);_renderer=l(_e);_defaults=l(Hm,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new C;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Pe.EMPTY;_breakpointObserver=l(Ao);_handsetLandscapeSubscription=Pe.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new C;_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Ea(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ge(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(oe(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(oe(()=>this._overlayAttached)):D()).pipe(k(e=>e instanceof No?e:null))}optionSelections=Rt(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Te(e),we(()=>Ge(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(we(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new mt(e=>{let t=r=>{let a=Be(r),s=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,c=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!s||!s.contains(a))&&(!c||!c.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},o=[this._renderer.listen("document","click",t),this._renderer.listen("document","auxclick",t),this._renderer.listen("document","touchend",t)];return()=>{o.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,o=ze(e);if(t===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let r=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,o=t.value;if(t.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return Si()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new mt(o=>{Xe(()=>{o.next()},{injector:this._environmentInjector})}),t=this.autocomplete.options?.changes.pipe(de(()=>this._positionStrategy.reapplyLastPosition()),Ic(0))??D();return Ge(e,t).pipe(we(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Re(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),t._emitSelectEvent(o),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Ll(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Bt(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(zm.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!ze(e)||e.keyCode===38&&ze(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new ai({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=t:a=[...t,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&Ea(this._trackedModal,"aria-owns",t),Ll(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;Ea(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,o){t&1&&O("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),t&2&&V("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",L]},exportAs:["matAutocompleteTrigger"],features:[se([Tb]),me]})}return i})();function Pb(i,n){if(i&1){let e=ge();u(0,"mat-chip-row",12),O("removed",function(){let o=Q(e).$implicit,r=w(2);return J(r.remove(o))}),f(1),u(2,"button",13)(3,"mat-icon"),f(4,"cancel"),d()()()}if(i&2){let e=n.$implicit;m(),be(" ",e.name," "),m(),V("aria-label","remove "+e.name)}}function Lb(i,n){if(i&1&&(u(0,"mat-option",11),f(1),d()),i&2){let e=n.$implicit;b("value",e),m(),Oe(e.name)}}function Nb(i,n){if(i&1){let e=ge();u(0,"li",6),f(1),u(2,"form")(3,"mat-form-field",7)(4,"mat-chip-grid",8,0),hs(6,Pb,5,2,"mat-chip-row",null,td),d(),u(8,"input",9,1),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.currentRole,o)||(r.currentRole=o),J(o)}),O("matChipInputTokenEnd",function(o){Q(e);let r=w();return J(r.add(o))})("input",function(o){let r=Q(e).$implicit,a=w();return J(a.change(o,a.filteredRoles(r.roles)))}),d(),u(10,"mat-autocomplete",10,2),O("optionSelected",function(o){let r=Q(e).$implicit,a=w();return J(a.selected(r.roles,o))}),hs(12,Lb,2,2,"mat-option",11,id),d()()()()}if(i&2){let e=n.$implicit,t=pe(5),o=pe(11),r=w();m(),sd(" ",e.username," ",e.email," ",e.password," "),m(5),ms(e.roles),m(2),xe("ngModel",r.currentRole),b("matChipInputFor",t)("matAutocomplete",o)("matChipInputSeparatorKeyCodes",r.separatorKeysCodes)("formControl",r.myControl),m(2),b("formControl",r.ac),m(2),ms(r.filteredRoles(e.roles))}}var $m=(()=>{class i{userService;roleService;gridApi;separatorKeysCodes=[13,188];rowData;allRoles;currentRole=Zc("");myControl=new bo("");ac=new bo("");constructor(e,t){this.userService=e,this.roleService=t,this.getAllRoles()}ngOnInit(){this.userService.getAdminBoard().subscribe(e=>{this.rowData=e},e=>{this.rowData=JSON.parse(e.error).message})}filteredRoles(e){return this.allRoles.filter(t=>!e.some(o=>o.id===t.id))}getAllRoles(){this.roleService.getAllRoles().subscribe(e=>{this.allRoles=e},e=>{this.allRoles=JSON.parse(e.error).message})}remove(e){}add(e){let t=(e.value||"").trim();this.currentRole.set("")}selected(e,t){e.push(t.option.value),this.currentRole.set(""),t.option.deselect()}change(e,t){t.filter(o=>!t.some(r=>r.name?.toLowerCase()===o.id))}static \u0275fac=function(t){return new(t||i)(y(va),y(xh))};static \u0275cmp=x({type:i,selectors:[["app-board-admin"]],inputs:{currentRole:[1,"currentRole"]},outputs:{currentRole:"currentRoleChange"},standalone:!1,decls:5,vars:1,consts:[["chipGrid",""],["fruitInput",""],["auto","matAutocomplete"],[1,"col-md-6"],[1,"list-group"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"list-group-item"],[1,"example-chip-list"],["aria-label","Role selection"],["name","currentFruit","placeholder","Add role...",3,"ngModelChange","matChipInputTokenEnd","input","ngModel","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","formControl"],["autoActiveFirstOption","",3,"optionSelected","formControl"],[3,"value"],[3,"removed"],["matChipRemove",""]],template:function(t,o){t&1&&(u(0,"div",3)(1,"h4"),f(2,"Users List"),d(),u(3,"ul",4),E(4,Nb,14,9,"li",5),d()()),t&2&&(m(4),b("ngForOf",o.rowData))},dependencies:[Ht,ti,Ne,qe,ei,ot,ni,ka,Lo,xm,dc,Ha,Cn,Fi,Dl],styles:[".example-chip-list[_ngcontent-%COMP%]{width:100%}"]})}return i})();var Gm=(()=>{class i{constructor(){}ngOnInit(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["app-board-moderator"]],standalone:!1,decls:2,vars:0,template:function(t,o){t&1&&(u(0,"p"),f(1,"board-moderator works!"),d())},encapsulation:2})}return i})();var Wm=(()=>{class i{constructor(){}ngOnInit(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["app-board-user"]],standalone:!1,decls:2,vars:0,template:function(t,o){t&1&&(u(0,"p"),f(1,"board-user works!"),d())},encapsulation:2})}return i})();var uc="auth-token",$a="auth-user",si=(()=>{class i{constructor(){}signOut(){window.sessionStorage.clear()}saveToken(e){window.sessionStorage.removeItem(uc),window.sessionStorage.setItem(uc,e)}getToken(){return window.sessionStorage.getItem(uc)}saveUser(e){window.sessionStorage.removeItem($a),window.sessionStorage.setItem($a,JSON.stringify(e))}getUser(){let e=window.sessionStorage.getItem($a);return e?JSON.parse(e):{}}clean(){window.sessionStorage.clear()}isLoggedIn(){return!!window.sessionStorage.getItem($a)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Bb(i,n){if(i&1&&(u(0,"li"),f(1),d()),i&2){let e=n.$implicit;m(),be(" ",e," ")}}function Vb(i,n){if(i&1&&(u(0,"div",2)(1,"header",3)(2,"h3")(3,"strong"),f(4),d(),f(5," Profile "),d()(),u(6,"p")(7,"strong"),f(8,"Token:"),d(),f(9),d(),u(10,"p")(11,"strong"),f(12,"Email:"),d(),f(13),d(),u(14,"strong"),f(15,"Roles:"),d(),u(16,"ul"),E(17,Bb,2,1,"li",4),d()()),i&2){let e=w();m(4),Oe(e.currentUser.username),m(5),ad(" ",e.currentUser.accessToken.substring(0,20)," ... ",e.currentUser.accessToken.substr(e.currentUser.accessToken.length-20)," "),m(4),be(" ",e.currentUser.email," "),m(4),b("ngForOf",e.currentUser.roles)}}function jb(i,n){i&1&&f(0," Please login. ")}var qm=(()=>{class i{token;currentUser;constructor(e){this.token=e}ngOnInit(){this.currentUser=this.token.getUser()}static \u0275fac=function(t){return new(t||i)(y(si))};static \u0275cmp=x({type:i,selectors:[["app-profile"]],standalone:!1,decls:3,vars:2,consts:[["loggedOut",""],["class","container",4,"ngIf","ngIfElse"],[1,"container"],[1,"jumbotron"],[4,"ngFor","ngForOf"]],template:function(t,o){if(t&1&&E(0,Vb,18,5,"div",1)(1,jb,1,0,"ng-template",null,0,nr),t&2){let r=pe(2);b("ngIf",o.currentUser)("ngIfElse",r)}},dependencies:[Ht,Ue],encapsulation:2})}return i})();var hc="http://localhost:8080/api/auth/",mc={headers:new xt({"Content-Type":"application/json"})},xn=(()=>{class i{http;constructor(e){this.http=e}login(e,t){return this.http.post(hc+"signin",{username:e,password:t},mc)}register(e,t,o){return this.http.post(hc+"signup",{username:e,email:t,password:o},mc)}logout(){return this.http.post(hc+"signout",{},mc)}static \u0275fac=function(t){return new(t||i)(A(dt))};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var fc=()=>({standalone:!0});function Ub(i,n){i&1&&(u(0,"div"),f(1,"Username is required"),d())}function zb(i,n){i&1&&(u(0,"div"),f(1," Username must be at least 3 characters "),d())}function Hb(i,n){i&1&&(u(0,"div"),f(1," Username must be at most 20 characters "),d())}function $b(i,n){if(i&1&&(u(0,"div",20),E(1,Ub,2,0,"div",21)(2,zb,2,0,"div",21)(3,Hb,2,0,"div",21),d()),i&2){w();let e=pe(6);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.minlength),m(),b("ngIf",e.errors.maxlength)}}function Gb(i,n){i&1&&(u(0,"div"),f(1,"Email is required"),d())}function Wb(i,n){i&1&&(u(0,"div"),f(1," Email must be a valid email address "),d())}function qb(i,n){if(i&1&&(u(0,"div",20),E(1,Gb,2,0,"div",21)(2,Wb,2,0,"div",21),d()),i&2){w();let e=pe(12);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.email)}}function Yb(i,n){i&1&&(u(0,"div"),f(1,"Password is required"),d())}function Kb(i,n){i&1&&(u(0,"div"),f(1," Password must be at least 6 characters "),d())}function Zb(i,n){if(i&1&&(u(0,"div",20),E(1,Yb,2,0,"div",21)(2,Kb,2,0,"div",21),d()),i&2){w();let e=pe(18);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.minlength)}}function Xb(i,n){if(i&1&&(u(0,"div",22),f(1," Signup failed!"),z(2,"br"),f(3),d()),i&2){let e=w(2);m(3),be("",e.errorMessage," ")}}function Qb(i,n){if(i&1){let e=ge();u(0,"form",9,0),O("ngSubmit",function(){Q(e);let o=pe(1),r=w();return J(o.form.valid&&r.onSubmit())}),u(2,"div",10)(3,"label",11),f(4,"Username"),d(),u(5,"input",12,1),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.username,o)||(r.form.username=o),J(o)}),d(),E(7,$b,4,3,"div",13),d(),u(8,"div",10)(9,"label",14),f(10,"Email"),d(),u(11,"input",15,2),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.email,o)||(r.form.email=o),J(o)}),d(),E(13,qb,3,2,"div",13),d(),u(14,"div",10)(15,"label",16),f(16,"Password"),d(),u(17,"input",17,3),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.password,o)||(r.form.password=o),J(o)}),d(),E(19,Zb,3,2,"div",13),d(),u(20,"div",10)(21,"button",18),f(22,"Sign Up"),d()(),E(23,Xb,4,1,"div",19),d()}if(i&2){let e=pe(1),t=pe(6),o=pe(12),r=pe(18),a=w();m(5),xe("ngModel",a.form.username),b("ngModelOptions",ir(10,fc)),m(2),b("ngIf",t.errors&&e.submitted),m(4),xe("ngModel",a.form.email),b("ngModelOptions",ir(11,fc)),m(2),b("ngIf",o.errors&&e.submitted),m(4),xe("ngModel",a.form.password),b("ngModelOptions",ir(12,fc)),m(2),b("ngIf",r.errors&&e.submitted),m(4),b("ngIf",e.submitted&&a.isSignUpFailed)}}function Jb(i,n){i&1&&(u(0,"div",23),f(1," Your registration is successful! "),d())}var Ym=(()=>{class i{authService;form={username:null,email:null,password:null};isSuccessful=!1;isSignUpFailed=!1;errorMessage="";constructor(e){this.authService=e}ngOnInit(){}onSubmit(){let{username:e,email:t,password:o}=this.form;this.authService.register(e,t,o).subscribe(r=>{console.log(r),this.isSuccessful=!0,this.isSignUpFailed=!1},r=>{this.errorMessage=r.error.message,this.isSignUpFailed=!0})}static \u0275fac=function(t){return new(t||i)(y(xn))};static \u0275cmp=x({type:i,selectors:[["app-register"]],standalone:!1,decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["email","ngModel"],["password","ngModel"],[1,"col-md-12"],["id","register"],["id","foto","id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate","",3,"ngSubmit",4,"ngIf"],["class","alert alert-success",4,"ngIf"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","","minlength","3","maxlength","20",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["class","alert-danger",4,"ngIf"],["for","email"],["type","email","id","email","required","","email","",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"btn","btn-primary","btn-block"],["class","alert alert-warning",4,"ngIf"],[1,"alert-danger"],[4,"ngIf"],[1,"alert","alert-warning"],[1,"alert","alert-success"]],template:function(t,o){t&1&&(u(0,"div",4)(1,"div",5),z(2,"img",6),E(3,Qb,24,13,"form",7)(4,Jb,2,0,"div",8),d()()),t&2&&(m(3),b("ngIf",!o.isSuccessful),m(),b("ngIf",o.isSuccessful))},dependencies:[Ue,ti,Ne,qe,ei,xi,Co,El,xl,rt,ot],encapsulation:2})}return i})();function ey(i,n){i&1&&(u(0,"div",16),f(1," Username is required! "),d())}function ty(i,n){i&1&&(u(0,"div"),f(1,"Password is required"),d())}function iy(i,n){i&1&&(u(0,"div"),f(1," Password must be at least 6 characters "),d())}function ny(i,n){if(i&1&&(u(0,"div",16),E(1,ty,2,0,"div",17)(2,iy,2,0,"div",17),d()),i&2){w();let e=pe(12);m(),b("ngIf",e.errors.required),m(),b("ngIf",e.errors.minlength)}}function oy(i,n){if(i&1&&(u(0,"div",16),f(1),d()),i&2){let e=w(2);m(),be(" Login failed: ",e.errorMessage," ")}}function ry(i,n){if(i&1){let e=ge();u(0,"form",8,0),O("ngSubmit",function(){Q(e);let o=pe(1),r=w();return J(o.form.valid&&r.onSubmit())}),u(2,"div",9)(3,"label",10),f(4,"Username"),d(),u(5,"input",11,1),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.username,o)||(r.form.username=o),J(o)}),d(),E(7,ey,2,0,"div",12),d(),u(8,"div",9)(9,"label",13),f(10,"Password"),d(),u(11,"input",14,2),Se("ngModelChange",function(o){Q(e);let r=w();return Ee(r.form.password,o)||(r.form.password=o),J(o)}),d(),E(13,ny,3,2,"div",12),d(),u(14,"div",9)(15,"button",15),f(16," Login "),d()(),u(17,"div",9),E(18,oy,2,1,"div",12),d()()}if(i&2){let e=pe(1),t=pe(6),o=pe(12),r=w();m(5),xe("ngModel",r.form.username),m(2),b("ngIf",t.errors&&e.submitted),m(4),xe("ngModel",r.form.password),m(2),b("ngIf",o.errors&&e.submitted),m(5),b("ngIf",e.submitted&&r.isLoginFailed)}}function ay(i,n){if(i&1&&(u(0,"div",18),f(1),d()),i&2){let e=w();m(),be(" Logged in as ",e.roles,". ")}}var Wa=(()=>{class i{authService;tokenStorage;form={username:null,password:null};isLoggedIn=!1;isLoginFailed=!1;errorMessage="";roles=[];constructor(e,t){this.authService=e,this.tokenStorage=t}ngOnInit(){this.tokenStorage.getToken()&&(this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles)}onSubmit(){let{username:e,password:t}=this.form;this.authService.login(e,t).subscribe(o=>{this.tokenStorage.saveToken(o.accessToken),this.tokenStorage.saveUser(o),this.isLoginFailed=!1,this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles,this.reloadPage()},o=>{this.errorMessage=o.error.message,this.isLoginFailed=!0})}reloadPage(){window.location.reload()}static \u0275fac=function(t){return new(t||i)(y(xn),y(si))};static \u0275cmp=x({type:i,selectors:[["app-login"]],decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["password","ngModel"],[1,"col-md-12"],[1,"card","card-container"],["id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate","",3,"ngSubmit",4,"ngIf"],["class","alert alert-success",4,"ngIf"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","",1,"form-control",3,"ngModelChange","ngModel"],["class","alert alert-danger","role","alert",4,"ngIf"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary","btn-block"],["role","alert",1,"alert","alert-danger"],[4,"ngIf"],[1,"alert","alert-success"]],template:function(t,o){t&1&&(u(0,"div",3)(1,"div",4),z(2,"img",5),E(3,ry,19,5,"form",6)(4,ay,2,1,"div",7),d()()),t&2&&(m(3),b("ngIf",!o.isLoggedIn),m(),b("ngIf",o.isLoggedIn))},dependencies:[cn,ti,Ne,qe,ei,xi,Co,rt,ot,Ue],encapsulation:2})}return i})();var Km=(()=>{class i{userService;content;constructor(e){this.userService=e}ngOnInit(){}static \u0275fac=function(t){return new(t||i)(y(va))};static \u0275cmp=x({type:i,selectors:[["app-home"]],standalone:!1,decls:4,vars:1,consts:[[1,"container"],[1,"jumbotron"]],template:function(t,o){t&1&&(u(0,"div",0)(1,"header",1)(2,"p"),f(3),d()()()),t&2&&(m(3),Oe(o.content))},encapsulation:2})}return i})();var sy=[{path:"home",component:Km},{path:"login",component:Wa},{path:"register",component:Ym},{path:"profile",component:qm},{path:"user",component:Wm},{path:"mod",component:Gm},{path:"admin",component:$m},{path:"",redirectTo:"home",pathMatch:"full"},{path:"tutorials",component:yh},{path:"tutorials/:id",component:Ch},{path:"add",component:wh}],Zm=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[Jr.forRoot(sy,{useHash:!0}),Jr]})}return i})();function ly(i,n){}var li=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;componentFactoryResolver;providers;container;templateContext};var _c=(()=>{class i extends ki{_elementRef=l(P);_focusTrapFactory=l(Ol);_config;_interactivityChecker=l(Fl);_ngZone=l(T);_overlayRef=l(Li);_focusMonitor=l(Ai);_renderer=l(_e);_changeDetectorRef=l(ye);_injector=l(ie);_platform=l(te);_document=l(R,{optional:!0});_portalOutlet;_focusTrapped=new C;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=l(li,{optional:!0})||new li,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r(),a(),e.removeAttribute("tabindex")},r=this._renderer.listen(e,"blur",o),a=this._renderer.listen(e,"mousedown",o)})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(e){this._isDestroyed||Xe(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let o=Si(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=Si();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Si()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,o){if(t&1&&ve(Dn,7),t&2){let r;$(r=G())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,o){t&2&&V("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,o){t&1&&E(0,ly,0,0,"ng-template",0)},dependencies:[Dn],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit} -`],encapsulation:2})}return i})(),zo=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new C;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!ze(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(n),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},cy=new v("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=l(Mt);return()=>i.scrollStrategies.block()}}),dy=new v("DialogData"),uy=new v("DefaultDialogConfig");var Xm=(()=>{class i{_overlay=l(Mt);_injector=l(ie);_defaultOptions=l(uy,{optional:!0});_parentDialog=l(i,{optional:!0,skipSelf:!0});_overlayContainer=l(za);_idGenerator=l(Ae);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;_ariaHiddenElements=new Map;_scrollStrategy=l(cy);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Rt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Te(void 0)));constructor(){}open(e,t){let o=this._defaultOptions||new li;t=_(_({},o),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let r=this._getOverlayConfig(t),a=this._overlay.create(r),s=new zo(a,t),c=this._attachContainer(a,s,t);if(s.containerInstance=c,!this.openDialogs.length){let h=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Re(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(h)}):this._hideNonDialogContentFromAssistiveTechnology(h)}return this._attachDialogContent(e,s,c,t),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){gc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){gc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),gc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new ai({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:li,useValue:o},{provide:zo,useValue:t},{provide:Li,useValue:e}],s;o.container?typeof o.container=="function"?s=o.container:(s=o.container.type,a.push(...o.container.providers(o))):s=_c;let c=new Oi(s,o.viewContainerRef,ie.create({parent:r||this._injector,providers:a}));return e.attach(c).instance}_attachDialogContent(e,t,o,r){if(e instanceof wt){let a=this._createInjector(r,t,o,void 0),s={$implicit:r.data,dialogRef:t};r.templateContext&&(s=_(_({},s),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new Bt(e,null,s,a))}else{let a=this._createInjector(r,t,o,this._injector),s=o.attachComponentPortal(new Oi(e,r.viewContainerRef,a));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,o,r){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:dy,useValue:e.data},{provide:zo,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,o)):s.push(...e.providers)),e.direction&&(!a||!a.get(Ke,null,{optional:!0}))&&s.push({provide:Ke,useValue:{value:e.direction,change:D()}}),ie.create({parent:a||r,providers:s})}_removeOpenDialog(e,t){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let r=t[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function gc(i,n){let e=i.length;for(;e--;)n(i[e])}function hy(i,n){}var $o=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;componentFactoryResolver;enterAnimationDuration;exitAnimationDuration},vc="mdc-dialog--open",Qm="mdc-dialog--opening",Jm="mdc-dialog--closing",my=150,py=75,ip=(()=>{class i extends _c{_animationMode=l(De,{optional:!0});_animationStateChanged=new q;_animationsEnabled=this._animationMode!=="NoopAnimations";_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?tp(this._config.enterAnimationDuration)??my:0;_exitAnimationDuration=this._animationsEnabled?tp(this._config.exitAnimationDuration)??py:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(ep,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Qm,vc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(vc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(vc),this._animationsEnabled?(this._hostElement.style.setProperty(ep,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Jm)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(Qm,Jm)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,o){t&2&&(je("id",o._config.id),V("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),N("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[ee],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,o){t&1&&(u(0,"div",0)(1,"div",1),E(2,hy,0,0,"ng-template",2),d()())},dependencies:[Dn],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents} -`],encapsulation:2})}return i})(),ep="--mat-dialog-transition-duration";function tp(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?un(i.substring(0,i.length-2)):i.endsWith("s")?un(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var Ho=(function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i})(Ho||{}),ci=class{_ref;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new C;_beforeClosed=new C;_result;_closeFallbackTimeout;_state=Ho.OPEN;_closeInteractionType;constructor(n,e,t){this._ref=n,this._containerInstance=t,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(oe(o=>o.state==="opened"),Re(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(oe(o=>o.state==="closed"),Re(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ge(this.backdropClick(),this.keydownEvents().pipe(oe(o=>o.keyCode===27&&!this.disableClose&&!ze(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),bc(this,o.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(oe(e=>e.state==="closing"),Re(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Ho.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ho.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function bc(i,n,e){return i._closeInteractionType=n,i.close(e)}var qa=new v("MatMdcDialogData"),np=new v("mat-mdc-dialog-default-options"),op=new v("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=l(Mt);return()=>i.scrollStrategies.block()}});var Go=(()=>{class i{_overlay=l(Mt);_defaultOptions=l(np,{optional:!0});_scrollStrategy=l(op);_parentDialog=l(i,{optional:!0,skipSelf:!0});_idGenerator=l(Ae);_dialog=l(Xm);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;dialogConfigClass=$o;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Rt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Te(void 0)));constructor(){this._dialogRefConstructor=ci,this._dialogContainerType=ip,this._dialogDataToken=qa}open(e,t){let o;t=_(_({},this._defaultOptions||new $o),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,re(_({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:li,useValue:t}]},templateContext:()=>({dialogRef:o}),providers:(a,s,c)=>(o=new this._dialogRefConstructor(a,t,c),o.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),yc=(()=>{class i{dialogRef=l(ci,{optional:!0});_elementRef=l(P);_dialog=l(Go);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=ap(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){bc(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,o){t&1&&O("click",function(a){return o._onButtonClick(a)}),t&2&&V("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[me]})}return i})(),rp=(()=>{class i{_dialogRef=l(ci,{optional:!0});_elementRef=l(P);_dialog=l(Go);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=ap(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i})}return i})(),Cc=(()=>{class i extends rp{id=l(Ae).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,o){t&2&&je("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[ee]})}return i})(),wc=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Qc([Im])]})}return i})(),Dc=(()=>{class i extends rp{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,o){t&2&&N("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[ee]})}return i})();function ap(i,n){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}var fy=["mat-icon-button",""],gy=["*"];var _y=new v("MAT_BUTTON_CONFIG");var vy=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ya=(()=>{class i{_elementRef=l(P);_ngZone=l(T);_animationMode=l(De,{optional:!0});_focusMonitor=l(Ai);_rippleLoader=l(Ma);_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;constructor(){l(ke).load(Mi);let e=l(_y,{optional:!0}),t=this._elementRef.nativeElement,o=t.classList;this.disabledInteractive=e?.disabledInteractive??!1,this.color=e?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"});for(let{attribute:r,mdcClasses:a}of vy)t.hasAttribute(r)&&o.add(...a)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",L],disabled:[2,"disabled","disabled",L],ariaDisabled:[2,"aria-disabled","ariaDisabled",L],disabledInteractive:[2,"disabledInteractive","disabledInteractive",L]}})}return i})();var sp=(()=>{class i extends Ya{_renderer=l(_e);_cleanupClick;tabIndex;ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._cleanupClick?.()}_haltDisabledEvents=e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())};_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275dir=I({type:i,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Ui(e)]},features:[ee]})}return i})(),xc=(()=>{class i extends Ya{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(V("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Je(o.color?"mat-"+o.color:""),N("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ee],attrs:fy,ngContentSelectors:gy,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(ue(),z(0,"span",0),B(1),z(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1} -`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`],encapsulation:2,changeDetection:0})}return i})();var lp=["mat-button",""],cp=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],dp=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],by=`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} -`,yy=`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`;var En=(()=>{class i extends Ya{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,o){t&2&&(V("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Je(o.color?"mat-"+o.color:""),N("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ee],attrs:lp,ngContentSelectors:dp,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(ue(cp),z(0,"span",0),B(1),u(2,"span",1),B(3,1),d(),B(4,2),z(5,"span",2)(6,"span",3)),t&2&&N("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)} -`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}} -`],encapsulation:2,changeDetection:0})}return i})(),up=(()=>{class i extends sp{static \u0275fac=(()=>{let e;return function(o){return(e||(e=ce(i)))(o||i)}})();static \u0275cmp=x({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,o){t&2&&(V("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getAriaDisabled()),Je(o.color?"mat-"+o.color:""),N("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[ee],attrs:lp,ngContentSelectors:dp,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,o){t&1&&(ue(cp),z(0,"span",0),B(1),u(2,"span",1),B(3,1),d(),B(4,2),z(5,"span",2)(6,"span",3)),t&2&&N("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[by,yy],encapsulation:2,changeDetection:0})}return i})();var hp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i});static \u0275inj=Z({imports:[gn,pm,gn]})}return i})();var Cy=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms} -`],encapsulation:2,changeDetection:0})}return i})(),wy={passive:!0},pp=(()=>{class i{_platform=l(te);_ngZone=l(T);_renderer=l(Fe).createRenderer(null,null);_styleLoader=l(ke);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return pt;this._styleLoader.load(Cy);let t=at(e),o=this._monitoredElements.get(t);if(o)return o.subject;let r=new C,a="cdk-text-field-autofilled",s=h=>{h.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>r.next({target:h.target,isAutofilled:!0}))):h.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>r.next({target:h.target,isAutofilled:!1})))},c=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),Ye(this._renderer,t,"animationstart",s,wy)));return this._monitoredElements.set(t,{subject:r,unlisten:c}),r}stopMonitoring(e){let t=at(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var fp=new v("MAT_INPUT_VALUE_ACCESSOR");var Dy=["button","checkbox","file","hidden","image","radio","range","reset","submit"],xy=new v("MAT_INPUT_CONFIG"),gp=(()=>{class i{_elementRef=l(P);_platform=l(te);ngControl=l(bt,{optional:!0,self:!0});_autofillMonitor=l(pp);_ngZone=l(T);_formField=l(oi,{optional:!0});_renderer=l(_e);_uid=l(Ae).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=l(xy,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new C;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Ti(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(sn.required)??!1}set required(e){this._required=Ti(e)}_required;get type(){return this._type}set type(e){let t=this._type;this._type=e||"text",this._validateType(),!this._isTextarea&&Vl().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==t&&this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ti(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Vl().has(e));constructor(){let e=l(ot,{optional:!0}),t=l(yo,{optional:!0}),o=l(Ra),r=l(fp,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();r?ui(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new bn(o,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&or(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Dy.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(e){let t=this._elementRef.nativeElement,o=t.getAttribute("aria-describedby"),r;if(o){let a=this._formFieldDescribedBy||e;r=e.concat(o.split(" ").filter(s=>s&&!a.includes(s)))}else r=e;this._formFieldDescribedBy=e,r.length?t.setAttribute("aria-describedby",r.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){this._cleanupWebkitWheel?.(),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,o){t&1&&O("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),t&2&&(je("id",o.id)("disabled",o.disabled&&!o.disabledInteractive)("required",o.required),V("name",o.name||null)("readonly",o._getReadonlyAttribute())("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),N("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mat-mdc-input-disabled-interactive",o.disabledInteractive)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",L]},exportAs:["matInput"],features:[se([{provide:yn,useExisting:i}]),me]})}return i})();var _p=(()=>{class i{data;dialogRef=l(ci);hide=Ct(!0);constructor(e){this.data=e}onNoClick(){this.dialogRef.close()}clickEvent(e){this.hide.set(!this.hide()),e.stopPropagation()}static \u0275fac=function(t){return new(t||i)(y(qa))};static \u0275cmp=x({type:i,selectors:[["app-dialog"]],decls:21,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"fillField"],["matInput","",3,"ngModelChange","ngModel"],["matInput","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","",3,"click"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",3,"click"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,o){t&1&&(u(0,"h1",0),f(1,"Hi "),d(),u(2,"div",1)(3,"p"),f(4,"User name"),d(),u(5,"mat-form-field",2)(6,"input",3),Se("ngModelChange",function(a){return Ee(o.data.username,a)||(o.data.username=a),a}),d()(),u(7,"p"),f(8,"Password"),d(),u(9,"mat-form-field",2)(10,"mat-label"),f(11,"Enter your password"),d(),u(12,"input",4),Se("ngModelChange",function(a){return Ee(o.data.password,a)||(o.data.password=a),a}),d(),u(13,"button",5),O("click",function(a){return o.clickEvent(a)}),u(14,"mat-icon"),f(15),d()()()(),u(16,"div",6)(17,"button",7),O("click",function(){return o.onNoClick()}),f(18,"No Thanks"),d(),u(19,"button",8),f(20,"Ok"),d()()),t&2&&(m(6),xe("ngModel",o.data.username),m(6),b("type",o.hide()?"password":"text"),xe("ngModel",o.data.password),m(),V("aria-label","Hide password")("aria-pressed",o.hide()),m(2),Oe(o.hide()?"visibility_off":"visibility"),m(4),b("mat-dialog-close",o.data))},dependencies:[hp,En,xc,ko,Dc,yc,Cc,wc,Fi,gp,cn,Ne,qe,rt,ni,ql],styles:[".fillField[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}return i})();var vp=(()=>{class i{subject$=new C;emit(e){this.subject$.next(e)}on(e,t){return this.subject$.pipe(oe(o=>o.name===e),k(o=>o.value)).subscribe(t)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Sy=["*",[["mat-toolbar-row"]]],Ay=["*","mat-toolbar-row"],Iy=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=I({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return i})(),Ka=(()=>{class i{_elementRef=l(P);_platform=l(te);_document=l(R);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=x({type:i,selectors:[["mat-toolbar"]],contentQueries:function(t,o,r){if(t&1&&he(r,Iy,5),t&2){let a;$(a=G())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,o){t&2&&(Je(o.color?"mat-"+o.color:""),N("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:Ay,decls:2,vars:0,template:function(t,o){t&1&&(ue(Sy),B(0),B(1,1))},styles:[`.mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}} -`],encapsulation:2,changeDetection:0})}return i})();function Ry(i,n){i&1&&(u(0,"li",3)(1,"a",14),f(2,"Admin Board"),d()())}function Ty(i,n){i&1&&(u(0,"li",3)(1,"a",15),f(2,"Moderator Board"),d()())}function Fy(i,n){i&1&&(u(0,"a",16),f(1,"User"),d())}function Oy(i,n){i&1&&(u(0,"ul",17)(1,"li",3)(2,"a",18),f(3,"Sign Up"),d()(),u(4,"li",3)(5,"a",19),f(6,"Login"),d()()())}function ky(i,n){if(i&1){let e=ge();u(0,"ul",17)(1,"li",3)(2,"a",20),f(3),d()(),u(4,"li",3)(5,"a",21),O("click",function(){Q(e);let o=w();return J(o.logout())}),f(6,"LogOut"),d()()()}if(i&2){let e=w();m(3),Oe(e.username)}}function Py(i,n){i&1&&(u(0,"button",22)(1,"mat-icon"),f(2,"app_registration"),d(),f(3," Register "),d())}function Ly(i,n){if(i&1){let e=ge();u(0,"button",23),O("click",function(){Q(e);let o=w();return J(o.openDialog("100ms","5ms"))}),u(1,"mat-icon"),f(2,"login"),d(),f(3," Login "),d()}}function Ny(i,n){if(i&1&&(u(0,"button",22)(1,"mat-icon"),f(2,"account_circle"),d(),f(3),d()),i&2){let e=w();m(3),be(" ",e.username," ")}}function By(i,n){if(i&1){let e=ge();u(0,"button",23),O("click",function(){Q(e);let o=w();return J(o.logout())}),u(1,"mat-icon"),f(2,"logout"),d(),f(3," Logout "),d()}}var bp=(()=>{class i{storageService;authService;eventBusService;dialog=l(Go);dialogData={password:"",username:""};roles=[];isLoggedIn=!1;showAdminBoard=!1;showModeratorBoard=!1;username;eventBusSub;errorMessage;isLoginFailed=!1;constructor(e,t,o){this.storageService=e,this.authService=t,this.eventBusService=o}ngOnInit(){if(this.isLoggedIn=this.storageService.isLoggedIn(),this.isLoggedIn){let e=this.storageService.getUser();this.roles=e.roles,this.showAdminBoard=!0,this.showModeratorBoard=this.roles.includes("ROLE_MODERATOR"),this.username=e.username}this.eventBusSub=this.eventBusService.on("logout",()=>{this.logout()})}logout(){this.authService.logout().subscribe({next:e=>{console.log(e),this.storageService.clean(),window.location.reload()},error:e=>{console.log(e)}})}openDialog(e,t){this.dialog.open(_p,{width:"350px",enterAnimationDuration:e,exitAnimationDuration:t,data:{username:this.dialogData.username,password:this.dialogData.password}}).afterClosed().subscribe(r=>{console.log("The dialog was closed"),r!=null&&(this.dialogData=r,this.authService.login(this.dialogData.username,this.dialogData.password).subscribe(a=>{this.storageService.saveToken(a.accessToken),this.storageService.saveUser(a),this.isLoginFailed=!1,this.isLoggedIn=!0;let s=this.storageService.getUser();this.roles=s.roles,this.reloadPage()},a=>{this.errorMessage=a.error.message,this.isLoginFailed=!0}))})}reloadPage(){window.location.reload()}static \u0275fac=function(t){return new(t||i)(y(si),y(xn),y(vp))};static \u0275cmp=x({type:i,selectors:[["app-root"]],standalone:!1,decls:29,vars:9,consts:[[1,"navbar","navbar-expand","navbar-dark","bg-dark"],["href","#",1,"navbar-brand"],["routerLinkActive","active",1,"navbar-nav","mr-auto"],[1,"nav-item"],["routerLink","tutorials",1,"nav-link"],["routerLink","add",1,"nav-link"],["class","nav-item",4,"ngIf"],["href","/user","class","nav-link","routerLink","user",4,"ngIf"],["class","navbar-nav ml-auto",4,"ngIf"],["mat-raised-button","","routerLink","/","href","#"],[1,"example-spacer"],["mat-raised-button","",4,"ngIf"],["mat-raised-button","",3,"click",4,"ngIf"],[1,"container","mt-3"],["href","/admin","routerLink","admin",1,"nav-link"],["href","/mod","routerLink","mod",1,"nav-link"],["href","/user","routerLink","user",1,"nav-link"],[1,"navbar-nav","ml-auto"],["href","/register","routerLink","register",1,"nav-link"],["href","/login","routerLink","login",1,"nav-link"],["href","/profile","routerLink","profile",1,"nav-link"],["href","",1,"nav-link",3,"click"],["mat-raised-button",""],["mat-raised-button","",3,"click"]],template:function(t,o){t&1&&(u(0,"div")(1,"nav",0)(2,"a",1),f(3,"Spring-AngularTS"),d(),u(4,"ul",2)(5,"li",3)(6,"a",4),f(7,"Tutorials"),d()(),u(8,"li",3)(9,"a",5),f(10,"Add"),d()(),E(11,Ry,3,0,"li",6)(12,Ty,3,0,"li",6),u(13,"li",3),E(14,Fy,2,0,"a",7),d()(),E(15,Oy,7,0,"ul",8)(16,ky,7,1,"ul",8),d(),u(17,"mat-toolbar")(18,"button",9),f(19," My App "),d(),u(20,"span"),f(21,"My App "),d(),z(22,"span",10),E(23,Py,4,0,"button",11)(24,Ly,4,0,"button",12)(25,Ny,4,1,"button",11)(26,By,4,0,"button",12),d(),u(27,"div",13),z(28,"router-outlet"),d()()),t&2&&(m(11),b("ngIf",o.showAdminBoard),m(),b("ngIf",o.showModeratorBoard),m(2),b("ngIf",o.isLoggedIn),m(),b("ngIf",!o.isLoggedIn),m(),b("ngIf",o.isLoggedIn),m(7),b("ngIf",!o.isLoggedIn),m(),b("ngIf",!o.isLoggedIn),m(),b("ngIf",o.isLoggedIn),m(),b("ngIf",o.isLoggedIn))},dependencies:[Ue,so,Zt,ml,Ka,En,ni],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}"]})}return i})();var Vy="Authorization",jy=(()=>{class i{token;constructor(e){this.token=e}intercept(e,t){let o=e,r=this.token.getToken();return r!=null&&(o=e.clone({headers:e.headers.set(Vy,"Bearer "+r)})),t.handle(o)}static \u0275fac=function(t){return new(t||i)(A(si))};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),yp=[{provide:Dr,useClass:jy,multi:!0}];var Uy="@",zy=(()=>{class i{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=l(ie);loadingSchedulerFn=l(Hy,{optional:!0});_engine;constructor(e,t,o,r,a){this.doc=e,this.delegate=t,this.zone=o,this.animationType=r,this.moduleImpl=a}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-QGX6IMNZ.js").then(o=>o),t;return this.loadingSchedulerFn?t=this.loadingSchedulerFn(e):t=e(),t.catch(o=>{throw new H(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:r})=>{this._engine=o(this.animationType,this.doc);let a=new r(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,t){let o=this.delegate.createRenderer(e,t);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let r=new Ec(o);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let s=a.createRenderer(e,t);r.use(s),this.scheduler??=this.injector.get(Lc,null,{optional:!0}),this.scheduler?.notify(10)}).catch(a=>{r.use(o)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(t){Xo()};static \u0275prov=g({token:i,factory:i.\u0275fac})}return i})(),Ec=class{delegate;replay=[];\u0275type=1;constructor(n){this.delegate=n}use(n){if(this.delegate=n,this.replay!==null){for(let e of this.replay)e(n);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}get destroyNode(){return this.delegate.destroyNode}appendChild(n,e){this.delegate.appendChild(n,e)}insertBefore(n,e,t,o){this.delegate.insertBefore(n,e,t,o)}removeChild(n,e,t){this.delegate.removeChild(n,e,t)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,t,o){this.delegate.setAttribute(n,e,t,o)}removeAttribute(n,e,t){this.delegate.removeAttribute(n,e,t)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,t,o){this.delegate.setStyle(n,e,t,o)}removeStyle(n,e,t){this.delegate.removeStyle(n,e,t)}setProperty(n,e,t){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(n,e,t)),this.delegate.setProperty(n,e,t)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,t,o){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(n,e,t,o)),this.delegate.listen(n,e,t,o)}shouldReplay(n){return this.replay!==null&&n.startsWith(Uy)}},Hy=new v("");function Cp(i="animations"){return Tn("NgAsyncAnimations"),Bi([{provide:Fe,useFactory:(n,e,t)=>new zy(n,e,t,i),deps:[R,jn,T]},{provide:De,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var wp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=X({type:i,bootstrap:[bp]});static \u0275inj=Z({providers:[yp,Ls(Ns()),Cp()],imports:[Rs,Zm,cn,Wa,Ka,En,ni,up,ka,Lo,Ha,Cn,Fi,tc,ec,bh]})}return i})();var Dp={production:!0};Dp.production&&void 0;Ms().bootstrapModule(wp).catch(i=>console.error(i)); diff --git a/src/main/resources/static/main-S3C6ETZC.js b/src/main/resources/static/main-S3C6ETZC.js new file mode 100644 index 0000000..1f92eb6 --- /dev/null +++ b/src/main/resources/static/main-S3C6ETZC.js @@ -0,0 +1,4364 @@ +import{$ as un,$a as He,$b as Fs,A as si,Aa as xe,Ab as Wt,Ac as Vd,B as On,Ba as Be,Bb as Z,Bc as we,C as yr,Ca as Ns,Cb as x,Cc as Bd,D as We,Da as R,Db as C,Dc as zd,E as id,Ea as L,Eb as Md,Ec as B,F as ws,Fa as ro,Fb as Bn,Fc as hi,G as Fn,Ga as md,Gb as hn,Gc as Vs,H as cn,Ha as pd,Hb as fn,Hc as jd,I as Ss,Ia as As,Ib as ye,Ic as Nr,J as Ds,Ja as xr,Jb as p,Jc as Bs,K as od,Ka as Vn,Kb as m,L as Es,La as di,Lb as ae,M as _r,Ma as hd,Mb as ot,N as Ue,Na as fd,Nb as rt,O as Ne,Oa as gd,Ob as qt,P as _e,Pa as vd,Pb as Ae,Q as Ve,Qa as bd,Qb as qe,R as z,Ra as yd,Rb as V,S as dn,Sa as _d,Sb as E,T as Ze,Ta as xd,Tb as Ce,U as O,Ua as ui,Ub as U,V as le,Va as Cd,Vb as mt,W as rd,Wa as ao,Wb as bt,X as y,Xa as so,Xb as $,Y as nn,Ya as Je,Yb as G,Z as N,Za as h,Zb as Nd,_ as c,_a as mn,_b as Ad,a as f,aa as ad,ab as ve,ac as Ie,b as se,ba as Te,bb as Ee,bc as Q,ca as Qe,cb as Me,cc as Kt,d as fe,da as vt,db as lo,dc as g,e as Ge,ea as oe,eb as D,ec as pt,f as _s,fa as re,fb as mi,fc as ke,g as ct,ga as sd,gb as Gt,gc as Id,h as I,ha as ie,hb as pi,hc as kd,i as dt,ia as F,ib as Cr,ic as Oe,j as xs,ja as $t,jb as wd,jc as Fe,k as ut,ka as ld,kb as wr,kc as Pe,l as je,la as J,lb as M,lc as Rd,m as T,ma as P,mb as ce,mc as be,n as fr,na as Pn,nb as k,nc as Er,o as gr,oa as io,ob as Is,oc as Td,p as nd,pa as X,pb as ks,pc as Od,q as te,qa as oo,qb as Sd,qc as at,r as to,ra as cd,rb as de,rc as q,s as Ut,sa as li,sb as pn,sc as Ps,t as no,ta as ci,tb as Dd,tc as Mr,u as vr,ua as Ln,ub as Rs,uc as Fd,v as Ht,va as dd,vb as Ed,vc as Ls,w as br,wa as Ft,wb as Sr,wc as zn,x as Mt,xa as Nt,xb as Dr,xc as Pd,y as ge,ya as ud,yb as Ts,yc as co,z as Cs,za as Ms,zb as Os,zc as Ld}from"./chunk-K23E4FPH.js";var Ud=null;function yt(){return Ud}function zs(n){Ud??=n}var uo=class{},on=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:()=>c(Hd),providedIn:"platform"})}return n})(),js=new y(""),Hd=(()=>{class n extends on{_location;_history;_doc=c(F);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return yt().getBaseHref(this._doc)}onPopState(e){let t=yt().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=yt().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,o){this._history.pushState(e,t,o)}replaceState(e,t,o){this._history.replaceState(e,t,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Ar(n,i){return n?i?n.endsWith("/")?i.startsWith("/")?n+i.slice(1):n+i:i.startsWith("/")?n+i:`${n}/${i}`:n:i}function $d(n){let i=n.search(/#|\?|$/);return n[i-1]==="/"?n.slice(0,i-1)+n.slice(i):n}function Pt(n){return n&&n[0]!=="?"?`?${n}`:n}var Lt=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:()=>c(kr),providedIn:"root"})}return n})(),Ir=new y(""),kr=(()=>{class n extends Lt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??c(F).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Ar(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+Pt(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${t}${o}`:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+Pt(r));this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+Pt(r));this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(N(on),N(Ir,8))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Yt=(()=>{class n{_subject=new I;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=sf($d(Gd(t))),this._locationStrategy.onPopState(o=>{let r={url:this.path(!0),pop:!0,state:o.state,type:o.type};o.hasUAVisualTransition&&(r.hasUAVisualTransition=!0),this._subject.next(r)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Pt(t))}normalize(e){return n.stripTrailingSlash(af(this._basePath,Gd(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",o=null){this._locationStrategy.pushState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Pt(t)),o)}replaceState(e,t="",o=null){this._locationStrategy.replaceState(o,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Pt(t)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(o=>o(e,t))}subscribe(e,t,o){return this._subject.subscribe({next:e,error:t??void 0,complete:o??void 0})}static normalizeQueryParams=Pt;static joinWithSlash=Ar;static stripTrailingSlash=$d;static \u0275fac=function(t){return new(t||n)(N(Lt))};static \u0275prov=O({token:n,factory:()=>rf(),providedIn:"root"})}return n})();function rf(){return new Yt(N(Lt))}function af(n,i){if(!n||!i.startsWith(n))return i;let e=i.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function Gd(n){return n.replace(/\/index\.html$/,"")}function sf(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var Us=(()=>{class n extends Lt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,t!=null&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){let t=Ar(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,o,r){let a=this.prepareExternalUrl(o+Pt(r))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,a)}replaceState(e,t,o,r){let a=this.prepareExternalUrl(o+Pt(r))||this._platformLocation.pathname;this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(N(on),N(Ir,8))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})();var Hs=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=c(ie);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,o):!1,get:(e,t,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,o)}})}static \u0275fac=function(t){return new(t||n)(D(Gt))};static \u0275dir=k({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[xe]})}return n})();var $s=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({})}return n})();function mo(n,i){i=encodeURIComponent(i);for(let e of n.split(";")){let t=e.indexOf("="),[o,r]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(o.trim()!==i)continue;let a=r;try{a=decodeURIComponent(r)}catch(l){}return a.length>1&&a[0]==='"'&&a[a.length-1]==='"'&&(a=a.slice(1,-1)),a}return null}var cf=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),Gs=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=N(cf),o},providedIn:"root"})}return n})();var qs="browser";function qd(n){return n===qs}var Ks=(()=>{class n{static \u0275prov=O({token:n,providedIn:"root",factory:()=>new Ws(c(F),window)})}return n})(),Ws=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,e){this.window.scrollTo(se(f({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let t=mf(this.document,i);t&&(this.scrollToElement(t,e),t.focus({preventScroll:!0}))}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch(e){console.warn(dn(2400,!1))}}scrollToElement(i,e){let t=i.getBoundingClientRect(),o=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(se(f({},e),{left:o-a[0],top:r-a[1]}))}};function mf(n,i){let e=n.getElementById(i)||n.getElementsByName(i)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),o=t.currentNode;for(;o;){let r=o.shadowRoot;if(r){let a=r.getElementById(i)||r.querySelector(`[name="${CSS.escape(i)}"]`);if(a)return a}o=t.nextNode()}}return null}var po=class{_doc;constructor(i){this._doc=i}manager},Rr=(()=>{class n extends po{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o,r){return e.addEventListener(t,o,r),()=>this.removeEventListener(e,t,o,r)}removeEventListener(e,t,o,r){return e.removeEventListener(t,o,r)}static \u0275fac=function(t){return new(t||n)(N(F))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),Fr=new y(""),Qs=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(a=>{a.manager=this});let o=e.filter(a=>!(a instanceof Rr));this._plugins=o.slice().reverse();let r=e.find(a=>a instanceof Rr);r&&this._plugins.push(r)}addEventListener(e,t,o,r){return this._findPluginFor(t).addEventListener(e,t,o,r)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new z(-5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(N(Fr),N(P))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),Ys="ng-app-id";function Kd(n){for(let i of n)i.remove()}function Yd(n,i){let e=i.createElement("style");return e.textContent=n,e}function hf(n,i,e,t){let o=n.head?.querySelectorAll(`style[${Ys}="${i}"],link[${Ys}="${i}"]`);if(!o||o.length===0)return!1;for(let r of o)r.removeAttribute(Ys),r instanceof HTMLLinkElement?t.set(r.href.slice(r.href.lastIndexOf("/")+1),{usage:0,elements:[r]}):r.textContent&&e.set(r.textContent,{usage:0,elements:[r]});return!0}function Zs(n,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var Js=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,o,r={}){this.doc=e,this.appId=t,this.nonce=o,hf(e,t,this.inline,this.external)&&this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,Yd);t?.forEach(o=>this.addUsage(o,this.external,Zs))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let r=t.get(e);r?r.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(Kd(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Kd(e);this.hosts.clear()}addHost(e){if(!this.hosts.has(e)){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,Yd(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,Zs(t,this.doc)))}}removeHost(e){this.hosts.delete(e);for(let t of[...this.inline.values(),...this.external.values()]){let o=[];for(let r of t.elements)r.parentNode===e?r.remove():o.push(r);t.elements=o}}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(N(F),N(oo),N(Ln,8),N(li))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),Xs={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},el=/%COMP%/g;var Zd="%COMP%",ff=`_nghost-${Zd}`,gf=`_ngcontent-${Zd}`,vf=!0,bf=new y("",{factory:()=>vf}),yf=new y("");function _f(n){return gf.replace(el,n)}function xf(n){return ff.replace(el,n)}function Qd(n,i){return i.map(e=>e.replace(el,n))}var fo=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(e,t,o,r,a,l,s=null,u=null,d=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=a,this.ngZone=l,this.nonce=s,this.tracingService=u,this.cssVarNamespace=d??"",this.defaultRenderer=new fi(e,a,l,this.tracingService,this.cssVarNamespace)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,t);return o instanceof Or?o.applyToHost(e):o instanceof ho&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,r=o.get(t.id);if(!r){let a=this.doc,l=this.ngZone,s=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,v=this.tracingService;switch(t.encapsulation){case xr.Emulated:r=new Or(s,u,t,this.appId,d,a,l,v,this.cssVarNamespace);break;case xr.ShadowDom:return new Tr(s,e,t,a,l,this.nonce,v,this.cssVarNamespace,u);case xr.ExperimentalIsolatedShadowDom:return new Tr(s,e,t,a,l,this.nonce,v,this.cssVarNamespace);default:r=new ho(s,u,t,d,a,l,v,this.cssVarNamespace);break}o.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||n)(N(Qs),N(lo),N(oo),N(bf),N(F),N(P),N(Ln),N(ao,8),N(yf,8))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),fi=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,t,o,r=""){this.eventManager=i,this.doc=e,this.ngZone=t,this.tracingService=o,this.cssVarNamespace=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(Xs[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(Xd(i)?i.content:i).appendChild(e)}insertBefore(i,e,t){if(i){let o=Xd(i)?i.content:i;if(t!=null&&t.parentNode!==o)throw new z(-5106,!1);o.insertBefore(e,t)}}removeChild(i,e){e.remove()}selectRootElement(i,e){let t=typeof i=="string"?this.doc.querySelector(i):i;if(!t)throw new z(-5104,!1);return e||(t.textContent=""),t}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,t,o){if(o){e=o+":"+e;let r=Xs[o];r?i.setAttributeNS(r,e,t):i.setAttribute(e,t)}else i.setAttribute(e,t)}removeAttribute(i,e,t){if(t){let o=Xs[t];o?i.removeAttributeNS(o,e):i.removeAttribute(`${t}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,t,o){let r=e.startsWith("--");r&&(e=e.replace("%NS%",this.cssVarNamespace)),r||o&(ui.DashCase|ui.Important)?i.style.setProperty(e,t,o&ui.Important?"important":""):i.style[e]=t}removeStyle(i,e,t){let o=e.startsWith("--");o&&(e=e.replace("%NS%",this.cssVarNamespace)),o||t&ui.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,t){i!=null&&(i[e]=t)}setValue(i,e){i.nodeValue=e}listen(i,e,t,o){if(typeof i=="string"&&(i=yt().getGlobalEventTarget(this.doc,i),!i))throw new z(-5102,!1);let r=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(r=this.tracingService.wrapEventListener(i,e,r)),this.eventManager.addEventListener(i,e,r,o)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;i(e)===!1&&e.preventDefault()}}};function Jd(n){n instanceof fi&&(n.throwOnSyntheticProps=!1)}function Xd(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Tr=class extends fi{hostEl;sharedStylesHost;shadowRoot;constructor(i,e,t,o,r,a,l,s,u){super(i,o,r,l,s),this.hostEl=e,this.sharedStylesHost=u,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=t.styles;d=Qd(t.id,d).map(b=>b.replace(/%NS%/g,s));for(let b of d){let S=document.createElement("style");a&&S.setAttribute("nonce",a),S.textContent=b,this.shadowRoot.appendChild(S)}let v=t.getExternalStyles?.();if(v)for(let b of v){let S=Zs(b,o);a&&S.setAttribute("nonce",a),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,t){return super.insertBefore(this.nodeOrShadowRoot(i),e,t)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},ho=class extends fi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,t,o,r,a,l,s,u){super(i,r,a,l,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let d=t.styles,v=u?Qd(u,d):d;this.styles=v.map(b=>b.replace(/%NS%/g,s)),this.styleUrls=t.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Cd.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Or=class extends ho{contentAttr;hostAttr;constructor(i,e,t,o,r,a,l,s,u){let d=o+"-"+t.id;super(i,e,t,r,a,l,s,u,d),this.contentAttr=_f(d),this.hostAttr=xf(d)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let t=super.createElement(i,e);return super.setAttribute(t,this.contentAttr,""),t}};var Pr=class n extends uo{supportsDOMEvents=!0;static makeCurrent(){zs(new n)}onAndCancel(i,e,t,o){return i.addEventListener(e,t,o),()=>{i.removeEventListener(e,t,o)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=Cf();return e==null?null:wf(e)}resetBaseElement(){go=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return mo(document.cookie,i)}},go=null;function Cf(){return go=go||document.head.querySelector("base"),go?go.getAttribute("href"):null}function wf(n){return new URL(n,document.baseURI).pathname}var Lr=class{addToWindow(i){nn.getAngularTestability=(t,o=!0)=>{let r=i.findTestabilityInTree(t,o);if(r==null)throw new z(5103,!1);return r},nn.getAllAngularTestabilities=()=>i.getAllTestabilities(),nn.getAllAngularRootElements=()=>i.getAllRootElements();let e=t=>{let o=nn.getAllAngularTestabilities(),r=o.length,a=function(){r--,r==0&&t()};o.forEach(l=>{l.whenStable(a)})};nn.frameworkStabilizers||(nn.frameworkStabilizers=[]),nn.frameworkStabilizers.push(e)}findTestabilityInTree(i,e,t){if(e==null)return null;let o=i.getTestability(e);return o??(t?yt().isShadowRoot(e)?this.findTestabilityInTree(i,e.host,!0):this.findTestabilityInTree(i,e.parentElement,!0):null)}},eu=["alt","control","meta","shift"],Sf={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Df={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},tu=(()=>{class n extends po{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,o,r){let a=n.parseEventName(t),l=n.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>yt().onAndCancel(e,a.domEventName,l,r))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let r=n._normalizeKey(t.pop()),a="",l=t.indexOf("code");if(l>-1&&(t.splice(l,1),a="code."),eu.forEach(u=>{let d=t.indexOf(u);d>-1&&(t.splice(d,1),a+=u+".")}),a+=r,t.length!=0||r.length===0)return null;let s={};return s.domEventName=o,s.fullKey=a,s}static matchEventFullKeyCode(e,t){let o=Sf[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(o=e.code,r="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),eu.forEach(a=>{if(a!==o){let l=Df[a];l(e)&&(r+=a+".")}}),r+=o,r===t)}static eventCallback(e,t,o){return r=>{n.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>t(r))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(N(F))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})();function Ef(){Pr.makeCurrent()}function Mf(){return new Pn}function Nf(){return md(document),document}var Af=[{provide:li,useValue:qs},{provide:cd,useValue:Ef,multi:!0},{provide:F,useFactory:Nf}],tl=zd(jd,"browser",Af);var If=[{provide:Sr,useClass:Lr},{provide:Ed,useClass:Dr,deps:[P,Ts,Sr]},{provide:Dr,useClass:Dr,deps:[P,Ts,Sr]}],kf=[{provide:ad,useValue:"root"},{provide:Pn,useFactory:Mf},{provide:Fr,useClass:Rr,multi:!0},{provide:Fr,useClass:tu,multi:!0},fo,{provide:lo,useClass:Js},{provide:Js,useExisting:lo},Qs,{provide:He,useExisting:fo},[]],nl=(()=>{class n{constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({providers:[...kf,...If],imports:[$s,Vd]})}return n})();var At=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(` +`).forEach(e=>{let t=e.indexOf(":");if(t>0){let o=e.slice(0,t),r=e.slice(t+1).trim();this.addHeaderEntry(o,r)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init();for(let[e,t]of i.headers.entries())this.headers.set(e,t),this.normalizedNames.set(e,i.normalizedNames.get(e))}clone(i){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let t=i.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(i.name,e);let o=i.op==="a"?(this.headers.get(e)||[]).slice():[];o.push(...t),this.headers.set(e,o);break;case"d":let r=i.value;if(r===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let a=Array.isArray(r)?r:[r],l=this.headers.get(e);if(!l)return;l=l.filter(s=>a.indexOf(s)===-1),l.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,l)}break}}addHeaderEntry(i,e){let t=i.toLowerCase();this.maybeSetNormalizedName(i,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(i,e){let t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),o=i.toLowerCase();this.headers.set(o,t),this.maybeSetNormalizedName(i,o)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var Br=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}},zr=class{encodeKey(i){return nu(i)}encodeValue(i){return nu(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function Rf(n,i){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(o=>{let r=o.indexOf("="),[a,l]=r==-1?[i.decodeKey(o),""]:[i.decodeKey(o.slice(0,r)),i.decodeValue(o.slice(r+1))],s=e.get(a)||[];s.push(l),e.set(a,s)}),e}var Tf=/[&+#]/g;function nu(n){return encodeURI(n).replace(Tf,encodeURIComponent)}function Vr(n){return`${n}`}var rn=class n{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new zr,i.fromString){if(i.fromObject)throw new z(2805,!1);this.map=Rf(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let t=i.fromObject[e],o=Array.isArray(t)?t.map(Vr):[Vr(t)];this.map.set(e,o)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(t=>{let o=i[t];Array.isArray(o)?o.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:o,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[i,e]of this.cloneFrom.map.entries())this.map.set(i,e);this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=i.op==="a"?(this.map.get(i.param)||[]).slice():[];e.push(Vr(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let t=(this.map.get(i.param)||[]).slice(),o=t.indexOf(Vr(i.value));o!==-1&&t.splice(o,1),t.length>0?this.map.set(i.param,t):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null}}};function Of(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function iu(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function ou(n){return typeof Blob<"u"&&n instanceof Blob}function ru(n){return typeof FormData<"u"&&n instanceof FormData}function Ff(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var vo="Content-Type",jr="Accept",cu="text/plain",du="application/json",uu=`${du}, ${cu}, */*`,gi=class n{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,e,t,o){this.url=e,this.method=i.toUpperCase();let r;if(Of(this.method)||o?(this.body=t!==void 0?t:null,r=o):r=t,r){if(this.reportProgress=!!r.reportProgress,this.reportUploadProgress=!!r.reportUploadProgress,this.reportDownloadProgress=!!r.reportDownloadProgress,this.withCredentials=!!r.withCredentials,this.keepalive=!!r.keepalive,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),r.priority&&(this.priority=r.priority),r.cache&&(this.cache=r.cache),r.credentials&&(this.credentials=r.credentials),typeof r.timeout=="number"){if(r.timeout<1||!Number.isInteger(r.timeout))throw new z(2822,"");this.timeout=r.timeout}r.mode&&(this.mode=r.mode),r.redirect&&(this.redirect=r.redirect),r.integrity&&(this.integrity=r.integrity),r.referrer!==void 0&&(this.referrer=r.referrer),r.referrerPolicy&&(this.referrerPolicy=r.referrerPolicy),this.transferCache=r.transferCache}if(this.headers??=new At,this.context??=new Br,!this.params)this.params=new rn,this.urlWithParams=e;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=e;else{let l=e,s="",u=e.indexOf("#");u!==-1&&(s=e.substring(u),l=e.substring(0,u));let d=l.indexOf("?"),v=d===-1?"?":djt.set(Et,i.setHeaders[Et]),gt)),i.setParams&&(De=Object.keys(i.setParams).reduce((jt,Et)=>jt.set(Et,i.setParams[Et]),De)),new n(e,t,ne,{params:De,headers:gt,context:Ot,reportProgress:Y,reportUploadProgress:ee,reportDownloadProgress:Xe,responseType:o,withCredentials:Le,transferCache:w,keepalive:r,cache:l,priority:a,timeout:j,mode:s,redirect:u,credentials:d,referrer:v,integrity:b,referrerPolicy:S})}},Zt=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(Zt||{}),vi=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,e=200,t="OK"){this.headers=i.headers||new At,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||t,this.url=i.url||null,this.redirected=i.redirected,this.responseType=i.responseType,this.ok=this.status>=200&&this.status<300}},bo=class n extends vi{constructor(i={}){super(i)}type=Zt.ResponseHeader;clone(i={}){return new n({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},bi=class n extends vi{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=Zt.Response;clone(i={}){return new n({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected,responseType:i.responseType??this.responseType})}},Xt=class extends vi{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},mu=200,Pf=204;var Lf=/^\)\]\}',?\n/,hC=1024*1024,pu=new y("",{factory:()=>null}),Ur=(()=>{class n{fetchImpl=c(ol,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=c(P);destroyRef=c($t);maxResponseSize=c(pu);handle(e){return new ct(t=>{let o=new AbortController,r=!1,a={next:s=>{s.type===Zt.Response&&(r=!0),t.next(s)},error:s=>{r=!0,t.error(s)},complete:()=>{r=!0,t.complete()}};this.doRequest(e,o.signal,a).then(rl,s=>a.error(new Xt({error:s})));let l;return e.timeout&&(l=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{l!==void 0&&clearTimeout(l),!r&&!o.signal.aborted&&o.abort()}})}doRequest(e,t,o){return fe(this,null,function*(){let r=this.createRequestInit(e),a;try{let ne=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,f({signal:t},r)));Vf(ne),o.next({type:Zt.Sent}),a=yield ne}catch(ne){o.error(new Xt({error:ne,status:ne.status??0,statusText:ne.statusText,url:e.urlWithParams,headers:ne.headers}));return}let l=new At(a.headers),s=a.statusText,u=a.url||e.urlWithParams,d=a.status,v=null,b=e.reportProgress||e.reportDownloadProgress;if(b&&o.next(new bo({headers:l,status:d,statusText:s,url:u})),a.body){let ne=a.headers.get(vo)??"",Le=a.headers.get("content-length"),Y=Le!==null?Number(Le):NaN;this.maxResponseSize!==null&&Number.isFinite(Y)&&Y>this.maxResponseSize&&(yield a.body.cancel(),au(this.maxResponseSize));let ee=[],Xe=a.body.getReader(),gt=0,De,Ot,jt=typeof Zone<"u"&&Zone.current,Et=!1;if(yield this.ngZone.runOutsideAngular(()=>fe(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield Xe.cancel(),Et=!0;break}let{done:ue,value:_}=yield Xe.read();if(ue)break;if(ee.push(_),gt+=_.length,this.maxResponseSize!==null&>>this.maxResponseSize&&(yield Xe.cancel(),au(this.maxResponseSize)),b){Ot=e.responseType==="text"?(Ot??"")+(De??=su(ne)).decode(_,{stream:!0}):void 0;let he=()=>o.next({type:Zt.DownloadProgress,total:Number.isFinite(Y)?Y:void 0,loaded:gt,partialText:Ot});jt?jt.run(he):he()}}})),Et){o.complete();return}let H=this.concatChunks(ee,gt);try{v=this.parseBody(e,H,ne,d)}catch(ue){o.error(new Xt({error:ue,headers:new At(a.headers),status:a.status,statusText:a.statusText,url:a.url||e.urlWithParams}));return}}d===0&&(d=v?mu:0);let S=d>=200&&d<300,w=a.redirected,j=a.type;S?(o.next(new bi({body:v,headers:l,status:d,statusText:s,url:u,redirected:w,responseType:j})),o.complete()):o.error(new Xt({error:v,headers:l,status:d,statusText:s,url:u,redirected:w,responseType:j}))})}parseBody(e,t,o,r){switch(e.responseType){case"json":let a=new TextDecoder().decode(t).replace(Lf,"");if(a==="")return null;try{return JSON.parse(a)}catch(l){if(r<200||r>=300)return a;throw l}case"text":return su(o).decode(t);case"blob":return new Blob([t],{type:o});case"arraybuffer":return t.buffer}}createRequestInit(e){if(e.reportUploadProgress)throw new z(2824,!1);let t={},o;if(o=e.credentials,e.withCredentials&&(o="include"),e.headers.forEach((r,a)=>t[r]=a.join(",")),e.headers.has(jr)||(t[jr]=uu),!e.headers.has(vo)){let r=e.detectContentTypeHeader();r!==null&&(t[vo]=r)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:o,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,t){let o=new Uint8Array(t),r=0;for(let a of e)o.set(a,r),r+=a.length;return o}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),ol=class{};function rl(){}function Vf(n){n.then(rl,rl)}function au(n){throw new z(-2825,!1)}var Bf=/charset=\s*["']?([^;"'\s]+)["']?/i;function su(n){let i=n.match(Bf);if(i!==null)try{return new TextDecoder(i[1])}catch(e){}return new TextDecoder}var zf=new y("",{factory:()=>!0}),jf="XSRF-TOKEN",Uf=new y("",{factory:()=>jf}),Hf="X-XSRF-TOKEN",$f=new y("",{factory:()=>Hf}),Gf=(()=>{class n{cookieName=c(Uf);doc=c(F);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=mo(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),hu=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=N(Gf),o},providedIn:"root"})}return n})();function fu(n,i){if(!c(zf)||n.method==="GET"||n.method==="HEAD")return i(n);try{let o=c(on).href,{origin:r}=new URL(o),{origin:a}=new URL(n.url,r);if(r!==a)return i(n)}catch(o){return i(n)}let e=c(hu).getToken(),t=c($f);return e!=null&&!n.headers.has(t)&&(n=n.clone({headers:n.headers.set(t,e)})),i(n)}function gu(n,i){return i(n)}function Wf(n,i){return(e,t)=>i.intercept(e,{handle:o=>n(o,t)})}function qf(n,i,e){return(t,o)=>Qe(e,()=>i(t,r=>n(r,o)))}var $r=new y(""),sl=new y("",{factory:()=>[fu]}),vu=new y(""),ll=new y("",{factory:()=>!0});function Kf(){let n=null;return(i,e)=>{n===null&&(n=(c($r,{optional:!0})??[]).reduceRight(Wf,gu));let t=c(Ms);if(c(ll)){let r=t.add();return n(i,e).pipe(Fn(r))}else return n(i,e)}}var Gr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=N(Ur),o},providedIn:"root"})}return n})();var Hr=(()=>{class n{backend;injector;chain=null;pendingTasks=c(Ms);contributeToStability=c(ll);constructor(e,t){this.backend=e,this.injector=t}handle(e){if(this.chain===null){let o=this.injector.get(Wr,null,{skipSelf:!0}),r=o!==null&&this.backend===o,a=this.injector.get(vu,[],r?{self:!0}:void 0),l=Array.from(new Set([...this.injector.get(sl),...a]));this.chain=l.reduceRight((s,u)=>qf(s,u,this.injector),gu)}let t=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return q(()=>t(e,r=>this.backend.handle(r))).pipe(Fn(o))}else return q(()=>t(e,o=>this.backend.handle(o)))}static \u0275fac=function(t){return new(t||n)(N(Gr),N(Te))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Wr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=N(Hr),o},providedIn:"root"})}return n})();function il(n,i){return f({body:i},n)}var It=(()=>{class n{handler;constructor(e){this.handler=e}request(e,t,o={}){let r;if(e instanceof gi)r=e;else{let s;o.headers instanceof At?s=o.headers:s=new At(o.headers);let u;o.params&&(o.params instanceof rn?u=o.params:u=new rn({fromObject:o.params})),r=new gi(e,t,o.body!==void 0?o.body:null,{headers:s,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let a=T(r).pipe(On(s=>this.handler.handle(s)));if(e instanceof gi||o.observe==="events")return a;let l=a.pipe(ge(s=>s instanceof bi));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(te(s=>{if(s.body!==null&&!(s.body instanceof ArrayBuffer))throw new z(2806,!1);return s.body}));case"blob":return l.pipe(te(s=>{if(s.body!==null&&!(s.body instanceof Blob))throw new z(2807,!1);return s.body}));case"text":return l.pipe(te(s=>{if(s.body!==null&&typeof s.body!="string")throw new z(2808,!1);return s.body}));default:return l.pipe(te(s=>s.body))}case"response":return l;default:throw new z(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new rn().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,o={}){return this.request("PATCH",e,il(o,t))}post(e,t,o={}){return this.request("POST",e,il(o,t))}put(e,t,o={}){return this.request("PUT",e,il(o,t))}static \u0275fac=function(t){return new(t||n)(N(Wr))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Yf=/^\)\]\}',?\n/;var al=(()=>{class n{xhrFactory;tracingService=c(ao,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new z(-2800,!1);let t=this.xhrFactory;return T(null).pipe(Ne(()=>new ct(r=>{let a=t.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((Y,ee)=>a.setRequestHeader(Y,ee.join(","))),e.headers.has(jr)||a.setRequestHeader(jr,uu),!e.headers.has(vo)){let Y=e.detectContentTypeHeader();Y!==null&&a.setRequestHeader(vo,Y)}if(e.timeout&&(a.timeout=e.timeout),e.responseType){let Y=e.responseType.toLowerCase();a.responseType=Y!=="json"?Y:"text"}let l=e.serializeBody(),s=null,u=()=>{if(s!==null)return s;let Y=a.statusText||"OK",ee=new At(a.getAllResponseHeaders()),Xe=a.responseURL||e.url;return s=new bo({headers:ee,status:a.status,statusText:Y,url:Xe}),s},d=this.maybePropagateTrace(()=>{let{headers:Y,status:ee,statusText:Xe,url:gt}=u(),De=null;ee!==Pf&&(De=typeof a.response>"u"?a.responseText:a.response),ee===0&&(ee=De?mu:0);let Ot=ee>=200&&ee<300;if(e.responseType==="json"&&typeof De=="string"){let jt=De;De=De.replace(Yf,"");try{De=De!==""?JSON.parse(De):null}catch(Et){De=jt,Ot&&(Ot=!1,De={error:Et,text:De})}}Ot?(r.next(new bi({body:De,headers:Y,status:ee,statusText:Xe,url:gt||void 0})),r.complete()):r.error(new Xt({error:De,headers:Y,status:ee,statusText:Xe,url:gt||void 0}))}),v=this.maybePropagateTrace(Y=>{let{url:ee}=u(),Xe=new Xt({error:Y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:ee||void 0});r.error(Xe)}),b=v;e.timeout&&(b=this.maybePropagateTrace(Y=>{let{url:ee}=u(),Xe=new Xt({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:ee||void 0});r.error(Xe)}));let S=!1,w=this.maybePropagateTrace(Y=>{S||(r.next(u()),S=!0);let ee={type:Zt.DownloadProgress,loaded:Y.loaded};Y.lengthComputable&&(ee.total=Y.total),e.responseType==="text"&&a.responseText&&(ee.partialText=a.responseText),r.next(ee)}),j=this.maybePropagateTrace(Y=>{let ee={type:Zt.UploadProgress,loaded:Y.loaded};Y.lengthComputable&&(ee.total=Y.total),r.next(ee)});a.addEventListener("load",d),a.addEventListener("error",v),a.addEventListener("timeout",b),a.addEventListener("abort",v);let ne=e.reportProgress||e.reportUploadProgress,Le=e.reportProgress||e.reportDownloadProgress;return Le&&a.addEventListener("progress",w),ne&&l!==null&&a.upload&&a.upload.addEventListener("progress",j),a.send(l),r.next({type:Zt.Sent}),()=>{a.removeEventListener("error",v),a.removeEventListener("abort",v),a.removeEventListener("load",d),a.removeEventListener("timeout",b),Le&&a.removeEventListener("progress",w),ne&&l!==null&&a.upload&&a.upload.removeEventListener("progress",j),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(t){return new(t||n)(N(Gs))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qr=(function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n[n.Xhr=7]="Xhr",n})(qr||{});function bu(n,i){return{\u0275kind:n,\u0275providers:i}}function cl(...n){let i=[It,Ur,Hr,{provide:Wr,useExisting:Hr},{provide:Gr,useFactory:()=>c(Ur)},{provide:sl,useValue:fu,multi:!0}];for(let e of n)i.push(...e.\u0275providers);return un(i)}var lu=new y("");function dl(){return bu(qr.LegacyInterceptors,[{provide:lu,useFactory:Kf},{provide:sl,useExisting:lu,multi:!0}])}function ul(){return bu(qr.Xhr,[al,{provide:Gr,useExisting:al}])}var yu=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(N(F))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var ml=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=N(Xf),o},providedIn:"root"})}return n})(),Xf=(()=>{class n extends ml{_doc=c(F);sanitize(e,t){if(t==null)return null;switch(e){case vt.NONE:return t;case vt.HTML:return di(t,"HTML")?Vn(t):_d(this._doc,String(t)).toString();case vt.STYLE:return di(t,"Style")?Vn(t):t;case vt.SCRIPT:if(di(t,"Script"))return Vn(t);throw new z(5200,!1);case vt.URL:return di(t,"URL")?Vn(t):yd(String(t));case vt.RESOURCE_URL:if(di(t,"ResourceURL"))return Vn(t);throw new z(-5201,!1);default:throw new z(5202,!1)}}bypassSecurityTrustHtml(e){return hd(e)}bypassSecurityTrustStyle(e){return fd(e)}bypassSecurityTrustScript(e){return gd(e)}bypassSecurityTrustUrl(e){return vd(e)}bypassSecurityTrustResourceUrl(e){return bd(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var W="primary",Ro=Symbol("RouteTitle"),yl=class{params;constructor(i){this.params=i||{}}has(i){return Object.hasOwn(this.params,i)}get(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e[0]:e}return null}getAll(i){if(this.has(i)){let e=this.params[i];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Un(n){return new yl(n)}function hl(n,i,e){for(let t=0;tn.length||e.pathMatch==="full"&&(i.hasChildren()||t.lengthn.length||e.pathMatch==="full"&&i.hasChildren()&&e.path!=="**")return null;let l={};return!hl(r,n.slice(0,r.length),l)||!hl(a,n.slice(n.length-a.length),l)?null:{consumed:n,posParams:l}}function Jr(n){return new Promise((i,e)=>{n.pipe(cn()).subscribe({next:t=>i(t),error:t=>e(t)})})}function Zf(n,i){if(n.length!==i.length)return!1;for(let e=0;et[r]===o)}else return n===i}function Qf(n){return n.length>0?n[n.length-1]:null}function Gn(n){return gr(n)?n:pi(n)?je(Promise.resolve(n)):T(n)}function Iu(n){return gr(n)?Jr(n):Promise.resolve(n)}var Jf={exact:Ru,subset:Tu},ku={exact:eg,subset:tg,ignored:()=>!0},Ol={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Fl(n,i,e){let t=n instanceof lt?n:i.parseUrl(n);return at(()=>ea(i.lastSuccessfulNavigation()?.finalUrl??new lt,t,e))}function ea(n,i,e){let t=f(f({},wi),e||{});return Jf[t.paths](n.root,i.root,t.matrixParams)&&ku[t.queryParams](n.queryParams,i.queryParams)&&!(t.fragment==="exact"&&n.fragment!==i.fragment)}function eg(n,i){return Jt(n,i)}function Ru(n,i,e){if(!jn(n.segments,i.segments)||!Xr(n.segments,i.segments,e)||n.numberOfChildren!==i.numberOfChildren)return!1;for(let t in i.children)if(!n.children[t]||!Ru(n.children[t],i.children[t],e))return!1;return!0}function tg(n,i){return Object.keys(i).length<=Object.keys(n).length&&Object.keys(i).every(e=>Au(n[e],i[e]))}function Tu(n,i,e){return Ou(n,i,i.segments,e)}function Ou(n,i,e,t){if(n.segments.length>e.length){let o=n.segments.slice(0,e.length);return!(!jn(o,e)||i.hasChildren()||!Xr(o,e,t))}else if(n.segments.length===e.length){if(!jn(n.segments,e)||!Xr(n.segments,e,t))return!1;for(let o in i.children)if(!n.children[o]||!Tu(n.children[o],i.children[o],t))return!1;return!0}else{let o=e.slice(0,n.segments.length),r=e.slice(n.segments.length);return!jn(n.segments,o)||!Xr(n.segments,o,t)||!n.children[W]?!1:Ou(n.children[W],i,r,t)}}function Xr(n,i,e){return i.every((t,o)=>ku[e](n[o].parameters,t.parameters))}var lt=class{root;queryParams;fragment;_queryParamMap;constructor(i=new me([],{}),e={},t=null){this.root=i,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Un(this.queryParams),this._queryParamMap}toString(){return rg.serialize(this)}},me=class{segments;children;parent=null;constructor(i,e){this.segments=i,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zr(this)}},gn=class{path;parameters;_parameterMap;constructor(i,e){this.path=i,this.parameters=e}get parameterMap(){return this._parameterMap??=Un(this.parameters),this._parameterMap}toString(){return Pu(this)}};function ng(n,i){return jn(n,i)&&n.every((e,t)=>Jt(e.parameters,i[t].parameters))}function jn(n,i){return n.length!==i.length?!1:n.every((e,t)=>e.path===i[t].path)}function ig(n,i){let e=[];return Object.entries(n.children).forEach(([t,o])=>{t===W&&(e=e.concat(i(o,t)))}),Object.entries(n.children).forEach(([t,o])=>{t!==W&&(e=e.concat(i(o,t)))}),e}var _n=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:()=>new an})}return n})(),an=class{parse(i){let e=new Cl(i);return new lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(i){let e=`/${_o(i.root,!0)}`;og(e)&&(e="/");let t=lg(i.queryParams),o=typeof i.fragment=="string"?`#${ag(i.fragment)}`:"";return`${e}${t}${o}`}},_u="http://fake";function og(n){try{let i=new URL(n,_u);return i.origin!==_u||i.pathname.startsWith("//")}catch(i){return!0}}var rg=new an;function Zr(n){return n.segments.map(i=>Pu(i)).join("/")}function _o(n,i){if(!n.hasChildren())return Zr(n);if(i){let e=n.children[W]?_o(n.children[W],!1):"",t=[];return Object.entries(n.children).forEach(([o,r])=>{o!==W&&t.push(`${o}:${_o(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=ig(n,(t,o)=>o===W?[_o(n.children[W],!1)]:[`${o}:${_o(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[W]!=null?`${Zr(n)}/${e[0]}`:`${Zr(n)}/(${e.join("//")})`}}function Fu(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kr(n){return Fu(n).replace(/%3B/gi,";")}function ag(n){return encodeURI(n)}function xl(n){return Fu(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qr(n){return decodeURIComponent(n)}function xu(n){return Qr(n.replace(/\+/g,"%20"))}function Pu(n){return`${xl(n.path)}${sg(n.parameters)}`}function sg(n){return Object.entries(n).map(([i,e])=>`;${xl(i)}=${xl(e)}`).join("")}function lg(n){let i=Object.entries(n).map(([e,t])=>Array.isArray(t)?t.map(o=>`${Kr(e)}=${Kr(o)}`).join("&"):`${Kr(e)}=${Kr(t)}`).filter(e=>e);return i.length?`?${i.join("&")}`:""}var fl=1073741824;function ta(n,i,e){Number(i)>=32&&!Object.hasOwn(n,fl)&&(n[fl]=e,delete n[fl]),n[i]=e}var cg=/^[^\/()?;#]+/;function gl(n){let i=n.match(cg);return i?i[0]:""}var dg=/^[^\/()?;=#]+/;function ug(n){let i=n.match(dg);return i?i[0]:""}var mg=/^[^=?&#]+/;function pg(n){let i=n.match(mg);return i?i[0]:""}var hg=/^[^&#]+/;function fg(n){let i=n.match(hg);return i?i[0]:""}var Cl=class{url;remaining;constructor(i){this.url=i,this.remaining=i}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){let i={};if(this.consumeOptional("?"))do this.parseQueryParam(i);while(this.consumeOptional("&"));return i}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(i=0){if(i>50)throw new z(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0,i));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,i)),(e.length>0||Object.keys(t).length>0)&&(o[W]=new me(e,t)),o}parseSegment(){let i=gl(this.remaining);if(i===""&&this.peekStartsWith(";"))throw new z(4009,!1);return this.capture(i),new gn(Qr(i),this.parseMatrixParams())}parseMatrixParams(){let i={};for(;this.consumeOptional(";");)this.parseParam(i);return i}parseParam(i){let e=ug(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let o=gl(this.remaining);o&&(t=o,this.capture(t))}ta(i,Qr(e),Qr(t))}parseQueryParam(i){let e=pg(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let a=fg(this.remaining);a&&(t=a,this.capture(t))}let o=xu(e),r=xu(t);if(Object.hasOwn(i,o)){let a=i[o];Array.isArray(a)||(a=[a],i[o]=a),a.push(r)}else i[o]=r}parseParens(i,e){let t=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=gl(this.remaining),r=this.remaining[o.length];if(r!=="/"&&r!==")"&&r!==";")throw new z(4010,!1);let a;o.indexOf(":")>-1?(a=o.slice(0,o.indexOf(":")),this.capture(a),this.capture(":")):i&&(a=W);let l=this.parseChildren(e+1),s=Object.keys(l).length===1&&l[W]?l[W]:new me([],l);ta(t,a??W,s),this.consumeOptional("//")}return t}peekStartsWith(i){return this.remaining.startsWith(i)}consumeOptional(i){return this.peekStartsWith(i)?(this.remaining=this.remaining.substring(i.length),!0):!1}capture(i){if(!this.consumeOptional(i))throw new z(4011,!1)}};function Lu(n){return n.segments.length>0?new me([],{[W]:n}):n}function Vu(n){let i=Object.create(null);for(let[t,o]of Object.entries(n.children)){let r=Vu(o);if(t===W&&r.segments.length===0&&r.hasChildren())for(let[a,l]of Object.entries(r.children))ta(i,a,l);else(r.segments.length>0||r.hasChildren())&&ta(i,t,r)}let e=new me(n.segments,i);return gg(e)}function gg(n){if(n.numberOfChildren===1&&n.children[W]){let i=n.children[W];return new me(n.segments.concat(i.segments),i.children)}return n}function vn(n){return n instanceof lt}function Bu(n,i,e=null,t=null,o=new an){let r=zu(n);return ju(r,i,e,t,o)}function zu(n){let i;function e(r){let a={};for(let s of r.children){let u=e(s);a[s.outlet]=u}let l=new me(r.url,a);return r===n&&(i=l),l}let t=e(n.root),o=Lu(t);return i??o}function ju(n,i,e,t,o){let r=n;for(;r.parent;)r=r.parent;if(i.length===0)return vl(r,r,r,e,t,o);let a=vg(i);if(a.toRoot())return vl(r,r,new me([],{}),e,t,o);let l=bg(a,r,n),s=l.processChildren?Co(l.segmentGroup,l.index,a.commands):Hu(l.segmentGroup,l.index,a.commands);return vl(r,l.segmentGroup,s,e,t,o)}function na(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Do(n){return typeof n=="object"&&n!=null&&n.outlets}function Cu(n,i,e){n||="\u0275";let t=new lt;return t.queryParams={[n]:i},e.parse(e.serialize(t)).queryParams[n]}function vl(n,i,e,t,o,r){let a={};for(let[u,d]of Object.entries(t??{}))a[u]=Array.isArray(d)?d.map(v=>Cu(u,v,r)):Cu(u,d,r);let l;n===i?l=e:l=Uu(n,i,e);let s=Lu(Vu(l));return new lt(s,a,o)}function Uu(n,i,e){let t=Object.create(null);return Object.entries(n.children).forEach(([o,r])=>{r===i?t[o]=e:t[o]=Uu(r,i,e)}),new me(n.segments,t)}var ia=class{isAbsolute;numberOfDoubleDots;commands;constructor(i,e,t){if(this.isAbsolute=i,this.numberOfDoubleDots=e,this.commands=t,i&&t.length>0&&na(t[0]))throw new z(4003,!1);let o=t.find(Do);if(o&&o!==Qf(t))throw new z(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vg(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new ia(!0,0,n);let i=0,e=!1,t=n.reduce((o,r,a)=>{if(typeof r=="object"&&r!=null){if(r.outlets){let l={};return Object.entries(r.outlets).forEach(([s,u])=>{l[s]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:l}]}if(r.segmentPath)return[...o,r.segmentPath]}return typeof r!="string"?[...o,r]:a===0?(r.split("/").forEach((l,s)=>{s==0&&l==="."||(s==0&&l===""?e=!0:l===".."?i++:l!=""&&o.push(l))}),o):[...o,r]},[]);return new ia(e,i,t)}var _i=class{segmentGroup;processChildren;index;constructor(i,e,t){this.segmentGroup=i,this.processChildren=e,this.index=t}};function bg(n,i,e){if(n.isAbsolute)return new _i(i,!0,0);if(!e)return new _i(i,!1,NaN);if(e.parent===null)return new _i(e,!0,0);let t=na(n.commands[0])?0:1,o=e.segments.length-1+t;return yg(e,o,n.numberOfDoubleDots)}function yg(n,i,e){let t=n,o=i,r=e;for(;r>o;){if(r-=o,t=t.parent,!t)throw new z(4005,!1);o=t.segments.length}return new _i(t,!1,o-r)}function _g(n){return Do(n[0])?n[0].outlets:{[W]:n}}function Hu(n,i,e){if(n??=new me([],{}),n.segments.length===0&&n.hasChildren())return Co(n,i,e);let t=xg(n,i,e),o=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==W)&&n.children[W]&&n.numberOfChildren===1&&n.children[W].segments.length===0){let r=Co(n.children[W],i,e);return new me(n.segments,r.children)}return Object.entries(t).forEach(([r,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(o[r]=Hu(n.children[r],i,a))}),Object.entries(n.children).forEach(([r,a])=>{t[r]===void 0&&(o[r]=a)}),new me(n.segments,o)}}function xg(n,i,e){let t=0,o=i,r={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return r;let a=n.segments[o],l=e[t];if(Do(l))break;let s=`${l}`,u=t0&&s===void 0)break;if(s&&u&&typeof u=="object"&&u.outlets===void 0){if(!Su(s,u,a))return r;t+=2}else{if(!Su(s,{},a))return r;t++}o++}return{match:!0,pathIndex:o,commandIndex:t}}function wl(n,i,e){let t=n.segments.slice(0,i),o=0;for(;o{typeof t=="string"&&(t=[t]),t!==null&&(i[e]=wl(new me([],{}),0,t))}),i}function wu(n){let i={};return Object.entries(n).forEach(([e,t])=>i[e]=`${t}`),i}function Su(n,i,e){return n==e.path&&Jt(i,e.parameters)}var oa=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(i){this.rootInjector=i,this.children=new bn(this.rootInjector)}resetChildren(){this.children=new bn(this.rootInjector)}},bn=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let o=this.getOrCreateContext(e);o.outlet=t,this.contexts.set(e,o)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new oa(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||n)(N(Te))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ra=class{_root;constructor(i){this._root=i}get root(){return this._root.value}parent(i){let e=this.pathFromRoot(i);return e.length>1?e[e.length-2]:null}children(i){let e=Sl(i,this._root);return e?e.children.map(t=>t.value):[]}firstChild(i){let e=Sl(i,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(i){let e=Dl(i,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==i)}pathFromRoot(i){return Dl(i,this._root).map(e=>e.value)}};function Sl(n,i){if(n===i.value)return i;for(let e of i.children){let t=Sl(n,e);if(t)return t}return null}function Dl(n,i){if(n===i.value)return[i];for(let e of i.children){let t=Dl(n,e);if(t.length)return t.unshift(i),t}return[]}var st=class{value;children;constructor(i,e){this.value=i,this.children=e}toString(){return`TreeNode(${this.value})`}};function yi(n){let i={};return n&&n.children.forEach(e=>i[e.value.outlet]=e),i}var Eo=class extends ra{snapshot;constructor(i,e){super(i),this.snapshot=e,Ll(this,i)}toString(){return this.snapshot.toString()}};function $u(n,i){let e=wg(n,i),t=new dt([new gn("",{})]),o=new dt({}),r=new dt({}),a=new dt({}),l=new dt(""),s=new Bt(t,o,a,l,r,W,n,e.root);return s.snapshot=e.root,new Eo(new st(s,[]),e)}function wg(n,i){let e={},t={},o={},a=new Si([],e,o,"",t,W,n,null,{},i);return new Mo("",new st(a,[]))}var Bt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(i,e,t,o,r,a,l,s){this.urlSubject=i,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=o,this.dataSubject=r,this.outlet=a,this.component=l,this._futureSnapshot=s,this.title=this.dataSubject?.pipe(te(u=>u[Ro]))??T(void 0),this.url=i,this.params=e,this.queryParams=t,this.fragment=o,this.data=r}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(te(i=>Un(i))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(te(i=>Un(i))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(i){this._futureSnapshot=i,this.pending?.set(!0)}},Sg="always";function Pl(n,i,e){let t,{routeConfig:o}=n;return i!==null&&(e==="always"||o?.path===""||!i.component&&!i.routeConfig?.loadComponent)?t={params:Object.keys(n.params).length===0?i.params:Object.freeze(f(f({},i.params),n.params)),data:Object.freeze(f(f({},i.data),n.data)),resolve:f(f(f(f({},n.data),i.data),o?.data),n._resolvedData)}:t={params:Object.freeze(f({},n.params)),data:Object.freeze(f({},n.data)),resolve:f(f({},n.data),n._resolvedData??{})},o&&Wu(o)&&(t.resolve[Ro]=o.title),t}var Si=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Ro]}constructor(i,e,t,o,r,a,l,s,u,d){this.url=i,this.params=e,this.queryParams=t,this.fragment=o,this.data=r,this.outlet=a,this.component=l,this.routeConfig=s,this._resolve=u,this._environmentInjector=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Un(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Un(this.queryParams),this._queryParamMap}toString(){let i=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${i}', path:'${e}')`}},Mo=class extends ra{url;constructor(i,e){super(e),this.url=i,Ll(this,e)}toString(){return Gu(this._root)}};function Ll(n,i){i.value._routerState=n,i.children.forEach(e=>Ll(n,e))}function Gu(n){let i=n.children.length>0?` { ${n.children.map(Gu).join(", ")} } `:"";return`${n.value}${i}`}function bl(n){if(n.snapshot){let i=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Jt(i.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),i.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),Jt(i.params,e.params)||n.paramsSubject.next(e.params),Zf(i.url,e.url)||n.urlSubject.next(e.url),Jt(i.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function El(n,i){let e=Jt(n.params,i.params)&&ng(n.url,i.url),t=!n.parent!=!i.parent;return e&&!t&&(!n.parent||El(n.parent,i.parent))}function Wu(n){return typeof n.title=="string"||n.title===null}var qu=new y(""),To=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=W;activateEvents=new J;deactivateEvents=new J;attachEvents=new J;detachEvents=new J;routerOutletData=zn();parentContexts=c(bn);location=c(Gt);changeDetector=c(we);inputBinder=c(Oo,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:o}=e.name;if(t)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new z(4013,!1);this._activatedRoute=e;let o=this.location,a=e.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,s=new Ml(e,l,o.injector,this.routerOutletData);this.activated=o.createComponent(a,{index:o.length,injector:s,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[xe]})}return n})(),Ml=class{route;childContexts;parent;outletData;constructor(i,e,t,o){this.route=i,this.childContexts=e,this.parent=t,this.outletData=o}get(i,e){return i===Bt?this.route:i===bn?this.childContexts:i===qu?this.outletData:this.parent.get(i,e)}},Oo=new y(""),Ku=(()=>{class n{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(e,t=null){this.options=e,this.feature=t,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(e,t){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e,t)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e),this.outletSeenKeys.delete(e),this.outletEffects.get(e)?.forEach(t=>t.destroy()),this.outletEffects.delete(e)}subscribeToRouteData(e,t){let{activatedRoute:o}=e,r=[],a=[];if(this.feature?.createResourceOutletBindingEffects&&e.activatedComponentRef){let{handledKeys:s,createdEffects:u}=this.feature.createResourceOutletBindingEffects(e.activatedComponentRef,o);r.push(...u),a=s}r.length>0&&this.outletEffects.set(e,r);let l=to([this.options.queryParams?o.queryParams:T({}),o.params,o.data]).pipe(Ne(([s,u,d],v)=>(d=f(f(f(f({},s),u),d),o.resources),v===0?T(d):Promise.resolve(d)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(e);return}let u=Bs(o.component);if(!u){this.unsubscribeFromRouteData(e);return}let d=this.outletSeenKeys.get(e);d||(d=new Set,this.outletSeenKeys.set(e,d));for(let b of Object.keys(s))d.add(b);let v=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:b}of u.inputs){if(a.includes(b))continue;let S=s[b];(S!==void 0||v==="alwaysUndefined"||d.has(b))&&e.activatedComponentRef.setInput(b,S)}});this.outletDataSubscriptions.set(e,l)}static \u0275fac=function(t){mi()};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),Vl=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,o){t&1&&ae(0,"router-outlet")},dependencies:[To],encapsulation:2,changeDetection:1})}return n})();function Bl(n){let i=n.children&&n.children.map(Bl),e=i?se(f({},n),{children:i}):f({},n);return!e.component&&!e.loadComponent&&(i||e.loadChildren)&&e.outlet&&e.outlet!==W&&(e.component=Vl),e}var xi="imperative",ze=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(ze||{}),_t=class{id;url;constructor(i,e){this.id=i,this.url=e}},yn=class extends _t{type=ze.NavigationStart;navigationTrigger;restoredState;constructor(i,e,t="imperative",o=null){super(i,e),this.navigationTrigger=t,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},xt=class extends _t{urlAfterRedirects;type=ze.NavigationEnd;constructor(i,e,t){super(i,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ke=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(Ke||{}),Di=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(Di||{}),kt=class extends _t{reason;code;type=ze.NavigationCancel;constructor(i,e,t,o){super(i,e),this.reason=t,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Yu(n){return n instanceof kt&&(n.code===Ke.Redirect||n.code===Ke.SupersededByNewNavigation)}var en=class extends _t{reason;code;type=ze.NavigationSkipped;constructor(i,e,t,o){super(i,e),this.reason=t,this.code=o}},Hn=class extends _t{error;target;type=ze.NavigationError;constructor(i,e,t,o){super(i,e),this.error=t,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},No=class extends _t{urlAfterRedirects;state;type=ze.RoutesRecognized;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},aa=class extends _t{urlAfterRedirects;state;type=ze.GuardsCheckStart;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sa=class extends _t{urlAfterRedirects;state;shouldActivate;type=ze.GuardsCheckEnd;constructor(i,e,t,o,r){super(i,e),this.urlAfterRedirects=t,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},la=class extends _t{urlAfterRedirects;state;type=ze.ResolveStart;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ca=class extends _t{urlAfterRedirects;state;type=ze.ResolveEnd;constructor(i,e,t,o){super(i,e),this.urlAfterRedirects=t,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},da=class{route;type=ze.RouteConfigLoadStart;constructor(i){this.route=i}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ua=class{route;type=ze.RouteConfigLoadEnd;constructor(i){this.route=i}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ma=class{snapshot;type=ze.ChildActivationStart;constructor(i){this.snapshot=i}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pa=class{snapshot;type=ze.ChildActivationEnd;constructor(i){this.snapshot=i}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ha=class{snapshot;type=ze.ActivationStart;constructor(i){this.snapshot=i}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fa=class{snapshot;type=ze.ActivationEnd;constructor(i){this.snapshot=i}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ei=class{routerEvent;position;anchor;scrollBehavior;type=ze.Scroll;constructor(i,e,t,o){this.routerEvent=i,this.position=e,this.anchor=t,this.scrollBehavior=o}toString(){let i=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${i}')`}},Mi=class{},Ao=class{},Ni=class{url;navigationBehaviorOptions;constructor(i,e){this.url=i,this.navigationBehaviorOptions=e}};function Dg(n){return!(n instanceof Mi)&&!(n instanceof Ni)&&!(n instanceof Ao)}function Eg(n,i,e){let t=new Set,o=Io(n,i._root,e?e._root:void 0,t);return{newlyCreatedRoutes:t,state:new Eo(o,i)}}function Io(n,i,e,t){if(e&&n.shouldReuseRoute(i.value,e.value.snapshot)){let o=e.value;o._setPending(i.value);let r=Mg(n,i,e,t);return new st(o,r)}else{if(n.shouldAttach(i.value)){let a=n.retrieve(i.value);if(a!==null){let l=a.route;return l.value._setPending(i.value),l.children=i.children.map(s=>Io(n,s,void 0,t)),l}}let o=Ng(i.value);o._setPending(i.value),t.add(o);let r=i.children.map(a=>Io(n,a,void 0,t));return new st(o,r)}}function Mg(n,i,e,t){return i.children.map(o=>{for(let r of e.children)if(n.shouldReuseRoute(o.value,r.value.snapshot))return Io(n,o,r,t);return Io(n,o,void 0,t)})}function Ng(n){return new Bt(new dt(n.url),new dt(n.params),new dt(n.queryParams),new dt(n.fragment),new dt(n.data),n.outlet,n.component,n)}var $n=class n extends Error{redirectTo;navigationBehaviorOptions;constructor(i,e){super(),this.redirectTo=i,this.navigationBehaviorOptions=e,Object.setPrototypeOf(this,n.prototype)}},Xu="ngNavigationCancelingError";function wo(n,i){let{redirectTo:e,navigationBehaviorOptions:t}=vn(i)?{redirectTo:i,navigationBehaviorOptions:void 0}:i,o=Zu(!1,Ke.Redirect);return o.url=e,o.navigationBehaviorOptions=t,o}function Zu(n,i){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[Xu]=!0,e.cancellationCode=i,e}function Ag(n){return Qu(n)&&vn(n.url)}function Qu(n){return!!n&&n[Xu]}var Nl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(i,e,t,o,r){this.routeReuseStrategy=i,this.futureState=e,this.currState=t,this.forwardEvent=o,this.inputBindingEnabled=r}activate(i){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,i),bl(this.futureState.root),this.activateChildRoutes(e,t,i)}deactivateChildRoutes(i,e,t){let o=yi(e);i.children.forEach(r=>{let a=r.value.outlet;this.deactivateRoutes(r,o[a],t),delete o[a]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(i,e,t){let o=i.value,r=e?e.value:null;if(o===r)if(o.component){let a=t.getContext(o.outlet);a&&this.deactivateChildRoutes(i,e,a.children)}else this.deactivateChildRoutes(i,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(i,e){i.value.component&&this.routeReuseStrategy.shouldDetach(i.value.snapshot)?this.detachAndStoreRouteSubtree(i,e):this.deactivateRouteAndOutlet(i,e)}detachAndStoreRouteSubtree(i,e){let t=e.getContext(i.value.outlet),o=t&&i.value.component?t.children:e,r=yi(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);if(t&&t.outlet){let a=t.outlet.detach(),l=t.children.contexts;t.resetChildren(),this.routeReuseStrategy.store(i.value.snapshot,{componentRef:a,route:i,contexts:l})}}deactivateRouteAndOutlet(i,e){let t=e.getContext(i.value.outlet),o=t&&i.value.component?t.children:e,r=yi(i);for(let a of Object.values(r))this.deactivateRouteAndItsChildren(a,o);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null),i.value._localInjector?.destroy()}activateChildRoutes(i,e,t){let o=yi(e);i.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],t),this.forwardEvent(new fa(r.value.snapshot))}),i.children.length&&this.forwardEvent(new pa(i.value.snapshot))}activateRoutes(i,e,t){let o=i.value,r=e?e.value:null;if(bl(o),o===r)if(o.component){let a=t.getOrCreateContext(o.outlet);this.activateChildRoutes(i,e,a.children)}else this.activateChildRoutes(i,e,t);else if(o.component){let a=t.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let l=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),bl(l.route.value),this.activateChildRoutes(i,null,a.children)}else a.attachRef=null,a.route=o,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(i,null,a.children)}else this.activateChildRoutes(i,null,t)}},ga=class{path;route;constructor(i){this.path=i,this.route=this.path[this.path.length-1]}},Ci=class{component;route;constructor(i,e){this.component=i,this.route=e}};function Ig(n,i,e){let t=n._root,o=i?i._root:null;return xo(t,o,e,[t.value])}function kg(n){let i=n.routeConfig?n.routeConfig.canActivateChild:null;return!i||i.length===0?null:{node:n,guards:i}}function Ii(n,i){let e=Symbol(),t=i.get(n,e);return t===e?typeof n=="function"&&!rd(n)?n:i.get(n):t}function xo(n,i,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=yi(i);return n.children.forEach(a=>{Rg(a,r[a.value.outlet],e,t.concat([a.value]),o),delete r[a.value.outlet]}),Object.entries(r).forEach(([a,l])=>So(l,e.getContext(a),e,o)),o}function Rg(n,i,e,t,o={canDeactivateChecks:[],canActivateChecks:[]}){let r=n.value,a=i?i.value:null,l=e?e.getContext(n.value.outlet):null;if(a&&r.routeConfig===a.routeConfig){let s=Tg(a,r,r.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new ga(t)):(r.data=a.data,r._resolvedData=a._resolvedData),r.component?xo(n,i,l?l.children:null,t,o):xo(n,i,e,t,o),s&&l&&l.outlet&&l.outlet.isActivated&&o.canDeactivateChecks.push(new Ci(l.outlet.component,a))}else a&&So(i,l,e,o),o.canActivateChecks.push(new ga(t)),r.component?xo(n,null,l?l.children:null,t,o):xo(n,null,e,t,o);return o}function Tg(n,i,e){if(typeof e=="function")return Qe(i._environmentInjector,()=>e(n,i));switch(e){case"pathParamsChange":return!jn(n.url,i.url);case"pathParamsOrQueryParamsChange":return!jn(n.url,i.url)||!Jt(n.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!El(n,i)||!Jt(n.queryParams,i.queryParams);default:return!El(n,i)}}function So(n,i,e,t){let o=yi(n),r=n.value;Object.entries(o).forEach(([a,l])=>{r.component?i?So(l,i.children.getContext(a),i.children,t):So(l,null,null,t):So(l,e?e.getContext(a):null,e,t)}),r.component?i&&i.outlet&&i.outlet.isActivated?t.canDeactivateChecks.push(new Ci(i.outlet.component,r)):t.canDeactivateChecks.push(new Ci(null,r)):t.canDeactivateChecks.push(new Ci(null,r))}function Fo(n){return typeof n=="function"}function Og(n){return typeof n=="boolean"}function Fg(n){return n&&Fo(n.canLoad)}function Pg(n){return n&&Fo(n.canActivate)}function Lg(n){return n&&Fo(n.canActivateChild)}function Vg(n){return n&&Fo(n.canDeactivate)}function Bg(n){return n&&Fo(n.canMatch)}function Ju(n){return n instanceof nd||n?.name==="EmptyError"}var Yr=Symbol("INITIAL_VALUE");function Ai(){return Ne(n=>to(n.map(i=>i.pipe(We(1),Ue(Yr)))).pipe(te(i=>{for(let e of i)if(e!==!0){if(e===Yr)return Yr;if(e===!1||zg(e))return e}return!0}),ge(i=>i!==Yr),We(1)))}function zg(n){return vn(n)||n instanceof $n}function em(n){return new ct(i=>{if(n.aborted){i.next(),i.complete();return}let e=()=>{i.next(),i.complete()};return n.addEventListener("abort",e),()=>n.removeEventListener("abort",e)})}function tm(n){return _e(em(n))}function jg(n){return Ut(i=>{let{targetSnapshot:e,currentSnapshot:t,guards:{canActivateChecks:o,canDeactivateChecks:r}}=i;return r.length===0&&o.length===0?T(se(f({},i),{guardsResult:!0})):Ug(r,e,t).pipe(Ut(a=>a&&Og(a)?Hg(e,o,n):T(a)),te(a=>se(f({},i),{guardsResult:a})))})}function Ug(n,i,e){return je(n).pipe(Ut(t=>Kg(t.component,t.route,e,i)),cn(t=>t!==!0,!0))}function Hg(n,i,e){return je(i).pipe(On(t=>vr(Gg(t.route.parent,e),$g(t.route,e),qg(n,t.path),Wg(n,t.route))),cn(t=>t!==!0,!0))}function $g(n,i){return n!==null&&i&&i(new ha(n)),T(!0)}function Gg(n,i){return n!==null&&i&&i(new ma(n)),T(!0)}function Wg(n,i){let e=i.routeConfig?i.routeConfig.canActivate:null;if(!e||e.length===0)return T(!0);let t=e.map(o=>Ht(()=>{let r=i._environmentInjector,a=Ii(o,r),l=Pg(a)?a.canActivate(i,n):Qe(r,()=>a(i,n));return Gn(l).pipe(cn())}));return T(t).pipe(Ai())}function qg(n,i){let e=i[i.length-1],o=i.slice(0,i.length-1).reverse().map(r=>kg(r)).filter(r=>r!==null).map(r=>Ht(()=>{let a=r.guards.map(l=>{let s=r.node._environmentInjector,u=Ii(l,s),d=Lg(u)?u.canActivateChild(e,n):Qe(s,()=>u(e,n));return Gn(d).pipe(cn())});return T(a).pipe(Ai())}));return T(o).pipe(Ai())}function Kg(n,i,e,t){let o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!o||o.length===0)return T(!0);let r=o.map(a=>{let l=i._environmentInjector,s=Ii(a,l),u=Vg(s)?s.canDeactivate(n,i,e,t):Qe(l,()=>s(n,i,e,t));return Gn(u).pipe(cn())});return T(r).pipe(Ai())}function Yg(n,i,e,t,o){let r=i.canLoad;if(r===void 0||r.length===0)return T(!0);let a=r.map(l=>{let s=Ii(l,n),u=Fg(s)?s.canLoad(i,e):Qe(n,()=>s(i,e)),d=Gn(u);return o?d.pipe(tm(o)):d});return T(a).pipe(Ai(),nm(t))}function nm(n){return _s(Ve(i=>{if(typeof i!="boolean")throw wo(n,i)}),te(i=>i===!0))}function Xg(n,i,e,t,o,r){let a=i.canMatch;if(!a||a.length===0)return T(!0);let l=a.map(s=>{let u=Ii(s,n),d=Bg(u)?u.canMatch(i,e,o):Qe(n,()=>u(i,e,o));return Gn(d).pipe(tm(r))});return T(l).pipe(Ai(),nm(t))}var Qt=class n extends Error{name="NoMatch";segmentGroup;constructor(i){super(),this.segmentGroup=i||null,Object.setPrototypeOf(this,n.prototype)}},ko=class n extends Error{urlTree;name="AbsoluteRedirect";constructor(i){super(),this.urlTree=i,Object.setPrototypeOf(this,n.prototype)}};function Zg(n){throw new z(4e3,!1)}function Qg(n){throw Zu(!1,Ke.GuardRejected)}var Al=class{urlSerializer;urlTree;constructor(i,e){this.urlSerializer=i,this.urlTree=e}lineralizeSegments(i,e){return fe(this,null,function*(){let t=[],o=e.root;for(;;){if(t=t.concat(o.segments),o.numberOfChildren===0)return t;if(o.numberOfChildren>1||!o.children[W])throw Zg(`${i.redirectTo}`);o=o.children[W]}})}applyRedirectCommands(i,e,t,o,r){return fe(this,null,function*(){let a=yield Jg(e,o,r);if(a instanceof lt)throw new ko(a);let l=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),i,t);if(a[0]==="/")throw new ko(l);return l})}applyRedirectCreateUrlTree(i,e,t,o){let r=this.createSegmentGroup(i,e.root,t,o);return new lt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(i,e){let t={};return Object.entries(i).forEach(([o,r])=>{if(typeof r=="string"&&r[0]===":"){let l=r.substring(1);t[o]=e[l]}else t[o]=r}),t}createSegmentGroup(i,e,t,o){let r=this.createSegments(i,e.segments,t,o),a=Object.create(null);return Object.entries(e.children).forEach(([l,s])=>{a[l]=this.createSegmentGroup(i,s,t,o)}),new me(r,a)}createSegments(i,e,t,o){return e.map(r=>r.path[0]===":"?this.findPosParam(i,r,o):this.findOrReturn(r,t))}findPosParam(i,e,t){let o=t[e.path.substring(1)];if(!o)throw new z(4001,!1);return o}findOrReturn(i,e){let t=0;for(let o of e){if(o.path===i.path)return e.splice(t),o;t++}return i}};function Jg(n,i,e){if(typeof n=="string")return Promise.resolve(n);let t=n;return Jr(Gn(Qe(e,()=>t(i))))}function ev(n,i){return n.providers&&!n._injector&&(n._injector=wr(n.providers,i,`Route: ${n.path}`)),n._injector??i}function Vt(n){return n.outlet||W}function tv(n,i){let e=n.filter(t=>Vt(t)===i);return e.push(...n.filter(t=>Vt(t)!==i)),e}var Il={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function im(n){return{routeConfig:n.routeConfig,url:n.url,params:n.params,queryParams:n.queryParams,fragment:n.fragment,data:n.data,outlet:n.outlet,title:n.title,paramMap:n.paramMap,queryParamMap:n.queryParamMap}}function nv(n,i,e,t,o,r,a){let l=om(n,i,e);if(!l.matched)return T(l);let s=im(r(l));return t=ev(i,t),Xg(t,i,e,o,s,a).pipe(te(u=>u===!0?l:f({},Il)))}function om(n,i,e){if(i.path==="")return i.pathMatch==="full"&&(n.hasChildren()||e.length>0)?f({},Il):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(i.matcher||Nu)(e,n,i);if(!o)return f({},Il);let r={};Object.entries(o.posParams??{}).forEach(([l,s])=>{r[l]=s.path});let a=o.consumed.length>0?f(f({},r),o.consumed[o.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function Du(n,i,e,t,o){return e.length>0&&rv(n,e,t,o)?{segmentGroup:new me(i,ov(t,new me(e,n.children))),slicedSegments:[]}:e.length===0&&av(n,e,t)?{segmentGroup:new me(n.segments,iv(n,e,t,n.children)),slicedSegments:e}:{segmentGroup:new me(n.segments,n.children),slicedSegments:e}}function iv(n,i,e,t){let o={};for(let r of e)if(ba(n,i,r)&&!t[Vt(r)]){let a=new me([],{});o[Vt(r)]=a}return f(f({},t),o)}function ov(n,i){let e={};e[W]=i;for(let t of n)if(t.path===""&&Vt(t)!==W){let o=new me([],{});e[Vt(t)]=o}return e}function rv(n,i,e,t){return e.some(o=>!ba(n,i,o)||!(Vt(o)!==W)?!1:!(t!==void 0&&Vt(o)===t))}function av(n,i,e){return e.some(t=>ba(n,i,t))}function ba(n,i,e){return(n.hasChildren()||i.length>0)&&e.pathMatch==="full"?!1:e.path===""}function sv(n,i,e){return i.length===0&&!n.hasChildren()}var kl=class{};function lv(n,i,e,t,o,r,a,l){return fe(this,null,function*(){return new Rl(n,i,e,t,o,a,r,l).recognize()})}var cv=31,Rl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;queryParams;constructor(i,e,t,o,r,a,l,s){this.injector=i,this.configLoader=e,this.rootComponentType=t,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=a,this.urlSerializer=l,this.abortSignal=s,this.applyRedirects=new Al(this.urlSerializer,this.urlTree),this.queryParams=Object.freeze(f({},this.urlTree.queryParams))}noMatchError(i){return new z(4002,`'${i.segmentGroup}'`)}recognize(){return fe(this,null,function*(){let i=Du(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:t}=yield this.match(i),o=new st(t,e),r=new Mo("",o),a=Bu(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(a),{state:r,tree:a}})}match(i){return fe(this,null,function*(){let e=new Si([],Object.freeze({}),this.queryParams,this.urlTree.fragment,Object.freeze({}),W,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,i,W,e),rootSnapshot:e}}catch(t){if(t instanceof ko)return this.absoluteRedirectCount++,this.absoluteRedirectCount>cv&&(this.allowRedirects=!1),this.urlTree=t.urlTree,this.queryParams=Object.freeze(f({},this.urlTree.queryParams)),this.match(t.urlTree.root);throw t instanceof Qt?this.noMatchError(t):t}})}processSegmentGroup(i,e,t,o,r){return fe(this,null,function*(){if(t.segments.length===0&&t.hasChildren())return this.processChildren(i,e,t,r);let a=yield this.processSegment(i,e,t,t.segments,o,!0,r);return a instanceof st?[a]:[]})}processChildren(i,e,t,o){return fe(this,null,function*(){let r=[];for(let s of Object.keys(t.children))s==="primary"?r.unshift(s):r.push(s);let a=[];for(let s of r){let u=t.children[s],d=tv(e,s),v=yield this.processSegment(i,d,u,u.segments,s,!0,o);v instanceof st&&a.push(v)}let l=rm(a);return dv(l),l})}processSegment(i,e,t,o,r,a,l){return fe(this,null,function*(){for(let s of e)try{return yield this.processSegmentAgainstRoute(s._injector??i,e,s,t,o,r,a,l)}catch(u){if(u instanceof Qt||Ju(u))continue;throw u}if(sv(t,o))return new kl;throw new Qt(t)})}processSegmentAgainstRoute(i,e,t,o,r,a,l,s){return fe(this,null,function*(){if(Vt(t)!==a&&(a===W||!ba(o,r,t)||!t.children?.length&&!t.loadChildren||r.length===0&&!o.hasChildren()))throw new Qt(o);if(t.redirectTo===void 0)return this.matchSegmentAgainstRoute(i,o,t,r,a,s);if(this.allowRedirects&&l)return this.expandSegmentAgainstRouteUsingRedirect(i,o,e,t,r,a,s);throw new Qt(o)})}expandSegmentAgainstRouteUsingRedirect(i,e,t,o,r,a,l){return fe(this,null,function*(){let{matched:s,parameters:u,consumedSegments:d,positionalParamSegments:v,remainingSegments:b}=om(e,o,r);if(!s)throw new Qt(e);let S=this.createSnapshot(i,o,r,u,l);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let w=yield this.applyRedirects.applyRedirectCommands(d,o.redirectTo,v,im(S),i),j=yield this.applyRedirects.lineralizeSegments(o,w);return this.processSegment(i,t,e,j.concat(b),a,!1,l)})}createSnapshot(i,e,t,o,r){let a=new Si(t,o,this.queryParams,this.urlTree.fragment,pv(e),Vt(e),e.component??e._loadedComponent??null,e,hv(e),i),l=Pl(a,r,this.paramsInheritanceStrategy);return a.params=l.params,a.data=l.data,a}matchSegmentAgainstRoute(i,e,t,o,r,a){return fe(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let l=ee=>this.createSnapshot(i,t,ee.consumedSegments,ee.parameters,a),s=yield Jr(nv(e,t,o,i,this.urlSerializer,l,this.abortSignal));if(t.path==="**"&&(e.children={}),!s?.matched)throw new Qt(e);i=t._injector??i;let{routes:u}=yield this.getChildConfig(i,t,o),d=t._loadedInjector??i,{parameters:v,consumedSegments:b,remainingSegments:S}=s,w=this.createSnapshot(i,t,b,v,a),{segmentGroup:j,slicedSegments:ne}=Du(e,b,S,u,r),Le=Vt(t)===r;if(Le&&ne.length===0&&j.hasChildren()){let ee=yield this.processChildren(d,u,j,w);return new st(w,ee)}if(Le&&u.length===0&&ne.length===0)return new st(w,[]);let Y=yield this.processSegment(d,u,j,ne,Le?W:r,!0,w);if(!Le&&!(Y instanceof st))throw new Qt(e);return new st(w,Y instanceof st?[Y]:[])})}getChildConfig(i,e,t){return fe(this,null,function*(){if(e.children)return{routes:e.children,injector:i};if(e.loadChildren){if(e._loadedRoutes!==void 0){let r=e._loadedNgModuleFactory;return r&&!e._loadedInjector&&(e._loadedInjector=r.create(i).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Jr(Yg(i,e,t,this.urlSerializer,this.abortSignal))){let r=yield this.configLoader.loadChildren(i,e);return e._loadedRoutes=r.routes,e._loadedInjector=r.injector,e._loadedNgModuleFactory=r.factory,r}throw Qg(e)}return{routes:[],injector:i}})}};function dv(n){n.sort((i,e)=>i.value.outlet===W?-1:e.value.outlet===W?1:i.value.outlet.localeCompare(e.value.outlet))}function uv(n){let i=n.value.routeConfig;return i&&i.path===""}function rm(n){let i=[],e=new Set;for(let o of n){if(!uv(o)){i.push(o);continue}let r=i.find(a=>o.value.routeConfig===a.value.routeConfig);r!==void 0?(r.children.push(...o.children),e.add(r)):i.push(o)}for(let o of e){let r=rm(o.children);i.push(new st(o.value,r))}let t=i.filter(o=>!e.has(o));return mv(t),t}function mv(n){let i=Object.create(null);n.forEach(e=>{let t=i[e.value.outlet];if(t){let o=t.url.map(a=>a.toString()).join("/"),r=e.value.url.map(a=>a.toString()).join("/");throw new z(4006,!1)}i[e.value.outlet]=e.value})}function pv(n){return n.data||{}}function hv(n){return n.resolve||{}}function fv(n,i,e,t,o,r,a){return Ut(l=>fe(null,null,function*(){let{state:s,tree:u}=yield lv(n,i,e,t,l.extractedUrl,o,r,a);return se(f({},l),{targetSnapshot:s,urlAfterRedirects:u})}))}function gv(n){return Ut(i=>{let{targetSnapshot:e,guards:{canActivateChecks:t}}=i;if(!t.length)return T(i);let o=new Set(t.map(l=>l.route)),r=new Set;for(let l of o)if(!r.has(l))for(let s of am(l))r.add(s);let a=0;return je(r).pipe(On(l=>o.has(l)?vv(l,e,n):(l.data=Pl(l,l.parent,n).resolve,T(void 0))),Ve(()=>a++),Ss(1),Ut(l=>a===r.size?T(i):ut))})}function am(n){let i=n.children.map(e=>am(e)).flat();return[n,...i]}function vv(n,i,e){let t=n.routeConfig,o=n._resolve;return t?.title!==void 0&&!Wu(t)&&(o[Ro]=t.title),Ht(()=>(n.data=Pl(n,n.parent,e).resolve,bv(o,n,i).pipe(te(r=>(n._resolvedData=r,n.data=f(f({},n.data),r),null)))))}function bv(n,i,e){let t=_l(n);if(t.length===0)return T({});let o={};return je(t).pipe(Ut(r=>yv(n[r],i,e).pipe(cn(),Ve(a=>{if(a instanceof $n)throw wo(new an,a);o[r]=a}))),Ss(1),te(()=>o),si(r=>Ju(r)?ut:fr(r)))}function yv(n,i,e){let t=i._environmentInjector,o=Ii(n,t),r=o.resolve?o.resolve(i,e):Qe(t,()=>o(i,e));return Gn(r)}var zl=new y("");function Tl(n){return Ne(i=>{let e=n(i);return e?je(e).pipe(te(()=>i)):T(i)})}var jl=(()=>{class n{buildTitle(e){let t,o=e.root;for(;o!==void 0;)t=this.getResolvedTitleForRoute(o)??t,o=o.children.find(r=>r.outlet===W);return t}getResolvedTitleForRoute(e){return e.data[Ro]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:()=>c(sm)})}return n})(),sm=(()=>{class n extends jl{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||n)(N(yu))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xn=new y("",{factory:()=>({})}),ki=new y(""),ya=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=c(Od);loadComponent(e,t){return fe(this,null,function*(){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return Promise.resolve(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let o=fe(this,null,function*(){try{let r=yield Iu(Qe(e,()=>t.loadComponent())),a=yield cm(Ls(r));return this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a,a}finally{this.componentLoaders.delete(t)}});return this.componentLoaders.set(t,o),o})}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return Promise.resolve({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let o=fe(this,null,function*(){try{let r=yield lm(t,this.compiler,e,this.onLoadEndListener);return t._loadedRoutes=r.routes,t._loadedInjector=r.injector,t._loadedNgModuleFactory=r.factory,r}finally{this.childrenLoaders.delete(t)}});return this.childrenLoaders.set(t,o),o}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function lm(n,i,e,t){return fe(this,null,function*(){let o=yield Iu(Qe(e,()=>n.loadChildren())),r=yield cm(Ls(o)),a;r instanceof wd||Array.isArray(r)?a=r:a=yield i.compileModuleAsync(r),t&&t(n);let l,s,u=!1,d;return Array.isArray(a)?(s=a,u=!0):(l=a.create(e).injector,d=a,s=l.get(ki,[],{optional:!0,self:!0}).flat()),{routes:s.map(Bl),injector:l,factory:d}})}function cm(n){return fe(this,null,function*(){return n})}var _a=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:()=>c(_v)})}return n})(),_v=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),Ul=new y(""),Hl=new y("");function dm(n,i,e,t){let o=n.get(Hl),r=n.get(F);if(t){o.skipNextTransition=!1;return}if(!r.startViewTransition||o.skipNextTransition)return o.skipNextTransition=!1,new Promise(d=>setTimeout(d));let a,l=new Promise(d=>{a=d}),s=r.startViewTransition(()=>(a(),xv(n)));s.updateCallbackDone.catch(d=>{}),s.ready.catch(d=>{}),s.finished.catch(d=>{});let{onViewTransitionCreated:u}=o;return u&&Qe(n,()=>u({transition:s,from:i,to:e})),l}function xv(n){return new Promise(i=>{Je({read:()=>setTimeout(i)},{injector:n})})}var Cv=()=>{},$l=new y(""),xa=(()=>{class n{currentNavigation=X(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=X(null);events=new I;transitionAbortWithErrorSubject=new I;configLoader=c(ya);environmentInjector=c(Te);destroyRef=c($t);urlSerializer=c(_n);rootContexts=c(bn);location=c(Yt);inputBindingEnabled=c(Oo,{optional:!0})!==null;titleStrategy=c(jl);options=c(xn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Sg;urlHandlingStrategy=c(_a);createViewTransition=c(Ul,{optional:!0});navigationErrorHandler=c($l,{optional:!0});routerResourcesFeature=c(zl,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>T(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new da(o)),t=o=>this.events.next(new ua(o));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;q(()=>{this.transitions?.next(se(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:t,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new dt(null),this.transitions.pipe(ge(t=>t!==null),Ne(t=>{let o=!0,r=!1,a=new AbortController,l=()=>!r&&this.currentTransition?.id===t.id;return T(t).pipe(Ne(s=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",Ke.SupersededByNewNavigation),ut;this.currentTransition=t;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:u?se(f({},u),{previousNavigation:null}):null,abort:()=>a.abort(),routesRecognizeHandler:s.routesRecognizeHandler,beforeActivateHandler:s.beforeActivateHandler});let d=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!d&&v!=="reload")return this.events.next(new en(s.id,this.urlSerializer.serialize(s.rawUrl),"",Di.IgnoredSameUrlNavigation)),s.resolve(!1),ut;if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return T(s).pipe(Ne(b=>(this.events.next(new yn(b.id,this.urlSerializer.serialize(b.extractedUrl),b.source,b.restoredState)),b.id!==this.navigationId?ut:Promise.resolve(b))),fv(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,a.signal),Ve(b=>{t.targetSnapshot=b.targetSnapshot,t.urlAfterRedirects=b.urlAfterRedirects,this.currentNavigation.update(S=>(S.finalUrl=b.urlAfterRedirects,S)),this.events.next(new Ao)}),Ne(b=>je(t.routesRecognizeHandler.deferredHandle??T(void 0)).pipe(te(()=>b))),Ve(()=>{let b=new No(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:b,extractedUrl:S,source:w,restoredState:j,extras:ne}=s,Le=new yn(b,this.urlSerializer.serialize(S),w,j);this.events.next(Le);let Y=$u(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=t=se(f({},s),{targetSnapshot:Y,urlAfterRedirects:S,extras:se(f({},ne),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(ee=>(ee.finalUrl=S,ee)),T(t)}else return this.events.next(new en(s.id,this.urlSerializer.serialize(s.extractedUrl),"",Di.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ut}),te(s=>{let u=new aa(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);return this.events.next(u),this.currentTransition=t=se(f({},s),{guards:Ig(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),t}),jg(s=>this.events.next(s)),Ne(s=>{if(t.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw wo(this.urlSerializer,s.guardsResult);let u=new sa(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);if(this.events.next(u),!l())return ut;if(!s.guardsResult)return this.cancelNavigationTransition(s,"",Ke.GuardRejected),ut;if(s.guards.canActivateChecks.length===0)return T(s);let d=new la(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);if(this.events.next(d),!l())return ut;let v=!1;return T(s).pipe(gv(this.paramsInheritanceStrategy),Ve({next:()=>{v=!0;let b=new ca(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(b)},complete:()=>{v||this.cancelNavigationTransition(s,"",Ke.NoDataFromResolver)}}))}),Tl(s=>{let u=v=>{let b=[];if(v.routeConfig?._loadedComponent)v.component=v.routeConfig?._loadedComponent;else if(v.routeConfig?.loadComponent){let S=v._environmentInjector;b.push(this.configLoader.loadComponent(S,v.routeConfig).then(w=>{v.component=w}))}for(let S of v.children)b.push(...u(S));return b},d=u(s.targetSnapshot.root);return d.length===0?T(s):je(Promise.all(d).then(()=>s))}),Ne(s=>{let{newlyCreatedRoutes:u,state:d}=Eg(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=t=s=se(f({},s),{targetRouterState:d,newlyCreatedRoutes:u}),this.currentNavigation.update(v=>(v.targetRouterState=d,v)),T(s)}),this.routerResourcesFeature?.setupAndRunResources(a.signal)??(s=>s),Tl(()=>this.afterPreactivation()),Ne(()=>{let{currentSnapshot:s,targetSnapshot:u}=t,d=this.createViewTransition?.(this.environmentInjector,s.root,u.root,t.hasUAVisualTransition);return d?je(d).pipe(te(()=>t)):T(t)}),We(1),Ne(s=>{o=!1,this.events.next(new Mi);let u=t.beforeActivateHandler.deferredHandle;return u?je(u.then(()=>s)):T(s)}),Ve(s=>{new Nl(e.routeReuseStrategy,t.targetRouterState,t.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s.newlyCreatedRoutes?.clear(),l()&&(um(s.targetRouterState),r=!0,this.currentNavigation.update(u=>(u.abort=Cv,u)),this.lastSuccessfulNavigation.set(q(this.currentNavigation)),this.events.next(new xt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0))}),_e(em(a.signal).pipe(ge(()=>!r&&o),Ve(()=>{this.cancelNavigationTransition(t,a.signal.reason+"",Ke.Aborted)}))),Ve({complete:()=>{r=!0}}),_e(this.transitionAbortWithErrorSubject.pipe(Ve(s=>{throw s}))),Fn(()=>{a.abort(),r||this.cancelNavigationTransition(t,"",Ke.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),si(s=>{if(r=!0,Eu(t),this.destroyed)return t.resolve(!1),ut;if(s instanceof $n&&(s=wo(this.urlSerializer,s)),Qu(s))this.events.next(new kt(t.id,this.urlSerializer.serialize(t.extractedUrl),s.message,s.cancellationCode)),Ag(s)?this.events.next(new Ni(s.url,s.navigationBehaviorOptions)):t.resolve(!1);else{let u=new Hn(t.id,this.urlSerializer.serialize(t.extractedUrl),s,t.targetSnapshot??void 0);try{let d=Qe(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(d instanceof $n){let{message:v,cancellationCode:b}=wo(this.urlSerializer,d);this.events.next(new kt(t.id,this.urlSerializer.serialize(t.extractedUrl),v,b)),this.events.next(new Ni(d.redirectTo,d.navigationBehaviorOptions))}else throw this.events.next(u),s}catch(d){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(d)}}return ut}))}))}cancelNavigationTransition(e,t,o){Eu(e);let r=new kt(e.id,this.urlSerializer.serialize(e.extractedUrl),t,o);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=q(this.currentNavigation),o=t?.targetBrowserUrl??t?.extractedUrl;return e.toString()!==o?.toString()&&!t?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function wv(n){return n!==xi}function Eu(n){for(let i of n.newlyCreatedRoutes??[])i._localInjector?.destroy(),i._localInjector=void 0;um(n.targetRouterState)}function um(n){if(!n)return;let i=e=>{e.value.pending?.set(!1),e.children.forEach(i)};i(n._root)}var mm=new y("");var pm=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:()=>c(Sv)})}return n})(),va=class{shouldDetach(i){return!1}store(i,e){}shouldAttach(i){return!1}retrieve(i){return null}shouldReuseRoute(i,e){return i.routeConfig===e.routeConfig}shouldDestroyInjector(i){return!0}},Sv=(()=>{class n extends va{static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),Ca=(()=>{class n{urlSerializer=c(_n);options=c(xn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=c(Yt);urlHandlingStrategy=c(_a);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new lt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:o}){let r=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,a=o??r;return a instanceof lt?this.urlSerializer.serialize(a):a}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:o}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,o),this.routerState=e):this.rawUrlTree=o}routerState=$u(null,c(Te));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:()=>c(Dv)})}return n})(),Dv=(()=>{class n extends Ca{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate",{replaceUrl:!0},t.hasUAVisualTransition)})})}handleRouterEvent(e,t){e instanceof yn?this.updateStateMemento():e instanceof en?this.commitTransition(t):e instanceof No?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Mi?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof kt?Yu(e)?e.code===Ke.Redirect&&this.routerState===t.targetRouterState&&this.resetInternalState(t):this.restoreHistory(t):e instanceof Hn?this.restoreHistory(t,!0):e instanceof xt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){let{extras:o,id:r}=t,{replaceUrl:a,state:l}=o;if(this.location.isCurrentPathEqualTo(e)||a){let s=this.browserPageId,u=f(f({},l),this.generateNgRouterState(r,s,t));this.location.replaceState(e,"",u)}else{let s=f(f({},l),this.generateNgRouterState(r,this.browserPageId+1,t));this.location.go(e,"",s)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,r=this.currentPageId-o;r!==0?this.location.historyGo(r):this.getCurrentUrlTree()===e.finalUrl&&r===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t,o){return this.canceledNavigationResolution==="computed"?f({navigationId:e,\u0275routerPageId:t},this.routerUrlState(o)):f({navigationId:e},this.routerUrlState(o))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function wa(n,i){n.events.pipe(ge(e=>e instanceof xt||e instanceof kt||e instanceof Hn||e instanceof en),te(e=>e instanceof xt||e instanceof en?0:(e instanceof kt?e.code===Ke.Redirect||e.code===Ke.SupersededByNewNavigation:!1)?2:1),ge(e=>e!==2),We(1)).subscribe(()=>{i()})}var Ct=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=c(Rs);stateManager=c(Ca);options=c(xn,{optional:!0})||{};pendingTasks=c(ld);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=c(xa);urlSerializer=c(_n);location=c(Yt);urlHandlingStrategy=c(_a);injector=c(Te);_events=new I;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=c(pm);injectorCleanup=c(mm,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=c(ki,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!c(Oo,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ge;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let o=this.navigationTransitions.currentTransition,r=q(this.navigationTransitions.currentNavigation);if(o!==null&&r!==null){if(this.stateManager.handleRouterEvent(t,r),t instanceof kt&&t.code!==Ke.Redirect&&t.code!==Ke.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof xt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(t instanceof Ni){let a=t.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(t.url,o.currentRawUrl),s=f({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||wv(o.source)},a);this.scheduleNavigation(l,xi,null,s,o.hasUAVisualTransition,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Dg(t)&&this._events.next(t)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),xi,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,o,r,a)=>{this.navigateToSyncWithBrowser(e,o,t,r,a)})}navigateToSyncWithBrowser(e,t,o,r,a){let l=o?.navigationId?o:null,s=o?.\u0275routerUrl??e;if(o?.\u0275routerUrl&&(r=se(f({},r),{browserUrl:e})),o){let d=f({},o);delete d.navigationId,delete d.\u0275routerPageId,delete d.\u0275routerUrl,Object.keys(d).length!==0&&(r.state=d)}let u=this.parseUrl(s);this.scheduleNavigation(u,t,l,r,a).catch(d=>{this.disposed||this.injector.get(io)(d)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return q(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Bl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:o,queryParams:r,fragment:a,queryParamsHandling:l,preserveFragment:s}=t,u=s?this.currentUrlTree.fragment:a,d=null;switch(l??this.options.defaultQueryParamsHandling){case"merge":d=f(f({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}d!==null&&(d=this.removeEmptyProps(d));let v;try{let b=o?o.snapshot:this.routerState.snapshot.root;v=zu(b)}catch(b){(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return ju(v,e,d,u??null,this.urlSerializer)}navigateByUrl(e,t={skipLocationChange:!1}){let o=vn(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,xi,null,t)}navigate(e,t={skipLocationChange:!1}){return Ev(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch(t){return this.console.warn(dn(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,t){let o;if(t===!0?o=f({},Ol):t===!1?o=f({},wi):o=f(f({},wi),t),vn(e))return ea(this.currentUrlTree,e,o);let r=this.parseUrl(e);return ea(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.entries(e).reduce((t,[o,r])=>(r!=null&&(t[o]=r),t),{})}scheduleNavigation(e,t,o,r,a,l){if(this.disposed)return Promise.resolve(!1);let s,u,d;l?(s=l.resolve,u=l.reject,d=l.promise):d=new Promise((b,S)=>{s=b,u=S});let v=this.pendingTasks.add();return wa(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,hasUAVisualTransition:a,resolve:s,reject:u,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(Promise.reject.bind(Promise))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function Ev(n){for(let i=0;i{class n{router=c(Ct);stateManager=c(Ca);fragment=X("");queryParams=X({});path=X("");serializer=c(_n);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof xt&&this.updateState()})}updateState(){let{fragment:e,root:t,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(o),this.path.set(this.serializer.serialize(new lt(t)))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),Cn=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=c(new Mr("href"),{optional:!0});reactiveHref=Ps(()=>{if(!this.isAnchorElement)return this.hrefAttributeValue;this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=t=>t==="preserve"||t==="merge";return(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams(),this.computeHref(this.createUrlTree())});get href(){return q(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return q(this._target)}_target=X(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return q(this._queryParams)}_queryParams=X(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return q(this._fragment)}_fragment=X(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return q(this._queryParamsHandling)}_queryParamsHandling=X(void 0);set state(e){this._state.set(e)}get state(){return q(this._state)}_state=X(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return q(this._info)}_info=X(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return q(this._relativeTo)}_relativeTo=X(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return q(this._preserveFragment)}_preserveFragment=X(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return q(this._skipLocationChange)}_skipLocationChange=X(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return q(this._replaceUrl)}_replaceUrl=X(!1);browserUrl=zn(void 0);isAnchorElement;onChanges=new I;applicationErrorHandler=c(io);options=c(xn,{optional:!0});reactiveRouterState=c(Mv);constructor(e,t,o,r,a,l){this.router=e,this.route=t,this.tabIndexAttribute=o,this.renderer=r,this.el=a,this.locationStrategy=l;let s=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=s==="a"||s==="area"||!!(typeof customElements=="object"&&customElements.get(s)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=X(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(vn(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,o,r,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(e!==0||t||o||r||a||typeof this.target=="string"&&this.target!="_self"))return!0;let s=this.browserUrl(),u=f({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},s!==void 0&&{browserUrl:s});return this.router.navigateByUrl(l,u)?.catch(d=>{this.applicationErrorHandler(d)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,t){let o=this.renderer,r=this.el.nativeElement;t!==null?o.setAttribute(r,e,t):o.removeAttribute(r,e)}createUrlTree(){let e=this.routerLinkInput();return e===null||!this.router.createUrlTree?null:vn(e)?e:this.router.createUrlTree(e,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})}get urlTree(){return q(()=>this.createUrlTree())}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(t){return new(t||n)(D(Ct),D(Bt),Ns("tabindex"),D(ve),D(L),D(Lt))};static \u0275dir=k({type:n,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,o){t&1&&V("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),t&2&&Z("href",o.reactiveHref(),xd)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",B],skipLocationChange:[2,"skipLocationChange","skipLocationChange",B],replaceUrl:[2,"replaceUrl","replaceUrl",B],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[xe]})}return n})(),Wl=(()=>{class n{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new J;link=c(Cn,{optional:!0});constructor(e,t,o,r){this.router=e,this.element=t,this.renderer=o,this.cdr=r,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof xt&&this.update()})}ngAfterContentInit(){T(this.links.changes,T(null)).pipe(no()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=je(e).pipe(no()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){if(e==null){this.classes=[];return}let t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||this.routerLinkActiveOptions===null&&!this._isActive||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let t=this.routerLinkActiveOptions;if(t===null)return()=>!1;let o;return t===void 0?o=f({},wi):Nv(t)?o=t:t.exact??!1?o=f({},Ol):o=f({},wi),r=>{let a=r.urlTree;return a?q(Fl(a,e,o)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(t){return new(t||n)(D(Ct),D(L),D(ve),D(we))};static \u0275dir=k({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(t,o,r){if(t&1&&mt(r,Cn,5),t&2){let a;$(a=G())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[xe]})}return n})();function Nv(n){let i=n;return!!(i.paths||i.matrixParams||i.queryParams||i.fragment)}var Po=class{};var hm=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,o,r){this.router=e,this.injector=t,this.preloadingStrategy=o,this.loader=r}setUpPreloading(){this.subscription=this.router.events.pipe(ge(e=>e instanceof xt),On(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,t){let o=[];for(let r of t){r.providers&&!r._injector&&(r._injector=wr(r.providers,e,""));let a=r._injector??e;r._loadedNgModuleFactory&&!r._loadedInjector&&(r._loadedInjector=r._loadedNgModuleFactory.create(a).injector);let l=r._loadedInjector??a;(r.loadChildren&&!r._loadedRoutes&&r.canLoad===void 0||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(a,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(l,r.children??r._loadedRoutes))}return je(o).pipe(no())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{if(e.destroyed)return T(null);let o;t.loadChildren&&t.canLoad===void 0?o=je(this.loader.loadChildren(e,t)):o=T(null);let r=o.pipe(Ut(a=>a===null?T(void 0):(t._loadedRoutes=a.routes,t._loadedInjector=a.injector,t._loadedNgModuleFactory=a.factory,this.processRoutes(a.injector??e,a.routes))));if(t.loadComponent&&!t._loadedComponent){let a=this.loader.loadComponent(e,t);return je([r,a]).pipe(no())}else return r})}static \u0275fac=function(t){return new(t||n)(N(Ct),N(Te),N(Po),N(ya))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),fm=new y(""),Av=(()=>{class n{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=xi;restoredId=0;store={};isHydrating=c(pd,{optional:!0})??!1;urlSerializer=c(_n);zone=c(P);viewportScroller=c(Ks);transitions=c(xa);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&c(Wt).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof yn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof xt?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof en&&e.code===Di.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Ei)||e.scrollBehavior==="manual")return;let t={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],t):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,t):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,t){if(this.isHydrating)return;let o=q(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>fe(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new Ei(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){mi()};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})();function Iv(){return c(Ct).routerState.root}function Lo(n,i){return{\u0275kind:n,\u0275providers:i}}function kv(){let n=c(ie);return i=>{let e=n.get(Wt);if(i!==e.components[0])return;let t=n.get(Ct),o=n.get(gm);n.get(ql)===1&&t.initialNavigation(),n.get(ym,null,{optional:!0})?.setUpPreloading(),n.get(fm,null,{optional:!0})?.init(),t.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var gm=new y("",{factory:()=>new I}),ql=new y("",{factory:()=>1});function vm(){let n=[{provide:As,useValue:!0},{provide:ql,useValue:0},Is(()=>{let i=c(ie);return i.get(js,Promise.resolve()).then(()=>new Promise(t=>{let o=i.get(Ct),r=i.get(gm);wa(o,()=>{t(!0)}),i.get(xa).afterPreactivation=()=>(t(!0),r.closed?T(void 0):r),o.initialNavigation()}))})];return Lo(2,n)}function bm(){let n=[Is(()=>{c(Ct).setUpLocationChangeListener()}),{provide:ql,useValue:2}];return Lo(3,n)}var ym=new y("");function _m(n){return Lo(0,[{provide:ym,useExisting:hm},{provide:Po,useExisting:n}])}function xm(n={}){return Lo(8,[{provide:Oo,useFactory:()=>new Ku(n,c(zl,{optional:!0}))}])}function Cm(n){so("NgRouterViewTransitions");let i=[{provide:Ul,useValue:dm},{provide:Hl,useValue:f({skipNextTransition:!!n?.skipInitialTransition},n)}];return Lo(9,i)}var wm=[Yt,{provide:_n,useClass:an},Ct,bn,{provide:Bt,useFactory:Iv},ya],Sa=(()=>{class n{constructor(){}static forRoot(e,t){return{ngModule:n,providers:[wm,[],{provide:ki,multi:!0,useValue:e},[],t?.errorHandler?{provide:$l,useValue:t.errorHandler}:[],{provide:xn,useValue:t||{}},t?.useHash?Tv():Ov(),Rv(),t?.preloadingStrategy?_m(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?Fv(t):[],t?.bindToComponentInputs?xm(typeof t.bindToComponentInputs=="object"?t.bindToComponentInputs:{}).\u0275providers:[],t?.enableViewTransitions?Cm().\u0275providers:[],Pv()]}}static forChild(e){return{ngModule:n,providers:[{provide:ki,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({})}return n})();function Rv(){return{provide:fm,useFactory:()=>{let n=c(Ks),i=c(xn);return i.scrollOffset&&n.setOffset(i.scrollOffset),new Av(i)}}}function Tv(){return{provide:Lt,useClass:Us}}function Ov(){return{provide:Lt,useClass:kr}}function Fv(n){return[n.initialNavigation==="disabled"?bm().\u0275providers:[],n.initialNavigation==="enabledBlocking"?vm().\u0275providers:[]]}var Gl=new y("");function Pv(){return[{provide:Gl,useFactory:kv},{provide:Os,multi:!0,useExisting:Gl}]}var Wn="/api/tutorials",Ri=(()=>{class n{http;constructor(e){this.http=e}getAll(){return this.http.get(Wn)}get(e){return this.http.get(`${Wn}/${e}`)}create(e){return this.http.post(Wn,e)}update(e,t){return this.http.put(`${Wn}/${e}`,t)}delete(e){return this.http.delete(`${Wn}/${e}`)}deleteAll(){return this.http.delete(Wn)}findByTitle(e){return this.http.get(`${Wn}?title=${e}`)}static \u0275fac=function(t){return new(t||n)(N(It))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Xl="auth-token",Da="auth-user",tn=(()=>{class n{constructor(){}signOut(){window.sessionStorage.clear()}saveToken(e){window.sessionStorage.removeItem(Xl),window.sessionStorage.setItem(Xl,e)}getToken(){return window.sessionStorage.getItem(Xl)}saveUser(e){window.sessionStorage.removeItem(Da),window.sessionStorage.setItem(Da,JSON.stringify(e))}getUser(){let e=window.sessionStorage.getItem(Da);return e?JSON.parse(e):{}}clean(){window.sessionStorage.clear()}isLoggedIn(){return!!window.sessionStorage.getItem(Da)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Im=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||n)(D(ve),D(L))};static \u0275dir=k({type:n})}return n})(),Lv=(()=>{class n extends Im{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,features:[de]})}return n})(),Kn=new y("");var Vv={provide:Kn,useExisting:Ze(()=>et),multi:!0};function Bv(){let n=yt()?yt().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var zv=new y(""),et=(()=>{class n extends Im{_compositionMode;_composing=!1;constructor(e,t,o){super(e,t),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Bv())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(t){return new(t||n)(D(ve),D(L),D(zv,8))};static \u0275dir=k({type:n,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(t,o){t&1&&V("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},standalone:!1,features:[be([Vv]),de]})}return n})();function ec(n){return n==null||tc(n)===0}function tc(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var Dn=new y(""),Va=new y(""),jv=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,qn=class{static min(i){return Uv(i)}static max(i){return Hv(i)}static required(i){return km(i)}static requiredTrue(i){return $v(i)}static email(i){return Rm(i)}static minLength(i){return Tm(i)}static maxLength(i){return Om(i)}static pattern(i){return Gv(i)}static nullValidator(i){return Ma()}static compose(i){return zm(i)}static composeAsync(i){return jm(i)}};function Uv(n){return i=>{if(i.value==null||n==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e{if(i.value==null||n==null)return null;let e=parseFloat(i.value);return!isNaN(e)&&e>n?{max:{max:n,actual:i.value}}:null}}function km(n){return ec(n.value)?{required:!0}:null}function $v(n){return n.value===!0?null:{required:!0}}function Rm(n){return ec(n.value)||jv.test(n.value)?null:{email:!0}}function Tm(n){return i=>{let e=i.value?.length??tc(i.value);return e===null||e===0?null:e{let e=i.value?.length??tc(i.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function Gv(n){if(!n)return Ma;let i,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),i=new RegExp(e)):(e=n.toString(),i=n),t=>{if(ec(t.value))return null;let o=t.value;return i.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Ma(n){return null}function Fm(n){return n!=null}function Pm(n){return pi(n)?je(n):n}function Lm(n){let i={};return n.forEach(e=>{i=e!=null?f(f({},i),e):i}),Object.keys(i).length===0?null:i}function Vm(n,i){return i.map(e=>e(n))}function Wv(n){return!n.validate}function Bm(n){return n.map(i=>Wv(i)?i:e=>i.validate(e))}function zm(n){if(!n)return null;let i=n.filter(Fm);return i.length==0?null:function(e){return Lm(Vm(e,i))}}function nc(n){return n!=null?zm(Bm(n)):null}function jm(n){if(!n)return null;let i=n.filter(Fm);return i.length==0?null:function(e){let t=Vm(e,i).map(Pm);return br(t).pipe(te(Lm))}}function ic(n){return n!=null?jm(Bm(n)):null}function Sm(n,i){return n===null?[i]:Array.isArray(n)?[...n,i]:[n,i]}function Um(n){return n._rawValidators}function Hm(n){return n._rawAsyncValidators}function Zl(n){return n?Array.isArray(n)?n:[n]:[]}function Na(n,i){return Array.isArray(n)?n.includes(i):n===i}function Dm(n,i){let e=Zl(i);return Zl(n).forEach(o=>{Na(e,o)||e.push(o)}),e}function Em(n,i){return Zl(i).filter(e=>!Na(n,e))}var Aa=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=nc(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=ic(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control?.reset(i)}hasError(i,e){return this.control?this.control.hasError(i,e):!1}getError(i,e){return this.control?this.control.getError(i,e):null}},wn=class extends Aa{name;get formDirective(){return null}get path(){return null}};var Bo="VALID",Ea="INVALID",Ti="PENDING",zo="DISABLED",Sn=class{},Ia=class extends Sn{value;source;constructor(i,e){super(),this.value=i,this.source=e}},Uo=class extends Sn{pristine;source;constructor(i,e){super(),this.pristine=i,this.source=e}},Ho=class extends Sn{touched;source;constructor(i,e){super(),this.touched=i,this.source=e}},Oi=class extends Sn{status;source;constructor(i,e){super(),this.status=i,this.source=e}},ka=class extends Sn{source;constructor(i){super(),this.source=i}},Fi=class extends Sn{source;constructor(i){super(),this.source=i}};function $m(n){return(Ba(n)?n.validators:n)||null}function qv(n){return Array.isArray(n)?nc(n):n||null}function Gm(n,i){return(Ba(i)?i.asyncValidators:n)||null}function Kv(n){return Array.isArray(n)?ic(n):n||null}function Ba(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Yv(n,i,e){let t=n.controls;if(!(i?Object.keys(t):t).length)throw new z(1e3,"");if(!Wm(t,e))throw new z(1001,"")}function Xv(n,i,e){n._forEachChild((t,o)=>{if(e[o]===void 0)throw new z(-1002,"")})}var Ra=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_hasRequired=X(!1);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(i,e){this._assignValidators(i),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i,this._updateHasRequiredValidator()}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get status(){return q(this.statusReactive)}set status(i){q(()=>this.statusReactive.set(i))}_status=at(()=>this.statusReactive());statusReactive=X(void 0);get valid(){return this.status===Bo}get invalid(){return this.status===Ea}get pending(){return this.status===Ti}get disabled(){return this.status===zo}get enabled(){return this.status!==zo}errors;get pristine(){return q(this.pristineReactive)}set pristine(i){q(()=>this.pristineReactive.set(i))}_pristine=at(()=>this.pristineReactive());pristineReactive=X(!0);get dirty(){return!this.pristine}get touched(){return q(this.touchedReactive)}set touched(i){q(()=>this.touchedReactive.set(i))}_touched=at(()=>this.touchedReactive());touchedReactive=X(!1);get untouched(){return!this.touched}_events=new I;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(Dm(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(Dm(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(Em(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(Em(i,this._rawAsyncValidators))}hasValidator(i){return Na(this._rawValidators,i)}hasAsyncValidator(i){return Na(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){let e=this.touched===!1;this.touched=!0;let t=i.sourceControl??this;i.onlySelf||this._parent?.markAsTouched(se(f({},i),{sourceControl:t})),e&&i.emitEvent!==!1&&this._events.next(new Ho(!0,t))}markAllAsDirty(i={}){this.markAsDirty({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(i))}markAllAsTouched(i={}){this.markAsTouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(i))}markAsUntouched(i={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=i.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:i.emitEvent,sourceControl:t})}),i.onlySelf||this._parent?._updateTouched(i,t),e&&i.emitEvent!==!1&&this._events.next(new Ho(!1,t))}markAsDirty(i={}){let e=this.pristine===!0;this.pristine=!1;let t=i.sourceControl??this;i.onlySelf||this._parent?.markAsDirty(se(f({},i),{sourceControl:t})),e&&i.emitEvent!==!1&&this._events.next(new Uo(!1,t))}markAsPristine(i={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=i.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:i.emitEvent})}),i.onlySelf||this._parent?._updatePristine(i,t),e&&i.emitEvent!==!1&&this._events.next(new Uo(!0,t))}markAsPending(i={}){this.status=Ti;let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Oi(this.status,e)),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.markAsPending(se(f({},i),{sourceControl:e}))}disable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=zo,this.errors=null,this._forEachChild(o=>{o.disable(se(f({},i),{onlySelf:!0}))}),this._updateValue();let t=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Ia(this.value,t)),this._events.next(new Oi(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(se(f({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(i={}){let e=this._parentMarkedDirty(i.onlySelf);this.status=Bo,this._forEachChild(t=>{t.enable(se(f({},i),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors(se(f({},i),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(i,e){i.onlySelf||(this._parent?.updateValueAndValidity(i),i.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bo||this.status===Ti)&&this._runAsyncValidator(t,i.emitEvent)}let e=i.sourceControl??this;i.emitEvent!==!1&&(this._events.next(new Ia(this.value,e)),this._events.next(new Oi(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),i.onlySelf||this._parent?.updateValueAndValidity(se(f({},i),{sourceControl:e}))}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zo:Bo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i,e){if(this.asyncValidator){this.status=Ti,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:i!==!1};let t=Pm(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:i})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let i=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,i}return!1}setErrors(i,e={}){this.errors=i,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(i){let e=i;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,o)=>t&&t._find(o),this)}getError(i,e){let t=e?this.get(e):this;return t?.errors?t.errors[i]:null}hasError(i,e){return!!this.getError(i,e)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i,e,t){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),(i||t)&&this._events.next(new Oi(this.status,e)),this._parent&&this._parent._updateControlsErrors(i,e,t)}_initObservables(){this.valueChanges=new J,this.statusChanges=new J}_calculateStatus(){return this._allControlsDisabled()?zo:this.errors?Ea:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ti)?Ti:this._anyControlsHaveStatus(Ea)?Ea:Bo}_anyControlsHaveStatus(i){return this._anyControls(e=>e.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i,e){let t=!this._anyControlsDirty(),o=this.pristine!==t;this.pristine=t,i.onlySelf||this._parent?._updatePristine(i,e),o&&this._events.next(new Uo(this.pristine,e))}_updateTouched(i={},e){this.touched=this._anyControlsTouched(),this._events.next(new Ho(this.touched,e)),i.onlySelf||this._parent?._updateTouched(i,e)}_onDisabledChange=[];_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){Ba(i)&&i.updateOn!=null&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=qv(this._rawValidators),this._updateHasRequiredValidator()}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=Kv(this._rawAsyncValidators)}_updateHasRequiredValidator(){q(()=>this._hasRequired.set(this.hasValidator(qn.required)))}};function Wm(n,i){return Object.hasOwn(n,i)}function Zv(n){return n.tagName==="INPUT"||n.tagName==="SELECT"||n.tagName==="TEXTAREA"}function Qv(n,i,e,t){switch(e){case"name":n.setAttribute(i,e,t);break;case"disabled":case"readonly":case"required":t?n.setAttribute(i,e,""):n.removeAttribute(i,e);break;case"max":case"min":case"minLength":case"maxLength":t!==void 0?n.setAttribute(i,e,t.toString()):n.removeAttribute(i,e);break}}var Ql=class{kind;context;control;message;constructor({kind:i,context:e,control:t}){this.kind=i,this.context=e,this.control=t}};function qm(n){return typeof n=="number"?n:parseInt(n,10)}var za=(()=>{class n{_validator=Ma;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):Ma,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,features:[xe]})}return n})();var Jv={provide:Dn,useExisting:Ze(()=>En),multi:!0};var En=(()=>{class n extends za{required;inputName="required";normalizeInput=B;createValidator=e=>km;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,o){t&2&&Z("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[be([Jv]),de]})}return n})();var eb={provide:Dn,useExisting:Ze(()=>oc),multi:!0},oc=(()=>{class n extends za{email;inputName="email";normalizeInput=B;createValidator=e=>Rm;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[be([eb]),de]})}return n})(),tb={provide:Dn,useExisting:Ze(()=>$o),multi:!0},$o=(()=>{class n extends za{minlength;inputName="minlength";normalizeInput=e=>qm(e);createValidator=e=>Tm(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&Z("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[be([tb]),de]})}return n})(),nb={provide:Dn,useExisting:Ze(()=>rc),multi:!0},rc=(()=>{class n extends za{maxlength;inputName="maxlength";normalizeInput=e=>qm(e);createValidator=e=>Om(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,o){t&2&&Z("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[be([nb]),de]})}return n})();var ib=new y(""),Pi=new y("",{factory:()=>ja}),ja="always";function ob(n,i){return[...i.path,n]}function Jl(n,i,e=ja){ac(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&i.valueAccessor.setDisabledState?.(n.disabled),ab(n,i),lb(n,i),sb(n,i),rb(n,i)}function Ta(n,i,e=!0){let t=()=>{};i?.valueAccessor?.registerOnChange(t),i?.valueAccessor?.registerOnTouched(t),Fa(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Oa(n,i){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(i)})}function rb(n,i){if(i.valueAccessor.setDisabledState){let e=t=>{i.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function ac(n,i){let e=Um(n);i.validator!==null?n.setValidators(Sm(e,i.validator)):typeof e=="function"&&n.setValidators([e]);let t=Hm(n);i.asyncValidator!==null?n.setAsyncValidators(Sm(t,i.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let o=()=>n.updateValueAndValidity();Oa(i._rawValidators,o),Oa(i._rawAsyncValidators,o)}function Fa(n,i){let e=!1;if(n!==null){if(i.validator!==null){let o=Um(n);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.validator);r.length!==o.length&&(e=!0,n.setValidators(r))}}if(i.asyncValidator!==null){let o=Hm(n);if(Array.isArray(o)&&o.length>0){let r=o.filter(a=>a!==i.asyncValidator);r.length!==o.length&&(e=!0,n.setAsyncValidators(r))}}}let t=()=>{};return Oa(i._rawValidators,t),Oa(i._rawAsyncValidators,t),e}function ab(n,i){i.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Km(n,i)})}function sb(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Km(n,i),n.updateOn!=="submit"&&n.markAsTouched()})}function Km(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function lb(n,i){let e=(t,o)=>{i.valueAccessor.writeValue(t),o&&i.viewToModelUpdate(t)};n.registerOnChange(e),i._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function Ym(n,i){n==null,ac(n,i)}function cb(n,i){return Fa(n,i)}function Xm(n,i){if(!Object.hasOwn(n,"model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(i,e.currentValue)}function db(n){return Object.getPrototypeOf(n.constructor)===Lv}function Zm(n,i){n._syncPendingControls(),i.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function ub(n,i){if(!i)return null;Array.isArray(i);let e,t,o;return i.forEach(r=>{r.constructor===et?e=r:db(r)?t=r:o=r}),o||t||e||null}function mb(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}var Qm={provide:ib,useFactory:()=>{let n=c(Rt,{self:!0});return{setParseErrors:i=>{n.setParseErrorSource(i)},set onReset(i){n.onReset=i}}}},Rt=class extends Aa{_parent=null;name=null;valueAccessor=null;isCustomControlBased=!1;userOnReset;resetSubscription;set onReset(i){this.userOnReset=i,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(e=>{e instanceof Fi&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription?.add(this.resetSubscription))}isNativeFormElement=!1;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=ub(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(i,e,t){super(),this.injector=i,this.renderer=e,this.rawValueAccessors=t,this.injector?.get($t)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe()})}setupCustomControl(){this.subscription?.unsubscribe();let i=this.injector?.get(we);if(!this.control||!i)return;let e=i.markForCheck.bind(i);this.subscription=new Ge,this.subscription.add(this.control.valueChanges.subscribe(e)),this.subscription.add(this.control.statusChanges.subscribe(e)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(t=>{t instanceof Fi&&this.control&&this.userOnReset?.(this.control.value)}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator)}ngControlCreate(i){!i.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!i.customControl||(this.isCustomControlBased=!0,i.listenToCustomControlModel(o=>{this.control?.markAsDirty(),this.control?.setValue(o,{emitModelToViewChange:!1}),this.viewToModelUpdate(o)}),i.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched()}),this.customControlBindings={},this.isNativeFormElement=Zv(i.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(o=>o instanceof En))}ngControlUpdate(i,e){if(!this.isCustomControlBased)return;let t=this.control,o=this.customControlBindings;Object.is(o.value,t.value)||(o.value=t.value,i.setCustomControlModelInput(t.value)),this.bindControlProperty(i,o,"touched",t.touched),this.bindControlProperty(i,o,"dirty",t.dirty),this.bindControlProperty(i,o,"valid",t.valid),this.bindControlProperty(i,o,"invalid",t.invalid),this.bindControlProperty(i,o,"pending",t.pending),this.bindControlProperty(i,o,"disabled",t.disabled),this.shouldBindRequired&&this.bindControlProperty(i,o,"required",this.isRequired);let r=t.errors;if(o.errors!==r){o.errors=r;let a=this._convertErrors(r);i.setInputOnDirectives("errors",a)}}get isRequired(){return(this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??!1}get shouldBindRequired(){return!0}bindControlProperty(i,e,t,o){if(e[t]===o)return;e[t]=o;let r=i.setInputOnDirectives(t,o);this.isNativeFormElement&&!r&&(t==="disabled"||t==="required")&&this.renderer&&Qv(this.renderer,i.nativeElement,t,o)}_convertErrors(i){if(i===null)return[];let e=this.control;return Object.entries(i).map(([t,o])=>new Ql({context:o,kind:t,control:e}))}setParseErrorSource(i){if(i===void 0)return;let e=null,t=at(()=>{let o=i();return o.length===0?null:o.reduce((r,a)=>(r[a.kind]=a,r),{})});this.parseErrorsValidator=(()=>e).bind(this),Ft(()=>{e=t(),this.control?.updateValueAndValidity({emitEvent:!1})},{injector:this.injector})}removeParseErrorsValidator(i){this.parseErrorsValidator&&(i?.removeValidators(this.parseErrorsValidator),i?.updateValueAndValidity({emitEvent:!1}))}},Pa=class{_cd;constructor(i){this._cd=i}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var ht=(()=>{class n extends Pa{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(D(Rt,2))};static \u0275dir=k({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){t&2&&Q("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[de]})}return n})(),Mn=(()=>{class n extends Pa{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(D(wn,10))};static \u0275dir=k({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){t&2&&Q("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[de]})}return n})(),La=class extends Ra{constructor(i,e,t){super($m(e),Gm(t,e)),this.controls=i,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(i,e){let t=this._find(i);return t||(this.controls[i]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(i,e,t={}){this.registerControl(i,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(i,e={}){let t=this._find(i);t&&t._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(i,e,t={}){let o=this._find(i);o&&o._registerOnCollectionChange(()=>{}),delete this.controls[i],e&&this.registerControl(i,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(i){return this._find(i)?.enabled===!0}setValue(i,e={}){q(()=>{Xv(this,!0,i),Object.keys(i).forEach(t=>{Yv(this,!0,t),this.controls[t].setValue(i[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)})}patchValue(i,e={}){i!=null&&(Object.keys(i).forEach(t=>{let o=this._find(t);o&&o.patchValue(i[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(i={},e={}){this._forEachChild((t,o)=>{t.reset(i?i[o]:null,se(f({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Fi(this))}getRawValue(){return this._reduceChildren({},(i,e,t)=>(i[t]=e.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&i(t,e)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&i(t))return!0;return!1}_reduceValue(){let i={};return this._reduceChildren(i,(e,t,o)=>((t.enabled||this.disabled)&&(e[o]=t.value),e))}_reduceChildren(i,e){let t=i;return this._forEachChild((o,r)=>{t=e(t,o,r)}),t}_allControlsDisabled(){for(let i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return Wm(this.controls,i)?this.controls[i]:null}};var pb={provide:wn,useExisting:Ze(()=>wt)},jo=Promise.resolve(),wt=(()=>{class n extends wn{callSetDisabledState;get submitted(){return q(this.submittedReactive)}_submitted=at(()=>this.submittedReactive());submittedReactive=X(!1);_directives=new Set;form;ngSubmit=new J;options;constructor(e,t,o){super(),this.callSetDisabledState=o,this.form=new La({},nc(e),ic(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){jo.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),e._setupWithForm(this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){jo.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){jo.then(()=>{let t=this._findContainer(e.path),o=new La({});Ym(o,e),t.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){jo.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){jo.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Zm(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new ka(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(t){return new(t||n)(D(Dn,10),D(Va,10),D(Pi,8))};static \u0275dir=k({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){t&1&&V("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[be([pb]),de]})}return n})();function Mm(n,i){let e=n.indexOf(i);e>-1&&n.splice(e,1)}function Nm(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var Go=class extends Ra{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(i=null,e,t){super($m(e),Gm(t,e)),this._applyFormState(i),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ba(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Nm(i)?this.defaultValue=i.value:this.defaultValue=i)}setValue(i,e={}){q(()=>{this.value=this._pendingValue=i,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)})}patchValue(i,e={}){this.setValue(i,e)}reset(i=this.defaultValue,e={}){this._applyFormState(i),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Fi(this))}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){Mm(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){Mm(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(i){Nm(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}};var hb=n=>n instanceof Go;var fb=(()=>{class n extends wn{callSetDisabledState;get submitted(){return q(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=at(()=>this._submittedReactive());_submittedReactive=X(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,t,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){if(!this.form)throw new z(1052,!1);Object.hasOwn(e,"form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Fa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let t=this.form.get(e.path);return e._setupWithForm(t,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Ta(e.control||null,e,!1),mb(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,t){this.form.get(e.path).setValue(t)}onReset(){this.resetForm()}resetForm(e=void 0,t={}){this.form.reset(e,t),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,Zm(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ka(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,o=this.form.get(e.path);t!==o&&(Ta(t||null,e),hb(o)&&e._setupWithForm(o,this.callSetDisabledState))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);Ym(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let t=this.form?.get(e.path);t&&cb(t,e)&&t.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){ac(this.form,this),this._oldForm&&Fa(this._oldForm,this)}static \u0275fac=function(t){return new(t||n)(D(Dn,10),D(Va,10),D(Pi,8))};static \u0275dir=k({type:n,features:[de,xe]})}return n})(),gb={provide:wn,useExisting:Ze(()=>Wo)},Wo=(()=>{class n extends fb{form=null;ngSubmit=new J;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","formGroup",""]],hostBindings:function(t,o){t&1&&V("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[be([gb]),de]})}return n})(),vb={provide:Rt,useExisting:Ze(()=>St)},Am=Promise.resolve(),St=(()=>{class n extends Rt{_changeDetectorRef;callSetDisabledState;control=new Go;static ngAcceptInputType_isDisabled;_registered=!1;_ngModelInjector;viewModel;name="";isDisabled;model;options;update=new J;constructor(e,t,o,r,a,l,s,u){super(s,u,r),this._changeDetectorRef=a,this.callSetDisabledState=l,this._parent=e,this._setValidators(t),this._setAsyncValidators(o)}ngOnChanges(e){if(this._registered,this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Xm(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}\u0275ngControlCreate(e){super.ngControlCreate(e)}\u0275ngControlUpdate(e){super.ngControlUpdate(e,!1)}get shouldBindRequired(){return!1}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Jl(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:!1})}_setupWithForm(e){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Jl(this.control,this,e))}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Am.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,o=t!==0&&B(t);Am.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ob(e,this._parent):[e]}static \u0275fac=function(t){return new(t||n)(D(wn,9),D(Dn,10),D(Va,10),D(Kn,10),D(we,8),D(Pi,8),D(ie,8),D(ve,8))};static \u0275dir=k({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[be([vb,Qm]),de,xe,ks(null)]})}return n})();var Nn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return n})();var Jm=new y(""),bb={provide:Rt,useExisting:Ze(()=>sc)},sc=(()=>{class n extends Rt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new J;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,t,o,r,a,l,s){super(s,l,o),this._ngModelWarningConfig=r,this.callSetDisabledState=a,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&(Ta(t,this,!1),this.removeParseErrorsValidator(t)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,Jl(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:!1})}Xm(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ta(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return Object.hasOwn(e,"form")}\u0275ngControlCreate(e){super.ngControlCreate(e)}\u0275ngControlUpdate(e){super.ngControlUpdate(e,!0)}static \u0275fac=function(t){return new(t||n)(D(Dn,10),D(Va,10),D(Kn,10),D(Jm,8),D(Pi,8),D(ve,8),D(ie,8))};static \u0275dir=k({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[be([bb,Qm]),de,xe,ks(null)]})}return n})();var ep=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({})}return n})();var Li=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Pi,useValue:e.callSetDisabledState??ja}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({imports:[ep]})}return n})(),tp=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Jm,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Pi,useValue:e.callSetDisabledState??ja}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({imports:[ep]})}return n})();function yb(n,i){if(n&1){let e=Ae();p(0,"li",10),V("click",function(){let o=oe(e),r=o.$implicit,a=o.$index,l=E();return re(l.setActiveTutorial(r,a))}),g(1),m()}if(n&2){let e=i.$implicit,t=i.$index,o=E();Q("active",t==o.currentIndex),h(),ke(" ",e.title," ")}}function _b(n,i){if(n&1){let e=Ae();p(0,"button",11),V("click",function(){oe(e);let o=E();return re(o.removeAllTutorials())}),g(1," Remove All "),m()}}function xb(n,i){if(n&1&&(p(0,"div")(1,"h4"),g(2,"Tutorial"),m(),p(3,"div")(4,"label")(5,"strong"),g(6,"Title:"),m()(),g(7),m(),p(8,"div")(9,"label")(10,"strong"),g(11,"Description:"),m()(),g(12),m(),p(13,"div")(14,"label")(15,"strong"),g(16,"Status:"),m()(),g(17),m(),p(18,"a",12),g(19," Edit "),m()()),n&2){let e=E();h(7),ke(" ",e.currentTutorial.title," "),h(5),ke(" ",e.currentTutorial.description," "),h(5),ke(" ",e.currentTutorial.published?"Published":"Pending"," "),h(),ye("routerLink",Rd("/tutorials/",e.currentTutorial.id))}}function Cb(n,i){n&1&&(p(0,"div"),ae(1,"br"),p(2,"p"),g(3,"Please click on a Tutorial..."),m()())}var np=(()=>{class n{tutorialService;tokenStorage;tutorials;currentTutorial={};currentIndex=-1;title="";isAdmin=!1;constructor(e,t){this.tutorialService=e,this.tokenStorage=t}ngOnInit(){this.isAdmin=(this.tokenStorage.getUser().roles??[]).includes("ROLE_ADMIN"),this.retrieveTutorials()}retrieveTutorials(){this.tutorialService.getAll().subscribe(e=>{this.tutorials=e,console.log(e)},e=>{console.log(e)})}refreshList(){this.retrieveTutorials(),this.currentTutorial={},this.currentIndex=-1}setActiveTutorial(e,t){this.currentTutorial=e,this.currentIndex=t}removeAllTutorials(){this.tutorialService.deleteAll().subscribe(e=>{console.log(e),this.refreshList()},e=>{console.log(e)})}searchTitle(){this.currentTutorial={},this.currentIndex=-1,this.tutorialService.findByTitle(this.title).subscribe(e=>{this.tutorials=e,console.log(e)},e=>{console.log(e)})}static \u0275fac=function(t){return new(t||n)(D(Ri),D(tn))};static \u0275cmp=M({type:n,selectors:[["app-tutorials-list"]],standalone:!1,decls:17,vars:4,consts:[[1,"list","row"],[1,"col-md-8"],[1,"input-group","mb-3"],["type","text","placeholder","Search by title",1,"form-control",3,"ngModelChange","ngModel"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"col-md-6"],[1,"list-group"],[1,"list-group-item",3,"active"],[1,"m-3","btn","btn-sm","btn-danger"],[1,"list-group-item",3,"click"],[1,"m-3","btn","btn-sm","btn-danger",3,"click"],[1,"badge","badge-warning",3,"routerLink"]],template:function(t,o){t&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"input",3),Ee(),Pe("ngModelChange",function(a){return Fe(o.title,a)||(o.title=a),a}),m(),p(4,"div",4)(5,"button",5),V("click",function(){return o.searchTitle()}),g(6," Search "),m()()()(),p(7,"div",6)(8,"h4"),g(9,"Tutorials List"),m(),p(10,"ul",7),hn(11,yb,2,3,"li",8,Bn),m(),x(13,_b,2,0,"button",9),m(),p(14,"div",6),x(15,xb,20,5,"div"),x(16,Cb,4,0,"div"),m()()),t&2&&(h(3),Oe("ngModel",o.title),Me(),h(8),fn(o.tutorials),h(2),C(o.isAdmin?13:-1),h(2),C(o.currentTutorial.id?15:-1),h(),C(o.currentTutorial?-1:16))},dependencies:[Cn,et,ht,St],styles:[".list[_ngcontent-%COMP%]{text-align:left;max-width:750px;margin:auto}"],changeDetection:1})}return n})();function wb(n,i){if(n&1){let e=Ae();p(0,"button",9),V("click",function(){oe(e);let o=E(2);return re(o.updatePublished(!1))}),g(1," UnPublish "),m()}}function Sb(n,i){if(n&1){let e=Ae();p(0,"button",9),V("click",function(){oe(e);let o=E(2);return re(o.updatePublished(!0))}),g(1," Publish "),m()}}function Db(n,i){if(n&1){let e=Ae();p(0,"div",0)(1,"h4"),g(2,"Tutorial"),m(),p(3,"form")(4,"div",1)(5,"label",2),g(6,"Title"),m(),p(7,"input",3),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.currentTutorial.title,o)||(r.currentTutorial.title=o),re(o)}),m()(),p(8,"div",1)(9,"label",4),g(10,"Description"),m(),p(11,"input",5),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.currentTutorial.description,o)||(r.currentTutorial.description=o),re(o)}),m()(),p(12,"div",1)(13,"label")(14,"strong"),g(15,"Status:"),m()(),g(16),m()(),x(17,wb,2,0,"button",6),x(18,Sb,2,0,"button",6),p(19,"button",7),V("click",function(){oe(e);let o=E();return re(o.deleteTutorial())}),g(20," Delete "),m(),p(21,"button",8),V("click",function(){oe(e);let o=E();return re(o.updateTutorial())}),g(22," Update "),m(),p(23,"p"),g(24),m()()}if(n&2){let e=E();h(7),Oe("ngModel",e.currentTutorial.title),Me(),h(4),Oe("ngModel",e.currentTutorial.description),Me(),h(5),ke(" ",e.currentTutorial.published?"Published":"Pending"," "),h(),C(e.currentTutorial.published?17:-1),h(),C(e.currentTutorial.published?-1:18),h(6),pt(e.message)}}function Eb(n,i){n&1&&(p(0,"div"),ae(1,"br"),p(2,"p"),g(3,"Cannot access this Tutorial..."),m()())}var ip=(()=>{class n{tutorialService;route;router;currentTutorial={title:"",description:"",published:!1};message="";constructor(e,t,o){this.tutorialService=e,this.route=t,this.router=o}ngOnInit(){this.message="",this.getTutorial(this.route.snapshot.params.id)}getTutorial(e){this.tutorialService.get(e).subscribe(t=>{this.currentTutorial=t,console.log(t)},t=>{console.log(t)})}updatePublished(e){let t={title:this.currentTutorial.title,description:this.currentTutorial.description,published:e};this.message="",this.tutorialService.update(this.currentTutorial.id,t).subscribe(o=>{this.currentTutorial.published=e,console.log(o),this.message=o.message?o.message:"The status was updated successfully!"},o=>{console.log(o)})}updateTutorial(){this.message="",this.tutorialService.update(this.currentTutorial.id,this.currentTutorial).subscribe(e=>{console.log(e),this.message=e.message?e.message:"This tutorial was updated successfully!"},e=>{console.log(e)})}deleteTutorial(){this.tutorialService.delete(this.currentTutorial.id).subscribe(e=>{console.log(e),this.router.navigate(["/tutorials"])},e=>{console.log(e)})}static \u0275fac=function(t){return new(t||n)(D(Ri),D(Bt),D(Ct))};static \u0275cmp=M({type:n,selectors:[["app-tutorial-details"]],standalone:!1,decls:3,vars:2,consts:[[1,"edit-form"],[1,"form-group"],["for","title"],["type","text","id","title","name","title",1,"form-control",3,"ngModelChange","ngModel"],["for","description"],["type","text","id","description","name","description",1,"form-control",3,"ngModelChange","ngModel"],[1,"badge","badge-primary","mr-2"],[1,"badge","badge-danger","mr-2",3,"click"],["type","submit",1,"badge","badge-success","mb-2",3,"click"],[1,"badge","badge-primary","mr-2",3,"click"]],template:function(t,o){t&1&&(p(0,"div"),x(1,Db,25,6,"div",0),x(2,Eb,4,0,"div"),m()),t&2&&(h(),C(o.currentTutorial.id?1:-1),h(),C(o.currentTutorial.id?-1:2))},dependencies:[Nn,et,ht,Mn,St,wt],styles:[".edit-form[_ngcontent-%COMP%]{max-width:400px;margin:auto}"],changeDetection:1})}return n})();function Mb(n,i){if(n&1){let e=Ae();p(0,"div")(1,"div",1)(2,"label",2),g(3,"Title"),m(),p(4,"input",3),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.tutorial.title,o)||(r.tutorial.title=o),re(o)}),m()(),p(5,"div",1)(6,"label",4),g(7,"Description"),m(),p(8,"input",5),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.tutorial.description,o)||(r.tutorial.description=o),re(o)}),m()(),p(9,"button",6),V("click",function(){oe(e);let o=E();return re(o.saveTutorial())}),g(10,"Submit"),m()()}if(n&2){let e=E();h(4),Oe("ngModel",e.tutorial.title),Me(),h(4),Oe("ngModel",e.tutorial.description),Me()}}function Nb(n,i){if(n&1){let e=Ae();p(0,"div")(1,"h4"),g(2,"Tutorial was submitted successfully!"),m(),p(3,"button",6),V("click",function(){oe(e);let o=E();return re(o.newTutorial())}),g(4,"Add"),m()()}}var op=(()=>{class n{tutorialService;tutorial={title:"",description:"",published:!1};submitted=!1;constructor(e){this.tutorialService=e}ngOnInit(){}saveTutorial(){let e={title:this.tutorial.title,description:this.tutorial.description};this.tutorialService.create(e).subscribe(t=>{console.log(t),this.submitted=!0},t=>{console.log(t)})}newTutorial(){this.submitted=!1,this.tutorial={title:"",description:"",published:!1}}static \u0275fac=function(t){return new(t||n)(D(Ri))};static \u0275cmp=M({type:n,selectors:[["app-add-tutorial"]],standalone:!1,decls:4,vars:2,consts:[[1,"submit-form"],[1,"form-group"],["for","title"],["type","text","id","title","required","","name","title",1,"form-control",3,"ngModelChange","ngModel"],["for","description"],["id","description","required","","name","description",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-success",3,"click"]],template:function(t,o){t&1&&(p(0,"div")(1,"div",0),x(2,Mb,11,2,"div"),x(3,Nb,5,0,"div"),m()()),t&2&&(h(2),C(o.submitted?-1:2),h(),C(o.submitted?3:-1))},dependencies:[et,ht,En,St],styles:[".submit-form[_ngcontent-%COMP%]{max-width:400px;margin:auto}"],changeDetection:1})}return n})();function tt(n,...i){return i.length?i.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Ua="/api/users",Ha=(()=>{class n{http;constructor(e){this.http=e}getPublicContent(){return this.http.get(Ua+"/all",{responseType:"text"})}getUserBoard(){return this.http.get(Ua+"/user",{responseType:"text"})}getModeratorBoard(){return this.http.get(Ua+"/mod",{responseType:"text"})}getAdminBoard(){return this.http.get(Ua)}static \u0275fac=function(t){return new(t||n)(N(It))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Ab="/api/roles",ap=(()=>{class n{http;constructor(e){this.http=e}getAllRoles(){return this.http.get(Ab)}static \u0275fac=function(t){return new(t||n)(N(It))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var $a=new WeakMap,Ye=(()=>{class n{_appRef;_injector=c(ie);_environmentInjector=c(Te);load(e){let t=this._appRef=this._appRef||this._injector.get(Wt),o=$a.get(t);o||(o={loaders:new Set,refs:[]},$a.set(t,o),t.onDestroy(()=>{$a.get(t)?.refs.forEach(r=>r.destroy()),$a.delete(t)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Nr(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var Vi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-visually-hidden { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + white-space: nowrap; + outline: 0; + -webkit-appearance: none; + -moz-appearance: none; + left: 0; +} +[dir=rtl] .cdk-visually-hidden { + left: auto; + right: 0; +} +`],encapsulation:2})}return n})(),Ga;function kb(){if(Ga===void 0&&(Ga=null,typeof window<"u")){let n=window;if(n.trustedTypes!==void 0)try{Ga=n.trustedTypes.createPolicy("angular#components",{createHTML:i=>i})}catch(i){console.error(i)}}return Ga}function Bi(n){return kb()?.createHTML(n)||n}function sp(n){return Error(`Unable to find icon with the name "${n}"`)}function Rb(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function lp(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function cp(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var sn=class{url;svgText;options;svgElement=null;constructor(i,e,t){this.url=i,this.svgText=e,this.options=t}},up=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass;constructor(e,t,o,r){this._httpClient=e,this._sanitizer=t,this._errorHandler=r,this._document=o}addSvgIcon(e,t,o){return this.addSvgIconInNamespace("",e,t,o)}addSvgIconLiteral(e,t,o){return this.addSvgIconLiteralInNamespace("",e,t,o)}addSvgIconInNamespace(e,t,o,r){return this._addSvgIconConfig(e,t,new sn(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,o,r){let a=this._sanitizer.sanitize(vt.HTML,o);if(!a)throw cp(o);let l=Bi(a);return this._addSvgIconConfig(e,t,new sn("",l,r))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,o){return this._addSvgIconSetConfig(e,new sn(t,null,o))}addSvgIconSetLiteralInNamespace(e,t,o){let r=this._sanitizer.sanitize(vt.HTML,t);if(!r)throw cp(t);let a=Bi(r);return this._addSvgIconSetConfig(e,new sn("",a,o))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass??=Ob(this._document),this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(vt.RESOURCE_URL,e);if(!t)throw lp(e);let o=this._cachedIconsByUrl.get(t);return o?T(Wa(o)):this._loadSvgIconFromConfig(new sn(e,null)).pipe(Ve(r=>this._cachedIconsByUrl.set(t,r)),te(r=>Wa(r)))}getNamedSvgIcon(e,t=""){let o=dp(t,e),r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):fr(sp(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?T(Wa(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(te(t=>Wa(t)))}_getSvgFromIconSetConfigs(e,t){let o=this._extractIconWithNameFromAnySet(e,t);if(o)return T(o);let r=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(si(l=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(vt.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(u)),T(null)})));return br(r).pipe(te(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw sp(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let o=t.length-1;o>=0;o--){let r=t[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(r),l=this._extractSvgIconFromSet(a,e,r.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Ve(t=>e.svgText=t),te(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?T(null):this._fetchIcon(e).pipe(Ve(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,o){let r=e.querySelector(`[id="${t}"]`);if(!r)return null;let a=r.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(Bi(""));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let o=t.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let t=this._svgElementFromString(Bi("")),o=e.attributes;for(let r=0;rBi(u)),Fn(()=>this._inProgressUrlFetches.delete(a)),od());return this._inProgressUrlFetches.set(a,s),s}_addSvgIconConfig(e,t,o){return this._svgIconConfigs.set(dp(e,t),o),this}_addSvgIconSetConfig(e,t){let o=this._iconSetConfigs.get(e);return o?o.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let o=0;o{let o=t.family.replace(/['"]/g,"").trim().toLowerCase();(o==="material icons"||o.startsWith("material icons "))&&(e=!0),o.startsWith("material symbols rounded")?i="rounded":o.startsWith("material symbols sharp")?i="sharp":o.startsWith("material symbols")&&(i="outlined")}),[i&&!e?`material-symbols-${i}`:"material-icons","mat-ligature-font"]}var Fb=new y("cdk-dir-doc",{providedIn:"root",factory:()=>c(F)}),Pb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function mp(n){let i=n?.toLowerCase()||"";return i==="auto"&&typeof navigator<"u"&&navigator?.language?Pb.test(navigator.language)?"rtl":"ltr":i==="rtl"?"rtl":"ltr"}var ft=(()=>{class n{get value(){return this.valueSignal()}valueSignal=X("ltr");change=new J;constructor(){let e=c(Fb,{optional:!0});if(e){let t=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(mp(t||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var zi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({})}return n})();var Lb=new y("MAT_ICON_DEFAULT_OPTIONS"),Vb=new y("mat-icon-location",{providedIn:"root",factory:()=>{let n=c(F),i=n?n.location:null;return{getPathname:()=>i?i.pathname+i.search:""}}}),pp=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Bb=pp.map(n=>`[${n}]`).join(", "),zb=/^url\(['"]?#(.*?)['"]?\)$/,An=(()=>{class n{_elementRef=c(L);_iconRegistry=c(up);_location=c(Vb);_errorHandler=c(Pn);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ge.EMPTY;constructor(){let e=c(new Mr("aria-hidden"),{optional:!0}),t=c(Lb,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let o=e.childNodes[t];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),t.forEach(o=>e.classList.add(o)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences,o=e.startsWith("//")?`/.${e}`:e;t&&t.forEach((r,a)=>{r.forEach(l=>{a.setAttribute(l.name,`url('${o}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(Bb),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r{let l=t[r],s=l.getAttribute(a),u=s?s.match(zb):null;if(u){let d=o.get(l);d||(d=[],o.set(l,d)),d.push({name:a,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,o]=this._splitIconName(e);t&&(this._svgNamespace=t),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,t).pipe(We(1)).subscribe(r=>this._setSvgElement(r),r=>{let a=`Error retrieving icon ${t}:${o}! ${r.message}`;this._errorHandler.handleError(new Error(a))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){return M({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(o,r){o&2&&(Z("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Kt(r.color?"mat-"+r.color:""),Q("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",B],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:["*"],decls:1,vars:0,template:function(o,r){o&1&&(Ce(),U(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn { + color: var(--%NS%mat-icon-color, inherit); +} + +.mat-icon { + -webkit-user-select: none; + user-select: none; + background-repeat: no-repeat; + display: inline-block; + fill: currentColor; + height: 24px; + width: 24px; + overflow: hidden; +} +.mat-icon.mat-icon-inline { + font-size: inherit; + height: inherit; + line-height: inherit; + width: inherit; +} +.mat-icon.mat-ligature-font[fontIcon]::before { + content: attr(fontIcon); +} + +[dir=rtl] .mat-icon-rtl-mirror { + transform: scale(-1, 1); +} + +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon, +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon { + display: block; +} +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon, +.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon { + margin: auto; +} +`],encapsulation:2})})()}return n})();function qo(n){return n.buttons===0||n.detail===0}function Ko(n){let i=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!i&&i.identifier===-1&&(i.radiusX==null||i.radiusX===1)&&(i.radiusY==null||i.radiusY===1)}var lc;function fp(){if(lc==null){let n=typeof document<"u"?document.head:null;lc=!!(n&&(n.createShadowRoot||n.attachShadow))}return lc}function cc(n){if(fp()){let i=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function Xn(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let i=n.shadowRoot.activeElement;if(i===n)break;n=i}return n}function nt(n){if(n.composedPath)try{return n.composedPath()[0]}catch(i){}return n.target}var dc;try{dc=typeof Intl<"u"&&Intl.v8BreakIterator}catch(n){dc=!1}var pe=(()=>{class n{_platformId=c(li);isBrowser=this._platformId?qd(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||dc)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var Yo;function gp(){if(Yo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Yo=!0}))}finally{Yo=Yo||!1}return Yo}function ji(n){return gp()?n:!!n.capture}function Ui(n,i=0){return vp(n)?Number(n):arguments.length===2?i:0}function vp(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Dt(n){return n instanceof L?n.nativeElement:n}var bp=new y("cdk-input-modality-detector-options"),yp={ignoreKeys:[18,17,224,91,16]},_p=650,uc={passive:!0,capture:!0},xp=(()=>{class n{_platform=c(pe);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new dt(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=nt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<_p||(this._modality.next(qo(e)?"keyboard":"mouse"),this._mostRecentTarget=nt(e))};_onTouchstart=e=>{if(Ko(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=nt(e)};constructor(){let e=c(P),t=c(F),o=c(bp,{optional:!0});if(this._options=f(f({},yp),o),this.modalityDetected=this._modality.pipe(_r(1)),this.modalityChanged=this.modalityDetected.pipe(ws()),this._platform.isBrowser){let r=c(He).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[r.listen(t,"keydown",this._onKeydown,uc),r.listen(t,"mousedown",this._onMousedown,uc),r.listen(t,"touchstart",this._onTouchstart,uc)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),Xo=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(Xo||{}),Cp=new y("cdk-focus-monitor-default-options"),qa=ji({passive:!0,capture:!0}),Zn=(()=>{class n{_ngZone=c(P);_platform=c(pe);_inputModalityDetector=c(xp);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=c(F);_stopInputModalityDetector=new I;constructor(){let e=c(Cp,{optional:!0});this._detectionMode=e?.detectionMode||Xo.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=nt(e);for(let o=t;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,t=!1){let o=Dt(e);if(!this._platform.isBrowser||o.nodeType!==1)return T();let r=cc(o)||this._document,a=this._elementInfo.get(o);if(a)return t&&(a.checkChildren=!0),a.subject;let l={checkChildren:t,subject:new I,rootNode:r};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let t=Dt(e),o=this._elementInfo.get(t);o&&(o.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(o))}focusVia(e,t,o){let r=Dt(e),a=this._document.activeElement;r===a?this._getClosestElementsInfo(r).forEach(([l,s])=>this._originChanged(l,t,s)):(this._setOrigin(t),typeof r.focus=="function"&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Xo.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===Xo.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?_p:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,t){let o=this._elementInfo.get(t),r=nt(e);!o||!o.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),o)}_onBlur(e,t){let o=this._elementInfo.get(t);!o||o.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(o,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,o=this._rootNodeFocusListenerCount.get(t)||0;o||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,qa),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,qa)}),this._rootNodeFocusListenerCount.set(t,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(_e(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let o=this._rootNodeFocusListenerCount.get(t);o>1?this._rootNodeFocusListenerCount.set(t,o-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,qa),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,qa),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,o){this._setClasses(e,t),this._emitOrigin(o,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&t.push([r,o])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let r=e.labels;if(r){for(let a=0;a{class n{_platform=c(pe);_nonce=c(Ln,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ub}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&jb(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function jb(n,i){if(!wp.has(n))try{Qn||(Qn=document.createElement("style"),i&&Qn.setAttribute("nonce",i),Qn.setAttribute("type","text/css"),document.head.appendChild(Qn)),Qn.sheet&&(Qn.sheet.insertRule(`@media ${n.replace(/[{}]/g,"")} {body{ }}`,0),wp.add(n))}catch(e){console.error(e)}}function Ub(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var mc=(()=>{class n{_mediaMatcher=c(Ka);_zone=c(P);_queries=new Map;_destroySubject=new I;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Sp(ln(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=Sp(ln(e)).map(a=>this._registerQuery(a).observable),r=to(o);return r=vr(r.pipe(We(1)),r.pipe(_r(1),yr(0))),r.pipe(te(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:s,query:u})=>{l.matches=l.matches||s,l.breakpoints[u]=s}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),r={observable:new ct(a=>{let l=s=>this._zone.run(()=>a.next(s));return t.addListener(l),()=>{t.removeListener(l)}}).pipe(Ue(t),te(({matches:a})=>({query:e,matches:a})),_e(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function Sp(n){return n.map(i=>i.split(",")).reduce((i,e)=>i.concat(e)).map(i=>i.trim())}var hc=(()=>{class n{_platform=c(pe);isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return $b(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=Hb(Qb(e));if(t&&(Dp(t)===-1||!this.isVisible(t)))return!1;let o=e.nodeName.toLowerCase(),r=Dp(e);return e.hasAttribute("contenteditable")?r!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Xb(e)?!1:o==="audio"?e.hasAttribute("controls")?r!==-1:!1:o==="video"?r===-1?!1:r!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return Zb(e)&&!this.isDisabled(e)&&(t?.ignoreInert||!e.closest?.("[inert]"))&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function Hb(n){try{return n.frameElement}catch(i){return null}}function $b(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Gb(n){let i=n.nodeName.toLowerCase();return i==="input"||i==="select"||i==="button"||i==="textarea"}function Wb(n){return Kb(n)&&n.type=="hidden"}function qb(n){return Yb(n)&&n.hasAttribute("href")}function Kb(n){return n.nodeName.toLowerCase()=="input"}function Yb(n){return n.nodeName.toLowerCase()=="a"}function Ep(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let i=n.getAttribute("tabindex");return!!(i&&!isNaN(parseInt(i,10)))}function Dp(n){if(!Ep(n))return null;let i=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}function Xb(n){let i=n.nodeName.toLowerCase(),e=i==="input"&&n.type;return e==="text"||e==="password"||i==="select"||i==="textarea"}function Zb(n){return Wb(n)?!1:Gb(n)||qb(n)||n.hasAttribute("contenteditable")||Ep(n)}function Qb(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var pc=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};get enabled(){return this._enabled}set enabled(i){this._enabled=i,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_enabled=!0;constructor(i,e,t,o,r=!1,a){this._element=i,this._checker=e,this._ngZone=t,this._document=o,this._injector=a,r||this.attachAnchors()}destroy(){let i=this._startAnchor,e=this._endAnchor;i&&(i.removeEventListener("focus",this.startAnchorListener),i.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(i)))})}focusFirstTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(i)))})}focusLastTabbableElementWhenReady(i){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(i)))})}_getRegionBoundary(i){let e=this._element.querySelectorAll(`[cdk-focus-region-${i}], [cdkFocusRegion${i}], [cdk-focus-${i}]`);return i=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(i){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(i),!!t}return e.focus(i),!0}return this.focusFirstTabbableElement(i)}focusFirstTabbableElement(i){let e=this._getRegionBoundary("start");return e&&e.focus(i),!!e}focusLastTabbableElement(i){let e=this._getRegionBoundary("end");return e&&e.focus(i),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(i){if(this._checker.isFocusable(i)&&this._checker.isTabbable(i))return i;let e=i.children;for(let t=0;t=0;t--){let o=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(o)return o}return null}_createAnchor(){let i=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,i),i.classList.add("cdk-visually-hidden"),i.classList.add("cdk-focus-trap-anchor"),i.setAttribute("aria-hidden","true"),i}_toggleAnchorTabIndex(i,e){i?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(i){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(i,this._startAnchor),this._toggleAnchorTabIndex(i,this._endAnchor))}_executeOnStable(i){Je(i,{injector:this._injector})}},Mp=(()=>{class n{_checker=c(hc);_ngZone=c(P);_document=c(F);_injector=c(ie);constructor(){c(Ye).load(Vi)}create(e,t=!1){return new pc(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var Jb=200,Ya=class{_letterKeyStream=new I;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new I;selectedItem=this._selectedItem;constructor(i,e){let t=typeof e?.debounceInterval=="number"?e.debounceInterval:Jb;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(i),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(i){this._selectedItemIndex=i}setItems(i){this._items=i}handleKey(i){let e=i.keyCode;i.key&&i.key.length===1?this._letterKeyStream.next(i.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(i){this._letterKeyStream.pipe(Ve(e=>this._pressedLetters.push(e)),yr(i),ge(()=>this._pressedLetters.length>0),te(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;ti.disabled;constructor(i,e){this._items=i,i instanceof ro?this._itemChangesSubscription=i.changes.subscribe(t=>this._itemsChanged(t.toArray())):Nt(i)&&(this._effectRef=Ft(()=>this._itemsChanged(i()),{injector:e}))}tabOut=new I;change=new I;skipPredicate(i){return this._skipPredicateFn=i,this}withWrap(i=!0){return this._wrap=i,this}withVerticalOrientation(i=!0){return this._vertical=i,this}withHorizontalOrientation(i){return this._horizontal=i,this}withAllowedModifierKeys(i){return this._allowedModifierKeys=i,this}withTypeAhead(i=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Ya(e,{debounceInterval:typeof i=="number"?i:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(i=!0){return this._homeAndEnd=i,this}withPageUpDown(i=!0,e=10){return this._pageUpAndDown={enabled:i,delta:e},this}setActiveItem(i){let e=this._activeItem();this.updateActiveItem(i),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(i){let e=i.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!i[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(r>0?r:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let r=this._activeItemIndex()+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(r-1&&t!==this._activeItemIndex()&&(this._activeItemIndex.set(t),this._typeahead?.setCurrentSelectedItemIndex(t))}}};var Qo=class extends Hi{setActiveItem(i){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(i),this.activeItem&&this.activeItem.setActiveStyles()}};var Jo=class extends Hi{_origin="program";setFocusOrigin(i){return this._origin=i,this}setActiveItem(i){super.setActiveItem(i),this.activeItem&&this.activeItem.focus(this._origin)}};var Np=new Map,Se=class n{_appId=c(oo);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(i,e=!1){this._appId!=="ng"&&(i+=this._appId);let t=Np.get(i);return t===void 0?t=0:t++,Np.set(i,t),`${i}${e?n._infix+"-":""}${t}`}static \u0275fac=function(e){return new(e||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})};var Jn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,o){},styles:[`.mat-focus-indicator { + position: relative; +} +.mat-focus-indicator::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + box-sizing: border-box; + pointer-events: none; + display: var(--%NS%mat-focus-indicator-display, none); + border-width: var(--%NS%mat-focus-indicator-border-width, 3px); + border-style: var(--%NS%mat-focus-indicator-border-style, solid); + border-color: var(--%NS%mat-focus-indicator-border-color, transparent); + border-radius: var(--%NS%mat-focus-indicator-border-radius, 4px); +} +.mat-focus-indicator:focus-visible::before { + content: ""; +} + +@media (forced-colors: active) { + html { + --%NS%mat-focus-indicator-display: block; + --%NS%mat-focus-indicator-fallback-border-style: none; + } +} +`],encapsulation:2})}return n})();var zt=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(zt||{}),Za,ei;function Qa(){if(ei==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ei=!1,ei;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)ei=!0;else{let n=Element.prototype.scrollTo;n?ei=!/\{\s*\[native code\]\s*\}/.test(n.toString()):ei=!1}}return ei}function Gi(){if(typeof document!="object"||!document)return zt.NORMAL;if(Za==null){let n=document.createElement("div"),i=n.style;n.dir="rtl",i.width="1px",i.overflow="auto",i.visibility="hidden",i.pointerEvents="none",i.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Za=zt.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Za=n.scrollLeft===0?zt.NEGATED:zt.INVERTED),n.remove()}return Za}function fc(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Wi,Ap=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function gc(){if(Wi)return Wi;if(typeof document!="object"||!document)return Wi=new Set(Ap),Wi;let n=document.createElement("input");return Wi=new Set(Ap.filter(i=>(n.setAttribute("type",i),n.type===i))),Wi}function Re(n){return n==null?"":typeof n=="string"?n:`${n}px`}function qi(n){return n!=null&&`${n}`!="false"}var Ip={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var ey=new y("MATERIAL_ANIMATIONS"),kp=null;function ty(){return c(ey,{optional:!0})?.animationsDisabled||c(ci,{optional:!0})==="NoopAnimations"?"di-disabled":(kp??=c(Ka).matchMedia("(prefers-reduced-motion)").matches,kp?"reduced-motion":"enabled")}function $e(){return ty()!=="enabled"}var Tt=(function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n})(Tt||{}),vc=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Tt.HIDDEN;constructor(i,e,t,o=!1){this._renderer=i,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},Rp=ji({passive:!0,capture:!0}),bc=class{_events=new Map;addHandler(i,e,t,o){let r=this._events.get(e);if(r){let a=r.get(t);a?a.add(o):r.set(t,new Set([o]))}else this._events.set(e,new Map([[t,new Set([o])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Rp)})}removeHandler(i,e,t){let o=this._events.get(i);if(!o)return;let r=o.get(e);r&&(r.delete(t),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,Rp)))}_delegateEventHandler=i=>{let e=nt(i);e&&this._events.get(i.type)?.forEach((t,o)=>{(o===e||o.contains(e))&&t.forEach(r=>r.handleEvent(i))})}},er={enterDuration:225,exitDuration:150},ny=800,Tp=ji({passive:!0,capture:!0}),Op=["mousedown","touchstart"],Fp=["mouseup","mouseleave","touchend","touchcancel"],iy=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.mat-ripple { + overflow: hidden; + position: relative; +} +.mat-ripple:not(:empty) { + transform: translateZ(0); +} + +.mat-ripple.mat-ripple-unbounded { + overflow: visible; +} + +.mat-ripple-element { + position: absolute; + border-radius: 50%; + pointer-events: none; + transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); + transform: scale3d(0, 0, 0); + background-color: var(--%NS%mat-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 10%, transparent)); +} +@media (forced-colors: active) { + .mat-ripple-element { + display: none; + } +} +.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { + display: none; +} +`],encapsulation:2})}return n})(),tr=class n{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new bc;constructor(i,e,t,o,r){this._target=i,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Dt(t)),r&&r.get(Ye).load(iy)}fadeInRipple(i,e,t={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=f(f({},er),t.animation);t.centered&&(i=o.left+o.width/2,e=o.top+o.height/2);let a=t.radius||oy(i,e,o),l=i-o.left,s=e-o.top,u=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${l-a}px`,d.style.top=`${s-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(d);let v=window.getComputedStyle(d),b=v.transitionProperty,S=v.transitionDuration,w=b==="none"||S==="0s"||S==="0s, 0s"||o.width===0&&o.height===0,j=new vc(this,d,t,w);d.style.transform="scale3d(1, 1, 1)",j.state=Tt.FADING_IN,t.persistent||(this._mostRecentTransientRipple=j);let ne=null;return!w&&(u||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Le=()=>{ne&&(ne.fallbackTimer=null),clearTimeout(ee),this._finishRippleTransition(j)},Y=()=>this._destroyRipple(j),ee=setTimeout(Y,u+100);d.addEventListener("transitionend",Le),d.addEventListener("transitioncancel",Y),ne={onTransitionEnd:Le,onTransitionCancel:Y,fallbackTimer:ee}}),this._activeRipples.set(j,ne),(w||!u)&&this._finishRippleTransition(j),j}fadeOutRipple(i){if(i.state===Tt.FADING_OUT||i.state===Tt.HIDDEN)return;let e=i.element,t=f(f({},er),i.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",i.state=Tt.FADING_OUT,(i._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=Dt(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Op.forEach(t=>{n._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Fp.forEach(e=>{this._triggerElement.addEventListener(e,this,Tp)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===Tt.FADING_IN?this._startFadeOutTransition(i):i.state===Tt.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:t}=i.config;i.state=Tt.VISIBLE,!t&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=Tt.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=qo(i),t=this._lastTouchStartEvent&&Date.now(){let e=i.state===Tt.VISIBLE||i.config.terminateOnPointerUp&&i.state===Tt.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(Op.forEach(e=>n._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(Fp.forEach(e=>i.removeEventListener(e,this,Tp)),this._pointerUpEventsRegistered=!1))}};function oy(n,i,e){let t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),o=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+o*o)}var nr=new y("mat-ripple-global-options"),Pp=(()=>{class n{_elementRef=c(L);_animationsDisabled=$e();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=c(P),t=c(pe),o=c(nr,{optional:!0}),r=c(ie);this._globalOptions=o||{},this._rippleRenderer=new tr(this,e,this._elementRef,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:f(f(f({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,f(f({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,f(f({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,o){t&2&&Q("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})();var ry={capture:!0},ay=["focus","mousedown","mouseenter","touchstart"],yc="mat-ripple-loader-uninitialized",_c="mat-ripple-loader-class-name",Lp="mat-ripple-loader-centered",Ja="mat-ripple-loader-disabled",es=(()=>{class n{_document=c(F);_animationsDisabled=$e();_globalRippleOptions=c(nr,{optional:!0});_platform=c(pe);_ngZone=c(P);_injector=c(ie);_eventCleanups;_hosts=new Map;constructor(){let e=c(He).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>ay.map(t=>e.listen(this._document,t,this._onInteraction,ry)))}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);this._eventCleanups.forEach(t=>t())}configureRipple(e,t){e.setAttribute(yc,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(_c))&&e.setAttribute(_c,t.className||""),t.centered&&e.setAttribute(Lp,""),t.disabled&&e.setAttribute(Ja,"")}setDisabled(e,t){let o=this._hosts.get(e);o?(o.target.rippleDisabled=t,!t&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):t?e.setAttribute(Ja,""):e.removeAttribute(Ja)}_onInteraction=e=>{let t=nt(e);if(t instanceof HTMLElement){let o=t.closest(`[${yc}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let t=this._document.createElement("span");t.classList.add("mat-ripple",e.getAttribute(_c)),e.append(t);let o=this._globalRippleOptions,r=this._animationsDisabled?0:o?.animation?.enterDuration??er.enterDuration,a=this._animationsDisabled?0:o?.animation?.exitDuration??er.exitDuration,l={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(Ja),rippleConfig:{centered:e.hasAttribute(Lp),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:r,exitDuration:a}}},s=new tr(l,this._ngZone,t,this._platform,this._injector),u=!l.rippleDisabled;u&&s.setupTriggerEvents(e),this._hosts.set(e,{target:l,renderer:s,hasSetUpEvents:u}),e.removeAttribute(yc)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var Bp=Symbol("FIELD_TREE");var zp=Symbol("IS_ASYNC_VALIDATION_RESOURCE"),Vp=class{reducer;create;brand;[zp];constructor(i,e){this.reducer=i,this.create=e}};function ir(n){return typeof n=="function"&&n[Bp]===!0}var ts=new y("");var ns=(()=>{class n{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}isSignalErrorState(e){if(!e)return!1;let t=e().invalid(),o=e().touched();return t&&o}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var Ki=class{_defaultMatcher;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;ngControl;formField;constructor(i,e,t,o,r){this._defaultMatcher=i,this._parentFormGroup=t,this._parentForm=o,this._stateChanges=r,e?Nt(e.field)&&!e.updateValueAndValidity?(this.formField=e,this.ngControl=null):(this.formField=null,this.ngControl=e):this.ngControl=this.formField=null}updateErrorState(){let i=this.errorState,e=this._getCurrentErrorState(this.matcher||this._defaultMatcher);e!==i&&(this.errorState=e,this._stateChanges.next())}_getCurrentErrorState(i){if(this.formField&&i?.isSignalErrorState)return i.isSignalErrorState(this.formField.field())??!1;let e=this._parentFormGroup||this._parentForm,t=this.ngControl?this.ngControl.control:null;return i?.isErrorState(t,e)??!1}};var xc=class{_box;_destroyed=new I;_resizeSubject=new I;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new ct(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),t.unsubscribe(),this._elementObservables.delete(i)}}).pipe(ge(e=>e.some(t=>t.target===i)),Es({bufferSize:1,refCount:!0}),_e(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},jp=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=c(P);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let o=t?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new xc(o)),this._observers.get(o).observe(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var or=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["mat-label"]]})}return n})(),sy=new y("MatError");var Cc=(()=>{class n{align="start";id=c(Se).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(qe("id",o.id),Z("align",null),Q("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),ly=new y("MatPrefix");var Kp=new y("MatSuffix"),wc=(()=>{class n{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[be([{provide:Kp,useExisting:n}])]})}return n})(),Yp=new y("FloatingLabelParent"),Up=(()=>{class n{_elementRef=c(L);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=c(jp);_ngZone=c(P);_parent=c(Yp);_resizeSubscription=new Ge;ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return cy(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&Q("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function cy(n){let i=n;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Hp="mdc-line-ripple--active",is="mdc-line-ripple--deactivating",$p=(()=>{class n{_elementRef=c(L);_cleanupTransitionEnd;constructor(){let e=c(P),t=c(ve);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(is),e.add(Hp)}deactivate(){this._elementRef.nativeElement.classList.add(is)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(is);e.propertyName==="opacity"&&o&&t.remove(Hp,is)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),Gp=(()=>{class n{_elementRef=c(L);_ngZone=c(P);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,t=e.querySelector(".mdc-floating-label");t?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let t=this._notch.nativeElement;!this.open||!e?t.style.width="":t.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["notch"];return M({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,a){if(r&1&&bt(e,5),r&2){let l;$(l=G())&&(a._notch=l.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,a){r&2&&Q("mdc-notched-outline--notched",a.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(r,a){r&1&&(Ce(),qt(0,"div",1),ot(1,"div",2,0),U(3),rt(),qt(4,"div",3))},encapsulation:2})})()}return n})(),rr=(()=>{class n{id;ngField=null;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;stateChanges=null;value;static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n})}return n})();var ti=new y("MatFormField"),dy=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wp="fill",uy="auto",qp="fixed",my="translateY(-50%)",ni=(()=>{class n{_elementRef=c(L);_changeDetectorRef=c(we);_platform=c(pe);_idGenerator=c(Se);_ngZone=c(P);_defaults=c(dy,{optional:!0});_currentDirection;_unwrapMaybeSignal(e){return Nt(e)?e():e}_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=co("iconPrefixContainer");_textPrefixContainerSignal=co("textPrefixContainer");_iconSuffixContainerSignal=co("iconSuffixContainer");_textSuffixContainerSignal=co("textSuffixContainer");_prefixSuffixContainers=at(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Ld(or);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=qi(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||uy}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let t=e||this._defaults?.appearance||Wp;this._appearanceSignal.set(t)}_appearanceSignal=X(Wp);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||qp}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||qp}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new I;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=$e();constructor(){let e=this._defaults,t=c(ft);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Ft(()=>this._currentDirection=t.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=ir(this._control.ngField)?null:this._control.ngControl.control.validator),this._previousControl=this._control,this._changeDetectorRef.markForCheck()),this._control.ngControl&&this._control.ngControl.control&&!ir(this._control.ngField)&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=at(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges?.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges?.pipe(Ue([void 0,void 0]),te(()=>[this._unwrapMaybeSignal(t.errorState),t.userAriaDescribedBy]),Ds(),ge(([[r,a],[l,s]])=>r!==l||a!==s)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&!ir(t.ngField)&&(this._valueChanges=t.ngControl.valueChanges.pipe(_e(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Mt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._unwrapMaybeSignal(this._control.focused);e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){Vs({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=at(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._shouldAlwaysFloat()||this._unwrapMaybeSignal(this._control.shouldLabelFloat):!1}_shouldForward(e){let t=this._control?.ngField||this._control?.ngControl;if(!t)return!1;if(ir(t)){let o=t();return e==="valid"?o.valid():e==="dirty"?o.dirty():e==="touched"?o.touched():e==="pending"?o.pending():e==="untouched"?!o.touched():e==="pristine"?!o.dirty():e==="invalid"?!o.valid():!1}else{let o=t;return e==="valid"?o.valid:e==="dirty"?o.dirty:e==="touched"?o.touched:e==="pending"?o.pending:e==="untouched"?o.untouched:e==="pristine"?o.pristine:e==="invalid"?o.invalid:!1}}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._unwrapMaybeSignal(this._control.errorState)?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let r=this._hintChildren?this._hintChildren.find(l=>l.align==="start"):null,a=this._hintChildren?this._hintChildren.find(l=>l.align==="end"):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));let t=this._control.describedByIds,o;if(t){let r=this._describedByIds||e;o=e.concat(t.filter(a=>a&&!r.includes(a)))}else o=e;this._control.setDescribedByIds(o),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,t=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,r=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,l=t?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,u=r?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",v=`${a+l}px`,S=`calc(${d} * (${v} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,w=`var(--mat-mdc-form-field-label-transform, ${my} translateX(${S}))`,j=a+l+s+u;return[w,j]}_writeOutlinedLabelStyles(e){if(e!==null){let[t,o]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),o!==null&&this._notchedOutline?._setMaxWidth(o)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["iconPrefixContainer"],t=["textPrefixContainer"],o=["iconSuffixContainer"],r=["textSuffixContainer"],a=["textField"],l=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],s=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function u(H,ue){H&1&&ae(0,"span",21)}function d(H,ue){if(H&1&&(p(0,"label",20),U(1,1),x(2,u,1,0,"span",21),m()),H&2){let _=E(2);ye("floating",_._shouldLabelFloat())("monitorResize",_._hasOutline())("id",_._labelId),Z("for",_._control.disableAutomaticLabeling?null:_._control.id),h(2),C(!_.hideRequiredMarker&&_._unwrapMaybeSignal(_._control.required)?2:-1)}}function v(H,ue){if(H&1&&x(0,d,3,5,"label",20),H&2){let _=E();C(_._hasFloatingLabel()?0:-1)}}function b(H,ue){H&1&&ae(0,"div",7)}function S(H,ue){}function w(H,ue){if(H&1&&pn(0,S,0,0,"ng-template",13),H&2){E(2);let _=Ie(1);ye("ngTemplateOutlet",_)}}function j(H,ue){if(H&1&&(p(0,"div",9),x(1,w,1,1,null,13),m()),H&2){let _=E();ye("matFormFieldNotchedOutlineOpen",_._shouldLabelFloat()),h(),C(_._forceDisplayInfixLabel()?-1:1)}}function ne(H,ue){H&1&&(p(0,"div",10,2),U(2,2),m())}function Le(H,ue){H&1&&(p(0,"div",11,3),U(2,3),m())}function Y(H,ue){}function ee(H,ue){if(H&1&&pn(0,Y,0,0,"ng-template",13),H&2){E();let _=Ie(1);ye("ngTemplateOutlet",_)}}function Xe(H,ue){H&1&&(p(0,"div",14,4),U(2,4),m())}function gt(H,ue){H&1&&(p(0,"div",15,5),U(2,5),m())}function De(H,ue){H&1&&ae(0,"div",16)}function Ot(H,ue){H&1&&(p(0,"div",18),U(1,6),m())}function jt(H,ue){if(H&1&&(p(0,"mat-hint",22),g(1),m()),H&2){let _=E(2);ye("id",_._hintLabelId),h(),pt(_.hintLabel)}}function Et(H,ue){if(H&1&&(p(0,"div",19),x(1,jt,2,2,"mat-hint",22),U(2,7),ae(3,"div",23),U(4,8),m()),H&2){let _=E();h(),C(_.hintLabel?1:-1)}}return M({type:n,selectors:[["mat-form-field"]],contentQueries:function(ue,_,he){if(ue&1&&(Nd(he,_._labelChild,or,5),mt(he,rr,5)(he,ly,5)(he,Kp,5)(he,sy,5)(he,Cc,5)),ue&2){Fs();let it;$(it=G())&&(_._formFieldControl=it.first),$(it=G())&&(_._prefixChildren=it),$(it=G())&&(_._suffixChildren=it),$(it=G())&&(_._errorChildren=it),$(it=G())&&(_._hintChildren=it)}},viewQuery:function(ue,_){if(ue&1&&(Ad(_._iconPrefixContainerSignal,e,5)(_._textPrefixContainerSignal,t,5)(_._iconSuffixContainerSignal,o,5)(_._textSuffixContainerSignal,r,5),bt(a,5)(e,5)(t,5)(o,5)(r,5)(Up,5)(Gp,5)($p,5)),ue&2){Fs(4);let he;$(he=G())&&(_._textField=he.first),$(he=G())&&(_._iconPrefixContainer=he.first),$(he=G())&&(_._textPrefixContainer=he.first),$(he=G())&&(_._iconSuffixContainer=he.first),$(he=G())&&(_._textSuffixContainer=he.first),$(he=G())&&(_._floatingLabel=he.first),$(he=G())&&(_._notchedOutline=he.first),$(he=G())&&(_._lineRipple=he.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(ue,_){ue&2&&Q("mat-mdc-form-field-label-always-float",_._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",_._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",_._hasIconSuffix)("mat-form-field-invalid",_._unwrapMaybeSignal(_._control.errorState))("mat-form-field-disabled",_._unwrapMaybeSignal(_._control.disabled))("mat-form-field-autofilled",_._unwrapMaybeSignal(_._control.autofilled))("mat-form-field-appearance-fill",_.appearance=="fill")("mat-form-field-appearance-outline",_.appearance=="outline")("mat-form-field-hide-placeholder",_._hasFloatingLabel()&&!_._shouldLabelFloat())("mat-primary",_.color!=="accent"&&_.color!=="warn")("mat-accent",_.color==="accent")("mat-warn",_.color==="warn")("ng-untouched",_._shouldForward("untouched"))("ng-touched",_._shouldForward("touched"))("ng-pristine",_._shouldForward("pristine"))("ng-dirty",_._shouldForward("dirty"))("ng-valid",_._shouldForward("valid"))("ng-invalid",_._shouldForward("invalid"))("ng-pending",_._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[be([{provide:ti,useExisting:n},{provide:Yp,useExisting:n}])],ngContentSelectors:s,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(ue,_){if(ue&1&&(Ce(l),pn(0,v,1,1,"ng-template",null,0,Td),p(2,"div",6,1),V("click",function(it){return _._control.onContainerClick(it)}),x(4,b,1,0,"div",7),p(5,"div",8),x(6,j,2,2,"div",9),x(7,ne,3,0,"div",10),x(8,Le,3,0,"div",11),p(9,"div",12),x(10,ee,1,1,null,13),U(11),m(),x(12,Xe,3,0,"div",14),x(13,gt,3,0,"div",15),m(),x(14,De,1,0,"div",16),m(),p(15,"div",17),x(16,Ot,2,0,"div",18)(17,Et,5,1,"div",19),m()),ue&2){let he,it=_._unwrapMaybeSignal(_._control.disabled);h(2),Q("mdc-text-field--filled",!_._hasOutline())("mdc-text-field--outlined",_._hasOutline())("mdc-text-field--no-label",!_._hasFloatingLabel())("mdc-text-field--disabled",it)("mdc-text-field--invalid",_._unwrapMaybeSignal(_._control.errorState)),h(2),C(!_._hasOutline()&&!it?4:-1),h(2),C(_._hasOutline()?6:-1),h(),C(_._hasIconPrefix?7:-1),h(),C(_._hasTextPrefix?8:-1),h(2),C(!_._hasOutline()||_._forceDisplayInfixLabel()?10:-1),h(2),C(_._hasTextSuffix?12:-1),h(),C(_._hasIconSuffix?13:-1),h(),C(_._hasOutline()?-1:14),h(),Q("mat-mdc-form-field-subscript-dynamic-size",_.subscriptSizing==="dynamic");let of=_._getSubscriptMessageType();h(),C((he=of)==="error"?16:he==="hint"?17:-1)}},dependencies:[Up,Gp,Hs,$p,Cc],styles:[`.mdc-text-field { + display: inline-flex; + align-items: baseline; + padding: 0 16px; + position: relative; + box-sizing: border-box; + overflow: hidden; + will-change: opacity, transform, color; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} + +.mdc-text-field__input { + width: 100%; + min-width: 0; + border: none; + border-radius: 0; + background: none; + padding: 0; + -moz-appearance: none; + -webkit-appearance: none; + height: 28px; +} +.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { + display: none; +} +.mdc-text-field__input::-ms-clear { + display: none; +} +.mdc-text-field__input:focus { + outline: none; +} +.mdc-text-field__input:invalid { + box-shadow: none; +} +.mdc-text-field__input::placeholder { + opacity: 0; +} +.mdc-text-field__input::-moz-placeholder { + opacity: 0; +} +.mdc-text-field__input::-webkit-input-placeholder { + opacity: 0; +} +.mdc-text-field__input:-ms-input-placeholder { + opacity: 0; +} +.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { + opacity: 1; +} +.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { + opacity: 1; +} +.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { + opacity: 1; +} +.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { + opacity: 1; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { + opacity: 0; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { + opacity: 0; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { + opacity: 0; +} +.mdc-text-field--%NS%disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { + opacity: 0; +} +.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { + height: 100%; +} +.mdc-text-field--outlined .mdc-text-field__input { + display: flex; + border: none !important; + background-color: transparent; +} +.mdc-text-field--disabled .mdc-text-field__input { + pointer-events: auto; +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input { + color: var(--%NS%mat-form-field-filled-input-text-color, var(--%NS%mat-sys-on-surface)); + caret-color: var(--%NS%mat-form-field-filled-caret-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { + color: var(--%NS%mat-form-field-filled-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { + color: var(--%NS%mat-form-field-outlined-input-text-color, var(--%NS%mat-sys-on-surface)); + caret-color: var(--%NS%mat-form-field-outlined-caret-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { + color: var(--%NS%mat-form-field-outlined-input-text-placeholder-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--filled.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { + caret-color: var(--%NS%mat-form-field-filled-error-caret-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--outlined.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { + caret-color: var(--%NS%mat-form-field-outlined-error-caret-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { + color: var(--%NS%mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { + color: var(--%NS%mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +@media (forced-colors: active) { + .mdc-text-field--disabled .mdc-text-field__input { + background-color: Window; + } +} + +.mdc-text-field--filled { + height: 56px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + border-top-left-radius: var(--%NS%mat-form-field-filled-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-top-right-radius: var(--%NS%mat-form-field-filled-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) { + background-color: var(--%NS%mat-form-field-filled-container-color, var(--%NS%mat-sys-surface-variant)); +} +.mdc-text-field--filled.mdc-text-field--disabled { + background-color: var(--%NS%mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 4%, transparent)); +} + +.mdc-text-field--outlined { + height: 56px; + overflow: visible; + padding-right: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))); + padding-left: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)) + 4px); +} +[dir=rtl] .mdc-text-field--outlined { + padding-right: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)) + 4px); + padding-left: max(16px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))); +} + +.mdc-floating-label { + position: absolute; + left: 0; + transform-origin: left top; + line-height: 1.15rem; + text-align: left; + text-overflow: ellipsis; + white-space: nowrap; + cursor: text; + overflow: hidden; + will-change: transform; +} +[dir=rtl] .mdc-floating-label { + right: 0; + left: auto; + transform-origin: right top; + text-align: right; +} +.mdc-text-field .mdc-floating-label { + top: 50%; + transform: translateY(-50%); + pointer-events: none; +} +.mdc-notched-outline .mdc-floating-label { + display: inline-block; + position: relative; + max-width: 100%; +} +.mdc-text-field--outlined .mdc-floating-label { + left: 4px; + right: auto; +} +[dir=rtl] .mdc-text-field--outlined .mdc-floating-label { + left: auto; + right: 4px; +} +.mdc-text-field--filled .mdc-floating-label { + left: 16px; + right: auto; +} +[dir=rtl] .mdc-text-field--filled .mdc-floating-label { + left: auto; + right: 16px; +} +.mdc-text-field--disabled .mdc-floating-label { + cursor: default; +} +@media (forced-colors: active) { + .mdc-text-field--disabled .mdc-floating-label { + z-index: 1; + } +} +.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { + display: none; +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-focus-label-text-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-hover-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-error-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-error-focus-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-filled-error-hover-label-text-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-text-field--filled .mdc-floating-label { + font-family: var(--%NS%mat-form-field-filled-label-text-font, var(--%NS%mat-sys-body-large-font)); + font-size: var(--%NS%mat-form-field-filled-label-text-size, var(--%NS%mat-sys-body-large-size)); + font-weight: var(--%NS%mat-form-field-filled-label-text-weight, var(--%NS%mat-sys-body-large-weight)); + letter-spacing: var(--%NS%mat-form-field-filled-label-text-tracking, var(--%NS%mat-sys-body-large-tracking)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-focus-label-text-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-hover-label-text-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-error-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-error-focus-label-text-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { + color: var(--%NS%mat-form-field-outlined-error-hover-label-text-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-text-field--outlined .mdc-floating-label { + font-family: var(--%NS%mat-form-field-outlined-label-text-font, var(--%NS%mat-sys-body-large-font)); + font-size: var(--%NS%mat-form-field-outlined-label-text-size, var(--%NS%mat-sys-body-large-size)); + font-weight: var(--%NS%mat-form-field-outlined-label-text-weight, var(--%NS%mat-sys-body-large-weight)); + letter-spacing: var(--%NS%mat-form-field-outlined-label-text-tracking, var(--%NS%mat-sys-body-large-tracking)); +} + +.mdc-floating-label--float-above { + cursor: auto; + transform: translateY(-106%) scale(0.75); +} +.mdc-text-field--filled .mdc-floating-label--float-above { + transform: translateY(-106%) scale(0.75); +} +.mdc-text-field--outlined .mdc-floating-label--float-above { + transform: translateY(-37.25px) scale(1); + font-size: 0.75rem; +} +.mdc-notched-outline .mdc-floating-label--float-above { + text-overflow: clip; +} +.mdc-notched-outline--upgraded .mdc-floating-label--float-above { + max-width: 133.3333333333%; +} +.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + transform: translateY(-34.75px) scale(0.75); +} +.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + font-size: 1rem; +} + +.mdc-floating-label--%NS%required:not(.mdc-floating-label--hide-required-marker)::after { + margin-left: 1px; + margin-right: 0; + content: "*"; +} +[dir=rtl] .mdc-floating-label--%NS%required:not(.mdc-floating-label--hide-required-marker)::after { + margin-left: 0; + margin-right: 1px; +} + +.mdc-notched-outline { + display: flex; + position: absolute; + top: 0; + right: 0; + left: 0; + box-sizing: border-box; + width: 100%; + max-width: 100%; + height: 100%; + text-align: left; + pointer-events: none; +} +[dir=rtl] .mdc-notched-outline { + text-align: right; +} +.mdc-text-field--outlined .mdc-notched-outline { + z-index: 1; +} + +.mat-mdc-notch-piece { + box-sizing: border-box; + height: 100%; + pointer-events: none; + border: none; + border-top: 1px solid; + border-bottom: 1px solid; +} +.mdc-text-field--focused .mat-mdc-notch-piece { + border-width: 2px; +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-outline-color, var(--%NS%mat-sys-outline)); + border-width: var(--%NS%mat-form-field-outlined-outline-width, 1px); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-hover-outline-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-focus-outline-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-error-outline-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-error-hover-outline-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { + border-color: var(--%NS%mat-form-field-outlined-error-focus-outline-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { + border-width: var(--%NS%mat-form-field-outlined-focus-outline-width, 2px); +} + +.mdc-notched-outline__leading { + border-left: 1px solid; + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-top-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} +.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { + width: max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))); +} +[dir=rtl] .mdc-notched-outline__leading { + border-left: none; + border-right: 1px solid; + border-bottom-left-radius: 0; + border-top-left-radius: 0; + border-top-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} + +.mdc-notched-outline__trailing { + flex-grow: 1; + border-left: none; + border-right: 1px solid; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + border-top-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-right-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} +[dir=rtl] .mdc-notched-outline__trailing { + border-left: 1px solid; + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-top-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); + border-bottom-left-radius: var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small)); +} + +.mdc-notched-outline__notch { + flex: 0 0 auto; + width: auto; +} +.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { + max-width: min(var(--%NS%mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))) * 2)); +} +.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { + max-width: min(100%, calc(100% - max(12px, var(--%NS%mat-form-field-outlined-container-shape, var(--%NS%mat-sys-corner-extra-small))) * 2)); +} +.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-top: 1px; +} +.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-top: 2px; +} +.mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-left: 0; + padding-right: 8px; + border-top: none; +} +[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch { + padding-left: 8px; + padding-right: 0; +} +.mdc-notched-outline--no-label .mdc-notched-outline__notch { + display: none; +} + +.mdc-line-ripple::before, .mdc-line-ripple::after { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + border-bottom-style: solid; + content: ""; +} +.mdc-line-ripple::before { + z-index: 1; + border-bottom-width: var(--%NS%mat-form-field-filled-active-indicator-height, 1px); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-active-indicator-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-hover-active-indicator-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-error-active-indicator-color, var(--%NS%mat-sys-error)); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled).mdc-text-field--%NS%invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { + border-bottom-color: var(--%NS%mat-form-field-filled-error-hover-active-indicator-color, var(--%NS%mat-sys-on-error-container)); +} +.mdc-line-ripple::after { + transform: scaleX(0); + opacity: 0; + z-index: 2; +} +.mdc-text-field--filled .mdc-line-ripple::after { + border-bottom-width: var(--%NS%mat-form-field-filled-focus-active-indicator-height, 2px); +} +.mdc-text-field--%NS%filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { + border-bottom-color: var(--%NS%mat-form-field-filled-focus-active-indicator-color, var(--%NS%mat-sys-primary)); +} +.mdc-text-field--filled.mdc-text-field--%NS%invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { + border-bottom-color: var(--%NS%mat-form-field-filled-error-focus-active-indicator-color, var(--%NS%mat-sys-error)); +} + +.mdc-line-ripple--%NS%active::after { + transform: scaleX(1); + opacity: 1; +} + +.mdc-line-ripple--%NS%deactivating::after { + opacity: 0; +} + +.mdc-text-field--disabled { + pointer-events: none; +} + +.mat-mdc-form-field-textarea-control { + vertical-align: middle; + resize: vertical; + box-sizing: border-box; + height: auto; + margin: 0; + padding: 0; + border: none; + overflow: auto; +} + +.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font: inherit; + letter-spacing: inherit; + text-decoration: inherit; + text-transform: inherit; + border: none; +} + +.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + line-height: normal; + pointer-events: all; + will-change: auto; +} + +.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label { + cursor: inherit; +} + +.mdc-text-field--%NS%no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input, +.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control { + height: auto; +} + +.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] { + height: 23px; +} + +.mat-mdc-text-field-wrapper { + height: auto; + flex: auto; + will-change: auto; +} + +.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { + padding-left: 0; + --%NS%mat-mdc-form-field-label-offset-x: -16px; +} + +.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { + padding-right: 0; +} + +[dir=rtl] .mat-mdc-text-field-wrapper { + padding-left: 16px; + padding-right: 16px; +} +[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { + padding-left: 0; +} +[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { + padding-right: 0; +} + +.mat-form-field-disabled .mdc-text-field__input::placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { + color: var(--%NS%mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder { + transition-delay: 40ms; + transition-duration: 110ms; + opacity: 1; +} + +.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label { + left: auto; + right: auto; +} + +.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input { + display: inline-block; +} + +.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch { + padding-top: 0; +} + +.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { + border-left: 1px solid transparent; +} + +[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { + border-left: none; + border-right: 1px solid transparent; +} + +.mat-mdc-form-field-infix { + min-height: var(--%NS%mat-form-field-container-height, 56px); + padding-top: var(--%NS%mat-form-field-filled-with-label-container-padding-top, 24px); + padding-bottom: var(--%NS%mat-form-field-filled-with-label-container-padding-bottom, 8px); +} +.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix { + padding-top: var(--%NS%mat-form-field-container-vertical-padding, 16px); + padding-bottom: var(--%NS%mat-form-field-container-vertical-padding, 16px); +} + +.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { + top: calc(var(--%NS%mat-form-field-container-height, 56px) / 2); +} + +.mdc-text-field--filled .mat-mdc-floating-label { + display: var(--%NS%mat-form-field-filled-label-display, block); +} + +.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + --%NS%mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--%NS%mat-form-field-container-height, 56px) / 2) * -1)) + scale(var(--%NS%mat-mdc-form-field-floating-label-scale, 0.75)); + transform: var(--%NS%mat-mdc-form-field-label-transform); +} + +@keyframes _mat-form-field-subscript-animation { + from { + opacity: 0; + transform: translateY(-5px); + } + to { + opacity: 1; + transform: translateY(0); + } +} +.mat-mdc-form-field-subscript-wrapper { + box-sizing: border-box; + width: 100%; + position: relative; +} + +.mat-mdc-form-field-hint-wrapper, +.mat-mdc-form-field-error-wrapper { + position: absolute; + top: 0; + left: 0; + right: 0; + padding: 0 16px; + opacity: 1; + transform: translateY(0); + animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); +} + +.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper, +.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper { + position: static; +} + +.mat-mdc-form-field-bottom-align::before { + content: ""; + display: inline-block; + height: 16px; +} + +.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before { + content: unset; +} + +.mat-mdc-form-field-hint-end { + order: 1; +} + +.mat-mdc-form-field-hint-wrapper { + display: flex; +} + +.mat-mdc-form-field-hint-spacer { + flex: 1 0 1em; +} + +.mat-mdc-form-field-error { + display: block; + color: var(--%NS%mat-form-field-error-text-color, var(--%NS%mat-sys-error)); +} + +.mat-mdc-form-field-subscript-wrapper, +.mat-mdc-form-field-bottom-align::before { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: var(--%NS%mat-form-field-subscript-text-font, var(--%NS%mat-sys-body-small-font)); + line-height: var(--%NS%mat-form-field-subscript-text-line-height, var(--%NS%mat-sys-body-small-line-height)); + font-size: var(--%NS%mat-form-field-subscript-text-size, var(--%NS%mat-sys-body-small-size)); + letter-spacing: var(--%NS%mat-form-field-subscript-text-tracking, var(--%NS%mat-sys-body-small-tracking)); + font-weight: var(--%NS%mat-form-field-subscript-text-weight, var(--%NS%mat-sys-body-small-weight)); +} + +.mat-mdc-form-field-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + opacity: 0; + pointer-events: none; + background-color: var(--%NS%mat-form-field-state-layer-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { + opacity: var(--%NS%mat-form-field-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay { + opacity: var(--%NS%mat-form-field-focus-state-layer-opacity, 0); +} + +select.mat-mdc-form-field-input-control { + -moz-appearance: none; + -webkit-appearance: none; + background-color: transparent; + display: inline-flex; + box-sizing: border-box; +} +select.mat-mdc-form-field-input-control:not(:disabled) { + cursor: pointer; +} +select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option { + color: var(--%NS%mat-form-field-select-option-text-color, var(--%NS%mat-sys-neutral10)); +} +select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled { + color: var(--%NS%mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--%NS%mat-sys-neutral10) 38%, transparent)); +} + +.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { + content: ""; + width: 0; + height: 0; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 5px solid; + position: absolute; + right: 0; + top: 50%; + margin-top: -2.5px; + pointer-events: none; + color: var(--%NS%mat-form-field-enabled-select-arrow-color, var(--%NS%mat-sys-on-surface-variant)); +} +[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { + right: auto; + left: 0; +} +.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after { + color: var(--%NS%mat-form-field-focus-select-arrow-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after { + color: var(--%NS%mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { + padding-right: 15px; +} +[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { + padding-right: 0; + padding-left: 15px; +} + +@media (forced-colors: active) { + .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { + outline: solid 1px; + } +} +@media (forced-colors: active) { + .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { + outline-color: GrayText; + } +} + +@media (forced-colors: active) { + .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { + outline: dashed 3px; + } +} + +@media (forced-colors: active) { + .mat-mdc-form-field.mat-focused .mdc-notched-outline { + border: dashed 3px; + } +} + +.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] { + line-height: 1; +} +.mat-mdc-form-field-input-control::-webkit-datetime-edit { + line-height: 1; + padding: 0; + margin-bottom: -2px; +} + +.mat-mdc-form-field { + --%NS%mat-mdc-form-field-floating-label-scale: 0.75; + display: inline-flex; + flex-direction: column; + min-width: 0; + text-align: left; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + font-family: var(--%NS%mat-form-field-container-text-font, var(--%NS%mat-sys-body-large-font)); + line-height: var(--%NS%mat-form-field-container-text-line-height, var(--%NS%mat-sys-body-large-line-height)); + font-size: var(--%NS%mat-form-field-container-text-size, var(--%NS%mat-sys-body-large-size)); + letter-spacing: var(--%NS%mat-form-field-container-text-tracking, var(--%NS%mat-sys-body-large-tracking)); + font-weight: var(--%NS%mat-form-field-container-text-weight, var(--%NS%mat-sys-body-large-weight)); +} +.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above { + font-size: calc(var(--%NS%mat-form-field-outlined-label-text-populated-size) * var(--%NS%mat-mdc-form-field-floating-label-scale)); +} +.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { + font-size: var(--%NS%mat-form-field-outlined-label-text-populated-size); +} +[dir=rtl] .mat-mdc-form-field { + text-align: right; +} + +.mat-mdc-form-field-flex { + display: inline-flex; + align-items: baseline; + box-sizing: border-box; + width: 100%; +} + +.mat-mdc-text-field-wrapper { + width: 100%; + z-index: 0; +} + +.mat-mdc-form-field-icon-prefix, +.mat-mdc-form-field-icon-suffix { + align-self: center; + line-height: 0; + pointer-events: auto; + position: relative; + z-index: 1; +} +.mat-mdc-form-field-icon-prefix > .mat-icon, +.mat-mdc-form-field-icon-suffix > .mat-icon { + padding: 0 12px; + box-sizing: content-box; +} + +.mat-mdc-form-field-icon-prefix { + color: var(--%NS%mat-form-field-leading-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-form-field-disabled .mat-mdc-form-field-icon-prefix { + color: var(--%NS%mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-form-field-disabled .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-form-field-invalid .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-error-trailing-icon-color, var(--%NS%mat-sys-error)); +} +.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-error-hover-trailing-icon-color, var(--%NS%mat-sys-on-error-container)); +} +.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix { + color: var(--%NS%mat-form-field-error-focus-trailing-icon-color, var(--%NS%mat-sys-error)); +} + +.mat-mdc-form-field-icon-prefix, +[dir=rtl] .mat-mdc-form-field-icon-suffix { + padding: 0 4px 0 0; +} + +.mat-mdc-form-field-icon-suffix, +[dir=rtl] .mat-mdc-form-field-icon-prefix { + padding: 0 0 0 4px; +} + +.mat-mdc-form-field-subscript-wrapper .mat-icon, +.mat-mdc-form-field label .mat-icon { + width: 1em; + height: 1em; + font-size: inherit; +} + +.mat-mdc-form-field-infix { + flex: auto; + min-width: 0; + width: 180px; + position: relative; + box-sizing: border-box; +} +.mat-mdc-form-field-infix:has(textarea[cols]) { + width: auto; +} + +.mat-mdc-form-field .mdc-notched-outline__notch { + margin-left: -1px; + -webkit-clip-path: inset(-9em -999em -9em 1px); + clip-path: inset(-9em -999em -9em 1px); +} +[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch { + margin-left: 0; + margin-right: -1px; + -webkit-clip-path: inset(-9em 1px -9em -999em); + clip-path: inset(-9em 1px -9em -999em); +} + +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label { + transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { + transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { + transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { + transition-delay: 40ms; + transition-duration: 110ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--%NS%filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { + transition-duration: 75ms; +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after { + transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, +.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { + animation-duration: 300ms; +} + +.mdc-notched-outline .mdc-floating-label { + max-width: calc(100% + 1px); +} + +.mdc-notched-outline--upgraded .mdc-floating-label--float-above { + max-width: calc(133.3333333333% + 1px); +} +`],encapsulation:2})})()}return n})();var Xp=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({imports:[zi]})}return n})();var Nc=new y("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Zp=new y("MatChipAvatar"),Qp=new y("MatChipTrailingIcon"),Jp=new y("MatChipEdit"),eh=new y("MatChipRemove"),os=new y("MatChip"),nh=(()=>{class n{_elementRef=c(L);_parentChip=c(os);_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(e){this._disabled=e}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){c(Ye).load(Jn),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(t,o){t&2&&(Z("disabled",o._getDisabledAttribute())("aria-disabled",o.disabled),Q("mdc-evolution-chip__action--primary",o._isPrimary)("mdc-evolution-chip__action--secondary",!o._isPrimary)("mdc-evolution-chip__action--trailing",!o._isPrimary&&!o._isLeading))},inputs:{disabled:[2,"disabled","disabled",B],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:hi(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return n})(),Ac=(()=>{class n extends nh{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(e){!this.disabled&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(t,o){t&1&&V("click",function(a){return o._handleClick(a)})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(Z("tabindex",o._getTabindex()),Q("mdc-evolution-chip__action--presentational",!1))},features:[de]})}return n})();var ar=(()=>{class n{_changeDetectorRef=c(we);_elementRef=c(L);_tagName=c(Fd);_ngZone=c(P);_focusMonitor=c(Zn);_globalRippleOptions=c(nr,{optional:!0});_document=c(F);_onFocus=new I;_onBlur=new I;_isBasicChip=!1;role=null;_hasFocusInternal=!1;_pendingFocus=!1;_actionChanges;_animationsDisabled=$e();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=c(Se).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}_disabled=!1;removed=new J;destroyed=new J;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=c(es);_injector=c(ie);constructor(){let e=c(Ye);e.load(Jn),e.load(Vi),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Mt(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this.destroyed.emit({chip:this}),this.destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let o=t._elementRef.nativeElement;return o===e||o.contains(e)})}_getActions(){let e=[];return this.editIcon&&e.push(this.editIcon),this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),e}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(e){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],t=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function o(a,l){a&1&&(p(0,"span",3),U(1,1),m())}function r(a,l){a&1&&(p(0,"span",7),U(1,2),m())}return M({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(l,s,u){if(l&1&&mt(u,Zp,5)(u,Jp,5)(u,Qp,5)(u,eh,5)(u,Zp,5)(u,Qp,5)(u,Jp,5)(u,eh,5),l&2){let d;$(d=G())&&(s.leadingIcon=d.first),$(d=G())&&(s.editIcon=d.first),$(d=G())&&(s.trailingIcon=d.first),$(d=G())&&(s.removeIcon=d.first),$(d=G())&&(s._allLeadingIcons=d),$(d=G())&&(s._allTrailingIcons=d),$(d=G())&&(s._allEditIcons=d),$(d=G())&&(s._allRemoveIcons=d)}},viewQuery:function(l,s){if(l&1&&bt(Ac,5),l&2){let u;$(u=G())&&(s.primaryAction=u.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(l,s){l&1&&V("keydown",function(d){return s._handleKeydown(d)}),l&2&&(qe("id",s.id),Z("role",s.role)("aria-label",s.ariaLabel),Kt("mat-"+(s.color||"primary")),Q("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-basic-chip",s._isBasicChip)("mat-mdc-standard-chip",!s._isBasicChip)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon())("_mat-animation-noopable",s._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",B],highlighted:[2,"highlighted","highlighted",B],disableRipple:[2,"disableRipple","disableRipple",B],disabled:[2,"disabled","disabled",B]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[be([{provide:os,useExisting:n}])],ngContentSelectors:t,decls:9,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mat-mdc-chip-touch-target"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(l,s){l&1&&(Ce(e),ae(0,"span",0),p(1,"span",1)(2,"span",2),x(3,o,2,0,"span",3),p(4,"span",4),U(5),ae(6,"span",5),m(),ae(7,"span",6),m()(),x(8,r,2,0,"span",7)),l&2&&(h(3),C(s.leadingIcon?3:-1),h(5),C(s._hasTrailingIcon()?8:-1))},dependencies:[nh],styles:[`.mdc-evolution-chip, +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + display: inline-flex; + align-items: center; +} + +.mdc-evolution-chip { + position: relative; + max-width: 100%; +} + +.mat-mdc-chip-touch-target { + position: absolute; + top: 50%; + left: 0; + right: 0; + height: 48px; + transform: translateY(-50%); + display: var(--%NS%mat-chip-touch-target-display, block); + pointer-events: auto; +} + +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + height: 100%; +} + +.mdc-evolution-chip__cell--primary { + flex-basis: 100%; + overflow-x: hidden; +} + +.mdc-evolution-chip__cell--trailing { + flex: 1 0 auto; +} + +.mdc-evolution-chip__action { + align-items: center; + background: none; + border: none; + box-sizing: content-box; + cursor: pointer; + display: inline-flex; + justify-content: center; + outline: none; + padding: 0; + text-decoration: none; + color: inherit; +} + +.mdc-evolution-chip__action--presentational { + cursor: auto; +} + +.mdc-evolution-chip--disabled, +.mdc-evolution-chip__action:disabled { + pointer-events: none; +} +@media (forced-colors: active) { + .mdc-evolution-chip--disabled, + .mdc-evolution-chip__action:disabled { + forced-color-adjust: none; + } +} + +.mdc-evolution-chip__action--primary { + font: inherit; + letter-spacing: inherit; + white-space: inherit; + overflow-x: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-outline-width, 1px); + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + box-sizing: border-box; + content: ""; + height: 100%; + left: 0; + position: absolute; + pointer-events: none; + top: 0; + width: 100%; + z-index: 1; + border-style: solid; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline)); +} +.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before { + border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} +.mat-mdc-basic-chip .mdc-evolution-chip__action--primary { + font: inherit; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} + +.mdc-evolution-chip__action--secondary { + position: relative; + overflow: visible; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} + +.mdc-evolution-chip__text-label { + -webkit-user-select: none; + user-select: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__text-label { + font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size)); + font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mdc-evolution-chip__graphic { + align-items: center; + display: inline-flex; + justify-content: center; + overflow: hidden; + pointer-events: none; + position: relative; + flex: 1 0 auto; +} +.mat-mdc-standard-chip .mdc-evolution-chip__graphic { + width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic { + transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic { + width: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic { + padding-left: 0; +} + +.mdc-evolution-chip__checkmark { + position: absolute; + opacity: 0; + top: 50%; + left: 50%; + height: 20px; + width: 20px; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark { + transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); + transform: translate(-75%, -50%); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + transform: translate(-50%, -50%); + opacity: 1; +} + +.mdc-evolution-chip__checkmark-svg { + display: block; +} + +.mdc-evolution-chip__checkmark-path { + stroke-width: 2px; + stroke-dasharray: 29.7833385; + stroke-dashoffset: 29.7833385; + stroke: currentColor; +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path { + transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path { + stroke-dashoffset: 0; +} +@media (forced-colors: active) { + .mdc-evolution-chip__checkmark-path { + stroke: CanvasText !important; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing { + height: 18px; + width: 18px; + font-size: 18px; +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove { + opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus { + opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} + +.mat-mdc-standard-chip { + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + height: var(--%NS%mat-chip-container-height, 32px); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-container-color, transparent); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-elevated-disabled-container-color); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +@media (forced-colors: active) { + .mat-mdc-standard-chip { + outline: solid 1px; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary { + border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px); + width: var(--%NS%mat-chip-with-icon-icon-size, 18px); + height: var(--%NS%mat-chip-with-icon-icon-size, 18px); + font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary { + opacity: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-highlighted { + --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); + --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} + +.mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar { + opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38); +} + +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38); +} + +.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38); +} + +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + opacity: var(--%NS%mat-chip-disabled-container-opacity, 1); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-edit, .mat-mdc-chip-remove { + opacity: var(--%NS%mat-chip-trailing-action-opacity, 1); +} +.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus { + opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1); +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} +.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} + +.mat-mdc-chip-selected .mat-mdc-chip-remove::after, +.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} + +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} + +.mat-mdc-standard-chip { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-standard-chip .mat-mdc-chip-graphic, +.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon { + box-sizing: content-box; +} +.mat-mdc-standard-chip._mat-animation-noopable, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path { + transition-duration: 1ms; + animation-duration: 1ms; +} + +.mat-mdc-chip-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + opacity: 0; + border-radius: inherit; + transition: opacity 150ms linear; +} +._mat-animation-noopable .mat-mdc-chip-focus-overlay { + transition: none; +} +.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay { + display: none; +} + +.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} + +.mat-mdc-chip-avatar { + text-align: center; + line-height: 1; + color: var(--%NS%mat-chip-with-icon-icon-color, currentColor); +} + +.mat-mdc-chip { + position: relative; + z-index: 0; +} + +.mat-mdc-chip-action-label { + text-align: left; + z-index: 1; +} +[dir=rtl] .mat-mdc-chip-action-label { + text-align: right; +} +.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label { + position: relative; +} +.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + pointer-events: none; +} +.mat-mdc-chip-action-label .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before { + margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1); + left: 8px; + right: 8px; +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + content: ""; + display: block; + opacity: 0; + position: absolute; + top: -3px; + bottom: -3px; + left: 5px; + right: 5px; + border-radius: 50%; + box-sizing: border-box; + padding: 12px; + margin: -12px; + background-clip: content-box; +} +.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + box-sizing: content-box; +} + +.mat-chip-edit-input { + cursor: text; + display: inline-block; + color: inherit; + outline: 0; +} + +@media (forced-colors: active) { + .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) { + outline-width: 3px; + } +} + +.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before { + content: ""; +} + +.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + min-height: fit-content; +} + +img.mdc-evolution-chip__icon { + min-height: 0; +} +`],encapsulation:2})})()}return n})();var Ic=(()=>{class n extends ar{_defaultOptions=c(Nc,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(e){this._setSelectedState(e,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new J;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,t,o){e!==this.selected&&(this._selected=e,o&&this.selectionChange.emit({source:this,isUserInput:t,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275cmp=(function(){let e=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],t=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function o(a,l){a&1&&(p(0,"span",3),U(1,1),p(2,"span",8),sd(),p(3,"svg",9),ae(4,"path",10),m()()())}function r(a,l){a&1&&(p(0,"span",7),U(1,2),m())}return M({type:n,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(l,s){l&2&&(qe("id",s.id),Z("tabindex",null)("aria-label",null)("aria-description",null)("role",s.role),Q("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--filter",!s._isBasicChip)("mdc-evolution-chip--selectable",!s._isBasicChip)("mat-mdc-chip-selected",s.selected)("mat-mdc-chip-multiple",s._chipListMultiple)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-chip-with-avatar",s.leadingIcon)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--selected",s.selected)("mdc-evolution-chip--selecting",!s._animationsDisabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-primary-graphic",s._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",B],selected:[2,"selected","selected",B]},outputs:{selectionChange:"selectionChange"},features:[be([{provide:ar,useExisting:n},{provide:os,useExisting:n}]),de],ngContentSelectors:t,decls:9,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","presentation",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mat-mdc-chip-touch-target"],["role","presentation",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(l,s){l&1&&(Ce(e),ae(0,"span",0),p(1,"span",1)(2,"button",2),x(3,o,5,0,"span",3),p(4,"span",4),U(5),ae(6,"span",5)(7,"span",6),m()()(),x(8,r,2,0,"span",7)),l&2&&(h(2),ye("_allowFocusWhenDisabled",!0),Z("aria-description",s.ariaDescription)("aria-label",s.ariaLabel)("aria-selected",s.ariaSelected),h(),C(s._hasLeadingGraphic()?3:-1),h(5),C(s._hasTrailingIcon()?8:-1))},dependencies:[Ac],styles:[`.mdc-evolution-chip, +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + display: inline-flex; + align-items: center; +} + +.mdc-evolution-chip { + position: relative; + max-width: 100%; +} + +.mat-mdc-chip-touch-target { + position: absolute; + top: 50%; + left: 0; + right: 0; + height: 48px; + transform: translateY(-50%); + display: var(--%NS%mat-chip-touch-target-display, block); + pointer-events: auto; +} + +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + height: 100%; +} + +.mdc-evolution-chip__cell--primary { + flex-basis: 100%; + overflow-x: hidden; +} + +.mdc-evolution-chip__cell--trailing { + flex: 1 0 auto; +} + +.mdc-evolution-chip__action { + align-items: center; + background: none; + border: none; + box-sizing: content-box; + cursor: pointer; + display: inline-flex; + justify-content: center; + outline: none; + padding: 0; + text-decoration: none; + color: inherit; +} + +.mdc-evolution-chip__action--presentational { + cursor: auto; +} + +.mdc-evolution-chip--disabled, +.mdc-evolution-chip__action:disabled { + pointer-events: none; +} +@media (forced-colors: active) { + .mdc-evolution-chip--disabled, + .mdc-evolution-chip__action:disabled { + forced-color-adjust: none; + } +} + +.mdc-evolution-chip__action--primary { + font: inherit; + letter-spacing: inherit; + white-space: inherit; + overflow-x: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-outline-width, 1px); + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + box-sizing: border-box; + content: ""; + height: 100%; + left: 0; + position: absolute; + pointer-events: none; + top: 0; + width: 100%; + z-index: 1; + border-style: solid; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline)); +} +.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before { + border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} +.mat-mdc-basic-chip .mdc-evolution-chip__action--primary { + font: inherit; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} + +.mdc-evolution-chip__action--secondary { + position: relative; + overflow: visible; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} + +.mdc-evolution-chip__text-label { + -webkit-user-select: none; + user-select: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__text-label { + font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size)); + font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mdc-evolution-chip__graphic { + align-items: center; + display: inline-flex; + justify-content: center; + overflow: hidden; + pointer-events: none; + position: relative; + flex: 1 0 auto; +} +.mat-mdc-standard-chip .mdc-evolution-chip__graphic { + width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic { + transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic { + width: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic { + padding-left: 0; +} + +.mdc-evolution-chip__checkmark { + position: absolute; + opacity: 0; + top: 50%; + left: 50%; + height: 20px; + width: 20px; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark { + transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); + transform: translate(-75%, -50%); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + transform: translate(-50%, -50%); + opacity: 1; +} + +.mdc-evolution-chip__checkmark-svg { + display: block; +} + +.mdc-evolution-chip__checkmark-path { + stroke-width: 2px; + stroke-dasharray: 29.7833385; + stroke-dashoffset: 29.7833385; + stroke: currentColor; +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path { + transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path { + stroke-dashoffset: 0; +} +@media (forced-colors: active) { + .mdc-evolution-chip__checkmark-path { + stroke: CanvasText !important; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing { + height: 18px; + width: 18px; + font-size: 18px; +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove { + opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus { + opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} + +.mat-mdc-standard-chip { + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + height: var(--%NS%mat-chip-container-height, 32px); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-container-color, transparent); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-elevated-disabled-container-color); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +@media (forced-colors: active) { + .mat-mdc-standard-chip { + outline: solid 1px; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary { + border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px); + width: var(--%NS%mat-chip-with-icon-icon-size, 18px); + height: var(--%NS%mat-chip-with-icon-icon-size, 18px); + font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary { + opacity: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-highlighted { + --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); + --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} + +.mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar { + opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38); +} + +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38); +} + +.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38); +} + +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + opacity: var(--%NS%mat-chip-disabled-container-opacity, 1); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-edit, .mat-mdc-chip-remove { + opacity: var(--%NS%mat-chip-trailing-action-opacity, 1); +} +.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus { + opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1); +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} +.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} + +.mat-mdc-chip-selected .mat-mdc-chip-remove::after, +.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} + +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} + +.mat-mdc-standard-chip { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-standard-chip .mat-mdc-chip-graphic, +.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon { + box-sizing: content-box; +} +.mat-mdc-standard-chip._mat-animation-noopable, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path { + transition-duration: 1ms; + animation-duration: 1ms; +} + +.mat-mdc-chip-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + opacity: 0; + border-radius: inherit; + transition: opacity 150ms linear; +} +._mat-animation-noopable .mat-mdc-chip-focus-overlay { + transition: none; +} +.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay { + display: none; +} + +.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} + +.mat-mdc-chip-avatar { + text-align: center; + line-height: 1; + color: var(--%NS%mat-chip-with-icon-icon-color, currentColor); +} + +.mat-mdc-chip { + position: relative; + z-index: 0; +} + +.mat-mdc-chip-action-label { + text-align: left; + z-index: 1; +} +[dir=rtl] .mat-mdc-chip-action-label { + text-align: right; +} +.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label { + position: relative; +} +.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + pointer-events: none; +} +.mat-mdc-chip-action-label .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before { + margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1); + left: 8px; + right: 8px; +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + content: ""; + display: block; + opacity: 0; + position: absolute; + top: -3px; + bottom: -3px; + left: 5px; + right: 5px; + border-radius: 50%; + box-sizing: border-box; + padding: 12px; + margin: -12px; + background-clip: content-box; +} +.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + box-sizing: content-box; +} + +.mat-chip-edit-input { + cursor: text; + display: inline-block; + color: inherit; + outline: 0; +} + +@media (forced-colors: active) { + .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) { + outline-width: 3px; + } +} + +.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before { + content: ""; +} + +.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + min-height: fit-content; +} + +img.mdc-evolution-chip__icon { + min-height: 0; +} +`],encapsulation:2})})()}return n})(),Sc=(()=>{class n{_elementRef=c(L);_document=c(F);initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return n})(),sr=(()=>{class n extends ar{basicChipAttrName="mat-basic-chip-row";_renderer=c(ve);_cleanupMousedown;_editStartPending=!1;editable=!1;edited=new J;defaultEditInput;contentEditInput;_alreadyFocused=!1;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe(_e(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish(),this._alreadyFocused=!1})}ngAfterViewInit(){super.ngAfterViewInit(),this._cleanupMousedown=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"mousedown",()=>{this._alreadyFocused=this._hasFocus()}))}ngOnDestroy(){super.ngOnDestroy(),this._cleanupMousedown?.()}_hasLeadingActionIcon(){return!this._isEditing&&!!this.editIcon}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleClick(e){!this.disabled&&this.editable&&!this._isEditing&&this._alreadyFocused&&(e.preventDefault(),e.stopPropagation(),this._startEditing(e))}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_edit(){this._changeDetectorRef.markForCheck(),this._startEditing()}_startEditing(e){if(!this.primaryAction||this.removeIcon&&e&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,Je(()=>{this._getEditInput().initialize(t),setTimeout(()=>this._ngZone.run(()=>this._editStartPending=!1))},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=[[["","matChipEdit",""]],[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],t=["[matChipEdit]","mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function o(b,S){b&1&&ae(0,"span",0)}function r(b,S){b&1&&(p(0,"span",1),U(1),m())}function a(b,S){b&1&&(p(0,"span",3),U(1,1),m())}function l(b,S){b&1&&U(0,2)}function s(b,S){b&1&&ae(0,"span",8)}function u(b,S){if(b&1&&x(0,l,1,0)(1,s,1,0,"span",8),b&2){let w=E();C(w.contentEditInput?0:1)}}function d(b,S){b&1&&U(0,3)}function v(b,S){b&1&&(p(0,"span",7),U(1,4),m())}return M({type:n,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(S,w,j){if(S&1&&mt(j,Sc,5),S&2){let ne;$(ne=G())&&(w.contentEditInput=ne.first)}},viewQuery:function(S,w){if(S&1&&bt(Sc,5),S&2){let j;$(j=G())&&(w.defaultEditInput=j.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:29,hostBindings:function(S,w){S&1&&V("focus",function(){return w._handleFocus()})("click",function(ne){return w._hasInteractiveActions()?w._handleClick(ne):null})("dblclick",function(ne){return w._handleDoubleclick(ne)}),S&2&&(qe("id",w.id),Z("tabindex",w.disabled?null:-1)("aria-label",null)("aria-description",null)("role",w.role),Q("mat-mdc-chip-with-avatar",w.leadingIcon)("mat-mdc-chip-disabled",w.disabled)("mat-mdc-chip-editing",w._isEditing)("mat-mdc-chip-editable",w.editable)("mdc-evolution-chip--disabled",w.disabled)("mdc-evolution-chip--with-leading-action",w._hasLeadingActionIcon())("mdc-evolution-chip--with-trailing-action",w._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",w.leadingIcon)("mdc-evolution-chip--with-primary-icon",w.leadingIcon)("mdc-evolution-chip--with-avatar",w.leadingIcon)("mat-mdc-chip-highlighted",w.highlighted)("mat-mdc-chip-with-trailing-icon",w._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[be([{provide:ar,useExisting:n},{provide:os,useExisting:n}]),de],ngContentSelectors:t,decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--leading"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mat-mdc-chip-touch-target"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],["matChipEditInput",""]],template:function(S,w){S&1&&(Ce(e),x(0,o,1,0,"span",0),x(1,r,2,0,"span",1),p(2,"span",2),x(3,a,2,0,"span",3),p(4,"span",4),x(5,u,2,1)(6,d,1,0),ae(7,"span",5),m(),ae(8,"span",6),m(),x(9,v,2,0,"span",7)),S&2&&(C(w._isEditing?-1:0),h(),C(w._hasLeadingActionIcon()?1:-1),h(),ye("disabled",w.disabled),Z("aria-description",w.ariaDescription)("aria-label",w.ariaLabel),h(),C(w.leadingIcon?3:-1),h(2),C(w._isEditing?5:6),h(4),C(w._hasTrailingIcon()?9:-1))},dependencies:[Ac,Sc],styles:[`.mdc-evolution-chip, +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + display: inline-flex; + align-items: center; +} + +.mdc-evolution-chip { + position: relative; + max-width: 100%; +} + +.mat-mdc-chip-touch-target { + position: absolute; + top: 50%; + left: 0; + right: 0; + height: 48px; + transform: translateY(-50%); + display: var(--%NS%mat-chip-touch-target-display, block); + pointer-events: auto; +} + +.mdc-evolution-chip__cell, +.mdc-evolution-chip__action { + height: 100%; +} + +.mdc-evolution-chip__cell--primary { + flex-basis: 100%; + overflow-x: hidden; +} + +.mdc-evolution-chip__cell--trailing { + flex: 1 0 auto; +} + +.mdc-evolution-chip__action { + align-items: center; + background: none; + border: none; + box-sizing: content-box; + cursor: pointer; + display: inline-flex; + justify-content: center; + outline: none; + padding: 0; + text-decoration: none; + color: inherit; +} + +.mdc-evolution-chip__action--presentational { + cursor: auto; +} + +.mdc-evolution-chip--disabled, +.mdc-evolution-chip__action:disabled { + pointer-events: none; +} +@media (forced-colors: active) { + .mdc-evolution-chip--disabled, + .mdc-evolution-chip__action:disabled { + forced-color-adjust: none; + } +} + +.mdc-evolution-chip__action--primary { + font: inherit; + letter-spacing: inherit; + white-space: inherit; + overflow-x: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-outline-width, 1px); + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + box-sizing: border-box; + content: ""; + height: 100%; + left: 0; + position: absolute; + pointer-events: none; + top: 0; + width: 100%; + z-index: 1; + border-style: solid; +} +.mat-mdc-standard-chip .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-outline-color, var(--%NS%mat-sys-outline)); +} +.mdc-evolution-chip__action--%NS%primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before { + border-color: var(--%NS%mat-chip-focus-outline-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--%NS%primary::before { + border-color: var(--%NS%mat-chip-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--%NS%primary::before { + border-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} +.mat-mdc-basic-chip .mdc-evolution-chip__action--primary { + font: inherit; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 12px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary { + padding-left: 12px; + padding-right: 0; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary { + padding-left: 0; + padding-right: 0; +} + +.mdc-evolution-chip__action--secondary { + position: relative; + overflow: visible; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-trailing-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary { + color: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary { + padding-left: 8px; + padding-right: 8px; +} + +.mdc-evolution-chip__text-label { + -webkit-user-select: none; + user-select: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.mat-mdc-standard-chip .mdc-evolution-chip__text-label { + font-family: var(--%NS%mat-chip-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-chip-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-chip-label-text-size, var(--%NS%mat-sys-label-large-size)); + font-weight: var(--%NS%mat-chip-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + letter-spacing: var(--%NS%mat-chip-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-label-text-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label { + color: var(--%NS%mat-chip-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mdc-evolution-chip__graphic { + align-items: center; + display: inline-flex; + justify-content: center; + overflow: hidden; + pointer-events: none; + position: relative; + flex: 1 0 auto; +} +.mat-mdc-standard-chip .mdc-evolution-chip__graphic { + width: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + height: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); + font-size: var(--%NS%mat-chip-with-avatar-avatar-size, 24px); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic { + transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--%NS%selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic { + width: 0; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 6px; + padding-right: 6px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 4px; + padding-right: 8px; +} +[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic { + padding-left: 8px; + padding-right: 4px; +} +.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic { + padding-left: 0; +} + +.mdc-evolution-chip__checkmark { + position: absolute; + opacity: 0; + top: 50%; + left: 50%; + height: 20px; + width: 20px; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark { + transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1); + transform: translate(-75%, -50%); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + transform: translate(-50%, -50%); + opacity: 1; +} + +.mdc-evolution-chip__checkmark-svg { + display: block; +} + +.mdc-evolution-chip__checkmark-path { + stroke-width: 2px; + stroke-dasharray: 29.7833385; + stroke-dashoffset: 29.7833385; + stroke: currentColor; +} +.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path { + transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path { + stroke-dashoffset: 0; +} +@media (forced-colors: active) { + .mdc-evolution-chip__checkmark-path { + stroke: CanvasText !important; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing { + height: 18px; + width: 18px; + font-size: 18px; +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove { + opacity: calc(var(--%NS%mat-chip-trailing-action-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus { + opacity: calc(var(--%NS%mat-chip-trailing-action-focus-opacity, 1) * var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)); +} + +.mat-mdc-standard-chip { + border-radius: var(--%NS%mat-chip-container-shape-radius, 8px); + height: var(--%NS%mat-chip-container-height, 32px); +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-container-color, transparent); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-elevated-disabled-container-color); +} +.mat-mdc-standard-chip.mdc-evolution-chip--%NS%selected:not(.mdc-evolution-chip--disabled) { + background-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled { + background-color: var(--%NS%mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +@media (forced-colors: active) { + .mat-mdc-standard-chip { + outline: solid 1px; + } +} + +.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary { + border-radius: var(--%NS%mat-chip-with-avatar-avatar-shape-radius, 24px); + width: var(--%NS%mat-chip-with-icon-icon-size, 18px); + height: var(--%NS%mat-chip-with-icon-icon-size, 18px); + font-size: var(--%NS%mat-chip-with-icon-icon-size, 18px); +} +.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary { + opacity: 0; +} +.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-icon-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary { + color: var(--%NS%mat-chip-with-icon-disabled-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-highlighted { + --%NS%mat-chip-with-icon-icon-color: var(--%NS%mat-chip-with-icon-selected-icon-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-elevated-container-color: var(--%NS%mat-chip-elevated-selected-container-color, var(--%NS%mat-sys-secondary-container)); + --%NS%mat-chip-label-text-color: var(--%NS%mat-chip-selected-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + --%NS%mat-chip-outline-width: var(--%NS%mat-chip-flat-selected-outline-width, 0); +} + +.mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-hover-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-hover-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-focus-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); + opacity: var(--%NS%mat-chip-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay { + background: var(--%NS%mat-chip-selected-focus-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); + opacity: var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} + +.mdc-evolution-chip--%NS%disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar { + opacity: var(--%NS%mat-chip-with-avatar-disabled-avatar-opacity, 0.38); +} + +.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + opacity: var(--%NS%mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38); +} + +.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark { + opacity: var(--%NS%mat-chip-with-icon-disabled-icon-opacity, 0.38); +} + +.mat-mdc-standard-chip.mdc-evolution-chip--disabled { + opacity: var(--%NS%mat-chip-disabled-container-opacity, 1); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-trailing-icon-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing { + color: var(--%NS%mat-chip-selected-disabled-trailing-icon-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-mdc-chip-edit, .mat-mdc-chip-remove { + opacity: var(--%NS%mat-chip-trailing-action-opacity, 1); +} +.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus { + opacity: var(--%NS%mat-chip-trailing-action-focus-opacity, 1); +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-trailing-action-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} +.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} + +.mat-mdc-chip-selected .mat-mdc-chip-remove::after, +.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after { + background-color: var(--%NS%mat-chip-selected-trailing-action-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} + +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity))); +} +.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after { + opacity: calc(var(--%NS%mat-chip-selected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)) + var(--%NS%mat-chip-trailing-action-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity))); +} + +.mat-mdc-standard-chip { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-standard-chip .mat-mdc-chip-graphic, +.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon { + box-sizing: content-box; +} +.mat-mdc-standard-chip._mat-animation-noopable, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark, +.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path { + transition-duration: 1ms; + animation-duration: 1ms; +} + +.mat-mdc-chip-focus-overlay { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + opacity: 0; + border-radius: inherit; + transition: opacity 150ms linear; +} +._mat-animation-noopable .mat-mdc-chip-focus-overlay { + transition: none; +} +.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay { + display: none; +} + +.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} + +.mat-mdc-chip-avatar { + text-align: center; + line-height: 1; + color: var(--%NS%mat-chip-with-icon-icon-color, currentColor); +} + +.mat-mdc-chip { + position: relative; + z-index: 0; +} + +.mat-mdc-chip-action-label { + text-align: left; + z-index: 1; +} +[dir=rtl] .mat-mdc-chip-action-label { + text-align: right; +} +.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label { + position: relative; +} +.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + pointer-events: none; +} +.mat-mdc-chip-action-label .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before { + margin: calc(var(--%NS%mat-focus-indicator-border-width, 3px) * -1); + left: 8px; + right: 8px; +} +.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after { + content: ""; + display: block; + opacity: 0; + position: absolute; + top: -3px; + bottom: -3px; + left: 5px; + right: 5px; + border-radius: 50%; + box-sizing: border-box; + padding: 12px; + margin: -12px; + background-clip: content-box; +} +.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + width: 18px; + height: 18px; + font-size: 18px; + box-sizing: content-box; +} + +.mat-chip-edit-input { + cursor: text; + display: inline-block; + color: inherit; + outline: 0; +} + +@media (forced-colors: active) { + .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) { + outline-width: 3px; + } +} + +.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before { + content: ""; +} + +.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon { + min-height: fit-content; +} + +img.mdc-evolution-chip__icon { + min-height: 0; +} +`],encapsulation:2})})()}return n})(),ih=(()=>{class n{_elementRef=c(L);_changeDetectorRef=c(we);_dir=c(ft,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new I;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new ro;ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Ue(null),Ne(()=>Mt(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Ue(this._chips)).subscribe(e=>{let t=[];e.forEach(o=>o._getActions().forEach(r=>t.push(r))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new Jo(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(_e(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe(_e(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ue(null),_e(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(_e(this._destroyed)).subscribe(e=>{let o=this._chips.toArray().indexOf(e.chip),r=e.chip._hasFocus(),a=e.chip._hadFocusOnRemove&&this._keyManager.activeItem&&e.chip._getActions().includes(this._keyManager.activeItem),l=r||a;this._isValidIndex(o)&&l&&(this._lastDestroyedFocusedChipIndex=o)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){return M({type:n,selectors:[["mat-chip-set"]],contentQueries:function(o,r,a){if(o&1&&mt(a,ar,5),o&2){let l;$(l=G())&&(r._chips=l)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(o,r){o&1&&V("keydown",function(l){return r._handleKeydown(l)}),o&2&&Z("role",r.role)},inputs:{disabled:[2,"disabled","disabled",B],role:"role",tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:hi(t)]},ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(o,r){o&1&&(Ce(),ot(0,"div",0),U(1),rt())},styles:[`.mat-mdc-chip-set { + display: flex; +} +.mat-mdc-chip-set:focus { + outline: none; +} +.mat-mdc-chip-set .mdc-evolution-chip-set__chips { + min-width: 100%; + margin-left: -8px; + margin-right: 0; +} +.mat-mdc-chip-set .mdc-evolution-chip { + margin: 8px 0 8px 8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips { + margin-left: 0; + margin-right: -8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip { + margin-left: 0; + margin-right: 8px; +} + +.mdc-evolution-chip-set__chips { + display: flex; + flex-flow: wrap; + min-width: 0; +} + +.mat-mdc-chip-set-stacked { + flex-direction: column; + align-items: flex-start; +} +.mat-mdc-chip-set-stacked .mat-mdc-chip { + width: 100%; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic { + flex-grow: 0; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary { + flex-basis: 100%; + justify-content: start; +} + +input.mat-mdc-chip-input { + flex: 1 0 150px; + margin-left: 8px; +} +[dir=rtl] input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 8px; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder { + opacity: 1; +} +.mat-mdc-chip-set + input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 0; +} +`],encapsulation:2})})()}return n})(),Dc=class{source;value;constructor(i,e){this.source=i,this.value=e}},hy={provide:Kn,useExisting:Ze(()=>kc),multi:!0},kc=(()=>{class n extends ih{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=c(Nc,{optional:!0});get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties()}_multiple=!1;get selected(){let e=this._chips.toArray().filter(t=>t.selected);return this.multiple?e:e[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties()}_selectable=!0;compareWith=(e,t)=>e===t;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this._chips&&this._chips.length&&this._setSelectionByValue(e,!1),this._value=e}_value;change=new J;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(Ue(null),_e(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe(_e(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(_e(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(t=>{t!==e.source&&t._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){e!=null?this.value=e:this.value=void 0}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,t=!0){this._clearSelection(),Array.isArray(e)?e.forEach(o=>this._selectValue(o,t)):this._selectValue(e,t)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(e){e.keyCode===9&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(t=>t.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new Dc(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(t=>{t!==e&&t.deselect()})}_selectValue(e,t){let o=this._chips.find(r=>r.value!=null&&this.compareWith(r.value,e));return o&&(t?o.selectViaInteraction():o.select()),o}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!1}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275cmp=(function(){let e=["*"];return M({type:n,selectors:[["mat-chip-listbox"]],contentQueries:function(o,r,a){if(o&1&&mt(a,Ic,5),o&2){let l;$(l=G())&&(r._chips=l)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(o,r){o&1&&V("focus",function(){return r.focus()})("blur",function(){return r._blur()})("keydown",function(l){return r._keydown(l)}),o&2&&(qe("tabIndex",r.disabled||r.empty?-1:r.tabIndex),Z("role",r.role)("aria-required",r.role?r.required:null)("aria-disabled",r.disabled.toString())("aria-multiselectable",r.multiple)("aria-orientation",r.ariaOrientation),Q("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-required",r.required))},inputs:{multiple:[2,"multiple","multiple",B],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",B],compareWith:"compareWith",required:[2,"required","required",B],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B],value:"value"},outputs:{change:"change"},features:[be([hy]),de],ngContentSelectors:e,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(o,r){o&1&&(Ce(),ot(0,"div",0),U(1),rt())},styles:[`.mat-mdc-chip-set { + display: flex; +} +.mat-mdc-chip-set:focus { + outline: none; +} +.mat-mdc-chip-set .mdc-evolution-chip-set__chips { + min-width: 100%; + margin-left: -8px; + margin-right: 0; +} +.mat-mdc-chip-set .mdc-evolution-chip { + margin: 8px 0 8px 8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips { + margin-left: 0; + margin-right: -8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip { + margin-left: 0; + margin-right: 8px; +} + +.mdc-evolution-chip-set__chips { + display: flex; + flex-flow: wrap; + min-width: 0; +} + +.mat-mdc-chip-set-stacked { + flex-direction: column; + align-items: flex-start; +} +.mat-mdc-chip-set-stacked .mat-mdc-chip { + width: 100%; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic { + flex-grow: 0; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary { + flex-basis: 100%; + justify-content: start; +} + +input.mat-mdc-chip-input { + flex: 1 0 150px; + margin-left: 8px; +} +[dir=rtl] input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 8px; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder { + opacity: 1; +} +.mat-mdc-chip-set + input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 0; +} +`],encapsulation:2})})()}return n})(),Ec=class{source;value;constructor(i,e){this.source=i,this.value=e}},rs=(()=>{class n extends ih{ngControl=c(Rt,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_uid=c(Se).getId("mat-chip-grid-");_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput?this._chipInput.id:this._uid}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder="";get focused(){return this._chipInput?.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(qn.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}change=new J;valueChange=new J;_chips=void 0;stateChanges=new I;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(){super();let e=c(wt,{optional:!0}),t=c(Wo,{optional:!0}),o=c(ns),r=c(ts,{optional:!0,self:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new Ki(o,r||this.ngControl,t,e,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe(_e(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Mt(this.chipFocusChanges,this._chips.changes).pipe(_e(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds),this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput?.focused)){if(!this._chips.length||this._chips.first.disabled){if(!this._chipInput)return;Promise.resolve().then(()=>this._chipInput.focus())}else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}get describedByIds(){if(this._chipInput)return this._chipInput.describedByIds||[];let e=this._elementRef.nativeElement.getAttribute("aria-describedby");return e?e.split(" "):[]}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?this._chipInput.setDescribedByIds(e):e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput?.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,o=this._keyManager.activeItem;if(t===9)this._chipInput?.focused&&tt(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),o?this._keyManager.setActiveItem(o):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput?.focused)if((t===38||t===40)&&o){let r=this._chipActions.filter(s=>s._isPrimary===o._isPrimary&&!this._skipPredicate(s)),a=r.indexOf(o),l=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+l)&&this._keyManager.setActiveItem(r[a+l])}else super._handleKeydown(e);this.stateChanges.next()}_redirectDestroyedChipFocus(){this._lastDestroyedFocusedChipIndex!==null&&(super._redirectDestroyedChipFocus(),(!this._chips.length||this._chips.length===1&&this._chips.first.disabled)&&this._keyManager.updateActiveItem(-1))}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Ec(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["*"];return M({type:n,selectors:[["mat-chip-grid"]],contentQueries:function(o,r,a){if(o&1&&mt(a,sr,5),o&2){let l;$(l=G())&&(r._chips=l)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(o,r){o&1&&V("focus",function(){return r.focus()})("blur",function(){return r._blur()}),o&2&&(Z("role",r.role)("tabindex",r.disabled||r._chips&&r._chips.length===0?-1:r.tabIndex)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState),Q("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-invalid",r.errorState)("mat-mdc-chip-list-required",r.required))},inputs:{disabled:[2,"disabled","disabled",B],placeholder:"placeholder",required:[2,"required","required",B],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[be([{provide:rr,useExisting:n}]),de],ngContentSelectors:e,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(o,r){o&1&&(Ce(),ot(0,"div",0),U(1),rt())},styles:[`.mat-mdc-chip-set { + display: flex; +} +.mat-mdc-chip-set:focus { + outline: none; +} +.mat-mdc-chip-set .mdc-evolution-chip-set__chips { + min-width: 100%; + margin-left: -8px; + margin-right: 0; +} +.mat-mdc-chip-set .mdc-evolution-chip { + margin: 8px 0 8px 8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips { + margin-left: 0; + margin-right: -8px; +} +[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip { + margin-left: 0; + margin-right: 8px; +} + +.mdc-evolution-chip-set__chips { + display: flex; + flex-flow: wrap; + min-width: 0; +} + +.mat-mdc-chip-set-stacked { + flex-direction: column; + align-items: flex-start; +} +.mat-mdc-chip-set-stacked .mat-mdc-chip { + width: 100%; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic { + flex-grow: 0; +} +.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary { + flex-basis: 100%; + justify-content: start; +} + +input.mat-mdc-chip-input { + flex: 1 0 150px; + margin-left: 8px; +} +[dir=rtl] input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 8px; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder { + opacity: 1; +} +.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder { + opacity: 1; +} +.mat-mdc-chip-set + input.mat-mdc-chip-input { + margin-left: 0; + margin-right: 0; +} +`],encapsulation:2})})()}return n})(),oh=(()=>{class n{_elementRef=c(L);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new J;placeholder="";id=c(Se).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}_disabled=!1;readonly=!1;disabledInteractive;get empty(){return!this.inputElement.value}inputElement;constructor(){let e=c(Nc),t=c(ti,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=e.separatorKeyCodes,this.disabledInteractive=e.inputDisabledInteractive??!1,t&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e)&&!e.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){if(!this.separatorKeyCodes)return!1;for(let t of this.separatorKeyCodes){let o,r;typeof t=="number"?(o=t,r=null):(o=t.keyCode,r=t.modifiers);let a=r?.length?tt(e,...r):!tt(e);if(o===e.keyCode&&a)return!0}return!1}_getReadonlyAttribute(){return this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:8,hostBindings:function(t,o){t&1&&V("keydown",function(a){return o._keydown(a)})("blur",function(){return o._blur()})("focus",function(){return o._focus()})("input",function(){return o._onInput()}),t&2&&(qe("id",o.id),Z("disabled",o.disabled&&!o.disabledInteractive?"":null)("placeholder",o.placeholder||null)("aria-invalid",o._chipGrid&&o._chipGrid.ngControl?o._chipGrid.ngControl.invalid:null)("aria-required",o._chipGrid&&o._chipGrid.required||null)("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("readonly",o._getReadonlyAttribute())("required",o._chipGrid&&o._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",B],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",B],readonly:[2,"readonly","readonly",B],disabledInteractive:[2,"matChipInputDisabledInteractive","disabledInteractive",B]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[xe]})}return n})();var rh=(()=>{class n{_animationsDisabled=$e();state="unchecked";disabled=!1;appearance="full";static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&Q("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,o){},styles:[`.mat-pseudo-checkbox { + border-radius: 2px; + cursor: pointer; + display: inline-block; + vertical-align: middle; + box-sizing: border-box; + position: relative; + flex-shrink: 0; + transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1); +} +.mat-pseudo-checkbox::after { + position: absolute; + opacity: 0; + content: ""; + border-bottom: 2px solid currentColor; + transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1); +} +.mat-pseudo-checkbox._mat-animation-noopable { + transition: none !important; + animation: none !important; +} +.mat-pseudo-checkbox._mat-animation-noopable::after { + transition: none; +} + +.mat-pseudo-checkbox-disabled { + cursor: default; +} + +.mat-pseudo-checkbox-indeterminate::after { + left: 1px; + opacity: 1; + border-radius: 2px; +} + +.mat-pseudo-checkbox-checked::after { + left: 1px; + border-left: 2px solid currentColor; + transform: rotate(-45deg); + opacity: 1; + box-sizing: content-box; +} + +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { + color: var(--%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--%NS%mat-sys-primary)); +} +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { + color: var(--%NS%mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} + +.mat-pseudo-checkbox-full { + border-color: var(--%NS%mat-pseudo-checkbox-full-unselected-icon-color, var(--%NS%mat-sys-on-surface-variant)); + border-width: 2px; + border-style: solid; +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { + border-color: var(--%NS%mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate { + background-color: var(--%NS%mat-pseudo-checkbox-full-selected-icon-color, var(--%NS%mat-sys-primary)); + border-color: transparent; +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { + color: var(--%NS%mat-pseudo-checkbox-full-selected-checkmark-color, var(--%NS%mat-sys-on-primary)); +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled { + background-color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { + color: var(--%NS%mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--%NS%mat-sys-surface)); +} + +.mat-pseudo-checkbox { + width: 18px; + height: 18px; +} + +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after { + width: 14px; + height: 6px; + transform-origin: center; + top: -4.2426406871px; + left: 0; + bottom: 0; + right: 0; + margin: auto; +} +.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { + top: 8px; + width: 16px; +} + +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after { + width: 10px; + height: 4px; + transform-origin: center; + top: -2.8284271247px; + left: 0; + bottom: 0; + right: 0; + margin: auto; +} +.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { + top: 6px; + width: 12px; +} +`],encapsulation:2})}return n})();var Rc=new y("MAT_OPTION_PARENT_COMPONENT"),Tc=new y("MatOptgroup");var lr=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},Yi=(()=>{class n{_element=c(L);_changeDetectorRef=c(we);_parent=c(Rc,{optional:!0});group=c(Tc,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=c(Se).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=X(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new J;_text;_stateChanges=new I;constructor(){let e=c(Ye);e.load(Jn),e.load(Vi),this._signalDisableRipple=!!this._parent&&Nt(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!tt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new lr(this,e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["text"],t=[[["mat-icon"]],"*"],o=["mat-icon","*"];function r(s,u){if(s&1&&ae(0,"mat-pseudo-checkbox",1),s&2){let d=E();ye("disabled",d.disabled)("state",d.selected?"checked":"unchecked")}}function a(s,u){if(s&1&&ae(0,"mat-pseudo-checkbox",3),s&2){let d=E();ye("disabled",d.disabled)}}function l(s,u){if(s&1&&(p(0,"span",4),g(1),m()),s&2){let d=E();h(),ke("(",d.group.label,")")}}return M({type:n,selectors:[["mat-option"]],viewQuery:function(u,d){if(u&1&&bt(e,7),u&2){let v;$(v=G())&&(d._text=v.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(u,d){u&1&&V("click",function(){return d._selectViaInteraction()})("keydown",function(b){return d._handleKeydown(b)}),u&2&&(qe("id",d.id),Z("aria-selected",d.selected)("aria-disabled",d.disabled.toString()),Q("mdc-list-item--selected",d.selected)("mat-mdc-option-multiple",d.multiple)("mat-mdc-option-active",d.active)("mdc-list-item--disabled",d.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",B]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:o,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(u,d){u&1&&(Ce(t),x(0,r,1,2,"mat-pseudo-checkbox",1),U(1),p(2,"span",2,0),U(4,1),m(),x(5,a,1,1,"mat-pseudo-checkbox",3),x(6,l,2,1,"span",4),ae(7,"div",5)),u&2&&(C(d.multiple?0:-1),h(5),C(!d.multiple&&d.selected&&!d.hideSingleSelectionIndicator?5:-1),h(),C(d.group&&d.group._inert?6:-1),h(),ye("matRippleTrigger",d._getHostElement())("matRippleDisabled",d.disabled||d.disableRipple))},dependencies:[rh,Pp],styles:[`.mat-mdc-option { + -webkit-user-select: none; + user-select: none; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: flex; + position: relative; + align-items: center; + justify-content: flex-start; + overflow: hidden; + min-height: 48px; + padding: 0 16px; + cursor: pointer; + -webkit-tap-highlight-color: transparent; + color: var(--%NS%mat-option-label-text-color, var(--%NS%mat-sys-on-surface)); + font-family: var(--%NS%mat-option-label-text-font, var(--%NS%mat-sys-label-large-font)); + line-height: var(--%NS%mat-option-label-text-line-height, var(--%NS%mat-sys-label-large-line-height)); + font-size: var(--%NS%mat-option-label-text-size, var(--%NS%mat-sys-body-large-size)); + letter-spacing: var(--%NS%mat-option-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + font-weight: var(--%NS%mat-option-label-text-weight, var(--%NS%mat-sys-body-large-weight)); +} +.mat-mdc-option:hover:not(.mdc-list-item--disabled) { + background-color: var(--%NS%mat-option-hover-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-hover-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-option:focus.mdc-list-item, .mat-mdc-option.mat-mdc-option-active.mdc-list-item { + background-color: var(--%NS%mat-option-focus-state-layer-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) calc(var(--%NS%mat-sys-focus-state-layer-opacity) * 100%), transparent)); + outline: 0; +} +.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) { + background-color: var(--%NS%mat-option-selected-state-layer-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-mdc-option.mdc-list-item--%NS%selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-active, .mat-mdc-option-multiple, :focus, :hover) .mdc-list-item__primary-text { + color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-option .mat-pseudo-checkbox { + --%NS%mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--%NS%mat-option-selected-state-label-text-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-mdc-option.mdc-list-item { + align-items: center; + background: transparent; +} +.mat-mdc-option.mdc-list-item--disabled { + cursor: default; + pointer-events: none; +} +.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox, .mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text, .mat-mdc-option.mdc-list-item--disabled > mat-icon { + opacity: 0.38; +} +.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { + padding-left: 32px; +} +[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple) { + padding-left: 16px; + padding-right: 32px; +} +.mat-mdc-option .mat-icon, +.mat-mdc-option .mat-pseudo-checkbox-full { + margin-right: 16px; + flex-shrink: 0; +} +[dir=rtl] .mat-mdc-option .mat-icon, +[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full { + margin-right: 0; + margin-left: 16px; +} +.mat-mdc-option .mat-pseudo-checkbox-minimal { + margin-left: 16px; + flex-shrink: 0; +} +[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal { + margin-right: 16px; + margin-left: 0; +} +.mat-mdc-option .mat-mdc-option-ripple { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; +} +.mat-mdc-option .mdc-list-item__primary-text { + white-space: normal; + font-size: inherit; + font-weight: inherit; + letter-spacing: inherit; + line-height: inherit; + font-family: inherit; + text-decoration: inherit; + text-transform: inherit; + margin-right: auto; +} +[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text { + margin-right: 0; + margin-left: auto; +} +@media (forced-colors: active) { + .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { + content: ""; + position: absolute; + top: 50%; + right: 16px; + transform: translateY(-50%); + width: 10px; + height: 0; + border-bottom: solid 10px; + border-radius: 10px; + } + [dir=rtl] .mat-mdc-option.mdc-list-item--%NS%selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after { + right: auto; + left: 16px; + } +} + +.mat-mdc-option-multiple { + --%NS%mat-list-list-item-selected-container-color: var(--%NS%mat-list-list-item-container-color, transparent); +} + +.mat-mdc-option-active .mat-focus-indicator::before { + content: ""; +} +`],encapsulation:2})})()}return n})();function ah(n,i,e){if(e.length){let t=i.toArray(),o=e.toArray(),r=0;for(let a=0;ae+t?Math.max(0,n-t+i):e}var gy=20,Oc=(()=>{class n{_ngZone=c(P);_platform=c(pe);_renderer=c(He).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new I;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=gy){return this._platform.isBrowser?new ct(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(Cs(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):T()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let o=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ge(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((o,r)=>{this._targetContainsElement(r,e)&&t.push(r)}),t}_targetContainsElement(e,t){let o=Dt(t),r=e.getElementRef().nativeElement;do if(o==r)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),lh=(()=>{class n{elementRef=c(L);scrollDispatcher=c(Oc);ngZone=c(P);dir=c(ft,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new I;_renderer=c(ve);_cleanupScroll;_elementScrolled=new I;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),o&&Gi()!=zt.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),Gi()==zt.INVERTED?e.left=e.right:Gi()==zt.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;Qa()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",o="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?o:t:e=="end"&&(e=a?t:o),a&&Gi()==zt.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&Gi()==zt.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),vy=20,Xi=(()=>{class n{_platform=c(pe);_listeners;_viewportSize=null;_change=new I;_document=c(F);constructor(){let e=c(P),t=c(He).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=r=>this._change.next(r);this._listeners=[t.listen("window","resize",o),t.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+t,height:o,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect(),a=-r.top||e.body?.scrollTop||t.scrollY||o.scrollTop||0,l=-r.left||e.body?.scrollLeft||t.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(e=vy){return e>0?this._change.pipe(Cs(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var cr=class{_attachedHost=null;attach(i){return this._attachedHost=i,i.attach(this)}detach(){let i=this._attachedHost;i!=null&&(this._attachedHost=null,i.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Zi=class extends cr{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(i,e,t,o,r,a){super(),this.component=i,this.viewContainerRef=e,this.injector=t,this.projectableNodes=o,this.bindings=r||null,this.directives=a||null}},kn=class extends cr{templateRef;viewContainerRef;context;injector;constructor(i,e,t,o){super(),this.templateRef=i,this.viewContainerRef=e,this.context=t,this.injector=o}get origin(){return this.templateRef.elementRef}attach(i,e=this.context){return this.context=e,super.attach(i)}detach(){return this.context=void 0,super.detach()}},Fc=class extends cr{element;constructor(i){super(),this.element=i instanceof L?i.nativeElement:i}},Qi=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(i){if(i instanceof Zi)return this._attachedPortal=i,this.attachComponentPortal(i);if(i instanceof kn)return this._attachedPortal=i,this.attachTemplatePortal(i);if(this.attachDomPortal&&i instanceof Fc)return this._attachedPortal=i,this.attachDomPortal(i)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(i){this._disposeFn=i}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},as=class extends Qi{outletElement;_appRef;_defaultInjector;constructor(i,e,t){super(),this.outletElement=i,this._appRef=e,this._defaultInjector=t}attachComponentPortal(i){let e;if(i.viewContainerRef){let t=i.injector||i.viewContainerRef.injector,o=t.get(Cr,null,{optional:!0})||void 0;e=i.viewContainerRef.createComponent(i.component,{index:i.viewContainerRef.length,injector:t,ngModuleRef:o,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0,directives:i.directives||void 0}),this.setDisposeFn(()=>e.destroy())}else{let t=this._appRef,o=i.injector||this._defaultInjector||ie.NULL,r=o.get(Te,t.injector);e=Nr(i.component,{elementInjector:o,environmentInjector:r,projectableNodes:i.projectableNodes||void 0,bindings:i.bindings||void 0,directives:i.directives||void 0}),t.attachView(e.hostView),this.setDisposeFn(()=>{t.viewCount>0&&t.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=i,e}attachTemplatePortal(i){let e=i.viewContainerRef,t=e.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return t.rootNodes.forEach(o=>this.outletElement.appendChild(o)),t.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(t);o!==-1&&e.remove(o)}),this._attachedPortal=i,t}attachDomPortal=i=>{let e=i.element;e.parentNode;let t=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=i,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(i){return i.hostView.rootNodes[0]}};var dr=(()=>{class n extends Qi{_moduleRef=c(Cr,{optional:!0});_document=c(F);_viewContainerRef=c(Gt);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new J;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0,directives:e.directives||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(o,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(t,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[de]})}return n})();var ch=Qa();function ur(n){return new ss(n.get(Xi),n.get(F))}var ss=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(i,e){this._viewportRuler=i,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let i=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=i.style.left||"",this._previousHTMLStyles.top=i.style.top||"",i.style.left=Re(-this._previousScrollPosition.left),i.style.top=Re(-this._previousScrollPosition.top),i.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let i=this._document.documentElement,e=this._document.body,t=i.style,o=e.style,r=t.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,i.classList.remove("cdk-global-scrollblock"),ch&&(t.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ch&&(t.scrollBehavior=r,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var ls=class{enable(){}disable(){}attach(){}};function Lc(n,i){return i.some(e=>{let t=n.bottome.bottom,r=n.righte.right;return t||o||r||a})}function dh(n,i){return i.some(e=>{let t=n.tope.bottom,r=n.lefte.right;return t||o||r||a})}function Bc(n,i){return new cs(n.get(Oc),n.get(Xi),n.get(P),i)}var cs=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(i,e,t,o){this._scrollDispatcher=i,this._viewportRuler=e,this._ngZone=t,this._config=o}attach(i){this._overlayRef,this._overlayRef=i}enable(){if(!this._scrollSubscription){let i=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(i).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:o}=this._viewportRuler.getViewportSize();Lc(e,[{width:t,height:o,bottom:o,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}};var Rn=class{positionStrategy;scrollStrategy=new ls;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(i){if(i){let e=Object.keys(i);for(let t of e)i[t]!==void 0&&(this[t]=i[t])}}};var ds=class{connectionPair;scrollableViewProperties;constructor(i,e){this.connectionPair=i,this.scrollableViewProperties=e}};var vh=(()=>{class n{_attachedOverlays=[];_document=c(F);_isAttached=!1;ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,t,o){return o.observers.length<1?!1:e.eventPredicate?e.eventPredicate(t):!0}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),bh=(()=>{class n extends vh{_ngZone=c(P);_renderer=c(He).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let o=t.length-1;o>-1;o--){let r=t[o];if(this.canReceiveEvent(r,e,r._keydownEvents)){this._ngZone.run(()=>r._keydownEvents.next(e));break}}};static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),yh=(()=>{class n extends vh{_platform=c(pe);_ngZone=c(P);_renderer=c(He).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,o={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(t,"pointerdown",this._pointerDownListener,o),r.listen(t,"click",this._clickListener,o),r.listen(t,"auxclick",this._clickListener,o),r.listen(t,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=nt(e)};_clickListener=e=>{let t=nt(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let r=this._attachedOverlays.slice();for(let a=r.length-1;a>-1;a--){let l=r[a],s=l._outsidePointerEvents;if(!(!l.hasAttached()||!this.canReceiveEvent(l,e,s))){if(uh(l.overlayElement,t)||uh(l.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>s.next(e)):s.next(e)}}};static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function uh(n,i){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=i;for(;t;){if(t===n)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var _h=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { + pointer-events: none; + top: 0; + left: 0; + height: 100%; + width: 100%; +} + +.cdk-overlay-container { + position: fixed; +} +@layer cdk-overlay { + .cdk-overlay-container { + z-index: 1000; + } +} +.cdk-overlay-container:empty { + display: none; +} + +.cdk-global-overlay-wrapper { + display: flex; + position: absolute; +} +@layer cdk-overlay { + .cdk-global-overlay-wrapper { + z-index: 1000; + } +} + +.cdk-overlay-pane { + position: absolute; + pointer-events: auto; + box-sizing: border-box; + display: flex; + max-width: 100%; + max-height: 100%; +} +@layer cdk-overlay { + .cdk-overlay-pane { + z-index: 1000; + } +} + +.cdk-overlay-backdrop { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + pointer-events: auto; + -webkit-tap-highlight-color: transparent; + opacity: 0; + touch-action: manipulation; +} +@layer cdk-overlay { + .cdk-overlay-backdrop { + z-index: 1000; + transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); + } +} +@media (prefers-reduced-motion) { + .cdk-overlay-backdrop { + transition-duration: 1ms; + } +} + +.cdk-overlay-backdrop-showing { + opacity: 1; +} +@media (forced-colors: active) { + .cdk-overlay-backdrop-showing { + opacity: 0.6; + } +} + +@layer cdk-overlay { + .cdk-overlay-dark-backdrop { + background: rgba(0, 0, 0, 0.32); + } +} + +.cdk-overlay-transparent-backdrop { + transition: visibility 1ms linear, opacity 1ms linear; + visibility: hidden; + opacity: 1; +} +.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { + opacity: 0; + visibility: visible; +} + +.cdk-overlay-backdrop-noop-animation { + transition: none; +} + +.cdk-overlay-connected-position-bounding-box { + position: absolute; + display: flex; + flex-direction: column; + min-width: 1px; + min-height: 1px; +} +@layer cdk-overlay { + .cdk-overlay-connected-position-bounding-box { + z-index: 1000; + } +} + +.cdk-global-scrollblock { + position: fixed; + width: 100%; + overflow-y: scroll; +} + +.cdk-overlay-popover { + background: none; + border: none; + padding: 0; + outline: 0; + overflow: visible; + position: fixed; + pointer-events: none; + white-space: normal; + color: inherit; + text-decoration: none; + width: 100%; + height: 100%; + inset: auto; + top: 0; + left: 0; +} +.cdk-overlay-popover::backdrop { + display: none; +} +.cdk-overlay-popover .cdk-overlay-backdrop { + position: fixed; + z-index: auto; +} +`],encapsulation:2})}return n})(),ps=(()=>{class n{_platform=c(pe);_containerElement;_document=c(F);_styleLoader=c(Ye);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||fc()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{let i=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(i,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),i.style.pointerEvents="none",i.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function zc(n){return n&&n.nodeType===1}var Pc=X([]),Ji=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new I;_attachments=new I;_detachments=new I;_positionStrategy;_scrollStrategy;_locationChanges;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new I;_outsidePointerEvents=new I;_afterNextRenderRef;constructor(i,e,t,o,r,a,l,s,u,d=!1,v,b){this._portalOutlet=i,this._host=e,this._pane=t,this._config=o,this._ngZone=r,this._keyboardDispatcher=a,this._document=l,this._location=s,this._outsideClickDispatcher=u,this._animationsDisabled=d,this._injector=v,this._renderer=b,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(i){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(i);if(this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),q(()=>{Pc.update(t=>t.includes(this)?t:[...t,this])}),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Je(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation===!0||this._config.disposeOnNavigation==="pop-state"){let t=this._location.subscribe(()=>this.dispose());this._locationChanges=()=>t.unsubscribe()}else this._config.disposeOnNavigation==="url-change"&&(this._locationChanges=this._location.onUrlChange(()=>this.dispose()));return this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let i=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges?.(),this._outsideClickDispatcher.remove(this),q(()=>{Pc.update(e=>e.filter(t=>t!==this))}),i}dispose(){if(this._disposed)return;let i=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges?.(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,i&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0,q(()=>{Pc.update(e=>e.filter(t=>t!==this))})}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(i){i!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=i,this.hasAttached()&&(i.attach(this),this.updatePosition()))}updateSize(i){this._config=f(f({},this._config),i),this._updateElementSize()}setDirection(i){this._config=se(f({},this._config),{direction:i}),this._updateElementDirection()}addPanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!0)}removePanelClass(i){this._pane&&this._toggleClasses(this._pane,i,!1)}getDirection(){let i=this._config.direction;return i?typeof i=="string"?i:i.value:"ltr"}updateScrollStrategy(i){i!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=i,this.hasAttached()&&(i.attach(this),i.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let i=this._pane.style;i.width=Re(this._config.width),i.height=Re(this._config.height),i.minWidth=Re(this._config.minWidth),i.minHeight=Re(this._config.minHeight),i.maxWidth=Re(this._config.maxWidth),i.maxHeight=Re(this._config.maxHeight)}_togglePointerEvents(i){this._pane.style.pointerEvents=i?"":"none"}_attachHost(){if(!this._host.parentElement){let i=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;zc(i)?i.after(this._host):i?.type==="parent"?i.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(i){}}_attachBackdrop(){let i="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Vc(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(i))}):this._backdropRef.element.classList.add(i)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(i,e,t){let o=ln(e||[]).filter(r=>!!r);o.length&&(t?i.classList.add(...o):i.classList.remove(...o))}_detachContentWhenEmpty(){let i=!1;try{this._detachContentAfterRenderRef=Je(()=>{i=!0,this._detachContent()},{injector:this._injector})}catch(e){if(i)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let i=this._scrollStrategy;i?.disable(),i?.detach?.()}},mh="cdk-overlay-connected-position-bounding-box",yy=/([A-Za-z%]+)$/;function jc(n,i){return new us(i,n.get(Xi),n.get(F),n.get(pe),n.get(ps))}var us=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new I;_resizeSubscription=Ge.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(i,e,t,o,r){this._viewportRuler=e,this._document=t,this._platform=o,this._overlayContainer=r,this.setOrigin(i)}attach(i){this._overlayRef&&this._overlayRef,this._validatePositions(),i.hostElement.classList.add(mh),this._overlayRef=i,this._boundingBox=i.hostElement,this._pane=i.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let i=this._originRect,e=this._overlayRect,t=this._viewportRect,o=this._containerRect,r=[],a;for(let l of this._preferredPositions){let s=this._getOriginPoint(i,o,l),u=this._getOverlayPoint(s,e,l),d=this._getOverlayFit(u,e,t,l);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(l,s);return}if(this._canFitWithFlexibleDimensions(d,u,t)){r.push({position:l,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,l)});continue}(!a||a.overlayFit.visibleAreas&&(s=d,l=u)}this._isPushed=!1,this._applyPosition(l.position,l.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ii(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let i=this._lastPosition;i?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(i,this._getOriginPoint(this._originRect,this._containerRect,i))):this.apply()}withScrollableContainers(i){return this._scrollables=i,this}withPositions(i){return this._preferredPositions=i,i.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(i){return this._viewportMargin=i,this}withFlexibleDimensions(i=!0){return this._hasFlexibleDimensions=i,this}withGrowAfterOpen(i=!0){return this._growAfterOpen=i,this}withPush(i=!0){return this._canPush=i,this}withLockedPosition(i=!0){return this._positionLocked=i,this}setOrigin(i){return this._origin=i,this}withDefaultOffsetX(i){return this._offsetX=i,this}withDefaultOffsetY(i){return this._offsetY=i,this}withTransformOriginOn(i){return this._transformOriginSelector=i,this}withPopoverLocation(i){return this._popoverLocation=i,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof L?this._origin.nativeElement:zc(this._origin)?this._origin:null}_getOriginPoint(i,e,t){let o;if(t.originX=="center")o=i.left+i.width/2;else{let a=this._isRtl()?i.right:i.left,l=this._isRtl()?i.left:i.right;o=t.originX=="start"?a:l}e.left<0&&(o-=e.left);let r;return t.originY=="center"?r=i.top+i.height/2:r=t.originY=="top"?i.top:i.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(i,e,t){let o;t.overlayX=="center"?o=-e.width/2:t.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let r;return t.overlayY=="center"?r=-e.height/2:r=t.overlayY=="top"?0:-e.height,{x:i.x+o,y:i.y+r}}_getOverlayFit(i,e,t,o){let r=hh(e),{x:a,y:l}=i,s=this._getOffset(o,"x"),u=this._getOffset(o,"y");s&&(a+=s),u&&(l+=u);let d=0-a,v=a+r.width-t.width,b=0-l,S=l+r.height-t.height,w=this._subtractOverflows(r.width,d,v),j=this._subtractOverflows(r.height,b,S),ne=w*j;return{visibleArea:ne,isCompletelyWithinViewport:r.width*r.height===ne,fitsInViewportVertically:j===r.height,fitsInViewportHorizontally:w==r.width}}_canFitWithFlexibleDimensions(i,e,t){if(this._hasFlexibleDimensions){let o=t.bottom-e.y,r=t.right-e.x,a=ph(this._overlayRef.getConfig().minHeight),l=ph(this._overlayRef.getConfig().minWidth),s=i.fitsInViewportVertically||a!=null&&a<=o,u=i.fitsInViewportHorizontally||l!=null&&l<=r;return s&&u}return!1}_pushOverlayOnScreen(i,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:i.x+this._previousPushAmount.x,y:i.y+this._previousPushAmount.y};let o=hh(e),r=this._viewportRect,a=Math.max(i.x+o.width-r.width,0),l=Math.max(i.y+o.height-r.height,0),s=Math.max(r.top-t.top-i.y,0),u=Math.max(r.left-t.left-i.x,0),d=0,v=0;return o.width<=r.width?d=u||-a:d=i.xw&&!this._isInitialRender&&!this._growAfterOpen&&(a=i.y-w/2)}let s=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,u=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,d,v,b;if(u)b=t.width-i.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=i.x-this._getViewportMarginStart();else if(s)v=i.x,d=t.right-i.x-this._getViewportMarginEnd();else{let S=Math.min(t.right-i.x+t.left,i.x),w=this._lastBoundingBoxSize.width;d=S*2,v=i.x-S,d>w&&!this._isInitialRender&&!this._growAfterOpen&&(v=i.x-w/2)}return{top:a,left:v,bottom:l,right:b,width:d,height:r}}_setBoundingBoxStyles(i,e){let t=this._calculateBoundingBoxRect(i,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.width=Re(t.width),o.height=Re(t.height),o.top=Re(t.top)||"auto",o.bottom=Re(t.bottom)||"auto",o.left=Re(t.left)||"auto",o.right=Re(t.right)||"auto",e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",r&&(o.maxHeight=Re(r)),a&&(o.maxWidth=Re(a))}this._lastBoundingBoxSize=t,ii(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ii(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ii(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(i,e){let t={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){let d=this._viewportRuler.getViewportScrollPosition();ii(t,this._getExactOverlayY(e,i,d)),ii(t,this._getExactOverlayX(e,i,d))}else t.position="static";let l="",s=this._getOffset(e,"x"),u=this._getOffset(e,"y");s&&(l+=`translateX(${s}px) `),u&&(l+=`translateY(${u}px)`),t.transform=l.trim(),a.maxHeight&&(o?t.maxHeight=Re(a.maxHeight):r&&(t.maxHeight="")),a.maxWidth&&(o?t.maxWidth=Re(a.maxWidth):r&&(t.maxWidth="")),ii(this._pane.style,t)}_getExactOverlayY(i,e,t){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,i);if(this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t)),i.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;o.bottom=`${a-(r.y+this._overlayRect.height)}px`}else o.top=Re(r.y);return o}_getExactOverlayX(i,e,t){let o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,i);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,t));let a;if(this._isRtl()?a=i.overlayX==="end"?"left":"right":a=i.overlayX==="end"?"right":"left",a==="right"){let l=this._document.documentElement.clientWidth;o.right=`${l-(r.x+this._overlayRect.width)}px`}else o.left=Re(r.x);return o}_getScrollVisibility(){let i=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dh(i,t),isOriginOutsideView:Lc(i,t),isOverlayClipped:dh(e,t),isOverlayOutsideView:Lc(e,t)}}_subtractOverflows(i,...e){return e.reduce((t,o)=>t-Math.max(o,0),i)}_getNarrowedViewportRect(){let i=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._getViewportMarginTop(),left:t.left+this._getViewportMarginStart(),right:t.left+i-this._getViewportMarginEnd(),bottom:t.top+e-this._getViewportMarginBottom(),width:i-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(i,e){return e==="x"?i.offsetX==null?this._offsetX:i.offsetX:i.offsetY==null?this._offsetY:i.offsetY}_validatePositions(){}_addPanelClasses(i){this._pane&&ln(i).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(i=>{this._pane.classList.remove(i)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let i=this._origin;if(i instanceof L)return i.nativeElement.getBoundingClientRect();if(i instanceof Element)return i.getBoundingClientRect();let e=i.width||0,t=i.height||0;return{top:i.y,bottom:i.y+t,left:i.x,right:i.x+e,height:t,width:e}}_getContainerRect(){let i=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();i&&(e.style.display="block");let t=e.getBoundingClientRect();return i&&(e.style.display=""),t}};function ii(n,i){for(let e in i)Object.hasOwn(i,e)&&(n[e]=i[e]);return n}function ph(n){if(typeof n!="number"&&n!=null){let[i,e]=n.split(yy);return!e||e==="px"?parseFloat(i):null}return n||null}function hh(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function _y(n,i){return n===i?!0:n.isOriginClipped===i.isOriginClipped&&n.isOriginOutsideView===i.isOriginOutsideView&&n.isOverlayClipped===i.isOverlayClipped&&n.isOverlayOutsideView===i.isOverlayOutsideView}var fh="cdk-global-overlay-wrapper";function mr(n){return new ms}var ms=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(i){let e=i.getConfig();this._overlayRef=i,this._width&&!e.width&&i.updateSize({width:this._width}),this._height&&!e.height&&i.updateSize({height:this._height}),i.hostElement.classList.add(fh),this._isDisposed=!1}top(i=""){return this._bottomOffset="",this._topOffset=i,this._alignItems="flex-start",this}left(i=""){return this._xOffset=i,this._xPosition="left",this}bottom(i=""){return this._topOffset="",this._bottomOffset=i,this._alignItems="flex-end",this}right(i=""){return this._xOffset=i,this._xPosition="right",this}start(i=""){return this._xOffset=i,this._xPosition="start",this}end(i=""){return this._xOffset=i,this._xPosition="end",this}width(i=""){return this._overlayRef?this._overlayRef.updateSize({width:i}):this._width=i,this}height(i=""){return this._overlayRef?this._overlayRef.updateSize({height:i}):this._height=i,this}centerHorizontally(i=""){return this.left(i),this._xPosition="center",this}centerVertically(i=""){return this.top(i),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:a,maxHeight:l}=t,s=(o==="100%"||o==="100vw")&&(!a||a==="100%"||a==="100vw"),u=(r==="100%"||r==="100vh")&&(!l||l==="100%"||l==="100vh"),d=this._xPosition,v=this._xOffset,b=this._overlayRef.getConfig().direction==="rtl",S="",w="",j="";s?j="flex-start":d==="center"?(j="center",b?w=v:S=v):b?d==="left"||d==="end"?(j="flex-end",S=v):(d==="right"||d==="start")&&(j="flex-start",w=v):d==="left"||d==="start"?(j="flex-start",S=v):(d==="right"||d==="end")&&(j="flex-end",w=v),i.position=this._cssPosition,i.marginLeft=s?"0":S,i.marginTop=u?"0":this._topOffset,i.marginBottom=this._bottomOffset,i.marginRight=s?"0":w,e.justifyContent=j,e.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let i=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(fh),t.justifyContent=t.alignItems=i.marginTop=i.marginBottom=i.marginLeft=i.marginRight=i.position="",this._overlayRef=null,this._isDisposed=!0}};var xh=new y("OVERLAY_DEFAULT_CONFIG");function pr(n,i){n.get(Ye).load(_h);let e=n.get(ps),t=n.get(F),o=n.get(Se),r=n.get(Wt),a=n.get(ft),l=n.get(ve,null,{optional:!0})||n.get(He).createRenderer(null,null),s=new Rn(i),u=n.get(xh,null,{optional:!0})?.usePopover??!0;s.direction=s.direction||a.value,!t.body||!("showPopover"in t.body)?s.usePopover=!1:s.usePopover=i?.usePopover??u;let d=t.createElement("div"),v=t.createElement("div");d.id=o.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),v.appendChild(d),s.usePopover&&(v.setAttribute("popover","manual"),v.classList.add("cdk-overlay-popover"));let b=s.usePopover?s.positionStrategy?.getPopoverInsertionPoint?.():null;return zc(b)?b.after(v):b?.type==="parent"?b.element.appendChild(v):e.getContainerElement().appendChild(v),new Ji(new as(d,r,n),v,d,s,n.get(P),n.get(bh),t,n.get(Yt),n.get(yh),i?.disableAnimations??n.get(ci,null,{optional:!0})==="NoopAnimations",n.get(Te),l)}var Hc=class{source;option;constructor(i,e){this.source=i,this.option=e}},Ch=new y("mat-autocomplete-default-options",{providedIn:"root",factory:()=>({autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1})}),hs=(()=>{class n{_changeDetectorRef=c(we);_elementRef=c(L);_defaults=c(Ch);_animationsDisabled=$e();_activeOptionChanges=Ge.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple=!1;optionSelected=new J;opened=new J;closed=new J;optionActivated=new J;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=c(Se).getId("mat-autocomplete-");inertGroups;constructor(){let e=c(pe);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Qo(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new Hc(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["panel"],t=["*"];function o(r,a){if(r&1&&(ot(0,"div",1,0),U(2),rt()),r&2){let l=a.id,s=E();Kt(s._classList),Q("mat-mdc-autocomplete-visible",s.showPanel)("mat-mdc-autocomplete-hidden",!s.showPanel)("mat-autocomplete-panel-animations-enabled",!s._animationsDisabled)("mat-primary",s._color==="primary")("mat-accent",s._color==="accent")("mat-warn",s._color==="warn"),qe("id",s.id),Z("aria-label",s.ariaLabel||null)("aria-labelledby",s._getPanelAriaLabelledby(l))}}return M({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(a,l,s){if(a&1&&mt(s,Yi,5)(s,Tc,5),a&2){let u;$(u=G())&&(l.options=u),$(u=G())&&(l.optionGroups=u)}},viewQuery:function(a,l){if(a&1&&bt(mn,7)(e,5),a&2){let s;$(s=G())&&(l.template=s.first),$(s=G())&&(l.panel=s.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",B],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",B],requireSelection:[2,"requireSelection","requireSelection",B],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",B],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[be([{provide:Rc,useExisting:n}])],ngContentSelectors:t,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(a,l){a&1&&(Ce(),Dd(0,o,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel { + width: 100%; + max-height: 256px; + visibility: hidden; + transform-origin: center top; + overflow: auto; + padding: 8px 0; + box-sizing: border-box; + position: relative; + border-radius: var(--%NS%mat-autocomplete-container-shape, var(--%NS%mat-sys-corner-extra-small)); + box-shadow: var(--%NS%mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)); + background-color: var(--%NS%mat-autocomplete-background-color, var(--%NS%mat-sys-surface-container)); +} +@media (forced-colors: active) { + div.mat-mdc-autocomplete-panel { + outline: solid 1px; + } +} +.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + transform-origin: center bottom; +} +div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible { + visibility: visible; +} + +div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden, +.cdk-overlay-pane:has(> .mat-mdc-autocomplete-hidden) { + visibility: hidden; + pointer-events: none; +} + +@keyframes _mat-autocomplete-enter { + from { + opacity: 0; + transform: scaleY(0.8); + } + to { + opacity: 1; + transform: none; + } +} +.mat-autocomplete-panel-animations-enabled { + animation: _mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1); +} + +mat-autocomplete { + display: none; +} +`],encapsulation:2})})()}return n})();var xy={provide:Kn,useExisting:Ze(()=>$c),multi:!0};var Cy=new y("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=c(ie);return()=>Bc(n)}}),$c=(()=>{class n{_environmentInjector=c(Te);_element=c(L);_injector=c(ie);_viewContainerRef=c(Gt);_zone=c(P);_changeDetectorRef=c(we);_dir=c(ft,{optional:!0});_formField=c(ti,{optional:!0,host:!0});_viewportRuler=c(Xi);_scrollStrategy=c(Cy);_renderer=c(ve);_animationsDisabled=$e();_defaults=c(Ch,{optional:!0});_overlayRef=null;_portal;_componentDestroyed=!1;_initialized=new I;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue=null;_valueOnAttach=null;_valueOnLastKeydown=null;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=Ge.EMPTY;_breakpointObserver=c(mc);_handsetLandscapeSubscription=Ge.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption=null;_closeKeyEventStream=new I;_overlayPanelClass=ln(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled=!1;_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Mt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ge(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ge(()=>this._overlayAttached)):T()).pipe(te(e=>e instanceof lr?e:null))}optionSelections=Ht(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Ue(e),Ne(()=>Mt(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(Ne(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new ct(e=>{let t=r=>{let a=nt(r),l=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,s=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!l||!l.contains(a))&&(!s||!s.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},o=[this._renderer.listen("document","click",t),this._renderer.listen("document","auxclick",t),this._renderer.listen("document","touchend",t)];return()=>{o.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e,o=t.keyCode,r=tt(t);if(o===27&&!r&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&o===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,l=o===38||o===40;o===9||l&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):l&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(l||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,o=t.value;if(t.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return Xn()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new ct(o=>{Je(()=>{o.next()},{injector:this._environmentInjector})}),t=this.autocomplete.options?.changes.pipe(Ve(()=>this._positionStrategy.reapplyLastPosition()),id(0))??T();return Mt(e,t).pipe(Ne(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),We(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){let t=this._formField?._control;t?ud(t.value)?t.value.set(e):t.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),t._emitSelectEvent(o),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){this._attachOverlay(e),this._floatLabel()}_attachOverlay(e){if(!this.autocomplete)return;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new kn(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=pr(this._injector,this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Ip.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!tt(e)||e.keyCode===38&&tt(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=void 0}_getOverlayConfig(){return new Rn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=jc(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPopoverLocation("inline");return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=t:a=[...t,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let o=0;o{class n{userService;roleService;gridApi;separatorKeysCodes=[13,188];rowData;allRoles;currentRole=Pd("");myControl=new Go("");ac=new Go("");constructor(e,t){this.userService=e,this.roleService=t,this.getAllRoles()}ngOnInit(){this.userService.getAdminBoard().subscribe(e=>{this.rowData=e},e=>{this.rowData=JSON.parse(e.error).message})}filteredRoles(e){return this.allRoles.filter(t=>!e.some(o=>o.id===t.id))}getAllRoles(){this.roleService.getAllRoles().subscribe(e=>{this.allRoles=e},e=>{this.allRoles=JSON.parse(e.error).message})}remove(e){}add(e){let t=(e.value||"").trim();this.currentRole.set("")}selected(e,t){e.push(t.option.value),this.currentRole.set(""),t.option.deselect()}change(e,t){t.filter(o=>!t.some(r=>r.name?.toLowerCase()===o.id))}static \u0275fac=function(t){return new(t||n)(D(Ha),D(ap))};static \u0275cmp=M({type:n,selectors:[["app-board-admin"]],inputs:{currentRole:[1,"currentRole"]},outputs:{currentRole:"currentRoleChange"},standalone:!1,decls:6,vars:0,consts:[["chipGrid",""],["fruitInput",""],["auto","matAutocomplete"],[1,"col-md-6"],[1,"list-group"],[1,"list-group-item"],[1,"example-chip-list"],["aria-label","Role selection"],["name","currentFruit","placeholder","Add role...",3,"ngModelChange","matChipInputTokenEnd","input","ngModel","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","formControl"],["autoActiveFirstOption","",3,"optionSelected","formControl"],[3,"value"],[3,"removed"],["matChipRemove",""]],template:function(t,o){t&1&&(p(0,"div",3)(1,"h4"),g(2,"Users List"),m(),p(3,"ul",4),hn(4,My,14,9,"li",5,Bn),m()()),t&2&&(h(4),fn(o.rowData))},dependencies:[Nn,et,ht,Mn,wt,An,rs,sr,oh,$c,hs,Yi,ni,sc],styles:[".example-chip-list[_ngcontent-%COMP%]{width:100%}"],changeDetection:1})}return n})();var Sh=(()=>{class n{constructor(){}ngOnInit(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["app-board-moderator"]],standalone:!1,decls:2,vars:0,template:function(t,o){t&1&&(p(0,"p"),g(1,"board-moderator works!"),m())},encapsulation:2,changeDetection:1})}return n})();var Dh=(()=>{class n{constructor(){}ngOnInit(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["app-board-user"]],standalone:!1,decls:2,vars:0,template:function(t,o){t&1&&(p(0,"p"),g(1,"board-user works!"),m())},encapsulation:2,changeDetection:1})}return n})();function Ny(n,i){if(n&1&&(p(0,"li"),g(1),m()),n&2){let e=i.$implicit;h(),ke(" ",e," ")}}function Ay(n,i){if(n&1&&(p(0,"div",0)(1,"header",1)(2,"h3")(3,"strong"),g(4),m(),g(5," Profile "),m()(),p(6,"p")(7,"strong"),g(8,"Token:"),m(),g(9),m(),p(10,"p")(11,"strong"),g(12,"Email:"),m(),g(13),m(),p(14,"strong"),g(15,"Roles:"),m(),p(16,"ul"),hn(17,Ny,2,1,"li",null,Bn),m()()),n&2){let e=E();h(4),pt(e.currentUser.username),h(5),Id(" ",e.currentUser.accessToken.substring(0,20)," ... ",e.currentUser.accessToken.substr(e.currentUser.accessToken.length-20)," "),h(4),ke(" ",e.currentUser.email," "),h(4),fn(e.currentUser.roles)}}function Iy(n,i){n&1&&g(0,` Please login. +`)}var Eh=(()=>{class n{token;currentUser;constructor(e){this.token=e}ngOnInit(){this.currentUser=this.token.getUser()}static \u0275fac=function(t){return new(t||n)(D(tn))};static \u0275cmp=M({type:n,selectors:[["app-profile"]],standalone:!1,decls:2,vars:1,consts:[[1,"container"],[1,"jumbotron"]],template:function(t,o){t&1&&x(0,Ay,19,4,"div",0)(1,Iy,1,0),t&2&&C(o.currentUser?0:1)},encapsulation:2,changeDetection:1})}return n})();var Gc="/api/auth/",Wc={headers:new At({"Content-Type":"application/json"})},eo=(()=>{class n{http;constructor(e){this.http=e}login(e,t){return this.http.post(Gc+"signin",{username:e,password:t},Wc)}register(e,t,o){return this.http.post(Gc+"signup",{username:e,email:t,password:o},Wc)}logout(){return this.http.post(Gc+"signout",{},Wc)}static \u0275fac=function(t){return new(t||n)(N(It))};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Kc=()=>({standalone:!0});function ky(n,i){n&1&&(p(0,"div"),g(1,"Username is required"),m())}function Ry(n,i){n&1&&(p(0,"div"),g(1," Username must be at least 3 characters "),m())}function Ty(n,i){n&1&&(p(0,"div"),g(1," Username must be at most 20 characters "),m())}function Oy(n,i){if(n&1&&(p(0,"div",13),x(1,ky,2,0,"div"),x(2,Ry,2,0,"div"),x(3,Ty,2,0,"div"),m()),n&2){E();let e=Ie(6);h(),C(e.errors.required?1:-1),h(),C(e.errors.minlength?2:-1),h(),C(e.errors.maxlength?3:-1)}}function Fy(n,i){n&1&&(p(0,"div"),g(1,"Email is required"),m())}function Py(n,i){n&1&&(p(0,"div"),g(1," Email must be a valid email address "),m())}function Ly(n,i){if(n&1&&(p(0,"div",13),x(1,Fy,2,0,"div"),x(2,Py,2,0,"div"),m()),n&2){E();let e=Ie(12);h(),C(e.errors.required?1:-1),h(),C(e.errors.email?2:-1)}}function Vy(n,i){n&1&&(p(0,"div"),g(1,"Password is required"),m())}function By(n,i){n&1&&(p(0,"div"),g(1," Password must be at least 6 characters "),m())}function zy(n,i){if(n&1&&(p(0,"div",13),x(1,Vy,2,0,"div"),x(2,By,2,0,"div"),m()),n&2){E();let e=Ie(18);h(),C(e.errors.required?1:-1),h(),C(e.errors.minlength?2:-1)}}function jy(n,i){if(n&1&&(p(0,"div",19),g(1," Signup failed!"),ae(2,"br"),g(3),m()),n&2){let e=E(2);h(3),ke("",e.errorMessage," ")}}function Uy(n,i){if(n&1){let e=Ae();p(0,"form",9,0),V("ngSubmit",function(){oe(e);let o=Ie(1),r=E();return re(o.form.valid&&r.onSubmit())}),p(2,"div",10)(3,"label",11),g(4,"Username"),m(),p(5,"input",12,1),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.form.username,o)||(r.form.username=o),re(o)}),m(),x(7,Oy,4,3,"div",13),m(),p(8,"div",10)(9,"label",14),g(10,"Email"),m(),p(11,"input",15,2),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.form.email,o)||(r.form.email=o),re(o)}),m(),x(13,Ly,3,2,"div",13),m(),p(14,"div",10)(15,"label",16),g(16,"Password"),m(),p(17,"input",17,3),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.form.password,o)||(r.form.password=o),re(o)}),m(),x(19,zy,3,2,"div",13),m(),p(20,"div",10)(21,"button",18),g(22,"Sign Up"),m()(),x(23,jy,4,1,"div",19),m()}if(n&2){let e=Ie(1),t=Ie(6),o=Ie(12),r=Ie(18),a=E();h(5),Oe("ngModel",a.form.username),ye("ngModelOptions",Er(10,Kc)),Me(),h(2),C(t.errors&&e.submitted?7:-1),h(4),Oe("ngModel",a.form.email),ye("ngModelOptions",Er(11,Kc)),Me(),h(2),C(o.errors&&e.submitted?13:-1),h(4),Oe("ngModel",a.form.password),ye("ngModelOptions",Er(12,Kc)),Me(),h(2),C(r.errors&&e.submitted?19:-1),h(4),C(e.submitted&&a.isSignUpFailed?23:-1)}}function Hy(n,i){n&1&&(p(0,"div",8),g(1," Your registration is successful! "),m())}var Mh=(()=>{class n{authService;form={username:null,email:null,password:null};isSuccessful=!1;isSignUpFailed=!1;errorMessage="";constructor(e){this.authService=e}ngOnInit(){}onSubmit(){let{username:e,email:t,password:o}=this.form;this.authService.register(e,t,o).subscribe(r=>{console.log(r),this.isSuccessful=!0,this.isSignUpFailed=!1},r=>{this.errorMessage=r.error.message,this.isSignUpFailed=!0})}static \u0275fac=function(t){return new(t||n)(D(eo))};static \u0275cmp=M({type:n,selectors:[["app-register"]],standalone:!1,decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["email","ngModel"],["password","ngModel"],[1,"col-md-12"],["id","register"],["id","foto","id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate",""],[1,"alert","alert-success"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","","minlength","3","maxlength","20",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"alert-danger"],["for","email"],["type","email","id","email","required","","email","",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel","ngModelOptions"],[1,"btn","btn-primary","btn-block"],[1,"alert","alert-warning"]],template:function(t,o){t&1&&(p(0,"div",4)(1,"div",5),ae(2,"img",6),x(3,Uy,24,13,"form",7),x(4,Hy,2,0,"div",8),m()()),t&2&&(h(3),C(o.isSuccessful?-1:3),h(),C(o.isSuccessful?4:-1))},dependencies:[Nn,et,ht,Mn,En,$o,rc,oc,St,wt],encapsulation:2,changeDetection:1})}return n})();function $y(n,i){n&1&&(p(0,"div",12),g(1," Username is required! "),m())}function Gy(n,i){n&1&&(p(0,"div"),g(1,"Password is required"),m())}function Wy(n,i){n&1&&(p(0,"div"),g(1," Password must be at least 6 characters "),m())}function qy(n,i){if(n&1&&(p(0,"div",12),x(1,Gy,2,0,"div"),x(2,Wy,2,0,"div"),m()),n&2){E();let e=Ie(12);h(),C(e.errors.required?1:-1),h(),C(e.errors.minlength?2:-1)}}function Ky(n,i){if(n&1&&(p(0,"div",12),g(1),m()),n&2){let e=E(2);h(),ke(" Login failed: ",e.errorMessage," ")}}function Yy(n,i){if(n&1){let e=Ae();p(0,"form",8,0),V("ngSubmit",function(){oe(e);let o=Ie(1),r=E();return re(o.form.valid&&r.onSubmit())}),p(2,"div",9)(3,"label",10),g(4,"Username"),m(),p(5,"input",11,1),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.form.username,o)||(r.form.username=o),re(o)}),m(),x(7,$y,2,0,"div",12),m(),p(8,"div",9)(9,"label",13),g(10,"Password"),m(),p(11,"input",14,2),Ee(),Pe("ngModelChange",function(o){oe(e);let r=E();return Fe(r.form.password,o)||(r.form.password=o),re(o)}),m(),x(13,qy,3,2,"div",12),m(),p(14,"div",9)(15,"button",15),g(16," Login "),m()(),p(17,"div",9),x(18,Ky,2,1,"div",12),m()()}if(n&2){let e=Ie(1),t=Ie(6),o=Ie(12),r=E();h(5),Oe("ngModel",r.form.username),Me(),h(2),C(t.errors&&e.submitted?7:-1),h(4),Oe("ngModel",r.form.password),Me(),h(2),C(o.errors&&e.submitted?13:-1),h(5),C(e.submitted&&r.isLoginFailed?18:-1)}}function Xy(n,i){if(n&1&&(p(0,"div",7),g(1),m()),n&2){let e=E();h(),ke(" Logged in as ",e.roles,". ")}}var fs=(()=>{class n{authService;tokenStorage;form={username:null,password:null};isLoggedIn=!1;isLoginFailed=!1;errorMessage="";roles=[];constructor(e,t){this.authService=e,this.tokenStorage=t}ngOnInit(){this.tokenStorage.getToken()&&(this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles)}onSubmit(){let{username:e,password:t}=this.form;this.authService.login(e,t).subscribe(o=>{this.tokenStorage.saveToken(o.accessToken),this.tokenStorage.saveUser(o),this.isLoginFailed=!1,this.isLoggedIn=!0,this.roles=this.tokenStorage.getUser().roles,this.reloadPage()},o=>{this.errorMessage=o.error.message,this.isLoginFailed=!0})}reloadPage(){window.location.reload()}static \u0275fac=function(t){return new(t||n)(D(eo),D(tn))};static \u0275cmp=M({type:n,selectors:[["app-login"]],decls:5,vars:2,consts:[["f","ngForm"],["username","ngModel"],["password","ngModel"],[1,"col-md-12"],[1,"card","card-container"],["id","profile-img","src","//ssl.gstatic.com/accounts/ui/avatar_2x.png",1,"profile-img-card"],["name","form","novalidate",""],[1,"alert","alert-success"],["name","form","novalidate","",3,"ngSubmit"],[1,"form-group"],["for","username"],["type","text","id","username","required","",1,"form-control",3,"ngModelChange","ngModel"],["role","alert",1,"alert","alert-danger"],["for","password"],["type","password","id","password","required","","minlength","6",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn","btn-primary","btn-block"]],template:function(t,o){t&1&&(p(0,"div",3)(1,"div",4),ae(2,"img",5),x(3,Yy,19,5,"form",6),x(4,Xy,2,1,"div",7),m()()),t&2&&(h(3),C(o.isLoggedIn?-1:3),h(),C(o.isLoggedIn?4:-1))},dependencies:[Li,Nn,et,ht,Mn,En,$o,St,wt],encapsulation:2,changeDetection:1})}return n})();var Nh=(()=>{class n{userService;content;constructor(e){this.userService=e}ngOnInit(){}static \u0275fac=function(t){return new(t||n)(D(Ha))};static \u0275cmp=M({type:n,selectors:[["app-home"]],standalone:!1,decls:4,vars:1,consts:[[1,"container"],[1,"jumbotron"]],template:function(t,o){t&1&&(p(0,"div",0)(1,"header",1)(2,"p"),g(3),m()()()),t&2&&(h(3),pt(o.content))},encapsulation:2,changeDetection:1})}return n})();var Zy=[{path:"home",component:Nh},{path:"login",component:fs},{path:"register",component:Mh},{path:"profile",component:Eh},{path:"user",component:Dh},{path:"mod",component:Sh},{path:"admin",component:wh},{path:"",redirectTo:"home",pathMatch:"full"},{path:"tutorials",component:np},{path:"tutorials/:id",component:ip},{path:"add",component:op}],Ah=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({imports:[Sa.forRoot(Zy,{useHash:!0}),Sa]})}return n})();var Tn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext;bindings};var Xc=(()=>{class n extends Qi{_elementRef=c(L);_focusTrapFactory=c(Mp);_config;_interactivityChecker=c(hc);_ngZone=c(P);_focusMonitor=c(Zn);_renderer=c(ve);_changeDetectorRef=c(we);_injector=c(ie);_platform=c(pe);_document=c(F);_portalOutlet;_focusTrapped=new I;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=c(Tn,{optional:!0})||new Tn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r(),a(),e.removeAttribute("tabindex")},r=this._renderer.listen(e,"blur",o),a=this._renderer.listen(e,"mousedown",o)})),e.focus(t)}_focusByCssSelector(e,t){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,t)}_trapFocus(e){this._isDestroyed||Je(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let o=Xn(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=Xn();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Xn()))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){function e(t,o){}return M({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(o,r){if(o&1&&bt(dr,7),o&2){let a;$(a=G())&&(r._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(o,r){o&2&&Z("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[de],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(o,r){o&1&&pn(0,e,0,0,"ng-template",0)},dependencies:[dr],styles:[`.cdk-dialog-container { + display: block; + width: 100%; + height: 100%; + min-height: inherit; + max-height: inherit; +} +`],encapsulation:2,changeDetection:1})})()}return n})(),oi=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new I;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(i,e){this.overlayRef=i,this.config=e,this.disableClose=e.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!tt(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=i.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(i,e){if(this._canClose(i)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",e=""){return this.overlayRef.updateSize({width:i,height:e}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}_canClose(i){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(i,e,this.componentInstance))}},Qy=new y("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=c(ie);return()=>ur(n)}}),Jy=new y("DialogData"),e_=new y("DefaultDialogConfig");function t_(n){let i=X(n),e=new J;return{valueSignal:i,get value(){return i()},change:e,ngOnDestroy(){e.complete()}}}var Ih=(()=>{class n{_injector=c(ie);_defaultOptions=c(e_,{optional:!0});_parentDialog=c(n,{optional:!0,skipSelf:!0});_overlayContainer=c(ps);_idGenerator=c(Se);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new I;_afterOpenedAtThisLevel=new I;_ariaHiddenElements=new Map;_scrollStrategy=c(Qy);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Ht(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ue(void 0)));open(e,t){let o=this._defaultOptions||new Tn;t=f(f({},o),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let r=this._getOverlayConfig(t),a=pr(this._injector,r),l=new oi(a,t),s=this._attachContainer(a,l,t);if(l.containerInstance=s,!this.openDialogs.length){let u=this._overlayContainer.getContainerElement();s._focusTrapped?s._focusTrapped.pipe(We(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(u)}):this._hideNonDialogContentFromAssistiveTechnology(u)}return this._attachDialogContent(e,l,s,t),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Yc(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Yc(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Yc(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Rn({positionStrategy:e.positionStrategy||mr().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,o){let r=o.injector||o.viewContainerRef?.injector,a=[{provide:Tn,useValue:o},{provide:oi,useValue:t},{provide:Ji,useValue:e}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=Xc;let s=new Zi(l,o.viewContainerRef,ie.create({parent:r||this._injector,providers:a}));return e.attach(s).instance}_attachDialogContent(e,t,o,r){if(e instanceof mn){let a=this._createInjector(r,t,o,void 0),l={$implicit:r.data,dialogRef:t};r.templateContext&&(l=f(f({},l),typeof r.templateContext=="function"?r.templateContext():r.templateContext)),o.attachTemplatePortal(new kn(e,null,l,a))}else{let a=this._createInjector(r,t,o,this._injector),l=o.attachComponentPortal(new Zi(e,r.viewContainerRef,a,null,r.bindings));t.componentRef=l,t.componentInstance=l.instance}}_createInjector(e,t,o,r){let a=e.injector||e.viewContainerRef?.injector,l=[{provide:Jy,useValue:e.data},{provide:oi,useValue:t}];return e.providers&&(typeof e.providers=="function"?l.push(...e.providers(t,e,o)):l.push(...e.providers)),e.direction&&(!a||!a.get(ft,null,{optional:!0}))&&l.push({provide:ft,useValue:t_(e.direction)}),ie.create({parent:a||r,providers:l})}_removeOpenDialog(e,t){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,a)=>{r?a.setAttribute("aria-hidden",r):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let o=t.length-1;o>-1;o--){let r=t[o];r!==e&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&!r.hasAttribute("popover")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();function Yc(n,i){let e=n.length;for(;e--;)i(n[e])}var vs=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration;bindings},Zc="mdc-dialog--open",kh="mdc-dialog--opening",Rh="mdc-dialog--closing",n_=150,i_=75,o_=(()=>{class n extends Xc{_animationStateChanged=new J;_animationsEnabled=!$e();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?Oh(this._config.enterAnimationDuration)??n_:0;_exitAnimationDuration=this._animationsEnabled?Oh(this._config.exitAnimationDuration)??i_:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Th,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(kh,Zc)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Zc),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Zc),this._animationsEnabled?(this._hostElement.style.setProperty(Th,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Rh)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(kh,Rh)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275cmp=(function(){function e(t,o){}return M({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(o,r){o&2&&(qe("id",r._config.id),Z("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),Q("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[de],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(o,r){o&1&&(p(0,"div",0)(1,"div",1),pn(2,e,0,0,"ng-template",2),m()())},dependencies:[dr],styles:[`.mat-mdc-dialog-container { + width: 100%; + height: 100%; + display: block; + box-sizing: border-box; + max-height: inherit; + min-height: inherit; + min-width: inherit; + max-width: inherit; + outline: 0; +} + +.cdk-overlay-pane.mat-mdc-dialog-panel { + max-width: var(--%NS%mat-dialog-container-max-width, 560px); + min-width: var(--%NS%mat-dialog-container-min-width, 280px); +} +@media (max-width: 599px) { + .cdk-overlay-pane.mat-mdc-dialog-panel { + max-width: var(--%NS%mat-dialog-container-small-max-width, calc(100vw - 32px)); + } +} + +.mat-mdc-dialog-inner-container { + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-around; + box-sizing: border-box; + height: 100%; + opacity: 0; + transition: opacity linear var(--%NS%mat-dialog-transition-duration, 0ms); + max-height: inherit; + min-height: inherit; + min-width: inherit; + max-width: inherit; +} +.mdc-dialog--closing .mat-mdc-dialog-inner-container { + transition: opacity 75ms linear; + transform: none; +} +.mdc-dialog--open .mat-mdc-dialog-inner-container { + opacity: 1; +} +._mat-animation-noopable .mat-mdc-dialog-inner-container { + transition: none; +} + +.mat-mdc-dialog-surface { + display: flex; + flex-direction: column; + flex-grow: 0; + flex-shrink: 0; + box-sizing: border-box; + width: 100%; + height: 100%; + position: relative; + overflow-y: auto; + outline: 0; + transform: scale(0.8); + transition: transform var(--%NS%mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); + max-height: inherit; + min-height: inherit; + min-width: inherit; + max-width: inherit; + box-shadow: var(--%NS%mat-dialog-container-elevation-shadow, none); + border-radius: var(--%NS%mat-dialog-container-shape, var(--%NS%mat-sys-corner-extra-large, 4px)); + background-color: var(--%NS%mat-dialog-container-color, var(--%NS%mat-sys-surface, white)); +} +[dir=rtl] .mat-mdc-dialog-surface { + text-align: right; +} +.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { + transform: none; +} +._mat-animation-noopable .mat-mdc-dialog-surface { + transition: none; +} +.mat-mdc-dialog-surface::before { + position: absolute; + box-sizing: border-box; + width: 100%; + height: 100%; + top: 0; + left: 0; + border: 2px solid transparent; + border-radius: inherit; + content: ""; + pointer-events: none; +} + +.mat-mdc-dialog-title { + display: block; + position: relative; + flex-shrink: 0; + box-sizing: border-box; + margin: 0 0 1px; + padding: var(--%NS%mat-dialog-headline-padding, 6px 24px 13px); +} +.mat-mdc-dialog-title::before { + display: inline-block; + width: 0; + height: 40px; + content: ""; + vertical-align: 0; +} +[dir=rtl] .mat-mdc-dialog-title { + text-align: right; +} +.mat-mdc-dialog-container .mat-mdc-dialog-title { + color: var(--%NS%mat-dialog-subhead-color, var(--%NS%mat-sys-on-surface, rgba(0, 0, 0, 0.87))); + font-family: var(--%NS%mat-dialog-subhead-font, var(--%NS%mat-sys-headline-small-font, inherit)); + line-height: var(--%NS%mat-dialog-subhead-line-height, var(--%NS%mat-sys-headline-small-line-height, 1.5rem)); + font-size: var(--%NS%mat-dialog-subhead-size, var(--%NS%mat-sys-headline-small-size, 1rem)); + font-weight: var(--%NS%mat-dialog-subhead-weight, var(--%NS%mat-sys-headline-small-weight, 400)); + letter-spacing: var(--%NS%mat-dialog-subhead-tracking, var(--%NS%mat-sys-headline-small-tracking, 0.03125em)); +} + +.mat-mdc-dialog-content { + display: block; + flex-grow: 1; + box-sizing: border-box; + margin: 0; + overflow: auto; + max-height: 65vh; +} +.mat-mdc-dialog-content > :first-child { + margin-top: 0; +} +.mat-mdc-dialog-content > :last-child { + margin-bottom: 0; +} +.mat-mdc-dialog-container .mat-mdc-dialog-content { + color: var(--%NS%mat-dialog-supporting-text-color, var(--%NS%mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); + font-family: var(--%NS%mat-dialog-supporting-text-font, var(--%NS%mat-sys-body-medium-font, inherit)); + line-height: var(--%NS%mat-dialog-supporting-text-line-height, var(--%NS%mat-sys-body-medium-line-height, 1.5rem)); + font-size: var(--%NS%mat-dialog-supporting-text-size, var(--%NS%mat-sys-body-medium-size, 1rem)); + font-weight: var(--%NS%mat-dialog-supporting-text-weight, var(--%NS%mat-sys-body-medium-weight, 400)); + letter-spacing: var(--%NS%mat-dialog-supporting-text-tracking, var(--%NS%mat-sys-body-medium-tracking, 0.03125em)); +} +.mat-mdc-dialog-container .mat-mdc-dialog-content { + padding: var(--%NS%mat-dialog-content-padding, 20px 24px); +} +.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { + padding: var(--%NS%mat-dialog-with-actions-content-padding, 20px 24px 0); +} +.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { + padding-top: 0; +} + +.mat-mdc-dialog-actions { + display: flex; + position: relative; + flex-shrink: 0; + flex-wrap: wrap; + align-items: center; + box-sizing: border-box; + min-height: 52px; + margin: 0; + border-top: 1px solid transparent; + padding: var(--%NS%mat-dialog-actions-padding, 16px 24px); + justify-content: var(--%NS%mat-dialog-actions-alignment, flex-end); +} +@media (forced-colors: active) { + .mat-mdc-dialog-actions { + border-top-color: CanvasText; + } +} +.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { + justify-content: start; +} +.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { + justify-content: center; +} +.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { + justify-content: flex-end; +} +.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, +.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { + margin-left: 8px; +} +[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, +[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { + margin-left: 0; + margin-right: 8px; +} + +.mat-mdc-dialog-component-host { + display: contents; +} +`],encapsulation:2,changeDetection:1})})()}return n})(),Th="--mat-dialog-transition-duration";function Oh(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Ui(n.substring(0,n.length-2)):n.endsWith("s")?Ui(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var gs=(function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n})(gs||{}),ri=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new xs(1);_beforeClosed=new xs(1);_result;_closeFallbackTimeout;_state=gs.OPEN;_closeInteractionType;constructor(i,e,t){this._ref=i,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=i.id,i.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ge(o=>o.state==="opened"),We(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ge(o=>o.state==="closed"),We(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Mt(this.backdropClick(),this.keydownEvents().pipe(ge(o=>o.keyCode===27&&!this.disableClose&&!tt(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),Fh(this,o.type==="keydown"?"keyboard":"mouse"))})}close(i){let e=this._config.closePredicate;e&&!e(i,this._config,this.componentInstance)||(this._result=i,this._containerInstance._animationStateChanged.pipe(ge(t=>t.state==="closing"),We(1)).subscribe(t=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=gs.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let e=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?e.left(i.left):e.right(i.right):e.centerHorizontally(),i&&(i.top||i.bottom)?i.top?e.top(i.top):e.bottom(i.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",e=""){return this._ref.updateSize(i,e),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=gs.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Fh(n,i,e){return n._closeInteractionType=i,n.close(e)}var Qc=new y("MatMdcDialogData"),r_=new y("mat-mdc-dialog-default-options"),a_=new y("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=c(ie);return()=>ur(n)}}),bs=(()=>{class n{_defaultOptions=c(r_,{optional:!0});_scrollStrategy=c(a_);_parentDialog=c(n,{optional:!0,skipSelf:!0});_idGenerator=c(Se);_injector=c(ie);_dialog=c(Ih);_animationsDisabled=$e();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new I;_afterOpenedAtThisLevel=new I;dialogConfigClass=vs;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Ht(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ue(void 0)));constructor(){this._dialogRefConstructor=ri,this._dialogContainerType=o_,this._dialogDataToken=Qc}open(e,t){let o;t=f(f({},this._defaultOptions||new vs),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let r=this._dialog.open(e,se(f({},t),{positionStrategy:mr(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleString()==="0"||t.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Tn,useValue:t}]},templateContext:()=>({dialogRef:o}),providers:(a,l,s)=>(o=new this._dialogRefConstructor(a,t,s),o.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:s},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o},{provide:oi,useValue:null}])}));return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})(),Ph=(()=>{class n{dialogRef=c(ri,{optional:!0});_elementRef=c(L);_dialog=c(bs);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=jh(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&Fh(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,o){t&1&&V("click",function(a){return o._onButtonClick(a)}),t&2&&Z("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[xe]})}return n})(),Lh=(()=>{class n{_dialogRef=c(ri,{optional:!0});_elementRef=c(L);_dialog=c(bs);ngOnInit(){this._dialogRef||(this._dialogRef=jh(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n})}return n})(),Vh=(()=>{class n extends Lh{id=c(Se).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,o){t&2&&qe("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[de]})}return n})(),Bh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Sd([lh])]})}return n})(),zh=(()=>{class n extends Lh{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Be(n)))(o||n)}})();static \u0275dir=k({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,o){t&2&&Q("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[de]})}return n})();function jh(n,i){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?i.find(t=>t.id===e.id):null}var s_=new y("MAT_BUTTON_CONFIG");function Uh(n){return n==null?void 0:hi(n)}var Jc=(()=>{class n{_elementRef=c(L);_ngZone=c(P);_animationsDisabled=$e();_config=c(s_,{optional:!0});_focusMonitor=c(Zn);_cleanupClick;_renderer=c(ve);_rippleLoader=c(es);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}showProgress=zn(!1,{transform:B});constructor(){c(Ye).load(Jn);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,hostAttrs:[1,"mat-mdc-button-base"],hostVars:15,hostBindings:function(t,o){t&2&&(Z("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),Kt(o.color?"mat-"+o.color:""),Q("mat-mdc-button-progress-indicator-shown",o.showProgress())("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("mat-unthemed",!o.color)("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",B],disabled:[2,"disabled","disabled",B],ariaDisabled:[2,"aria-disabled","ariaDisabled",B],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B],tabIndex:[2,"tabIndex","tabIndex",Uh],_tabindex:[2,"tabindex","_tabindex",Uh],showProgress:[1,"showProgress"]}})}return n})(),ed=(()=>{class n extends Jc{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["*",[["","progressIndicator",""]]],t=["*","[progressIndicator]"];function o(r,a){r&1&&(ot(0,"div",1),U(1,1),rt())}return M({type:n,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[de],ngContentSelectors:t,decls:5,vars:1,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,l){a&1&&(Ce(e),qt(0,"span",0),U(1),x(2,o,2,0,"div",1),qt(3,"span",2)(4,"span",3)),a&2&&(h(2),C(l.showProgress()?2:-1))},styles:[`.mat-mdc-icon-button { + -webkit-user-select: none; + user-select: none; + display: inline-block; + position: relative; + box-sizing: border-box; + border: none; + outline: none; + background-color: transparent; + fill: currentColor; + text-decoration: none; + cursor: pointer; + z-index: 0; + overflow: visible; + border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%)); + flex-shrink: 0; + text-align: center; + width: var(--%NS%mat-icon-button-state-layer-size, 40px); + height: var(--%NS%mat-icon-button-state-layer-size, 40px); + padding: calc(calc(var(--%NS%mat-icon-button-state-layer-size, 40px) - var(--%NS%mat-icon-button-icon-size, 24px)) / 2); + font-size: var(--%NS%mat-icon-button-icon-size, 24px); + color: var(--%NS%mat-icon-button-icon-color, var(--%NS%mat-sys-on-surface-variant)); + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-icon-button .mat-mdc-button-ripple, +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple, +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} +.mat-mdc-icon-button .mat-mdc-button-ripple { + overflow: hidden; +} +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { + content: ""; + opacity: 0; +} +.mat-mdc-icon-button .mdc-button__label, +.mat-mdc-icon-button .mat-icon { + z-index: 1; + position: relative; +} +.mat-mdc-icon-button .mat-focus-indicator { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + border-radius: inherit; +} +.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before { + content: ""; + border-radius: inherit; +} +.mat-mdc-icon-button .mat-ripple-element { + background-color: var(--%NS%mat-icon-button-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface-variant) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-icon-button-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-icon-button-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-icon-button-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-icon-button-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-icon-button-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-icon-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-icon-button-touch-target-size, 48px); + display: var(--%NS%mat-icon-button-touch-target-display, block); + left: 50%; + width: var(--%NS%mat-icon-button-touch-target-size, 48px); + transform: translate(-50%, -50%); +} +.mat-mdc-icon-button._mat-animation-noopable { + transition: none !important; + animation: none !important; +} +.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-mdc-icon-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} +.mat-mdc-icon-button img, +.mat-mdc-icon-button svg { + width: var(--%NS%mat-icon-button-icon-size, 24px); + height: var(--%NS%mat-icon-button-icon-size, 24px); + vertical-align: baseline; +} +.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__determinate-circle-graphic { + width: inherit; + height: inherit; +} +.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__indeterminate-circle-graphic { + height: 100%; +} +.mat-mdc-icon-button .mat-mdc-button-persistent-ripple { + border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%)); +} +.mat-mdc-icon-button[hidden] { + display: none; +} +.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before { + background: transparent; + opacity: 1; +} + +.mat-mdc-button-progress-indicator-container { + position: absolute; + inset-inline-start: 0; + inset-block-start: 0; + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + box-sizing: border-box; +} + +.mat-mdc-button-progress-indicator-shown mat-icon { + visibility: hidden; +} +`,`@media (forced-colors: active) { + .mat-mdc-button:not(.mdc-button--outlined), + .mat-mdc-unelevated-button:not(.mdc-button--outlined), + .mat-mdc-raised-button:not(.mdc-button--outlined), + .mat-mdc-outlined-button:not(.mdc-button--outlined), + .mat-mdc-button-base.mat-tonal-button, + .mat-mdc-icon-button.mat-mdc-icon-button, + .mat-mdc-outlined-button .mdc-button__ripple { + outline: solid 1px; + } +} +`],encapsulation:2})})()}return n})();var Hh=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),ai=(()=>{class n extends Jc{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=l_(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let t=this._elementRef.nativeElement.classList,o=this._appearance?Hh.get(this._appearance):null,r=Hh.get(e);o&&t.remove(...o),t.add(...r),this._appearance=e}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""],["",8,"material-symbols-outlined",3,"iconPositionEnd",""],["",8,"material-symbols-rounded",3,"iconPositionEnd",""],["",8,"material-symbols-sharp",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""],["","iconPositionEnd","",8,"material-symbols-outlined"],["","iconPositionEnd","",8,"material-symbols-rounded"],["","iconPositionEnd","",8,"material-symbols-sharp"]],[["","progressIndicator",""]]],t=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd]), .material-symbols-outlined:not([iconPositionEnd]), .material-symbols-rounded:not([iconPositionEnd]), .material-symbols-sharp:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd], .material-symbols-outlined[iconPositionEnd], .material-symbols-rounded[iconPositionEnd], .material-symbols-sharp[iconPositionEnd]","[progressIndicator]"];function o(r,a){r&1&&(ot(0,"div",2),U(1,3),rt())}return M({type:n,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[de],ngContentSelectors:t,decls:8,vars:5,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-button-progress-indicator-container"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,l){a&1&&(Ce(e),qt(0,"span",0),U(1),ot(2,"span",1),U(3,1),rt(),U(4,2),x(5,o,2,0,"div",2),qt(6,"span",3)(7,"span",4)),a&2&&(Q("mdc-button__ripple",!l._isFab)("mdc-fab__ripple",l._isFab),h(5),C(l.showProgress()?5:-1))},styles:[`.mat-mdc-button-base { + text-decoration: none; +} +.mat-mdc-button-base .mat-icon { + min-height: fit-content; + flex-shrink: 0; +} +@media (hover: none) { + .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { + opacity: 0; + } +} + +.mdc-button { + -webkit-user-select: none; + user-select: none; + position: relative; + display: inline-flex; + align-items: center; + justify-content: center; + box-sizing: border-box; + min-width: 64px; + border: none; + outline: none; + line-height: inherit; + -webkit-appearance: none; + overflow: visible; + vertical-align: middle; + background: transparent; + padding: 0 8px; +} +.mdc-button::-moz-focus-inner { + padding: 0; + border: 0; +} +.mdc-button:active { + outline: none; +} +.mdc-button:hover { + cursor: pointer; +} +.mdc-button:disabled { + cursor: default; + pointer-events: none; +} +.mdc-button[hidden] { + display: none; +} +.mdc-button .mdc-button__label { + position: relative; +} + +.mat-mdc-button { + padding: 0 var(--%NS%mat-button-text-horizontal-padding, 12px); + height: var(--%NS%mat-button-text-container-height, 40px); + font-family: var(--%NS%mat-button-text-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-text-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-text-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-text-label-text-transform); + font-weight: var(--%NS%mat-button-text-label-text-weight, var(--%NS%mat-sys-label-large-weight)); +} +.mat-mdc-button, .mat-mdc-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-text-container-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-mdc-button:not(:disabled) { + color: var(--%NS%mat-button-text-label-text-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); +} +.mat-mdc-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} +.mat-mdc-button:has(.material-icons, .material-symbols-outlined, .material-symbols-rounded, +.material-symbols-sharp, mat-icon, [matButtonIcon]) { + padding: 0 var(--%NS%mat-button-text-with-icon-horizontal-padding, 16px); +} +.mat-mdc-button > .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-text-icon-offset, -4px); +} +[dir=rtl] .mat-mdc-button > .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-offset, -4px); + margin-left: var(--%NS%mat-button-text-icon-spacing, 8px); +} +.mat-mdc-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-offset, -4px); + margin-left: var(--%NS%mat-button-text-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-text-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-text-icon-offset, -4px); +} +.mat-mdc-button .mat-ripple-element { + background-color: var(--%NS%mat-button-text-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-text-state-layer-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-text-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-text-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-text-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-text-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-text-touch-target-size, 48px); + display: var(--%NS%mat-button-text-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} + +.mat-mdc-unelevated-button { + transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); + height: var(--%NS%mat-button-filled-container-height, 40px); + font-family: var(--%NS%mat-button-filled-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-filled-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-filled-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-filled-label-text-transform); + font-weight: var(--%NS%mat-button-filled-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + padding: 0 var(--%NS%mat-button-filled-horizontal-padding, 24px); +} +.mat-mdc-unelevated-button > .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-filled-icon-offset, -8px); +} +[dir=rtl] .mat-mdc-unelevated-button > .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-offset, -8px); + margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px); +} +.mat-mdc-unelevated-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-offset, -8px); + margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-filled-icon-offset, -8px); +} +.mat-mdc-unelevated-button .mat-ripple-element { + background-color: var(--%NS%mat-button-filled-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-filled-state-layer-color, var(--%NS%mat-sys-on-primary)); +} +.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-filled-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-filled-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-filled-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-filled-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-unelevated-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-filled-touch-target-size, 48px); + display: var(--%NS%mat-button-filled-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} +.mat-mdc-unelevated-button:not(:disabled) { + color: var(--%NS%mat-button-filled-label-text-color, var(--%NS%mat-sys-on-primary)); + background-color: var(--%NS%mat-button-filled-container-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-filled-container-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-mdc-unelevated-button .mat-mdc-button-progress-indicator-container { + --%NS%mat-progress-spinner-active-indicator-color: var(--%NS%mat-button-filled-progress-active-indicator-color, var(--%NS%mat-sys-on-primary)); +} +.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + background-color: var(--%NS%mat-button-filled-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} + +.mat-mdc-raised-button { + transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: var(--%NS%mat-button-protected-container-elevation-shadow, var(--%NS%mat-sys-level1)); + height: var(--%NS%mat-button-protected-container-height, 40px); + font-family: var(--%NS%mat-button-protected-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-protected-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-protected-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-protected-label-text-transform); + font-weight: var(--%NS%mat-button-protected-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + padding: 0 var(--%NS%mat-button-protected-horizontal-padding, 24px); +} +.mat-mdc-raised-button > .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-protected-icon-offset, -8px); +} +[dir=rtl] .mat-mdc-raised-button > .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-offset, -8px); + margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px); +} +.mat-mdc-raised-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-offset, -8px); + margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-protected-icon-offset, -8px); +} +.mat-mdc-raised-button .mat-ripple-element { + background-color: var(--%NS%mat-button-protected-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-protected-state-layer-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-protected-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-protected-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-protected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-protected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-raised-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-protected-touch-target-size, 48px); + display: var(--%NS%mat-button-protected-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} +.mat-mdc-raised-button:not(:disabled) { + color: var(--%NS%mat-button-protected-label-text-color, var(--%NS%mat-sys-primary)); + background-color: var(--%NS%mat-button-protected-container-color, var(--%NS%mat-sys-surface)); +} +.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-protected-container-shape, var(--%NS%mat-sys-corner-full)); +} +@media (hover: hover) { + .mat-mdc-raised-button:hover { + box-shadow: var(--%NS%mat-button-protected-hover-container-elevation-shadow, var(--%NS%mat-sys-level2)); + } +} +.mat-mdc-raised-button:focus { + box-shadow: var(--%NS%mat-button-protected-focus-container-elevation-shadow, var(--%NS%mat-sys-level1)); +} +.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { + box-shadow: var(--%NS%mat-button-protected-pressed-container-elevation-shadow, var(--%NS%mat-sys-level1)); +} +.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + background-color: var(--%NS%mat-button-protected-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { + box-shadow: var(--%NS%mat-button-protected-disabled-container-elevation-shadow, var(--%NS%mat-sys-level0)); +} +.mat-mdc-raised-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} + +.mat-mdc-outlined-button { + border-style: solid; + transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); + height: var(--%NS%mat-button-outlined-container-height, 40px); + font-family: var(--%NS%mat-button-outlined-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-outlined-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-outlined-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-outlined-label-text-transform); + font-weight: var(--%NS%mat-button-outlined-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + border-radius: var(--%NS%mat-button-outlined-container-shape, var(--%NS%mat-sys-corner-full)); + border-width: var(--%NS%mat-button-outlined-outline-width, 1px); + padding: 0 var(--%NS%mat-button-outlined-horizontal-padding, 24px); +} +.mat-mdc-outlined-button > .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px); +} +[dir=rtl] .mat-mdc-outlined-button > .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px); + margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px); +} +.mat-mdc-outlined-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px); + margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px); +} +[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px); +} +.mat-mdc-outlined-button .mat-ripple-element { + background-color: var(--%NS%mat-button-outlined-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-outlined-state-layer-color, var(--%NS%mat-sys-primary)); +} +.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-outlined-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-outlined-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-outlined-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-outlined-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-mdc-outlined-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-outlined-touch-target-size, 48px); + display: var(--%NS%mat-button-outlined-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} +.mat-mdc-outlined-button:not(:disabled) { + color: var(--%NS%mat-button-outlined-label-text-color, var(--%NS%mat-sys-primary)); + border-color: var(--%NS%mat-button-outlined-outline-color, var(--%NS%mat-sys-outline)); +} +.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + border-color: var(--%NS%mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} + +.mat-tonal-button { + transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); + height: var(--%NS%mat-button-tonal-container-height, 40px); + font-family: var(--%NS%mat-button-tonal-label-text-font, var(--%NS%mat-sys-label-large-font)); + font-size: var(--%NS%mat-button-tonal-label-text-size, var(--%NS%mat-sys-label-large-size)); + letter-spacing: var(--%NS%mat-button-tonal-label-text-tracking, var(--%NS%mat-sys-label-large-tracking)); + text-transform: var(--%NS%mat-button-tonal-label-text-transform); + font-weight: var(--%NS%mat-button-tonal-label-text-weight, var(--%NS%mat-sys-label-large-weight)); + padding: 0 var(--%NS%mat-button-tonal-horizontal-padding, 24px); +} +.mat-tonal-button:not(:disabled) { + color: var(--%NS%mat-button-tonal-label-text-color, var(--%NS%mat-sys-on-secondary-container)); + background-color: var(--%NS%mat-button-tonal-container-color, var(--%NS%mat-sys-secondary-container)); +} +.mat-tonal-button, .mat-tonal-button .mdc-button__ripple { + border-radius: var(--%NS%mat-button-tonal-container-shape, var(--%NS%mat-sys-corner-full)); +} +.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { + cursor: default; + pointer-events: none; + color: var(--%NS%mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent)); + background-color: var(--%NS%mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 12%, transparent)); +} +.mat-tonal-button.mat-mdc-button-disabled-interactive { + pointer-events: auto; +} +.mat-tonal-button > .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px); +} +[dir=rtl] .mat-tonal-button > .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px); + margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px); +} +.mat-tonal-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px); + margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px); +} +[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { + margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px); + margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px); +} +.mat-tonal-button .mat-ripple-element { + background-color: var(--%NS%mat-button-tonal-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-secondary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent)); +} +.mat-tonal-button .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-tonal-state-layer-color, var(--%NS%mat-sys-on-secondary-container)); +} +.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { + background-color: var(--%NS%mat-button-tonal-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant)); +} +.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-tonal-hover-state-layer-opacity, var(--%NS%mat-sys-hover-state-layer-opacity)); +} +.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-tonal-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity)); +} +.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { + opacity: var(--%NS%mat-button-tonal-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity)); +} +.mat-tonal-button .mat-mdc-button-touch-target { + position: absolute; + top: 50%; + height: var(--%NS%mat-button-tonal-touch-target-size, 48px); + display: var(--%NS%mat-button-tonal-touch-target-display, block); + left: 0; + right: 0; + transform: translateY(-50%); +} + +.mat-mdc-button, +.mat-mdc-unelevated-button, +.mat-mdc-raised-button, +.mat-mdc-outlined-button, +.mat-tonal-button { + -webkit-tap-highlight-color: transparent; +} +.mat-mdc-button .mat-mdc-button-ripple, +.mat-mdc-button .mat-mdc-button-persistent-ripple, +.mat-mdc-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-unelevated-button .mat-mdc-button-ripple, +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple, +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-raised-button .mat-mdc-button-ripple, +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple, +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-outlined-button .mat-mdc-button-ripple, +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple, +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, +.mat-tonal-button .mat-mdc-button-ripple, +.mat-tonal-button .mat-mdc-button-persistent-ripple, +.mat-tonal-button .mat-mdc-button-persistent-ripple::before { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + pointer-events: none; + border-radius: inherit; +} +.mat-mdc-button .mat-mdc-button-ripple, +.mat-mdc-unelevated-button .mat-mdc-button-ripple, +.mat-mdc-raised-button .mat-mdc-button-ripple, +.mat-mdc-outlined-button .mat-mdc-button-ripple, +.mat-tonal-button .mat-mdc-button-ripple { + overflow: hidden; +} +.mat-mdc-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before, +.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before, +.mat-tonal-button .mat-mdc-button-persistent-ripple::before { + content: ""; + opacity: 0; +} +.mat-mdc-button .mdc-button__label, +.mat-mdc-button .mat-icon, +.mat-mdc-unelevated-button .mdc-button__label, +.mat-mdc-unelevated-button .mat-icon, +.mat-mdc-raised-button .mdc-button__label, +.mat-mdc-raised-button .mat-icon, +.mat-mdc-outlined-button .mdc-button__label, +.mat-mdc-outlined-button .mat-icon, +.mat-tonal-button .mdc-button__label, +.mat-tonal-button .mat-icon { + z-index: 1; + position: relative; +} +.mat-mdc-button .mat-focus-indicator, +.mat-mdc-unelevated-button .mat-focus-indicator, +.mat-mdc-raised-button .mat-focus-indicator, +.mat-mdc-outlined-button .mat-focus-indicator, +.mat-tonal-button .mat-focus-indicator { + top: 0; + left: 0; + right: 0; + bottom: 0; + position: absolute; + border-radius: inherit; +} +.mat-mdc-button:focus-visible > .mat-focus-indicator::before, +.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before, +.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before, +.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before, +.mat-tonal-button:focus-visible > .mat-focus-indicator::before { + content: ""; + border-radius: inherit; +} +.mat-mdc-button._mat-animation-noopable, +.mat-mdc-unelevated-button._mat-animation-noopable, +.mat-mdc-raised-button._mat-animation-noopable, +.mat-mdc-outlined-button._mat-animation-noopable, +.mat-tonal-button._mat-animation-noopable { + transition: none !important; + animation: none !important; +} +.mat-mdc-button > .mat-icon, +.mat-mdc-unelevated-button > .mat-icon, +.mat-mdc-raised-button > .mat-icon, +.mat-mdc-outlined-button > .mat-icon, +.mat-tonal-button > .mat-icon { + display: inline-block; + position: relative; + vertical-align: top; + font-size: 1.125rem; + height: 1.125rem; + width: 1.125rem; +} + +.mat-mdc-outlined-button .mat-mdc-button-ripple, +.mat-mdc-outlined-button .mdc-button__ripple { + top: -1px; + left: -1px; + bottom: -1px; + right: -1px; +} + +.mat-mdc-unelevated-button .mat-focus-indicator::before, +.mat-tonal-button .mat-focus-indicator::before, +.mat-mdc-raised-button .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1); +} + +.mat-mdc-outlined-button .mat-focus-indicator::before { + margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1); +} + +.mat-mdc-button-progress-indicator-container { + position: absolute; + inset-inline-start: 0; + inset-block-start: 0; + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + box-sizing: border-box; +} + +.mat-mdc-button-progress-indicator-shown mat-icon, +.mat-mdc-button-progress-indicator-shown [matButtonIcon], +.mat-mdc-button-progress-indicator-shown .mdc-button__label { + visibility: hidden; +} +`,`@media (forced-colors: active) { + .mat-mdc-button:not(.mdc-button--outlined), + .mat-mdc-unelevated-button:not(.mdc-button--outlined), + .mat-mdc-raised-button:not(.mdc-button--outlined), + .mat-mdc-outlined-button:not(.mdc-button--outlined), + .mat-mdc-button-base.mat-tonal-button, + .mat-mdc-icon-button.mat-mdc-icon-button, + .mat-mdc-outlined-button .mdc-button__ripple { + outline: solid 1px; + } +} +`],encapsulation:2})})()}return n})();function l_(n){return n.hasAttribute("mat-raised-button")?"elevated":n.hasAttribute("mat-stroked-button")?"outlined":n.hasAttribute("mat-flat-button")?"filled":n.hasAttribute("mat-button")?"text":null}var $h=ai;var Gh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n});static \u0275inj=le({imports:[Xp,zi]})}return n})();var c_=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=M({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`textarea.cdk-textarea-autosize { + resize: none; +} + +textarea.cdk-textarea-autosize-measuring { + padding: 2px 0 !important; + box-sizing: content-box !important; + height: auto !important; + overflow: hidden !important; +} + +textarea.cdk-textarea-autosize-measuring-firefox { + padding: 2px 0 !important; + box-sizing: content-box !important; + height: 0 !important; +} + +@keyframes cdk-text-field-autofill-start { /*!*/ } +@keyframes cdk-text-field-autofill-end { /*!*/ } +.cdk-text-field-autofill-monitored:-webkit-autofill { + animation: cdk-text-field-autofill-start 0s 1ms; +} + +.cdk-text-field-autofill-monitored:not(:-webkit-autofill) { + animation: cdk-text-field-autofill-end 0s 1ms; +} +`],encapsulation:2})}return n})(),d_={passive:!0},qh=(()=>{class n{_platform=c(pe);_ngZone=c(P);_renderer=c(He).createRenderer(null,null);_styleLoader=c(Ye);_monitoredElements=new Map;monitor(e){if(!this._platform.isBrowser)return ut;this._styleLoader.load(c_);let t=Dt(e),o=this._monitoredElements.get(t);if(o)return o.subject;let r=new I,a="cdk-text-field-autofilled",l=u=>{u.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>r.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>r.next({target:u.target,isAutofilled:!1})))},s=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",l,d_)));return this._monitoredElements.set(t,{subject:r,unlisten:s}),r}stopMonitoring(e){let t=Dt(e),o=this._monitoredElements.get(t);o&&(o.unlisten(),o.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=R({token:n,factory:n.\u0275fac})}return n})();var Kh=new y("MAT_INPUT_VALUE_ACCESSOR");var u_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],m_=new y("MAT_INPUT_CONFIG"),Yh=(()=>{class n{_elementRef=c(L);_platform=c(pe);ngControl=c(Rt,{optional:!0,self:!0});_autofillMonitor=c(qh);_ngZone=c(P);_formField=c(ti,{optional:!0});_renderer=c(ve);_uid=c(Se).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=c(m_,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new I;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=qi(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(qn.required)??!1}set required(e){this._required=qi(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&gc().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=qi(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>gc().has(e));constructor(){let e=c(wt,{optional:!0}),t=c(Wo,{optional:!0}),o=c(ns),r=c(Kh,{optional:!0,self:!0}),a=c(ts,{optional:!0,self:!0}),l=this._elementRef.nativeElement,s=l.nodeName.toLowerCase();r?Nt(r.value)?this._signalBasedValueAccessor=r:this._inputValueAccessor=r:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Ki(o,a||this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=s==="select",this._isTextarea=s==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Ft(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){u_.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,o){t&1&&V("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),t&2&&(qe("id",o.id)("disabled",o.disabled&&!o.disabledInteractive)("required",o.required),Z("name",o.name||null)("readonly",o._getReadonlyAttribute())("aria-disabled",o.disabled&&o.disabledInteractive?"true":null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Q("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mat-mdc-input-disabled-interactive",o.disabledInteractive)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",B]},exportAs:["matInput"],features:[be([{provide:rr,useExisting:n}]),xe]})}return n})();var Xh=(()=>{class n{data;dialogRef=c(ri);hide=X(!0);constructor(e){this.data=e}onNoClick(){this.dialogRef.close()}clickEvent(e){this.hide.set(!this.hide()),e.stopPropagation()}static \u0275fac=function(t){return new(t||n)(D(Qc))};static \u0275cmp=M({type:n,selectors:[["app-dialog"]],decls:21,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"fillField"],["matInput","",3,"ngModelChange","ngModel"],["matInput","",3,"ngModelChange","type","ngModel"],["mat-icon-button","","matSuffix","",3,"click"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",3,"click"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,o){t&1&&(p(0,"h1",0),g(1,"Hi "),m(),p(2,"div",1)(3,"p"),g(4,"User name"),m(),p(5,"mat-form-field",2)(6,"input",3),Ee(),Pe("ngModelChange",function(a){return Fe(o.data.username,a)||(o.data.username=a),a}),m()(),p(7,"p"),g(8,"Password"),m(),p(9,"mat-form-field",2)(10,"mat-label"),g(11,"Enter your password"),m(),p(12,"input",4),Ee(),Pe("ngModelChange",function(a){return Fe(o.data.password,a)||(o.data.password=a),a}),m(),p(13,"button",5),V("click",function(a){return o.clickEvent(a)}),p(14,"mat-icon"),g(15),m()()()(),p(16,"div",6)(17,"button",7),V("click",function(){return o.onNoClick()}),g(18,"No Thanks"),m(),p(19,"button",8),g(20,"Ok"),m()()),t&2&&(h(6),Oe("ngModel",o.data.username),Me(),h(6),ye("type",o.hide()?"password":"text"),Oe("ngModel",o.data.password),Me(),h(),Z("aria-label","Hide password")("aria-pressed",o.hide()),h(2),pt(o.hide()?"visibility_off":"visibility"),h(4),ye("mat-dialog-close",o.data))},dependencies:[Gh,ai,ed,or,zh,Ph,Vh,Bh,ni,Yh,Li,et,ht,St,An,wc],styles:[".fillField[_ngcontent-%COMP%]{width:100%}"]})}return n})();var Zh=(()=>{class n{subject$=new I;emit(e){this.subject$.next(e)}on(e,t){return this.subject$.pipe(ge(o=>o.name===e),te(o=>o.value)).subscribe(t)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=O({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var h_=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=k({type:n,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return n})(),ys=(()=>{class n{_elementRef=c(L);_platform=c(pe);_document=c(F);color;_toolbarRows;ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=(function(){let e=["*",[["mat-toolbar-row"]]];return M({type:n,selectors:[["mat-toolbar"]],contentQueries:function(r,a,l){if(r&1&&mt(l,h_,5),r&2){let s;$(s=G())&&(a._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(r,a){r&2&&(Kt(a.color?"mat-"+a.color:""),Q("mat-toolbar-multiple-rows",a._toolbarRows.length>0)("mat-toolbar-single-row",a._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:["*","mat-toolbar-row"],decls:2,vars:0,template:function(r,a){r&1&&(Ce(e),U(0),U(1,1))},styles:[`.mat-toolbar { + background: var(--%NS%mat-toolbar-container-background-color, var(--%NS%mat-sys-surface)); + color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); +} +.mat-toolbar, .mat-toolbar h1, .mat-toolbar h2, .mat-toolbar h3, .mat-toolbar h4, .mat-toolbar h5, .mat-toolbar h6 { + font-family: var(--%NS%mat-toolbar-title-text-font, var(--%NS%mat-sys-title-large-font)); + font-size: var(--%NS%mat-toolbar-title-text-size, var(--%NS%mat-sys-title-large-size)); + line-height: var(--%NS%mat-toolbar-title-text-line-height, var(--%NS%mat-sys-title-large-line-height)); + font-weight: var(--%NS%mat-toolbar-title-text-weight, var(--%NS%mat-sys-title-large-weight)); + letter-spacing: var(--%NS%mat-toolbar-title-text-tracking, var(--%NS%mat-sys-title-large-tracking)); + margin: 0; +} +@media (forced-colors: active) { + .mat-toolbar { + outline: solid 1px; + } +} +.mat-toolbar .mat-form-field-underline, +.mat-toolbar .mat-form-field-ripple, +.mat-toolbar .mat-focused .mat-form-field-ripple { + background-color: currentColor; +} +.mat-toolbar .mat-form-field-label, +.mat-toolbar .mat-focused .mat-form-field-label, +.mat-toolbar .mat-select-value, +.mat-toolbar .mat-select-arrow, +.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow { + color: inherit; +} +.mat-toolbar .mat-input-element { + caret-color: currentColor; +} +.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed { + --%NS%mat-button-text-label-text-color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); + --%NS%mat-button-outlined-label-text-color: var(--%NS%mat-toolbar-container-text-color, var(--%NS%mat-sys-on-surface)); +} + +.mat-toolbar-row, .mat-toolbar-single-row { + display: flex; + box-sizing: border-box; + padding: 0 16px; + width: 100%; + flex-direction: row; + align-items: center; + white-space: nowrap; + height: var(--%NS%mat-toolbar-standard-height, 64px); +} +@media (max-width: 599px) { + .mat-toolbar-row, .mat-toolbar-single-row { + height: var(--%NS%mat-toolbar-mobile-height, 56px); + } +} + +.mat-toolbar-multiple-rows { + display: flex; + box-sizing: border-box; + flex-direction: column; + width: 100%; + min-height: var(--%NS%mat-toolbar-standard-height, 64px); +} +@media (max-width: 599px) { + .mat-toolbar-multiple-rows { + min-height: var(--%NS%mat-toolbar-mobile-height, 56px); + } +} +`],encapsulation:2})})()}return n})();function g_(n,i){n&1&&(p(0,"li",3)(1,"a",11),g(2,"Add"),m()())}function v_(n,i){n&1&&(p(0,"li",3)(1,"a",12),g(2,"Admin Board"),m()())}function b_(n,i){n&1&&(p(0,"li",3)(1,"a",13),g(2,"Moderator Board"),m()())}function y_(n,i){n&1&&(p(0,"a",5),g(1,"User"),m())}function __(n,i){n&1&&(p(0,"ul",6)(1,"li",3)(2,"a",14),g(3,"Sign Up"),m()(),p(4,"li",3)(5,"a",15),g(6,"Login"),m()()())}function x_(n,i){if(n&1){let e=Ae();p(0,"ul",6)(1,"li",3)(2,"a",16),g(3),m()(),p(4,"li",3)(5,"a",17),V("click",function(){oe(e);let o=E();return re(o.logout())}),g(6,"LogOut"),m()()()}if(n&2){let e=E();h(3),pt(e.username)}}function C_(n,i){n&1&&(p(0,"button",9)(1,"mat-icon"),g(2,"app_registration"),m(),g(3," Register "),m())}function w_(n,i){if(n&1){let e=Ae();p(0,"button",18),V("click",function(){oe(e);let o=E();return re(o.openDialog("100ms","5ms"))}),p(1,"mat-icon"),g(2,"login"),m(),g(3," Login "),m()}}function S_(n,i){if(n&1&&(p(0,"button",9)(1,"mat-icon"),g(2,"account_circle"),m(),g(3),m()),n&2){let e=E();h(3),ke(" ",e.username," ")}}function D_(n,i){if(n&1){let e=Ae();p(0,"button",18),V("click",function(){oe(e);let o=E();return re(o.logout())}),p(1,"mat-icon"),g(2,"logout"),m(),g(3," Logout "),m()}}var Qh=(()=>{class n{storageService;authService;eventBusService;dialog=c(bs);dialogData={password:"",username:""};roles=[];isLoggedIn=!1;showAdminBoard=!1;showModeratorBoard=!1;username;eventBusSub;errorMessage;isLoginFailed=!1;constructor(e,t,o){this.storageService=e,this.authService=t,this.eventBusService=o}ngOnInit(){if(this.isLoggedIn=this.storageService.isLoggedIn(),this.isLoggedIn){let e=this.storageService.getUser();this.roles=e.roles,this.showAdminBoard=this.roles.includes("ROLE_ADMIN"),this.showModeratorBoard=this.roles.includes("ROLE_MODERATOR"),this.username=e.username}this.eventBusSub=this.eventBusService.on("logout",()=>{this.logout()})}logout(){this.authService.logout().subscribe({next:e=>{console.log(e),this.storageService.clean(),window.location.reload()},error:e=>{console.log(e)}})}openDialog(e,t){this.dialog.open(Xh,{width:"350px",enterAnimationDuration:e,exitAnimationDuration:t,data:{username:this.dialogData.username,password:this.dialogData.password}}).afterClosed().subscribe(r=>{console.log("The dialog was closed"),r!=null&&(this.dialogData=r,this.authService.login(this.dialogData.username,this.dialogData.password).subscribe(a=>{this.storageService.saveToken(a.accessToken),this.storageService.saveUser(a),this.isLoginFailed=!1,this.isLoggedIn=!0;let l=this.storageService.getUser();this.roles=l.roles,this.reloadPage()},a=>{this.errorMessage=a.error.message,this.isLoginFailed=!0}))})}reloadPage(){window.location.reload()}static \u0275fac=function(t){return new(t||n)(D(tn),D(eo),D(Zh))};static \u0275cmp=M({type:n,selectors:[["app-root"]],standalone:!1,decls:27,vars:10,consts:[[1,"navbar","navbar-expand","navbar-dark","bg-dark"],["href","#",1,"navbar-brand"],["routerLinkActive","active",1,"navbar-nav","mr-auto"],[1,"nav-item"],["routerLink","tutorials",1,"nav-link"],["href","/user","routerLink","user",1,"nav-link"],[1,"navbar-nav","ml-auto"],["mat-raised-button","","routerLink","/","href","#"],[1,"example-spacer"],["mat-raised-button",""],[1,"container","mt-3"],["routerLink","add",1,"nav-link"],["href","/admin","routerLink","admin",1,"nav-link"],["href","/mod","routerLink","mod",1,"nav-link"],["href","/register","routerLink","register",1,"nav-link"],["href","/login","routerLink","login",1,"nav-link"],["href","/profile","routerLink","profile",1,"nav-link"],["href","",1,"nav-link",3,"click"],["mat-raised-button","",3,"click"]],template:function(t,o){t&1&&(p(0,"div")(1,"nav",0)(2,"a",1),g(3,"Spring-AngularTS"),m(),p(4,"ul",2)(5,"li",3)(6,"a",4),g(7,"Tutorials"),m()(),x(8,g_,3,0,"li",3),x(9,v_,3,0,"li",3),x(10,b_,3,0,"li",3),p(11,"li",3),x(12,y_,2,0,"a",5),m()(),x(13,__,7,0,"ul",6),x(14,x_,7,1,"ul",6),m(),p(15,"mat-toolbar")(16,"button",7),g(17," My App "),m(),p(18,"span"),g(19,"My App "),m(),ae(20,"span",8),x(21,C_,4,0,"button",9),x(22,w_,4,0,"button",9),x(23,S_,4,1,"button",9),x(24,D_,4,0,"button",9),m(),p(25,"div",10),ae(26,"router-outlet"),m()()),t&2&&(h(8),C(o.isLoggedIn?8:-1),h(),C(o.showAdminBoard?9:-1),h(),C(o.showModeratorBoard?10:-1),h(2),C(o.isLoggedIn?12:-1),h(),C(o.isLoggedIn?-1:13),h(),C(o.isLoggedIn?14:-1),h(7),C(o.isLoggedIn?-1:21),h(),C(o.isLoggedIn?-1:22),h(),C(o.isLoggedIn?23:-1),h(),C(o.isLoggedIn?24:-1))},dependencies:[To,Cn,Wl,ys,ai,An],styles:[".example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:1})}return n})();var E_="Authorization",M_=(()=>{class n{token;constructor(e){this.token=e}intercept(e,t){let o=e,r=this.token.getToken();return r!=null&&(o=e.clone({headers:e.headers.set(E_,"Bearer "+r)})),t.handle(o)}static \u0275fac=function(t){return new(t||n)(N(tn))};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),Jh=[{provide:$r,useClass:M_,multi:!0}];var N_="@",A_=(()=>{class n{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=null;injector=c(ie);loadingSchedulerFn=c(I_,{optional:!0});_engine;constructor(e,t,o,r,a){this.doc=e,this.delegate=t,this.zone=o,this.animationType=r,this.moduleImpl=a}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-NIKFPCN4.js").then(o=>o),t;return this.loadingSchedulerFn?t=this.loadingSchedulerFn(e):t=e(),t.catch(o=>{throw new z(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:r})=>{this._engine=o(this.animationType,this.doc);let a=new r(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,t){let o=this.delegate.createRenderer(e,t);if(o.\u0275type===0)return o;Jd(o);let r=new td(o);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let l=a.createRenderer(e,t);r.use(l),this.scheduler??=this.injector.get(dd,null,{optional:!0}),this.scheduler?.notify(10)}).catch(a=>{r.use(o)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(t){mi()};static \u0275prov=O({token:n,factory:n.\u0275fac})}return n})(),td=class{delegate;replay=[];\u0275type=1;constructor(i){this.delegate=i}use(i){if(this.delegate=i,this.replay!==null){for(let e of this.replay)e(i);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(i,e){return this.delegate.createElement(i,e)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}get destroyNode(){return this.delegate.destroyNode}appendChild(i,e){this.delegate.appendChild(i,e)}insertBefore(i,e,t,o){this.delegate.insertBefore(i,e,t,o)}removeChild(i,e,t,o){this.delegate.removeChild(i,e,t,o)}selectRootElement(i,e){return this.delegate.selectRootElement(i,e)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,e,t,o){this.delegate.setAttribute(i,e,t,o)}removeAttribute(i,e,t){this.delegate.removeAttribute(i,e,t)}addClass(i,e){this.delegate.addClass(i,e)}removeClass(i,e){this.delegate.removeClass(i,e)}setStyle(i,e,t,o){this.delegate.setStyle(i,e,t,o)}removeStyle(i,e,t){this.delegate.removeStyle(i,e,t)}setProperty(i,e,t){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(i,e,t)),this.delegate.setProperty(i,e,t)}setValue(i,e){this.delegate.setValue(i,e)}listen(i,e,t,o){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(i,e,t,o)),this.delegate.listen(i,e,t,o)}shouldReplay(i){return this.replay!==null&&i.startsWith(N_)}},I_=new y("");function ef(n="animations"){return so("NgAsyncAnimations"),un([{provide:He,useFactory:()=>new A_(c(F),c(fo),c(P),n)},{provide:ci,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var tf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=ce({type:n,bootstrap:[Qh]});static \u0275inj=le({providers:[Jh,cl(ul(),dl()),ef()],imports:[nl,Ah,Li,fs,ys,ai,An,$h,rs,sr,hs,Yi,ni,kc,Ic,tp]})}return n})();var nf={production:!0};nf.production&&void 0;tl().bootstrapModule(tf,{applicationProviders:[Bd()]}).catch(n=>console.error(n)); diff --git a/src/main/resources/static/polyfills-4CM4QRSW.js b/src/main/resources/static/polyfills-4CM4QRSW.js new file mode 100644 index 0000000..37c1f6c --- /dev/null +++ b/src/main/resources/static/polyfills-4CM4QRSW.js @@ -0,0 +1,2 @@ +var ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}function ht(){let t=ce.performance;function n(I){t&&t.mark&&t.mark(I)}function a(I,s){t&&t.measure&&t.measure(I,s)}n("Zone");class e{static __symbol__=te;static assertZonePatched(){if(ce.Promise!==S.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=e.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return D}static __load_patch(s,i,r=!1){if(S.hasOwnProperty(s)){let E=ce[te("forceDuplicateZoneCheck")]===!0;if(!r&&E)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){let E="Zone:"+s;n(E),S[s]=i(ce,e,R),a(E,E)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(s,i){this._parent=s,this._name=i?i.name||"unnamed":"",this._properties=i&&i.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,i)}get(s){let i=this.getZoneWith(s);if(i)return i._properties[s]}getZoneWith(s){let i=this;for(;i;){if(i._properties.hasOwnProperty(s))return i;i=i._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,i){if(typeof s!="function")throw new Error("Expecting function got: "+s);let r=this._zoneDelegate.intercept(this,s,i),E=this;return function(){return E.runGuarded(r,this,arguments,i)}}run(s,i,r,E){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,i,r,E)}finally{b=b.parent}}runGuarded(s,i=null,r,E){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,i,r,E)}catch(x){if(this._zoneDelegate.handleError(this,x))throw x}}finally{b=b.parent}}runTask(s,i,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");let E=s,{type:x,data:{isPeriodic:ee=!1,isRefreshable:M=!1}={}}=s;if(s.state===q&&(x===U||x===k))return;let he=s.state!=A;he&&E._transitionTo(A,d);let _e=D;D=E,b={parent:b,zone:this};try{x==k&&s.data&&!ee&&!M&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,E,i,r)}catch(Q){if(this._zoneDelegate.handleError(this,Q))throw Q}}finally{let Q=s.state;if(Q!==q&&Q!==X)if(x==U||ee||M&&Q===y)he&&E._transitionTo(d,A,y);else{let Te=E._zoneDelegates;this._updateTaskCount(E,-1),he&&E._transitionTo(q,A,q),M&&(E._zoneDelegates=Te)}b=b.parent,D=_e}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(y,q);let i=[];s._zoneDelegates=i,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(X,y,q),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===i&&this._updateTaskCount(s,1),s.state==y&&s._transitionTo(d,y),s}scheduleMicroTask(s,i,r,E){return this.scheduleTask(new g(F,s,i,r,E,void 0))}scheduleMacroTask(s,i,r,E,x){return this.scheduleTask(new g(k,s,i,r,E,x))}scheduleEventTask(s,i,r,E,x){return this.scheduleTask(new g(U,s,i,r,E,x))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||J).name+"; Execution: "+this.name+")");if(!(s.state!==d&&s.state!==A)){s._transitionTo(V,d,A);try{this._zoneDelegate.cancelTask(this,s)}catch(i){throw s._transitionTo(X,V),this._zoneDelegate.handleError(this,i),i}return this._updateTaskCount(s,-1),s._transitionTo(q,V),s.runCount=-1,s}}_updateTaskCount(s,i){let r=s._zoneDelegates;i==-1&&(s._zoneDelegates=null);for(let E=0;EI.hasTask(i,r),onScheduleTask:(I,s,i,r)=>I.scheduleTask(i,r),onInvokeTask:(I,s,i,r,E,x)=>I.invokeTask(i,r,E,x),onCancelTask:(I,s,i,r)=>I.cancelTask(i,r)};class f{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(s,i,r){this._zone=s,this._parentDelegate=i,this._forkZS=r&&(r&&r.onFork?r:i._forkZS),this._forkDlgt=r&&(r.onFork?i:i._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:i._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:i._interceptZS),this._interceptDlgt=r&&(r.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:i._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:i._invokeZS),this._invokeDlgt=r&&(r.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:i._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:i._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:i._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:i._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:i._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:i._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:i._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:i._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let E=r&&r.onHasTask,x=i&&i._hasTaskZS;(E||x)&&(this._hasTaskZS=E?r:c,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this._zone))}fork(s,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,i):new e(s,i)}intercept(s,i,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,i,r):i}invoke(s,i,r,E,x){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,i,r,E,x):i.apply(r,E)}handleError(s,i){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,i):!0}scheduleTask(s,i){let r=i;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,i),r||(r=i);else if(i.scheduleFn)i.scheduleFn(i);else if(i.type==F)z(i);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(s,i,r,E){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,i,r,E):i.callback.apply(r,E)}cancelTask(s,i){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");r=i.cancelFn(i)}return r}hasTask(s,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,i)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,i){let r=this._taskCounts,E=r[s],x=r[s]=E+i;if(x<0)throw new Error("More tasks executed then were scheduled.");if(E==0||x==0){let ee={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s};this.hasTask(this._zone,ee)}}}class g{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(s,i,r,E,x,ee){if(this.type=s,this.source=i,this.data=E,this.scheduleFn=x,this.cancelFn=ee,!r)throw new Error("callback is not defined");this.callback=r;let M=this;s===U&&E&&E.useG?this.invoke=g.invokeTask:this.invoke=function(){return g.invokeTask.call(ce,M,this,arguments)}}static invokeTask(s,i,r){s||(s=this),K++;try{return s.runCount++,s.zone.runTask(s,i,r)}finally{K==1&&$(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(q,y)}_transitionTo(s,i,r){if(this._state===i||this._state===r)this._state=s,s==q&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${i}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=te("setTimeout"),p=te("Promise"),w=te("then"),_=[],P=!1,L;function H(I){if(L||ce[p]&&(L=ce[p].resolve(0)),L){let s=L[w];s||(s=L.then),s.call(L,I)}else ce[T](I,0)}function z(I){K===0&&_.length===0&&H($),I&&_.push(I)}function $(){if(!P){for(P=!0;_.length;){let I=_;_=[];for(let s=0;sb,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!e[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:H},b={parent:null,zone:new e(null,null)},D=null,K=0;function W(){}return a("Zone","Zone"),e}function dt(){let t=globalThis,n=t[te("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(n||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ht(),t.Zone}var ye=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=te(je),Ze=te(He),ae="true",le="false",ve=te("");function Ve(t,n){return Zone.current.wrap(t,n)}function xe(t,n,a,e,c){return Zone.current.scheduleMacroTask(t,n,a,e,c)}var j=te,we=typeof window<"u",be=we?window:void 0,Y=we&&be||globalThis,Et="removeAttribute";function Fe(t,n){for(let a=t.length-1;a>=0;a--)typeof t[a]=="function"&&(t[a]=Ve(t[a],n+"_"+a));return t}function gt(t,n){let a=t.constructor.name;for(let e=0;e{let p=function(){return T.apply(this,Fe(arguments,a+"."+c))};return fe(p,T),p})(f)}}}function et(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in Y)&&typeof Y.process<"u"&&Y.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof Y.process<"u"&&Y.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=j("enable_beforeunload"),Xe=function(t){if(t=t||Y.event,!t)return;let n=Ce[t.type];n||(n=Ce[t.type]=j("ON_PROPERTY"+t.type));let a=this||t.target||Y,e=a[n],c;if(Ge&&a===be&&t.type==="error"){let f=t;c=e&&e.call(this,f.message,f.filename,f.lineno,f.colno,f.error),c===!0&&t.preventDefault()}else c=e&&e.apply(this,arguments),t.type==="beforeunload"&&Y[kt]&&typeof c=="string"?t.returnValue=c:c!=null&&!c&&t.preventDefault();return c};function Ye(t,n,a){let e=ye(t,n);if(!e&&a&&ye(a,n)&&(e={enumerable:!0,configurable:!0}),!e||!e.configurable)return;let c=j("on"+n+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete e.writable,delete e.value;let f=e.get,g=e.set,T=n.slice(2),p=Ce[T];p||(p=Ce[T]=j("ON_PROPERTY"+T)),e.set=function(w){let _=this;if(!_&&t===Y&&(_=Y),!_)return;typeof _[p]=="function"&&_.removeEventListener(T,Xe),g?.call(_,null),_[p]=w,typeof w=="function"&&_.addEventListener(T,Xe,!1)},e.get=function(){let w=this;if(!w&&t===Y&&(w=Y),!w)return null;let _=w[p];if(_)return _;if(f){let P=f.call(this);if(P)return e.set.call(this,P),typeof w[Et]=="function"&&w.removeAttribute(n),P}return null},Me(t,n,e),t[c]=!0}function rt(t,n,a){if(n)for(let e=0;efunction(g,T){let p=a(g,T);return p.cbIdx>=0&&typeof T[p.cbIdx]=="function"?xe(p.name,T[p.cbIdx],p,c):f.apply(g,T)})}function fe(t,n){t[j("OriginalDelegate")]=n}var $e=!1,Le=!1;function pt(){if($e)return Le;$e=!0;try{let t=be.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(t){return typeof t=="function"}function Ke(t){return typeof t=="number"}var yt={useG:!0},ne={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=j("propagationStopped");function ct(t,n){let a=(n?n(t):t)+le,e=(n?n(t):t)+ae,c=ve+a,f=ve+e;ne[t]={},ne[t][le]=c,ne[t][ae]=f}function vt(t,n,a,e){let c=e&&e.add||je,f=e&&e.rm||He,g=e&&e.listeners||"eventListeners",T=e&&e.rmAll||"removeAllListeners",p=j(c),w="."+c+":",_="prependListener",P="."+_+":",L=function(y,d,A){if(y.isRemoved)return;let V=y.callback;typeof V=="object"&&V.handleEvent&&(y.callback=k=>V.handleEvent(k),y.originalDelegate=V);let X;try{y.invoke(y,d,[A])}catch(k){X=k}let F=y.options;if(F&&typeof F=="object"&&F.once){let k=y.originalDelegate?y.originalDelegate:y.callback;d[f].call(d,A.type,k,F)}return X};function H(y,d,A){if(d=d||t.event,!d)return;let V=y||d.target||t,X=V[ne[d.type][A?ae:le]];if(X){let F=[];if(X.length===1){let k=L(X[0],V,d);k&&F.push(k)}else{let k=X.slice();for(let U=0;U{throw U})}}}let z=function(y){return H(this,y,!1)},$=function(y){return H(this,y,!0)};function J(y,d){if(!y)return!1;let A=!0;d&&d.useG!==void 0&&(A=d.useG);let V=d&&d.vh,X=!0;d&&d.chkDup!==void 0&&(X=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let k=y;for(;k&&!k.hasOwnProperty(c);)k=Ae(k);if(!k&&y[c]&&(k=y),!k||k[p])return!1;let U=d&&d.eventNameToString,S={},R=k[p]=k[c],b=k[j(f)]=k[f],D=k[j(g)]=k[g],K=k[j(T)]=k[T],W;d&&d.prepend&&(W=k[j(d.prepend)]=k[d.prepend]);function I(o,u){return u?typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}:o}let s=function(o){if(!S.isExisting)return R.call(S.target,S.eventName,S.capture?$:z,S.options)},i=function(o){if(!o.isRemoved){let u=ne[o.eventName],v;u&&(v=u[o.capture?ae:le]);let C=v&&o.target[v];if(C){for(let m=0;mre.zone.cancelTask(re);o.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(S.target=null,me&&(me.taskData=null),Be&&(S.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=N,re.capture=Se,re.eventName=Z,B&&(re.originalDelegate=G),O?ge.unshift(re):ge.push(re),m)return N}};return k[c]=l(R,w,ee,M,F),W&&(k[_]=l(W,P,E,M,F,!0)),k[f]=function(){let o=this||t,u=arguments[0];d&&d.transferEventName&&(u=d.transferEventName(u));let v=arguments[2],C=v?typeof v=="boolean"?!0:v.capture:!1,m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,o,arguments))return;let O=ne[u],N;O&&(N=O[C?ae:le]);let Z=N&&o[N];if(Z)for(let G=0;Gfunction(c,f){c[it]=!0,e&&e.apply(c,f)})}function Pt(t,n){n.patchMethod(t,"queueMicrotask",a=>function(e,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Re=j("zoneTask");function ke(t,n,a,e){let c=null,f=null;n+=e,a+=e;let g={};function T(w){let _=w.data;_.args[0]=function(){return w.invoke.apply(this,arguments)};let P=c.apply(t,_.args);return Ke(P)?_.handleId=P:(_.handle=P,_.isRefreshable=Je(P.refresh)),w}function p(w){let{handle:_,handleId:P}=w.data;return f.call(t,_??P)}c=ue(t,n,w=>function(_,P){if(Je(P[0])){let L={isRefreshable:!1,isPeriodic:e==="Interval",delay:e==="Timeout"||e==="Interval"?P[1]||0:void 0,args:P},H=P[0];P[0]=function(){try{return H.apply(this,arguments)}finally{let{handle:A,handleId:V,isPeriodic:X,isRefreshable:F}=L;!X&&!F&&(V?delete g[V]:A&&(A[Re]=null))}};let z=xe(n,P[0],L,T,p);if(!z)return z;let{handleId:$,handle:J,isRefreshable:q,isPeriodic:y}=z.data;if($)g[$]=z;else if(J&&(J[Re]=z,q&&!y)){let d=J.refresh;J.refresh=function(){let{zone:A,state:V}=z;return V==="notScheduled"?(z._state="scheduled",A._updateTaskCount(z,1)):V==="running"&&(z._state="scheduling"),d.call(this)}}return J??$??z}else return w.apply(t,P)}),f=ue(t,a,w=>function(_,P){let L=P[0],H;Ke(L)?(H=g[L],delete g[L]):(H=L?.[Re],H?L[Re]=null:H=L),H?.type?H.cancelFn&&H.zone.cancelTask(H):w.apply(t,P)})}function Rt(t,n){let{isBrowser:a,isMix:e}=n.getGlobalObjects();if(!a&&!e||!t.customElements||!("customElements"in t))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];n.patchCallbacks(n,t.customElements,"customElements","define",c)}function Ct(t,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:a,zoneSymbolEventNames:e,TRUE_STR:c,FALSE_STR:f,ZONE_SYMBOL_PREFIX:g}=n.getGlobalObjects();for(let p=0;pf.target===t);if(e.length===0)return n;let c=e[0].ignoreProperties;return n.filter(f=>c.indexOf(f)===-1)}function Qe(t,n,a,e){if(!t)return;let c=lt(t,n,a);rt(t,c,e)}function Ie(t){return Object.getOwnPropertyNames(t).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Dt(t,n){if(De&&!nt||Zone[t.symbol("patchEvents")])return;let a=n.__Zone_ignore_on_properties,e=[];if(Ge){let c=window;e=e.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let f=[];Qe(c,Ie(c),a&&a.concat(f),Ae(c))}e=e.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let a=n[t.__symbol__("legacyPatch")];a&&a()}),t.__load_patch("timers",n=>{let e="clear";ke(n,"set",e,"Timeout"),ke(n,"set",e,"Interval"),ke(n,"set",e,"Immediate")}),t.__load_patch("requestAnimationFrame",n=>{ke(n,"request","cancel","AnimationFrame"),ke(n,"mozRequest","mozCancel","AnimationFrame"),ke(n,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(n,a)=>{let e=["alert","prompt","confirm"];for(let c=0;cfunction(w,_){return a.current.run(g,n,_,p)})}}),t.__load_patch("EventTarget",(n,a,e)=>{wt(n,e),Ct(n,e);let c=n.XMLHttpRequestEventTarget;c&&c.prototype&&e.patchEventTarget(n,e,[c.prototype])}),t.__load_patch("MutationObserver",(n,a,e)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(n,a,e)=>{pe("IntersectionObserver")}),t.__load_patch("FileReader",(n,a,e)=>{pe("FileReader")}),t.__load_patch("on_property",(n,a,e)=>{Dt(e,n)}),t.__load_patch("customElements",(n,a,e)=>{Rt(n,e)}),t.__load_patch("XHR",(n,a)=>{w(n);let e=j("xhrTask"),c=j("xhrSync"),f=j("xhrListener"),g=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled");function w(_){let P=_.XMLHttpRequest;if(!P)return;let L=P.prototype;function H(R){return R[e]}let z=L[Ne],$=L[Ze];if(!z){let R=_.XMLHttpRequestEventTarget;if(R){let b=R.prototype;z=b[Ne],$=b[Ze]}}let J="readystatechange",q="scheduled";function y(R){let b=R.data,D=b.target;D[g]=!1,D[p]=!1;let K=D[f];z||(z=D[Ne],$=D[Ze]),K&&$.call(D,J,K);let W=D[f]=()=>{if(D.readyState===D.DONE)if(!b.aborted&&D[g]&&R.state===q){let s=D[a.__symbol__("loadfalse")];if(D.status!==0&&s&&s.length>0){let i=R.invoke;R.invoke=function(){let r=D[a.__symbol__("loadfalse")];for(let E=0;Efunction(R,b){return R[c]=b[2]==!1,R[T]=b[1],V.apply(R,b)}),X="XMLHttpRequest.send",F=j("fetchTaskAborting"),k=j("fetchTaskScheduling"),U=ue(L,"send",()=>function(R,b){if(a.current[k]===!0||R[c])return U.apply(R,b);{let D={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},K=xe(X,d,D,y,A);R&&R[p]===!0&&!D.aborted&&K.state===q&&K.invoke()}}),S=ue(L,"abort",()=>function(R,b){let D=H(R);if(D&&typeof D.type=="string"){if(D.cancelFn==null||D.data&&D.data.aborted)return;D.zone.cancelTask(D)}else if(a.current[F]===!0)return S.apply(R,b)})}}),t.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&>(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(n,a)=>{function e(c){return function(f){at(n,c).forEach(T=>{let p=n.PromiseRejectionEvent;if(p){let w=new p(c,{promise:f.promise,reason:f.rejection});T.invoke(w)}})}}n.PromiseRejectionEvent&&(a[j("unhandledPromiseRejectionHandler")]=e("unhandledrejection"),a[j("rejectionHandledHandler")]=e("rejectionhandled"))}),t.__load_patch("queueMicrotask",(n,a,e)=>{Pt(n,e)})}function Ot(t){t.__load_patch("ZoneAwarePromise",(n,a,e)=>{let c=Object.getOwnPropertyDescriptor,f=Object.defineProperty;function g(h){if(h&&h.toString===Object.prototype.toString){let l=h.constructor&&h.constructor.name;return(l||"")+": "+JSON.stringify(h)}return h?h.toString():Object.prototype.toString.call(h)}let T=e.symbol,p=[],w=n[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,_=T("Promise"),P=T("then"),L="__creationTrace__";e.onUnhandledError=h=>{if(e.showUncaughtError()){let l=h&&h.rejection;l?console.error("Unhandled Promise rejection:",l instanceof Error?l.message:l,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",l,l instanceof Error?l.stack:void 0):console.error(h)}},e.microtaskDrainDone=()=>{for(;p.length;){let h=p.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(l){z(l)}}};let H=T("unhandledPromiseRejectionHandler");function z(h){e.onUnhandledError(h);try{let l=a[H];typeof l=="function"&&l.call(this,h)}catch{}}function $(h){return h&&typeof h.then=="function"}function J(h){return h}function q(h){return M.reject(h)}let y=T("state"),d=T("value"),A=T("finally"),V=T("parentPromiseValue"),X=T("parentPromiseState"),F="Promise.then",k=null,U=!0,S=!1,R=0;function b(h,l){return o=>{try{I(h,l,o)}catch(u){I(h,!1,u)}}}let D=function(){let h=!1;return function(o){return function(){h||(h=!0,o.apply(null,arguments))}}},K="Promise resolved with itself",W=T("currentTaskTrace");function I(h,l,o){let u=D();if(h===o)throw new TypeError(K);if(h[y]===k){let v=null;try{(typeof o=="object"||typeof o=="function")&&(v=o&&o.then)}catch(C){return u(()=>{I(h,!1,C)})(),h}if(l!==S&&o instanceof M&&o.hasOwnProperty(y)&&o.hasOwnProperty(d)&&o[y]!==k)i(o),I(h,o[y],o[d]);else if(l!==S&&typeof v=="function")try{v.call(o,u(b(h,l)),u(b(h,!1)))}catch(C){u(()=>{I(h,!1,C)})()}else{h[y]=l;let C=h[d];if(h[d]=o,h[A]===A&&l===U&&(h[y]=h[X],h[d]=h[V]),l===S&&o instanceof Error){let m=a.currentTask&&a.currentTask.data&&a.currentTask.data[L];m&&f(o,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m{try{let O=h[d],N=!!o&&A===o[A];N&&(o[V]=O,o[X]=C);let Z=l.run(m,void 0,N&&m!==q&&m!==J?[]:[O]);I(o,!0,Z)}catch(O){I(o,!1,O)}},o)}let E="function ZoneAwarePromise() { [native code] }",x=function(){},ee=n.AggregateError;class M{static toString(){return E}static resolve(l){return l instanceof M?l:I(new this(null),U,l)}static reject(l){return I(new this(null),S,l)}static withResolvers(){let l={};return l.promise=new M((o,u)=>{l.resolve=o,l.reject=u}),l}static any(l){if(!l||typeof l[Symbol.iterator]!="function")return Promise.reject(new ee([],"All promises were rejected"));let o=[],u=0;try{for(let m of l)u++,o.push(M.resolve(m))}catch{return Promise.reject(new ee([],"All promises were rejected"))}if(u===0)return Promise.reject(new ee([],"All promises were rejected"));let v=!1,C=[];return new M((m,O)=>{for(let N=0;N{v||(v=!0,m(Z))},Z=>{C.push(Z),u--,u===0&&(v=!0,O(new ee(C,"All promises were rejected")))})})}static race(l){let o,u,v=new this((O,N)=>{o=O,u=N});function C(O){o(O)}function m(O){u(O)}for(let O of l)$(O)||(O=this.resolve(O)),O.then(C,m);return v}static all(l){return M.allWithCallback(l)}static allSettled(l){return(this&&this.prototype instanceof M?this:M).allWithCallback(l,{thenCallback:u=>({status:"fulfilled",value:u}),errorCallback:u=>({status:"rejected",reason:u})})}static allWithCallback(l,o){let u,v,C=new this((Z,G)=>{u=Z,v=G}),m=2,O=0,N=[];for(let Z of l){$(Z)||(Z=this.resolve(Z));let G=O;try{Z.then(B=>{N[G]=o?o.thenCallback(B):B,m--,m===0&&u(N)},B=>{o?(N[G]=o.errorCallback(B),m--,m===0&&u(N)):v(B)})}catch(B){v(B)}m++,O++}return m-=2,m===0&&u(N),C}constructor(l){let o=this;if(!(o instanceof M))throw new Error("Must be an instanceof Promise.");o[y]=k,o[d]=[];try{let u=D();l&&l(u(b(o,U)),u(b(o,S)))}catch(u){I(o,!1,u)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(l,o){let u=this.constructor?.[Symbol.species];(!u||typeof u!="function")&&(u=this.constructor||M);let v=new u(x),C=a.current;return this[y]==k?this[d].push(C,v,l,o):r(this,C,v,l,o),v}catch(l){return this.then(null,l)}finally(l){let o=this.constructor?.[Symbol.species];(!o||typeof o!="function")&&(o=M);let u=new o(x);u[A]=A;let v=a.current;return this[y]==k?this[d].push(v,u,l,l):r(this,v,u,l,l),u}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;let he=n[_]=n.Promise;n.Promise=M;let _e=T("thenPatched");function Q(h){let l=h.prototype,o=c(l,"then");if(o&&(o.writable===!1||!o.configurable))return;let u=l.then;l[P]=u,h.prototype.then=function(v,C){return new M((O,N)=>{u.call(this,O,N)}).then(v,C)},h[_e]=!0}e.patchThen=Q;function Te(h){return function(l,o){let u=h.apply(l,o);if(u instanceof M)return u;let v=u.constructor;return v[_e]||Q(v),u}}return he&&(Q(he),ue(n,"fetch",h=>Te(h))),Promise[a.__symbol__("uncaughtPromiseErrors")]=p,M})}function Nt(t){t.__load_patch("toString",n=>{let a=Function.prototype.toString,e=j("OriginalDelegate"),c=j("Promise"),f=j("Error"),g=function(){if(typeof this=="function"){let _=this[e];if(_)return typeof _=="function"?a.call(_):Object.prototype.toString.call(_);if(this===Promise){let P=n[c];if(P)return a.call(P)}if(this===Error){let P=n[f];if(P)return a.call(P)}}return a.call(this)};g[e]=a,Function.prototype.toString=g;let T=Object.prototype.toString,p="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?p:T.call(this)}})}function Zt(t,n,a,e,c){let f=Zone.__symbol__(e);if(n[f])return;let g=n[f]=n[e];n[e]=function(T,p,w){return p&&p.prototype&&c.forEach(function(_){let P=`${a}.${e}::`+_,L=p.prototype;try{if(L.hasOwnProperty(_)){let H=t.ObjectGetOwnPropertyDescriptor(L,_);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,P),t._redefineProperty(p.prototype,_,H)):L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}else L[_]&&(L[_]=t.wrapWithCurrentZone(L[_],P))}catch{}}),g.call(n,T,p,w)},t.attachOriginToPatched(n[e],g)}function Lt(t){t.__load_patch("util",(n,a,e)=>{let c=Ie(n);e.patchOnProperties=rt,e.patchMethod=ue,e.bindArguments=Fe,e.patchMacroTask=mt;let f=a.__symbol__("BLACK_LISTED_EVENTS"),g=a.__symbol__("UNPATCHED_EVENTS");n[g]&&(n[f]=n[g]),n[f]&&(a[f]=a[g]=n[f]),e.patchEventPrototype=bt,e.patchEventTarget=vt,e.isIEOrEdge=pt,e.ObjectDefineProperty=Me,e.ObjectGetOwnPropertyDescriptor=ye,e.ObjectCreate=_t,e.ArraySlice=Tt,e.patchClass=pe,e.wrapWithCurrentZone=Ve,e.filterProperties=lt,e.attachOriginToPatched=fe,e._redefineProperty=Object.defineProperty,e.patchCallbacks=Zt,e.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:ne,eventNames:c,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){Ot(t),Nt(t),Lt(t)}var ut=dt();It(ut);St(ut); diff --git a/src/main/resources/static/polyfills-5FDKUQTZ.js b/src/main/resources/static/polyfills-5FDKUQTZ.js deleted file mode 100644 index 14bd9fe..0000000 --- a/src/main/resources/static/polyfills-5FDKUQTZ.js +++ /dev/null @@ -1,2 +0,0 @@ -var ce=globalThis;function ee(e){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+e}function ht(){let e=ce.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static __symbol__=ee;static assertZonePatched(){if(ce.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,p=!1){if(O.hasOwnProperty(n)){let P=ce[ee("forceDuplicateZoneCheck")]===!0;if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!ce["__Zone_disable_"+n]){let P="Zone:"+n;r(P),O[n]=o(ce,N,C),c(P,P)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){let o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if(typeof n!="function")throw new Error("Expecting function got: "+n);let p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");let P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:_e=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;let ae=n.state!=j;ae&&P._transitionTo(j,h);let le=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(ne){if(this._zoneDelegate.handleError(this,ne))throw ne}}finally{let ne=n.state;if(ne!==X&&ne!==Y)if(q==U||A||_e&&ne===y)ae&&P._transitionTo(h,j,y);else{let f=P._zoneDelegates;this._updateTaskCount(P,-1),ae&&P._transitionTo(X,j,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=le}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(y,X);let o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(F,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(U,n,o,p,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||K).name+"; Execution: "+this.name+")");if(!(n.state!==h&&n.state!==j)){n._transitionTo(x,h,j);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,x),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,x),n.runCount=-1,n}}_updateTaskCount(n,o){let p=n._zoneDelegates;o==-1&&(n._zoneDelegates=null);for(let P=0;PN.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(_,n,o){this._zone=_,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let p=o&&o.onHasTask,P=n&&n._hasTaskZS;(p||P)&&(this._hasTaskZS=p?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n):!0}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else if(n.type==F)z(n);else throw new Error("Task is missing scheduleFn.");return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){let o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");if(p==0||P==0){let q={microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_};this.hasTask(this._zone,q)}}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(_,n,o,p,P,q){if(this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;let A=this;_===U&&p&&p.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ce,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),Q++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{Q==1&&J(),Q--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(_,n,o){if(this._state===n||this._state===o)this._state=_,_==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=ee("setTimeout"),m=ee("Promise"),D=ee("then"),d=[],R=!1,M;function V(N){if(M||ce[m]&&(M=ce[m].resolve(0)),M){let _=M[D];_||(_=M.then),_.call(M,N)}else ce[T](N,0)}function z(N){Q===0&&d.length===0&&V(J),N&&d.push(N)}function J(){if(!R){for(R=!0;d.length;){let N=d;d=[];for(let _=0;_b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:V},b={parent:null,zone:new t(null,null)},S=null,Q=0;function W(){}return c("Zone","Zone"),t}function dt(){let e=globalThis,r=e[ee("forceDuplicateZoneCheck")]===!0;if(e.Zone&&(r||typeof e.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return e.Zone??=ht(),e.Zone}var ye=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,Ae=Object.getPrototypeOf,_t=Object.create,Tt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=ee(je),Ze=ee(He),ue="true",fe="false",ve=ee("");function Ve(e,r){return Zone.current.wrap(e,r)}function xe(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}var H=ee,we=typeof window<"u",be=we?window:void 0,$=we&&be||globalThis,Et="removeAttribute";function Fe(e,r){for(let c=e.length-1;c>=0;c--)typeof e[c]=="function"&&(e[c]=Ve(e[c],r+"_"+c));return e}function gt(e,r){let c=e.constructor.name;for(let t=0;t{let m=function(){return T.apply(this,Fe(arguments,c+"."+i))};return de(m,T),m})(u)}}}function et(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var tt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in $)&&typeof $.process<"u"&&$.process.toString()==="[object process]",Ge=!De&&!tt&&!!(we&&be.HTMLElement),nt=typeof $.process<"u"&&$.process.toString()==="[object process]"&&!tt&&!!(we&&be.HTMLElement),Ce={},kt=H("enable_beforeunload"),Xe=function(e){if(e=e||$.event,!e)return;let r=Ce[e.type];r||(r=Ce[e.type]=H("ON_PROPERTY"+e.type));let c=this||e.target||$,t=c[r],i;if(Ge&&c===be&&e.type==="error"){let u=e;i=t&&t.call(this,u.message,u.filename,u.lineno,u.colno,u.error),i===!0&&e.preventDefault()}else i=t&&t.apply(this,arguments),e.type==="beforeunload"&&$[kt]&&typeof i=="string"?e.returnValue=i:i!=null&&!i&&e.preventDefault();return i};function Ye(e,r,c){let t=ye(e,r);if(!t&&c&&ye(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;let i=H("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;let u=t.get,E=t.set,T=r.slice(2),m=Ce[T];m||(m=Ce[T]=H("ON_PROPERTY"+T)),t.set=function(D){let d=this;if(!d&&e===$&&(d=$),!d)return;typeof d[m]=="function"&&d.removeEventListener(T,Xe),E?.call(d,null),d[m]=D,typeof D=="function"&&d.addEventListener(T,Xe,!1)},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;let d=D[m];if(d)return d;if(u){let R=u.call(this);if(R)return t.set.call(this,R),typeof D[Et]=="function"&&D.removeAttribute(r),R}return null},Me(e,r,t),e[i]=!0}function rt(e,r,c){if(r)for(let t=0;tfunction(E,T){let m=c(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?xe(m.name,T[m.cbIdx],m,i):u.apply(E,T)})}function de(e,r){e[H("OriginalDelegate")]=r}var $e=!1,Le=!1;function pt(){if($e)return Le;$e=!0;try{let e=be.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}function Je(e){return typeof e=="function"}function Ke(e){return typeof e=="number"}var yt={useG:!0},te={},ot={},st=new RegExp("^"+ve+"(\\w+)(true|false)$"),it=H("propagationStopped");function ct(e,r){let c=(r?r(e):e)+fe,t=(r?r(e):e)+ue,i=ve+c,u=ve+t;te[e]={},te[e][fe]=i,te[e][ue]=u}function vt(e,r,c,t){let i=t&&t.add||je,u=t&&t.rm||He,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",m=H(i),D="."+i+":",d="prependListener",R="."+d+":",M=function(y,h,j){if(y.isRemoved)return;let x=y.callback;typeof x=="object"&&x.handleEvent&&(y.callback=g=>x.handleEvent(g),y.originalDelegate=x);let Y;try{y.invoke(y,h,[j])}catch(g){Y=g}let F=y.options;if(F&&typeof F=="object"&&F.once){let g=y.originalDelegate?y.originalDelegate:y.callback;h[u].call(h,j.type,g,F)}return Y};function V(y,h,j){if(h=h||e.event,!h)return;let x=y||h.target||e,Y=x[te[h.type][j?ue:fe]];if(Y){let F=[];if(Y.length===1){let g=M(Y[0],x,h);g&&F.push(g)}else{let g=Y.slice();for(let U=0;U{throw U})}}}let z=function(y){return V(this,y,!1)},J=function(y){return V(this,y,!0)};function K(y,h){if(!y)return!1;let j=!0;h&&h.useG!==void 0&&(j=h.useG);let x=h&&h.vh,Y=!0;h&&h.chkDup!==void 0&&(Y=h.chkDup);let F=!1;h&&h.rt!==void 0&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ae(g);if(!g&&y[i]&&(g=y),!g||g[m])return!1;let U=h&&h.eventNameToString,O={},C=g[m]=g[i],b=g[H(u)]=g[u],S=g[H(E)]=g[E],Q=g[H(T)]=g[T],W;h&&h.prepend&&(W=g[H(h.prepend)]=g[h.prepend]);function N(s,l){return l?typeof s=="boolean"?{capture:s,passive:!0}:s?typeof s=="object"&&s.passive!==!1?{...s,passive:!0}:s:{passive:!0}:s}let _=function(s){if(!O.isExisting)return C.call(O.target,O.eventName,O.capture?J:z,O.options)},n=function(s){if(!s.isRemoved){let l=te[s.eventName],v;l&&(v=l[s.capture?ue:fe]);let w=v&&s.target[v];if(w){for(let k=0;kre.zone.cancelTask(re);s.call(Ee,"abort",ie,{once:!0}),re.removeAbortListener=()=>Ee.removeEventListener("abort",ie)}if(O.target=null,me&&(me.taskData=null),Be&&(O.options.once=!0),typeof re.options!="boolean"&&(re.options=se),re.target=L,re.capture=Se,re.eventName=I,B&&(re.originalDelegate=G),Z?ge.unshift(re):ge.push(re),k)return L}};return g[i]=a(C,D,q,A,F),W&&(g[d]=a(W,R,p,A,F,!0)),g[u]=function(){let s=this||e,l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));let v=arguments[2],w=v?typeof v=="boolean"?!0:v.capture:!1,k=arguments[1];if(!k)return b.apply(this,arguments);if(x&&!x(b,k,s,arguments))return;let Z=te[l],L;Z&&(L=Z[w?ue:fe]);let I=L&&s[L];if(I)for(let G=0;Gfunction(i,u){i[it]=!0,t&&t.apply(i,u)})}function Pt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}var Re=H("zoneTask");function ke(e,r,c,t){let i=null,u=null;r+=t,c+=t;let E={};function T(D){let d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};let R=i.apply(e,d.args);return Ke(R)?d.handleId=R:(d.handle=R,d.isRefreshable=Je(R.refresh)),D}function m(D){let{handle:d,handleId:R}=D.data;return u.call(e,d??R)}i=he(e,r,D=>function(d,R){if(Je(R[0])){let M={isRefreshable:!1,isPeriodic:t==="Interval",delay:t==="Timeout"||t==="Interval"?R[1]||0:void 0,args:R},V=R[0];R[0]=function(){try{return V.apply(this,arguments)}finally{let{handle:j,handleId:x,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(x?delete E[x]:j&&(j[Re]=null))}};let z=xe(r,R[0],M,T,m);if(!z)return z;let{handleId:J,handle:K,isRefreshable:X,isPeriodic:y}=z.data;if(J)E[J]=z;else if(K&&(K[Re]=z,X&&!y)){let h=K.refresh;K.refresh=function(){let{zone:j,state:x}=z;return x==="notScheduled"?(z._state="scheduled",j._updateTaskCount(z,1)):x==="running"&&(z._state="scheduling"),h.call(this)}}return K??J??z}else return D.apply(e,R)}),u=he(e,c,D=>function(d,R){let M=R[0],V;Ke(M)?(V=E[M],delete E[M]):(V=M?.[Re],V?M[Re]=null:V=M),V?.type?V.cancelFn&&V.zone.cancelTask(V):D.apply(e,R)})}function Rt(e,r){let{isBrowser:c,isMix:t}=r.getGlobalObjects();if(!c&&!t||!e.customElements||!("customElements"in e))return;let i=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,e.customElements,"customElements","define",i)}function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;mu.target===e);if(t.length===0)return r;let i=t[0].ignoreProperties;return r.filter(u=>i.indexOf(u)===-1)}function Qe(e,r,c,t){if(!e)return;let i=lt(e,r,c);rt(e,i,t)}function Ie(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Dt(e,r){if(De&&!nt||Zone[e.symbol("patchEvents")])return;let c=r.__Zone_ignore_on_properties,t=[];if(Ge){let i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let u=[];Qe(i,Ie(i),c&&c.concat(u),Ae(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i{let c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{let t="clear";ke(r,"set",t,"Timeout"),ke(r,"set",t,"Interval"),ke(r,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ke(r,"request","cancel","AnimationFrame"),ke(r,"mozRequest","mozCancel","AnimationFrame"),ke(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{let t=["alert","prompt","confirm"];for(let i=0;ifunction(D,d){return c.current.run(E,r,d,m)})}}),e.__load_patch("EventTarget",(r,c,t)=>{wt(r,t),Ct(r,t);let i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{pe("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{pe("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{Dt(t,r)}),e.__load_patch("customElements",(r,c,t)=>{Rt(r,t)}),e.__load_patch("XHR",(r,c)=>{D(r);let t=H("xhrTask"),i=H("xhrSync"),u=H("xhrListener"),E=H("xhrScheduled"),T=H("xhrURL"),m=H("xhrErrorBeforeScheduled");function D(d){let R=d.XMLHttpRequest;if(!R)return;let M=R.prototype;function V(C){return C[t]}let z=M[Ne],J=M[Ze];if(!z){let C=d.XMLHttpRequestEventTarget;if(C){let b=C.prototype;z=b[Ne],J=b[Ze]}}let K="readystatechange",X="scheduled";function y(C){let b=C.data,S=b.target;S[E]=!1,S[m]=!1;let Q=S[u];z||(z=S[Ne],J=S[Ze]),Q&&J.call(S,K,Q);let W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&C.state===X){let _=S[c.__symbol__("loadfalse")];if(S.status!==0&&_&&_.length>0){let n=C.invoke;C.invoke=function(){let o=S[c.__symbol__("loadfalse")];for(let p=0;pfunction(C,b){return C[i]=b[2]==!1,C[T]=b[1],x.apply(C,b)}),Y="XMLHttpRequest.send",F=H("fetchTaskAborting"),g=H("fetchTaskScheduling"),U=he(M,"send",()=>function(C,b){if(c.current[g]===!0||C[i])return U.apply(C,b);{let S={target:C,url:C[T],isPeriodic:!1,args:b,aborted:!1},Q=xe(Y,h,S,y,j);C&&C[m]===!0&&!S.aborted&&Q.state===X&&Q.invoke()}}),O=he(M,"abort",()=>function(C,b){let S=V(C);if(S&&typeof S.type=="string"){if(S.cancelFn==null||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(c.current[F]===!0)return O.apply(C,b)})}}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&>(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){at(r,i).forEach(T=>{let m=r.PromiseRejectionEvent;if(m){let D=new m(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[H("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[H("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{Pt(r,t)})}function Ot(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{let i=Object.getOwnPropertyDescriptor,u=Object.defineProperty;function E(f){if(f&&f.toString===Object.prototype.toString){let a=f.constructor&&f.constructor.name;return(a||"")+": "+JSON.stringify(f)}return f?f.toString():Object.prototype.toString.call(f)}let T=t.symbol,m=[],D=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,d=T("Promise"),R=T("then"),M="__creationTrace__";t.onUnhandledError=f=>{if(t.showUncaughtError()){let a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;m.length;){let f=m.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};let V=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{let a=c[V];typeof a=="function"&&a.call(this,f)}catch{}}function J(f){return f&&typeof f.then=="function"}function K(f){return f}function X(f){return A.reject(f)}let y=T("state"),h=T("value"),j=T("finally"),x=T("parentPromiseValue"),Y=T("parentPromiseState"),F="Promise.then",g=null,U=!0,O=!1,C=0;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}let S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){let l=S();if(f===s)throw new TypeError(Q);if(f[y]===g){let v=null;try{(typeof s=="object"||typeof s=="function")&&(v=s&&s.then)}catch(w){return l(()=>{N(f,!1,w)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&typeof v=="function")try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(w){l(()=>{N(f,!1,w)})()}else{f[y]=a;let w=f[h];if(f[h]=s,f[j]===j&&a===U&&(f[y]=f[Y],f[h]=f[x]),a===O&&s instanceof Error){let k=c.currentTask&&c.currentTask.data&&c.currentTask.data[M];k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k{try{let Z=f[h],L=!!s&&j===s[j];L&&(s[x]=Z,s[Y]=w);let I=a.run(k,void 0,L&&k!==X&&k!==K?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}let p="function ZoneAwarePromise() { [native code] }",P=function(){},q=r.AggregateError;class A{static toString(){return p}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){let a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||typeof a[Symbol.iterator]!="function")return Promise.reject(new q([],"All promises were rejected"));let s=[],l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(l===0)return Promise.reject(new q([],"All promises were rejected"));let v=!1,w=[];return new A((k,Z)=>{for(let L=0;L{v||(v=!0,k(I))},I=>{w.push(I),l--,l===0&&(v=!0,Z(new q(w,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function w(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)J(Z)||(Z=this.resolve(Z)),Z.then(w,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,w=new this((I,G)=>{l=I,v=G}),k=2,Z=0,L=[];for(let I of a){J(I)||(I=this.resolve(I));let G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,k===0&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,k===0&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,k===0&&l(L),w}constructor(a){let s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{let l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||typeof l!="function")&&(l=this.constructor||A);let v=new l(P),w=c.current;return this[y]==g?this[h].push(w,v,a,s):o(this,w,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||typeof s!="function")&&(s=A);let l=new s(P);l[j]=j;let v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;let _e=r[d]=r.Promise;r.Promise=A;let ae=T("thenPatched");function le(f){let a=f.prototype,s=i(a,"then");if(s&&(s.writable===!1||!s.configurable))return;let l=a.then;a[R]=l,f.prototype.then=function(v,w){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,w)},f[ae]=!0}t.patchThen=le;function ne(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[ae]||le(v),l}}return _e&&(le(_e),he(r,"fetch",f=>ne(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=m,A})}function Nt(e){e.__load_patch("toString",r=>{let c=Function.prototype.toString,t=H("OriginalDelegate"),i=H("Promise"),u=H("Error"),E=function(){if(typeof this=="function"){let d=this[t];if(d)return typeof d=="function"?c.call(d):Object.prototype.toString.call(d);if(this===Promise){let R=r[i];if(R)return c.call(R)}if(this===Error){let R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Zt(e,r,c,t,i){let u=Zone.__symbol__(t);if(r[u])return;let E=r[u]=r[t];r[t]=function(T,m,D){return m&&m.prototype&&i.forEach(function(d){let R=`${c}.${t}::`+d,M=m.prototype;try{if(M.hasOwnProperty(d)){let V=e.ObjectGetOwnPropertyDescriptor(M,d);V&&V.value?(V.value=e.wrapWithCurrentZone(V.value,R),e._redefineProperty(m.prototype,d,V)):M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}else M[d]&&(M[d]=e.wrapWithCurrentZone(M[d],R))}catch{}}),E.call(r,T,m,D)},e.attachOriginToPatched(r[t],E)}function Lt(e){e.__load_patch("util",(r,c,t)=>{let i=Ie(r);t.patchOnProperties=rt,t.patchMethod=he,t.bindArguments=Fe,t.patchMacroTask=mt;let u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=bt,t.patchEventTarget=vt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Me,t.ObjectGetOwnPropertyDescriptor=ye,t.ObjectCreate=_t,t.ArraySlice=Tt,t.patchClass=pe,t.wrapWithCurrentZone=Ve,t.filterProperties=lt,t.attachOriginToPatched=de,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Zt,t.getGlobalObjects=()=>({globalSources:ot,zoneSymbolEventNames:te,eventNames:i,isBrowser:Ge,isMix:nt,isNode:De,TRUE_STR:ue,FALSE_STR:fe,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(e){Ot(e),Nt(e),Lt(e)}var ut=dt();It(ut);St(ut); diff --git a/src/main/resources/static/styles-BENHQVNJ.css b/src/main/resources/static/styles-BENHQVNJ.css new file mode 100644 index 0000000..a6ab85e --- /dev/null +++ b/src/main/resources/static/styles-BENHQVNJ.css @@ -0,0 +1 @@ +.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow, 0px 0px 0px 0px --mat-sys-shadow)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, 0px 2px 1px -1px --mat-sys-shadow, 0px 1px 1px 0px --mat-sys-shadow, 0px 1px 3px 0px --mat-sys-shadow)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, 0px 3px 1px -2px --mat-sys-shadow, 0px 2px 2px 0px --mat-sys-shadow, 0px 1px 5px 0px --mat-sys-shadow)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, 0px 3px 3px -2px --mat-sys-shadow, 0px 3px 4px 0px --mat-sys-shadow, 0px 1px 8px 0px --mat-sys-shadow)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, 0px 2px 4px -1px --mat-sys-shadow, 0px 4px 5px 0px --mat-sys-shadow, 0px 1px 10px 0px --mat-sys-shadow)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, 0px 3px 5px -1px --mat-sys-shadow, 0px 5px 8px 0px --mat-sys-shadow, 0px 1px 14px 0px --mat-sys-shadow)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, 0px 3px 5px -1px --mat-sys-shadow, 0px 6px 10px 0px --mat-sys-shadow, 0px 1px 18px 0px --mat-sys-shadow)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, 0px 4px 5px -2px --mat-sys-shadow, 0px 7px 10px 1px --mat-sys-shadow, 0px 2px 16px 1px --mat-sys-shadow)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, 0px 5px 5px -3px --mat-sys-shadow, 0px 8px 10px 1px --mat-sys-shadow, 0px 3px 14px 2px --mat-sys-shadow)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, 0px 5px 6px -3px --mat-sys-shadow, 0px 9px 12px 1px --mat-sys-shadow, 0px 3px 16px 2px --mat-sys-shadow)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, 0px 6px 6px -3px --mat-sys-shadow, 0px 10px 14px 1px --mat-sys-shadow, 0px 4px 18px 3px --mat-sys-shadow)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, 0px 6px 7px -4px --mat-sys-shadow, 0px 11px 15px 1px --mat-sys-shadow, 0px 4px 20px 3px --mat-sys-shadow)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, 0px 7px 8px -4px --mat-sys-shadow, 0px 12px 17px 2px --mat-sys-shadow, 0px 5px 22px 4px --mat-sys-shadow)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, 0px 7px 8px -4px --mat-sys-shadow, 0px 13px 19px 2px --mat-sys-shadow, 0px 5px 24px 4px --mat-sys-shadow)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, 0px 7px 9px -4px --mat-sys-shadow, 0px 14px 21px 2px --mat-sys-shadow, 0px 5px 26px 4px --mat-sys-shadow)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, 0px 8px 9px -5px --mat-sys-shadow, 0px 15px 22px 2px --mat-sys-shadow, 0px 6px 28px 5px --mat-sys-shadow)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, 0px 8px 10px -5px --mat-sys-shadow, 0px 16px 24px 2px --mat-sys-shadow, 0px 6px 30px 5px --mat-sys-shadow)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, 0px 8px 11px -5px --mat-sys-shadow, 0px 17px 26px 2px --mat-sys-shadow, 0px 6px 32px 5px --mat-sys-shadow)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, 0px 9px 11px -5px --mat-sys-shadow, 0px 18px 28px 2px --mat-sys-shadow, 0px 7px 34px 6px --mat-sys-shadow)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, 0px 9px 12px -6px --mat-sys-shadow, 0px 19px 29px 2px --mat-sys-shadow, 0px 7px 36px 6px --mat-sys-shadow)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, 0px 10px 13px -6px --mat-sys-shadow, 0px 20px 31px 3px --mat-sys-shadow, 0px 8px 38px 7px --mat-sys-shadow)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, 0px 10px 13px -6px --mat-sys-shadow, 0px 21px 33px 3px --mat-sys-shadow, 0px 8px 40px 7px --mat-sys-shadow)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, 0px 10px 14px -6px --mat-sys-shadow, 0px 22px 35px 3px --mat-sys-shadow, 0px 8px 42px 7px --mat-sys-shadow)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, 0px 11px 14px -7px --mat-sys-shadow, 0px 23px 36px 3px --mat-sys-shadow, 0px 9px 44px 8px --mat-sys-shadow)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, 0px 11px 15px -7px --mat-sys-shadow, 0px 24px 38px 3px --mat-sys-shadow, 0px 9px 46px 8px --mat-sys-shadow)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{color-scheme:light dark;--mat-sys-background: light-dark(#fef8fc, #151316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f5eff4, #323033);--mat-sys-inverse-primary: light-dark(#d5baff, #7d00fa);--mat-sys-inverse-surface: light-dark(#323033, #e6e1e6);--mat-sys-on-background: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #42008a);--mat-sys-on-primary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-primary-fixed: light-dark(#270057, #270057);--mat-sys-on-primary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-on-secondary: light-dark(#ffffff, #352d40);--mat-sys-on-secondary-container: light-dark(#4b4357, #eadef7);--mat-sys-on-secondary-fixed: light-dark(#1f182a, #1f182a);--mat-sys-on-secondary-fixed-variant: light-dark(#4b4357, #4b4357);--mat-sys-on-surface: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-surface-variant: light-dark(#49454e, #e8e0eb);--mat-sys-on-tertiary: light-dark(#ffffff, #42008a);--mat-sys-on-tertiary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-tertiary-fixed: light-dark(#270057, #270057);--mat-sys-on-tertiary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-outline: light-dark(#7b757f, #958e99);--mat-sys-outline-variant: light-dark(#cbc4cf, #49454e);--mat-sys-primary: light-dark(#7d00fa, #d5baff);--mat-sys-primary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-primary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-primary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#645b70, #cec2db);--mat-sys-secondary-container: light-dark(#eadef7, #4b4357);--mat-sys-secondary-fixed: light-dark(#eadef7, #eadef7);--mat-sys-secondary-fixed-dim: light-dark(#cec2db, #cec2db);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#fef8fc, #151316);--mat-sys-surface-bright: light-dark(#fef8fc, #3b383c);--mat-sys-surface-container: light-dark(#f2ecf1, #211f22);--mat-sys-surface-container-high: light-dark(#ede6eb, #2b292d);--mat-sys-surface-container-highest: light-dark(#e6e1e6, #363437);--mat-sys-surface-container-low: light-dark(#f8f2f6, #1d1b1e);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0f0d11);--mat-sys-surface-dim: light-dark(#ded8dd, #151316);--mat-sys-surface-tint: light-dark(#7d00fa, #d5baff);--mat-sys-surface-variant: light-dark(#e8e0eb, #49454e);--mat-sys-tertiary: light-dark(#7d00fa, #d5baff);--mat-sys-tertiary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-tertiary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-tertiary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-neutral-variant20: #332f37;--mat-sys-neutral10: #1d1b1e;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12} diff --git a/src/main/resources/static/styles-YWNZLESN.css b/src/main/resources/static/styles-YWNZLESN.css deleted file mode 100644 index 1091c27..0000000 --- a/src/main/resources/static/styles-YWNZLESN.css +++ /dev/null @@ -1 +0,0 @@ -.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-sys-on-surface: initial}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-sys-background, transparent));color:var(--mat-app-text-color, var(--mat-sys-on-background, inherit))}html{color-scheme:light dark}html{--mat-sys-background: light-dark(#fef8fc, #151316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f5eff4, #323033);--mat-sys-inverse-primary: light-dark(#d5baff, #7d00fa);--mat-sys-inverse-surface: light-dark(#323033, #e6e1e6);--mat-sys-on-background: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #42008a);--mat-sys-on-primary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-primary-fixed: light-dark(#270057, #270057);--mat-sys-on-primary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-on-secondary: light-dark(#ffffff, #352d40);--mat-sys-on-secondary-container: light-dark(#4b4357, #eadef7);--mat-sys-on-secondary-fixed: light-dark(#1f182a, #1f182a);--mat-sys-on-secondary-fixed-variant: light-dark(#4b4357, #4b4357);--mat-sys-on-surface: light-dark(#1d1b1e, #e6e1e6);--mat-sys-on-surface-variant: light-dark(#49454e, #e8e0eb);--mat-sys-on-tertiary: light-dark(#ffffff, #42008a);--mat-sys-on-tertiary-container: light-dark(#5f00c0, #ecdcff);--mat-sys-on-tertiary-fixed: light-dark(#270057, #270057);--mat-sys-on-tertiary-fixed-variant: light-dark(#5f00c0, #5f00c0);--mat-sys-outline: light-dark(#7b757f, #958e99);--mat-sys-outline-variant: light-dark(#cbc4cf, #49454e);--mat-sys-primary: light-dark(#7d00fa, #d5baff);--mat-sys-primary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-primary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-primary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#645b70, #cec2db);--mat-sys-secondary-container: light-dark(#eadef7, #4b4357);--mat-sys-secondary-fixed: light-dark(#eadef7, #eadef7);--mat-sys-secondary-fixed-dim: light-dark(#cec2db, #cec2db);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#fef8fc, #151316);--mat-sys-surface-bright: light-dark(#fef8fc, #3b383c);--mat-sys-surface-container: light-dark(#f2ecf1, #211f22);--mat-sys-surface-container-high: light-dark(#ede6eb, #2b292d);--mat-sys-surface-container-highest: light-dark(#e6e1e6, #363437);--mat-sys-surface-container-low: light-dark(#f8f2f6, #1d1b1e);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0f0d11);--mat-sys-surface-dim: light-dark(#ded8dd, #151316);--mat-sys-surface-tint: light-dark(#7d00fa, #d5baff);--mat-sys-surface-variant: light-dark(#e8e0eb, #49454e);--mat-sys-tertiary: light-dark(#7d00fa, #d5baff);--mat-sys-tertiary-container: light-dark(#ecdcff, #5f00c0);--mat-sys-tertiary-fixed: light-dark(#ecdcff, #ecdcff);--mat-sys-tertiary-fixed-dim: light-dark(#d5baff, #d5baff);--mat-sys-neutral-variant20: #332f37;--mat-sys-neutral10: #1d1b1e}html{--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500}html{--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px}html{--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}