diff --git a/.gitignore b/.gitignore
index fd3dbb57..928e536a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,6 @@
/.pnp
.pnp.js
.yarn/install-state.gz
-
# testing
/coverage
diff --git a/next.config.mjs b/next.config.mjs
index 114407e3..3d61f41d 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -1,6 +1,15 @@
// next.config.mjs
/** @type {import('next').NextConfig} */
import nextI18nextConfig from "./next-i18next.config.js";
+import { NextFederationPlugin } from '@module-federation/nextjs-mf';
+const url = process.env.REMOTE_EDITOR_URL
+
+const remotes = (isServer) => {
+ const location = isServer ? 'ssr' : 'chunks';
+ return {
+ editor: `editor@${url}/_next/static/${location}/remoteEntry.js`,
+ };
+};
const nextConfig = {
eslint: {
@@ -10,6 +19,41 @@ const nextConfig = {
trailingSlash: false,
reactStrictMode: true,
i18n: nextI18nextConfig.i18n,
+
+ distDir: 'build',
+ images: {
+ unoptimized: true,
+ },
+ reactStrictMode: true,
+ experimental: {
+ esmExternals: false,
+ },
+ async rewrites() {
+ return [
+ {
+ source: '/action/:path*', // Match any route starting with /action/
+ destination: '/api/proxy?path=/action/:path*', // Forward to the proxy API
+ },
+ {
+ source: '/api/:path*', // Match any route starting with /api/
+ destination: '/api/proxy?path=/api/:path*', // Forward to the proxy API
+ }
+ ];
+ },
+ webpack: (config, { isServer }) => {
+ config.plugins.push(
+ new NextFederationPlugin({
+ name: 'admin',
+ filename: 'static/chunks/remoteEntry.js',
+ remotes: remotes(isServer),
+ exposes: {
+ // Add exposed modules here, e.g., './Component': './path/to/component'
+ },
+
+ })
+ );
+ return config;
+ },
};
export default nextConfig;
diff --git a/package-lock.json b/package-lock.json
index 2a92c988..0461802c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,6 +10,8 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
+ "@module-federation/nextjs-mf": "^8.5.5",
+ "@module-federation/utilities": "3.0.11",
"@mui/icons-material": "^5.15.20",
"@mui/material": "^5.16.0",
"@project-sunbird/client-services": "^7.0.6",
@@ -62,7 +64,8 @@
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^36.0.1",
"ts-node": "^10.9.2",
- "typescript": "^5.4.0"
+ "typescript": "^5.4.0",
+ "webpack": "^5.91.0"
}
},
"node_modules/@adobe/css-tools": {
@@ -2297,6 +2300,15 @@
"node": ">=6.0.0"
}
},
+ "node_modules/@jridgewell/source-map": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz",
+ "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25"
+ }
+ },
"node_modules/@jridgewell/sourcemap-codec": {
"version": "1.4.15",
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
@@ -2311,6 +2323,457 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
+ "node_modules/@module-federation/bridge-react-webpack-plugin": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/bridge-react-webpack-plugin/-/bridge-react-webpack-plugin-0.6.6.tgz",
+ "integrity": "sha512-NANaSOKem+1t/Fbd1GjXnStJRe7O33ya+FR/yYkTUd1H5hmlzVDNo/lYxYuUl3O/gH9Lnlr2Gf9unyWoIW0wHw==",
+ "dependencies": {
+ "@module-federation/sdk": "0.6.6",
+ "@types/semver": "7.5.8",
+ "semver": "7.6.3"
+ }
+ },
+ "node_modules/@module-federation/data-prefetch": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/data-prefetch/-/data-prefetch-0.6.6.tgz",
+ "integrity": "sha512-rakEHrg2pqbOqJ3uWT2p3kgTCOxBQdEIqmew3XBAXTZ0NblZtkXeMHupcW/W6+ccvbPdn/T/PSICx9HHSvfEVg==",
+ "dependencies": {
+ "@module-federation/runtime": "0.6.6",
+ "@module-federation/sdk": "0.6.6",
+ "fs-extra": "9.1.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
+ "node_modules/@module-federation/dts-plugin": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/dts-plugin/-/dts-plugin-0.6.6.tgz",
+ "integrity": "sha512-sNCghGgrpCOOVk2xpzgAGAFeo2ONcv6eAnEfe7Q2gD7R6NrGgOrB5KVhN/uWIzFJG8tqNfSSjam+woTyrrayfg==",
+ "dependencies": {
+ "@module-federation/managers": "0.6.6",
+ "@module-federation/sdk": "0.6.6",
+ "@module-federation/third-party-dts-extractor": "0.6.6",
+ "adm-zip": "^0.5.10",
+ "ansi-colors": "^4.1.3",
+ "axios": "^1.7.4",
+ "chalk": "3.0.0",
+ "fs-extra": "9.1.0",
+ "isomorphic-ws": "5.0.0",
+ "koa": "2.15.3",
+ "lodash.clonedeepwith": "4.5.0",
+ "log4js": "6.9.1",
+ "node-schedule": "2.1.1",
+ "rambda": "^9.1.0",
+ "ws": "8.17.1"
+ },
+ "peerDependencies": {
+ "typescript": "^4.9.0 || ^5.0.0",
+ "vue-tsc": ">=1.0.24"
+ },
+ "peerDependenciesMeta": {
+ "vue-tsc": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/chalk": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@module-federation/dts-plugin/node_modules/ws": {
+ "version": "8.17.1",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz",
+ "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/enhanced": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/enhanced/-/enhanced-0.6.6.tgz",
+ "integrity": "sha512-gGU1tjaksk5Q5X2zpVb/OmlwvKwVVjTXreuFwkK0Z+9QKM9jbu0B/tPSh6sqibPFeu1yM2HOFlOHJhvFs1PmsA==",
+ "dependencies": {
+ "@module-federation/bridge-react-webpack-plugin": "0.6.6",
+ "@module-federation/data-prefetch": "0.6.6",
+ "@module-federation/dts-plugin": "0.6.6",
+ "@module-federation/managers": "0.6.6",
+ "@module-federation/manifest": "0.6.6",
+ "@module-federation/rspack": "0.6.6",
+ "@module-federation/runtime-tools": "0.6.6",
+ "@module-federation/sdk": "0.6.6",
+ "btoa": "^1.2.1",
+ "upath": "2.0.1"
+ },
+ "peerDependencies": {
+ "typescript": "^4.9.0 || ^5.0.0",
+ "vue-tsc": ">=1.0.24",
+ "webpack": "^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "vue-tsc": {
+ "optional": true
+ },
+ "webpack": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/managers": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/managers/-/managers-0.6.6.tgz",
+ "integrity": "sha512-ryj2twbQmo2KhwKn1xYivpaW94l5wfplDU9FwVvW0wc8hC2lJnuGhoiZqXKL7lNaBrZXge3b43Zlgx5OnFfr6A==",
+ "dependencies": {
+ "@module-federation/sdk": "0.6.6",
+ "find-pkg": "2.0.0",
+ "fs-extra": "9.1.0"
+ }
+ },
+ "node_modules/@module-federation/manifest": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/manifest/-/manifest-0.6.6.tgz",
+ "integrity": "sha512-45ol0fC8RS2d+0iEt5zdp0vctE2CiOfA2kCmOFz79K33occi8sKmyevfSeZGckZy54NiMnLFteIYBsyIa+g7gg==",
+ "dependencies": {
+ "@module-federation/dts-plugin": "0.6.6",
+ "@module-federation/managers": "0.6.6",
+ "@module-federation/sdk": "0.6.6",
+ "chalk": "3.0.0",
+ "find-pkg": "2.0.0"
+ }
+ },
+ "node_modules/@module-federation/manifest/node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@module-federation/manifest/node_modules/chalk": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@module-federation/manifest/node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/@module-federation/manifest/node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "node_modules/@module-federation/manifest/node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@module-federation/manifest/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@module-federation/nextjs-mf": {
+ "version": "8.5.5",
+ "resolved": "https://registry.npmjs.org/@module-federation/nextjs-mf/-/nextjs-mf-8.5.5.tgz",
+ "integrity": "sha512-Sh3aBcWmM9f7IbCCfUhngTtjKig72JMVvimqnFUTOM4iZv8jzoUMxwD88dHwgBrF4p3uIogDGd1cHeHNCxsYcw==",
+ "dependencies": {
+ "@module-federation/enhanced": "0.6.6",
+ "@module-federation/node": "2.5.16",
+ "@module-federation/runtime": "0.6.6",
+ "@module-federation/sdk": "0.6.6",
+ "@module-federation/utilities": "3.1.12",
+ "@module-federation/webpack-bundler-runtime": "0.6.6",
+ "fast-glob": "^3.2.11"
+ },
+ "peerDependencies": {
+ "next": "^12 || ^13 || ^14",
+ "react": "^17 || ^18",
+ "react-dom": "^17 || ^18",
+ "styled-jsx": "*",
+ "webpack": "^5.40.0"
+ },
+ "peerDependenciesMeta": {
+ "styled-jsx": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/nextjs-mf/node_modules/@module-federation/utilities": {
+ "version": "3.1.12",
+ "resolved": "https://registry.npmjs.org/@module-federation/utilities/-/utilities-3.1.12.tgz",
+ "integrity": "sha512-waLUAwmeJuJr5+bZUgmxA96TPbQu2hkUyKTTBnn75lLUtCyiAaxIpSIP4JaEbucJYEQ7Z7VOLkHdGsOzk7k7zw==",
+ "dependencies": {
+ "@module-federation/sdk": "0.6.6"
+ },
+ "peerDependencies": {
+ "react": "^16 || ^17 || ^18",
+ "react-dom": "^16 || ^17 || ^18",
+ "webpack": "^5.40.0"
+ },
+ "peerDependenciesMeta": {
+ "next": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/node": {
+ "version": "2.5.16",
+ "resolved": "https://registry.npmjs.org/@module-federation/node/-/node-2.5.16.tgz",
+ "integrity": "sha512-9UVY5YxQTh2KvjbFimb5Jjp0MMVao0U/xztx22sh0aiDDZVCpmiXqtw5EhLtPEIe2fEN0/gQBO8iGLDs3xC+bQ==",
+ "dependencies": {
+ "@module-federation/enhanced": "0.6.6",
+ "@module-federation/runtime": "0.6.6",
+ "@module-federation/sdk": "0.6.6",
+ "@module-federation/utilities": "3.1.12",
+ "btoa": "1.2.1",
+ "encoding": "^0.1.13",
+ "node-fetch": "2.7.0"
+ },
+ "peerDependencies": {
+ "react": "^16||^17||^18",
+ "react-dom": "^16||^17||^18",
+ "webpack": "^5.40.0"
+ },
+ "peerDependenciesMeta": {
+ "next": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/node/node_modules/@module-federation/utilities": {
+ "version": "3.1.12",
+ "resolved": "https://registry.npmjs.org/@module-federation/utilities/-/utilities-3.1.12.tgz",
+ "integrity": "sha512-waLUAwmeJuJr5+bZUgmxA96TPbQu2hkUyKTTBnn75lLUtCyiAaxIpSIP4JaEbucJYEQ7Z7VOLkHdGsOzk7k7zw==",
+ "dependencies": {
+ "@module-federation/sdk": "0.6.6"
+ },
+ "peerDependencies": {
+ "react": "^16 || ^17 || ^18",
+ "react-dom": "^16 || ^17 || ^18",
+ "webpack": "^5.40.0"
+ },
+ "peerDependenciesMeta": {
+ "next": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/rspack": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/rspack/-/rspack-0.6.6.tgz",
+ "integrity": "sha512-30X6QPrJ/eCcmUL4GQ06Z9bQwURBnJI0607Fw2ufmAbhDA0PJFtg7NFFfXzsdChms1ACVbgvgfBH8SJg8j3wBg==",
+ "dependencies": {
+ "@module-federation/bridge-react-webpack-plugin": "0.6.6",
+ "@module-federation/dts-plugin": "0.6.6",
+ "@module-federation/managers": "0.6.6",
+ "@module-federation/manifest": "0.6.6",
+ "@module-federation/runtime-tools": "0.6.6",
+ "@module-federation/sdk": "0.6.6"
+ },
+ "peerDependencies": {
+ "typescript": "^4.9.0 || ^5.0.0",
+ "vue-tsc": ">=1.0.24"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "vue-tsc": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/runtime": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.6.6.tgz",
+ "integrity": "sha512-QsKHUV2HALRzL6mPCdJEZTDuPReKC8MMXf+/VMCtQPp6JhLEjZIO06bfEZqXMbTbTYlMzntIwu1tGCbtJRZDOQ==",
+ "dependencies": {
+ "@module-federation/sdk": "0.6.6"
+ }
+ },
+ "node_modules/@module-federation/runtime-tools": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.6.6.tgz",
+ "integrity": "sha512-w2qHa41p6rADWMS1yBjpqNhaLZ4R5oRy9OYGPe6ywjh+8oqbiBl1CfQglcgEBIpHktEjV/upsgsnjHSdJBdeZw==",
+ "dependencies": {
+ "@module-federation/runtime": "0.6.6",
+ "@module-federation/webpack-bundler-runtime": "0.6.6"
+ }
+ },
+ "node_modules/@module-federation/sdk": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.6.6.tgz",
+ "integrity": "sha512-tUv2kPi0FvplcpGi/g4nITAYVAR1RUZ6QvP71T8inmRZSrfcvk1QpGJiL36IjuS67SM3VAoXS0iJ2WX1Rgjvhg=="
+ },
+ "node_modules/@module-federation/third-party-dts-extractor": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/third-party-dts-extractor/-/third-party-dts-extractor-0.6.6.tgz",
+ "integrity": "sha512-xX9p17PpElzATNEulwlJJT731xST7T7OUIDSkkIghp/ICDmZd6WhYJvNBto7xbpaj5SIB7Ocdj4chNGv0xdYPw==",
+ "dependencies": {
+ "find-pkg": "2.0.0",
+ "fs-extra": "9.1.0",
+ "resolve": "1.22.8"
+ }
+ },
+ "node_modules/@module-federation/utilities": {
+ "version": "3.0.11",
+ "resolved": "https://registry.npmjs.org/@module-federation/utilities/-/utilities-3.0.11.tgz",
+ "integrity": "sha512-jAgLwiZZOdAQMRRxYGX0cWCWWd8xOhjKxWEw+jOav34flfpASlQgUKdaM71z1v0F2A/0rnZAHpNjyILLRx/Vow==",
+ "dependencies": {
+ "@module-federation/sdk": "0.1.6"
+ },
+ "peerDependencies": {
+ "react": "^16 || ^17 || ^18",
+ "react-dom": "^16 || ^17 || ^18",
+ "webpack": "^5.40.0"
+ },
+ "peerDependenciesMeta": {
+ "next": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@module-federation/utilities/node_modules/@module-federation/sdk": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.1.6.tgz",
+ "integrity": "sha512-qifXpyYLM7abUeEOIfv0oTkguZgRZuwh89YOAYIZJlkP6QbRG7DJMQvtM8X2yHXm9PTk0IYNnOJH0vNQCo6auQ=="
+ },
+ "node_modules/@module-federation/webpack-bundler-runtime": {
+ "version": "0.6.6",
+ "resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.6.6.tgz",
+ "integrity": "sha512-0UnY9m1fBgHwTpacYWbht1jB5X4Iqspiu1q8kfjUrv6y+R224//ydUFYYO8xfWx4V9SGQFKlU8XFH0FP/r0Hng==",
+ "dependencies": {
+ "@module-federation/runtime": "0.6.6",
+ "@module-federation/sdk": "0.6.6"
+ }
+ },
"node_modules/@mrmlnc/readdir-enhanced": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
@@ -2722,7 +3185,6 @@
"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,
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
@@ -2735,7 +3197,6 @@
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true,
"engines": {
"node": ">= 8"
}
@@ -2744,7 +3205,6 @@
"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,
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
@@ -3296,6 +3756,11 @@
"@babel/types": "^7.20.7"
}
},
+ "node_modules/@types/estree": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
+ "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw=="
+ },
"node_modules/@types/fingerprintjs2": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/fingerprintjs2/-/fingerprintjs2-2.0.0.tgz",
@@ -3404,8 +3869,7 @@
"node_modules/@types/json-schema": {
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="
},
"node_modules/@types/json5": {
"version": "0.0.29",
@@ -3423,7 +3887,6 @@
"version": "20.14.9",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz",
"integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==",
- "dev": true,
"dependencies": {
"undici-types": "~5.26.4"
}
@@ -3476,8 +3939,7 @@
"node_modules/@types/semver": {
"version": "7.5.8",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
- "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
- "dev": true
+ "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ=="
},
"node_modules/@types/stack-utils": {
"version": "2.0.3",
@@ -3788,6 +4250,147 @@
"integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
"dev": true
},
+ "node_modules/@webassemblyjs/ast": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz",
+ "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==",
+ "dependencies": {
+ "@webassemblyjs/helper-numbers": "1.11.6",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6"
+ }
+ },
+ "node_modules/@webassemblyjs/floating-point-hex-parser": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",
+ "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw=="
+ },
+ "node_modules/@webassemblyjs/helper-api-error": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",
+ "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q=="
+ },
+ "node_modules/@webassemblyjs/helper-buffer": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz",
+ "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw=="
+ },
+ "node_modules/@webassemblyjs/helper-numbers": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",
+ "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",
+ "dependencies": {
+ "@webassemblyjs/floating-point-hex-parser": "1.11.6",
+ "@webassemblyjs/helper-api-error": "1.11.6",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "node_modules/@webassemblyjs/helper-wasm-bytecode": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz",
+ "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA=="
+ },
+ "node_modules/@webassemblyjs/helper-wasm-section": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz",
+ "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-buffer": "1.12.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/wasm-gen": "1.12.1"
+ }
+ },
+ "node_modules/@webassemblyjs/ieee754": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz",
+ "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==",
+ "dependencies": {
+ "@xtuc/ieee754": "^1.2.0"
+ }
+ },
+ "node_modules/@webassemblyjs/leb128": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz",
+ "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==",
+ "dependencies": {
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "node_modules/@webassemblyjs/utf8": {
+ "version": "1.11.6",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz",
+ "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA=="
+ },
+ "node_modules/@webassemblyjs/wasm-edit": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz",
+ "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-buffer": "1.12.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/helper-wasm-section": "1.12.1",
+ "@webassemblyjs/wasm-gen": "1.12.1",
+ "@webassemblyjs/wasm-opt": "1.12.1",
+ "@webassemblyjs/wasm-parser": "1.12.1",
+ "@webassemblyjs/wast-printer": "1.12.1"
+ }
+ },
+ "node_modules/@webassemblyjs/wasm-gen": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz",
+ "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/ieee754": "1.11.6",
+ "@webassemblyjs/leb128": "1.11.6",
+ "@webassemblyjs/utf8": "1.11.6"
+ }
+ },
+ "node_modules/@webassemblyjs/wasm-opt": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz",
+ "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-buffer": "1.12.1",
+ "@webassemblyjs/wasm-gen": "1.12.1",
+ "@webassemblyjs/wasm-parser": "1.12.1"
+ }
+ },
+ "node_modules/@webassemblyjs/wasm-parser": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz",
+ "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@webassemblyjs/helper-api-error": "1.11.6",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
+ "@webassemblyjs/ieee754": "1.11.6",
+ "@webassemblyjs/leb128": "1.11.6",
+ "@webassemblyjs/utf8": "1.11.6"
+ }
+ },
+ "node_modules/@webassemblyjs/wast-printer": {
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz",
+ "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.12.1",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "node_modules/@xtuc/ieee754": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA=="
+ },
+ "node_modules/@xtuc/long": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
+ },
"node_modules/abab": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
@@ -3806,11 +4409,22 @@
"node": ">=6.5"
}
},
+ "node_modules/accepts": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
+ "dependencies": {
+ "mime-types": "~2.1.34",
+ "negotiator": "0.6.3"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/acorn": {
"version": "8.12.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz",
"integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==",
- "dev": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -3828,6 +4442,14 @@
"acorn-walk": "^8.0.2"
}
},
+ "node_modules/acorn-import-attributes": {
+ "version": "1.9.5",
+ "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz",
+ "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==",
+ "peerDependencies": {
+ "acorn": "^8"
+ }
+ },
"node_modules/acorn-jsx": {
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
@@ -3849,6 +4471,14 @@
"node": ">=0.4.0"
}
},
+ "node_modules/adm-zip": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.16.tgz",
+ "integrity": "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ==",
+ "engines": {
+ "node": ">=12.0"
+ }
+ },
"node_modules/agent-base": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
@@ -3912,6 +4542,22 @@
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
},
+ "node_modules/ajv-keywords": {
+ "version": "3.5.2",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
+ "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",
+ "peerDependencies": {
+ "ajv": "^6.9.1"
+ }
+ },
+ "node_modules/ansi-colors": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
+ "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/ansi-escapes": {
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
@@ -4270,6 +4916,14 @@
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
+ "node_modules/at-least-node": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
"node_modules/atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
@@ -4373,9 +5027,9 @@
}
},
"node_modules/axios": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz",
- "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==",
+ "version": "1.7.7",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz",
+ "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==",
"dependencies": {
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
@@ -4686,7 +5340,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
- "dev": true,
"dependencies": {
"fill-range": "^7.1.1"
},
@@ -4698,7 +5351,6 @@
"version": "4.23.3",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz",
"integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==",
- "dev": true,
"funding": [
{
"type": "opencollective",
@@ -4743,11 +5395,21 @@
"node-int64": "^0.4.0"
}
},
+ "node_modules/btoa": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz",
+ "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==",
+ "bin": {
+ "btoa": "bin/btoa.js"
+ },
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
"node_modules/buffer-from": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
- "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
- "dev": true
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="
},
"node_modules/busboy": {
"version": "1.6.0",
@@ -4780,6 +5442,18 @@
"node": ">=0.10.0"
}
},
+ "node_modules/cache-content-type": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/cache-content-type/-/cache-content-type-1.0.1.tgz",
+ "integrity": "sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA==",
+ "dependencies": {
+ "mime-types": "^2.1.18",
+ "ylru": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
"node_modules/call-bind": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
@@ -4986,6 +5660,14 @@
"url": "https://github.com/sponsors/wooorm"
}
},
+ "node_modules/chrome-trace-event": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz",
+ "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==",
+ "engines": {
+ "node": ">=6.0"
+ }
+ },
"node_modules/ci-info": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz",
@@ -5161,7 +5843,6 @@
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
"integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
- "dev": true,
"engines": {
"iojs": ">= 1.0.0",
"node": ">= 0.12.0"
@@ -5263,6 +5944,11 @@
"node": ">= 0.8"
}
},
+ "node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
+ },
"node_modules/component-emitter": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz",
@@ -5299,11 +5985,42 @@
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
"dev": true
},
+ "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==",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/content-type": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/convert-source-map": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
},
+ "node_modules/cookies": {
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.9.1.tgz",
+ "integrity": "sha512-TG2hpqe4ELx54QER/S3HQ9SRVnQnGBtKUz5bLQWtYAQ+o6GpgMs6sYUvaiJjVxb+UXwhRhAEP3m7LbsIZ77Hmw==",
+ "dependencies": {
+ "depd": "~2.0.0",
+ "keygrip": "~1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/copy-descriptor": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
@@ -5440,6 +6157,17 @@
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==",
"dev": true
},
+ "node_modules/cron-parser": {
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-4.9.0.tgz",
+ "integrity": "sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==",
+ "dependencies": {
+ "luxon": "^3.2.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@@ -5690,6 +6418,14 @@
"url": "https://github.com/sponsors/kossnocorp"
}
},
+ "node_modules/date-format": {
+ "version": "4.0.14",
+ "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz",
+ "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
"node_modules/dayjs": {
"version": "1.11.13",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
@@ -5874,6 +6610,19 @@
"node": ">=0.4.0"
}
},
+ "node_modules/delegates": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
+ "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ=="
+ },
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/dequal": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
@@ -5884,6 +6633,15 @@
"node": ">=6"
}
},
+ "node_modules/destroy": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
"node_modules/detect-libc": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
@@ -6064,11 +6822,15 @@
"safer-buffer": "^2.1.0"
}
},
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
+ },
"node_modules/electron-to-chromium": {
"version": "1.5.4",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz",
- "integrity": "sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA==",
- "dev": true
+ "integrity": "sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA=="
},
"node_modules/emittery": {
"version": "0.13.1",
@@ -6088,11 +6850,26 @@
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
"dev": true
},
+ "node_modules/encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/encoding": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
+ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
+ "dependencies": {
+ "iconv-lite": "^0.6.2"
+ }
+ },
"node_modules/enhanced-resolve": {
- "version": "5.17.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz",
- "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==",
- "dev": true,
+ "version": "5.17.1",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz",
+ "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==",
"dependencies": {
"graceful-fs": "^4.2.4",
"tapable": "^2.2.0"
@@ -6253,6 +7030,11 @@
"node": ">= 0.4"
}
},
+ "node_modules/es-module-lexer": {
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz",
+ "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw=="
+ },
"node_modules/es-object-atoms": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz",
@@ -6306,11 +7088,15 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
"integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
- "dev": true,
"engines": {
"node": ">=6"
}
},
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
+ },
"node_modules/escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
@@ -6889,7 +7675,6 @@
"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,
"dependencies": {
"estraverse": "^5.2.0"
},
@@ -6901,7 +7686,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
"engines": {
"node": ">=4.0"
}
@@ -6923,6 +7707,14 @@
"node": ">=6"
}
},
+ "node_modules/events": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
+ "engines": {
+ "node": ">=0.8.x"
+ }
+ },
"node_modules/execa": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
@@ -7052,6 +7844,17 @@
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
"dev": true
},
+ "node_modules/expand-tilde": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",
+ "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==",
+ "dependencies": {
+ "homedir-polyfill": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/expect": {
"version": "29.7.0",
"resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz",
@@ -7155,7 +7958,6 @@
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
"integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
- "dev": true,
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
@@ -7171,7 +7973,6 @@
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
"dependencies": {
"is-glob": "^4.0.1"
},
@@ -7208,7 +8009,6 @@
"version": "1.17.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
"integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
- "dev": true,
"dependencies": {
"reusify": "^1.0.4"
}
@@ -7269,7 +8069,6 @@
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "dev": true,
"dependencies": {
"to-regex-range": "^5.0.1"
},
@@ -7277,6 +8076,28 @@
"node": ">=8"
}
},
+ "node_modules/find-file-up": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/find-file-up/-/find-file-up-2.0.1.tgz",
+ "integrity": "sha512-qVdaUhYO39zmh28/JLQM5CoYN9byEOKEH4qfa8K1eNV17W0UUMJ9WgbR/hHFH+t5rcl+6RTb5UC7ck/I+uRkpQ==",
+ "dependencies": {
+ "resolve-dir": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-pkg": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/find-pkg/-/find-pkg-2.0.0.tgz",
+ "integrity": "sha512-WgZ+nKbELDa6N3i/9nrHeNznm+lY3z4YfhDDWgW+5P0pdmMj26bxaxU11ookgY3NyP9GC7HvZ9etp0jRFqGEeQ==",
+ "dependencies": {
+ "find-file-up": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/find-root": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
@@ -7321,8 +8142,7 @@
"node_modules/flatted": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
- "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
- "dev": true
+ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw=="
},
"node_modules/follow-redirects": {
"version": "1.15.6",
@@ -7420,6 +8240,36 @@
"node": ">=0.10.0"
}
},
+ "node_modules/fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "dependencies": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/fs-extra/node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -7949,6 +8799,17 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
+ "node_modules/homedir-polyfill": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
+ "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
+ "dependencies": {
+ "parse-passwd": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/hosted-git-info": {
"version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
@@ -8027,6 +8888,46 @@
"node": ">= 6"
}
},
+ "node_modules/http-assert": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.5.0.tgz",
+ "integrity": "sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==",
+ "dependencies": {
+ "deep-equal": "~1.0.1",
+ "http-errors": "~1.8.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/http-assert/node_modules/deep-equal": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz",
+ "integrity": "sha512-bHtC0iYvWhyaTzvV3CZgPeZQqCOBGyGsVV7v4eevpdkLHfiSrXUdBG+qAuSz4RI70sszvjQ1QSZ98An1yNwpSw=="
+ },
+ "node_modules/http-errors": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz",
+ "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==",
+ "dependencies": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.2.0",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/http-errors/node_modules/depd": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
+ "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/http-proxy-agent": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
@@ -8108,7 +9009,6 @@
"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,
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3.0.0"
},
@@ -8216,8 +9116,7 @@
"node_modules/ini": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
- "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
- "dev": true
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
},
"node_modules/internal-slot": {
"version": "1.0.7",
@@ -8507,7 +9406,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -8546,7 +9444,6 @@
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
"integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
- "dev": true,
"dependencies": {
"has-tostringtag": "^1.0.0"
},
@@ -8561,7 +9458,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
"dependencies": {
"is-extglob": "^2.1.1"
},
@@ -8606,7 +9502,6 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
"engines": {
"node": ">=0.12.0"
}
@@ -8838,7 +9733,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
"integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -8861,8 +9755,7 @@
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
},
"node_modules/isobject": {
"version": "3.0.1",
@@ -8873,6 +9766,14 @@
"node": ">=0.10.0"
}
},
+ "node_modules/isomorphic-ws": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz",
+ "integrity": "sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
"node_modules/isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
@@ -11064,6 +11965,25 @@
"json5": "lib/cli.js"
}
},
+ "node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/jsonfile/node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
"node_modules/jsonld": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/jsonld/-/jsonld-8.3.2.tgz",
@@ -11199,6 +12119,17 @@
"react": "^16.8.3 || ^17.0.0-0 || ^18.0.0-0"
}
},
+ "node_modules/keygrip": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz",
+ "integrity": "sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==",
+ "dependencies": {
+ "tsscmp": "1.0.6"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/keyv": {
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
@@ -11232,6 +12163,56 @@
"integrity": "sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==",
"dev": true
},
+ "node_modules/koa": {
+ "version": "2.15.3",
+ "resolved": "https://registry.npmjs.org/koa/-/koa-2.15.3.tgz",
+ "integrity": "sha512-j/8tY9j5t+GVMLeioLaxweJiKUayFhlGqNTzf2ZGwL0ZCQijd2RLHK0SLW5Tsko8YyyqCZC2cojIb0/s62qTAg==",
+ "dependencies": {
+ "accepts": "^1.3.5",
+ "cache-content-type": "^1.0.0",
+ "content-disposition": "~0.5.2",
+ "content-type": "^1.0.4",
+ "cookies": "~0.9.0",
+ "debug": "^4.3.2",
+ "delegates": "^1.0.0",
+ "depd": "^2.0.0",
+ "destroy": "^1.0.4",
+ "encodeurl": "^1.0.2",
+ "escape-html": "^1.0.3",
+ "fresh": "~0.5.2",
+ "http-assert": "^1.3.0",
+ "http-errors": "^1.6.3",
+ "is-generator-function": "^1.0.7",
+ "koa-compose": "^4.1.0",
+ "koa-convert": "^2.0.0",
+ "on-finished": "^2.3.0",
+ "only": "~0.0.2",
+ "parseurl": "^1.3.2",
+ "statuses": "^1.5.0",
+ "type-is": "^1.6.16",
+ "vary": "^1.1.2"
+ },
+ "engines": {
+ "node": "^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4"
+ }
+ },
+ "node_modules/koa-compose": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/koa-compose/-/koa-compose-4.1.0.tgz",
+ "integrity": "sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw=="
+ },
+ "node_modules/koa-convert": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-2.0.0.tgz",
+ "integrity": "sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==",
+ "dependencies": {
+ "co": "^4.6.0",
+ "koa-compose": "^4.1.0"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
"node_modules/ky": {
"version": "0.33.3",
"resolved": "https://registry.npmjs.org/ky/-/ky-0.33.3.tgz",
@@ -11374,6 +12355,14 @@
"node": ">=4"
}
},
+ "node_modules/loader-runner": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",
+ "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",
+ "engines": {
+ "node": ">=6.11.5"
+ }
+ },
"node_modules/locate-path": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@@ -11399,6 +12388,11 @@
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
"integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw=="
},
+ "node_modules/lodash.clonedeepwith": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.clonedeepwith/-/lodash.clonedeepwith-4.5.0.tgz",
+ "integrity": "sha512-QRBRSxhbtsX1nc0baxSkkK5WlVTTm/s48DSukcGcWZwIyI8Zz+lB+kFiELJXtzfH4Aj6kMWQ1VWW4U5uUDgZMA=="
+ },
"node_modules/lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
@@ -11423,6 +12417,26 @@
"node": ">=4"
}
},
+ "node_modules/log4js": {
+ "version": "6.9.1",
+ "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz",
+ "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==",
+ "dependencies": {
+ "date-format": "^4.0.14",
+ "debug": "^4.3.4",
+ "flatted": "^3.2.7",
+ "rfdc": "^1.3.0",
+ "streamroller": "^3.1.5"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/long-timeout": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/long-timeout/-/long-timeout-0.1.1.tgz",
+ "integrity": "sha512-BFRuQUqc7x2NWxfJBCyUrN8iYUYznzL9JROmRz1gZ6KlOIgmoD+njPVbb+VNn2nGMKggMsK79iUNErillsrx7w=="
+ },
"node_modules/longest-streak": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz",
@@ -11474,6 +12488,14 @@
"node": ">=10"
}
},
+ "node_modules/luxon": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/luxon/-/luxon-3.5.0.tgz",
+ "integrity": "sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ==",
+ "engines": {
+ "node": ">=12"
+ }
+ },
"node_modules/lz-string": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
@@ -11600,6 +12622,14 @@
"integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
"dev": true
},
+ "node_modules/media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/meow": {
"version": "13.2.0",
"resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz",
@@ -11615,14 +12645,12 @@
"node_modules/merge-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
- "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
- "dev": true
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
},
"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,
"engines": {
"node": ">= 8"
}
@@ -11631,7 +12659,6 @@
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
"integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
- "dev": true,
"dependencies": {
"braces": "^3.0.3",
"picomatch": "^2.3.1"
@@ -11795,6 +12822,19 @@
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
"dev": true
},
+ "node_modules/negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "engines": {
+ "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=="
+ },
"node_modules/next": {
"version": "14.2.4",
"resolved": "https://registry.npmjs.org/next/-/next-14.2.4.tgz",
@@ -11971,8 +13011,20 @@
"node_modules/node-releases": {
"version": "2.0.18",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz",
- "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==",
- "dev": true
+ "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g=="
+ },
+ "node_modules/node-schedule": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/node-schedule/-/node-schedule-2.1.1.tgz",
+ "integrity": "sha512-OXdegQq03OmXEjt2hZP33W2YPs/E5BcFQks46+G2gAxs4gHOIVD1u7EqlYLYSKsaIpyKCK9Gbk0ta1/gjRSMRQ==",
+ "dependencies": {
+ "cron-parser": "^4.2.0",
+ "long-timeout": "0.1.1",
+ "sorted-array-functions": "^1.3.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
},
"node_modules/normalize-package-data": {
"version": "2.5.0",
@@ -12271,6 +13323,17 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
@@ -12295,6 +13358,11 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/only": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/only/-/only-0.0.2.tgz",
+ "integrity": "sha512-Fvw+Jemq5fjjyWz6CpKx6w9s7xxqo3+JCyM0WXWeCSOboZ8ABkyvP8ID4CZuChA/wxSx+XSJmdOm8rGVyJ1hdQ=="
+ },
"node_modules/optionator": {
"version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
@@ -12403,6 +13471,14 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/parse-passwd": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
+ "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/parse5": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz",
@@ -12415,6 +13491,14 @@
"url": "https://github.com/inikulin/parse5?sponsor=1"
}
},
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/pascalcase": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
@@ -12509,7 +13593,6 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "dev": true,
"engines": {
"node": ">=8.6"
},
@@ -13119,7 +14202,6 @@
"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",
@@ -13144,6 +14226,19 @@
"node": ">=4"
}
},
+ "node_modules/rambda": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/rambda/-/rambda-9.3.0.tgz",
+ "integrity": "sha512-cl/7DCCKNxmsbc0dXZTJTY08rvDdzLhVfE6kPBson1fWzDapLzv0RKSzjpmAqP53fkQqAvq05gpUVHTrUNsuxg=="
+ },
+ "node_modules/randombytes": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
+ "dependencies": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
"node_modules/rdf-canonize": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-3.4.0.tgz",
@@ -13674,6 +14769,57 @@
"node": ">=8"
}
},
+ "node_modules/resolve-dir": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",
+ "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==",
+ "dependencies": {
+ "expand-tilde": "^2.0.0",
+ "global-modules": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-dir/node_modules/global-modules": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",
+ "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",
+ "dependencies": {
+ "global-prefix": "^1.0.1",
+ "is-windows": "^1.0.1",
+ "resolve-dir": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-dir/node_modules/global-prefix": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",
+ "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==",
+ "dependencies": {
+ "expand-tilde": "^2.0.2",
+ "homedir-polyfill": "^1.0.1",
+ "ini": "^1.3.4",
+ "is-windows": "^1.0.1",
+ "which": "^1.2.14"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-dir/node_modules/which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "which": "bin/which"
+ }
+ },
"node_modules/resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
@@ -13720,12 +14866,16 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
- "dev": true,
"engines": {
"iojs": ">=1.0.0",
"node": ">=0.10.0"
}
},
+ "node_modules/rfdc": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
+ "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA=="
+ },
"node_modules/rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@@ -13767,7 +14917,6 @@
"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",
@@ -13881,15 +15030,32 @@
"loose-envify": "^1.1.0"
}
},
+ "node_modules/schema-utils": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz",
+ "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==",
+ "dependencies": {
+ "@types/json-schema": "^7.0.8",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
"node_modules/security-context": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/security-context/-/security-context-4.0.0.tgz",
"integrity": "sha512-yiDCS7tpKQl6p4NG57BdKLTSNLFfj5HosBIzXBl4jZf/qorJzSzbEUIdLhN+vVYgyLlvjixY8DPPTgqI8zvNCA=="
},
"node_modules/semver": {
- "version": "7.6.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz",
- "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==",
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
"bin": {
"semver": "bin/semver.js"
},
@@ -13908,6 +15074,14 @@
"node": ">=8"
}
},
+ "node_modules/serialize-javascript": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz",
+ "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==",
+ "dependencies": {
+ "randombytes": "^2.1.0"
+ }
+ },
"node_modules/set-function-length": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
@@ -13991,6 +15165,11 @@
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
"integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA=="
},
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
+ },
"node_modules/sharp": {
"version": "0.33.4",
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.4.tgz",
@@ -14304,6 +15483,11 @@
"node-gyp-build": "^4.3.0"
}
},
+ "node_modules/sorted-array-functions": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/sorted-array-functions/-/sorted-array-functions-1.3.0.tgz",
+ "integrity": "sha512-2sqgzeFlid6N4Z2fUQ1cvFmTOLRi/sEDzSQ0OKYchqgoPmQBVyM3959qYx3fpS6Esef80KjmpgPeEr028dP3OA=="
+ },
"node_modules/source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
@@ -14512,6 +15696,14 @@
"node": ">= 0.4"
}
},
+ "node_modules/statuses": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
+ "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/stop-iteration-iterator": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
@@ -14524,6 +15716,48 @@
"node": ">= 0.4"
}
},
+ "node_modules/streamroller": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.1.5.tgz",
+ "integrity": "sha512-KFxaM7XT+irxvdqSP1LGLgNWbYN7ay5owZ3r/8t77p+EtSUAfUgtl7be3xtqtOmGUl9K9YPO2ca8133RlTjvKw==",
+ "dependencies": {
+ "date-format": "^4.0.14",
+ "debug": "^4.3.4",
+ "fs-extra": "^8.1.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/streamroller/node_modules/fs-extra": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
+ "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^4.0.0",
+ "universalify": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=6 <7 || >=8"
+ }
+ },
+ "node_modules/streamroller/node_modules/jsonfile": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
+ "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==",
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/streamroller/node_modules/universalify": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
+ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
"node_modules/streamsearch": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz",
@@ -15979,11 +17213,112 @@
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
"integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
- "dev": true,
"engines": {
"node": ">=6"
}
},
+ "node_modules/terser": {
+ "version": "5.33.0",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.33.0.tgz",
+ "integrity": "sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==",
+ "dependencies": {
+ "@jridgewell/source-map": "^0.3.3",
+ "acorn": "^8.8.2",
+ "commander": "^2.20.0",
+ "source-map-support": "~0.5.20"
+ },
+ "bin": {
+ "terser": "bin/terser"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/terser-webpack-plugin": {
+ "version": "5.3.10",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
+ "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.20",
+ "jest-worker": "^27.4.5",
+ "schema-utils": "^3.1.1",
+ "serialize-javascript": "^6.0.1",
+ "terser": "^5.26.0"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependencies": {
+ "webpack": "^5.1.0"
+ },
+ "peerDependenciesMeta": {
+ "@swc/core": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "uglify-js": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/terser-webpack-plugin/node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/terser-webpack-plugin/node_modules/jest-worker": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",
+ "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",
+ "dependencies": {
+ "@types/node": "*",
+ "merge-stream": "^2.0.0",
+ "supports-color": "^8.0.0"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ }
+ },
+ "node_modules/terser-webpack-plugin/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==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/terser/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/terser/node_modules/source-map-support": {
+ "version": "0.5.21",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
"node_modules/test-exclude": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
@@ -16088,7 +17423,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
"dependencies": {
"is-number": "^7.0.0"
},
@@ -16096,6 +17430,14 @@
"node": ">=8.0"
}
},
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
"node_modules/tough-cookie": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
@@ -16221,6 +17563,14 @@
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz",
"integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ=="
},
+ "node_modules/tsscmp": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz",
+ "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==",
+ "engines": {
+ "node": ">=0.6.x"
+ }
+ },
"node_modules/tsutils": {
"version": "3.21.0",
"resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz",
@@ -16287,6 +17637,18 @@
"node": ">=8"
}
},
+ "node_modules/type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "dependencies": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/typed-array-buffer": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz",
@@ -16360,7 +17722,6 @@
"version": "5.5.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz",
"integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==",
- "dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@@ -16397,8 +17758,7 @@
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
- "dev": true
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
},
"node_modules/unherit": {
"version": "1.1.3",
@@ -16579,11 +17939,19 @@
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
"dev": true
},
+ "node_modules/upath": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz",
+ "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==",
+ "engines": {
+ "node": ">=4",
+ "yarn": "*"
+ }
+ },
"node_modules/update-browserslist-db": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz",
"integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==",
- "dev": true,
"funding": [
{
"type": "opencollective",
@@ -16733,6 +18101,14 @@
"resolved": "https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.3.tgz",
"integrity": "sha512-kRAyotcbNaSYoDnXvb4MHg/0a1egJdLwS6oJ38TJY7aw9n93Fl/3blIXdyYvPOp55CNxywooG/3BcrwNrBpcSg=="
},
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/verror": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
@@ -16844,6 +18220,23 @@
"makeerror": "1.0.12"
}
},
+ "node_modules/watchpack": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz",
+ "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==",
+ "dependencies": {
+ "glob-to-regexp": "^0.4.1",
+ "graceful-fs": "^4.1.2"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/watchpack/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=="
+ },
"node_modules/web-streams-polyfill": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
@@ -16857,6 +18250,84 @@
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
+ "node_modules/webpack": {
+ "version": "5.94.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz",
+ "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==",
+ "dependencies": {
+ "@types/estree": "^1.0.5",
+ "@webassemblyjs/ast": "^1.12.1",
+ "@webassemblyjs/wasm-edit": "^1.12.1",
+ "@webassemblyjs/wasm-parser": "^1.12.1",
+ "acorn": "^8.7.1",
+ "acorn-import-attributes": "^1.9.5",
+ "browserslist": "^4.21.10",
+ "chrome-trace-event": "^1.0.2",
+ "enhanced-resolve": "^5.17.1",
+ "es-module-lexer": "^1.2.1",
+ "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.2.0",
+ "mime-types": "^2.1.27",
+ "neo-async": "^2.6.2",
+ "schema-utils": "^3.2.0",
+ "tapable": "^2.1.1",
+ "terser-webpack-plugin": "^5.3.10",
+ "watchpack": "^2.4.1",
+ "webpack-sources": "^3.2.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/webpack-sources": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
+ "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/webpack/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==",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/webpack/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/webpack/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=="
+ },
"node_modules/whatwg-encoding": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz",
@@ -17161,7 +18632,6 @@
"version": "8.18.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
"integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
- "dev": true,
"engines": {
"node": ">=10.0.0"
},
@@ -17277,6 +18747,14 @@
"node": ">=8"
}
},
+ "node_modules/ylru": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/ylru/-/ylru-1.4.0.tgz",
+ "integrity": "sha512-2OQsPNEmBCvXuFlIni/a+Rn+R2pHW9INm0BxXJ4hVDA8TirqMj+J/Rp9ItLatT/5pZqWwefVrTQcHpixsxnVlA==",
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
"node_modules/yn": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
diff --git a/package.json b/package.json
index 14fa3157..0f78c136 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,8 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
+ "@module-federation/nextjs-mf": "^8.5.5",
+ "@module-federation/utilities": "3.0.11",
"@mui/icons-material": "^5.15.20",
"@mui/material": "^5.16.0",
"@project-sunbird/client-services": "^7.0.6",
@@ -71,6 +73,7 @@
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^36.0.1",
"ts-node": "^10.9.2",
- "typescript": "^5.4.0"
+ "typescript": "^5.4.0",
+ "webpack": "^5.91.0"
}
}
diff --git a/public/locales/en/common.json b/public/locales/en/common.json
index ec231b01..f6aa6c2d 100644
--- a/public/locales/en/common.json
+++ b/public/locales/en/common.json
@@ -150,7 +150,9 @@
"CREATE_PLAN": "Create Plan",
"VIEW_PLANS": "View Plans",
"FOUNDATION_COURSE": "Foundation Course",
- "MAIN_COURSE": "Main Course"
+ "MAIN_COURSE": "Main Course",
+ "WORKSPACE": "Workspace"
+
},
"FACILITATORS": {
"STATE": "State",
@@ -219,6 +221,7 @@
"NO_DATA_POST":"No data available for Learners Post-requisites",
"FACILITATORS":"Facilitators Requisites",
"NO_DATA":"No data available for Facilitators Requisites"
+
},
"MASTER": {
@@ -390,5 +393,10 @@
"ARCHIVED_LEARNERS": " Archived Learners",
"CODE": "Code",
"DISTRICT": "District"
+ },
+ "WORKSPACE": {
+ "EDITOR_WORKSPACE": "Editor Workspace",
+ "COURSE": "Course"
+
}
}
\ No newline at end of file
diff --git a/public/sunbird-questionset-editor-web-component/3rdpartylicenses.txt b/public/sunbird-questionset-editor-web-component/3rdpartylicenses.txt
new file mode 100644
index 00000000..420934d2
--- /dev/null
+++ b/public/sunbird-questionset-editor-web-component/3rdpartylicenses.txt
@@ -0,0 +1,684 @@
+@angular/animations
+MIT
+
+@angular/cdk
+MIT
+The MIT License
+
+Copyright (c) 2023 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.
+
+
+@angular/common
+MIT
+
+@angular/compiler
+MIT
+
+@angular/core
+MIT
+
+@angular/elements
+MIT
+
+@angular/forms
+MIT
+
+@angular/material
+MIT
+The MIT License
+
+Copyright (c) 2023 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.
+
+
+@angular/platform-browser
+MIT
+
+@angular/router
+MIT
+
+@project-sunbird/ckeditor-build-classic
+GPL-2.0-or-later
+Software License Agreement
+==========================
+
+**CKEditor 5 classic editor build** – https://github.com/ckeditor/ckeditor5-build-classic
+Copyright (c) 2003-2021, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
+
+Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
+
+Sources of Intellectual Property Included in CKEditor
+-----------------------------------------------------
+
+Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
+
+The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
+
+* Lo-Dash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
+
+Trademarks
+----------
+
+**CKEditor** is a trademark of [CKSource](http://cksource.com) Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
+
+
+@project-sunbird/client-services
+MIT
+MIT License
+
+Copyright (c) 2019 Sunbird-Ed
+
+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.
+
+
+@project-sunbird/common-form-elements-full
+
+@project-sunbird/ng2-semantic-ui
+MIT
+
+@project-sunbird/sb-styles
+MIT
+MIT License
+
+Copyright (c) 2020 Sunbird for Education
+
+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.
+
+
+@project-sunbird/sunbird-questionset-editor
+MIT
+
+@project-sunbird/sunbird-quml-player-web-component
+MIT
+
+@project-sunbird/sunbird-resource-library
+
+bowser
+MIT
+Copyright 2015, Dustin Diaz (the "Original Author")
+All rights reserved.
+
+MIT 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.
+
+Distributions of all or part of the Software intended to be used
+by the recipients as they would use the unmodified Software,
+containing modifications that substantially alter, remove, or
+disable functionality of the Software, outside of the documented
+configuration mechanisms provided by the Software, shall be
+modified such that the Original Author's bug reporting email
+addresses and urls are either replaced with the contact information
+of the parties responsible for the changes, or removed entirely.
+
+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.
+
+
+Except where noted, this license applies to any and all software
+programs and associated documentation files created by the
+Original Author, when distributed with the Software.
+
+
+extend
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2014 Stefan Thomas
+
+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.
+
+
+
+font-awesome
+(OFL-1.1 AND MIT)
+
+immutable
+MIT
+MIT License
+
+Copyright (c) 2014-present, Lee Byron and other contributors.
+
+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.
+
+
+is-ua-webview
+ISC
+Copyright (c) 2017, Adam Eivy
+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+
+jquery
+MIT
+Copyright OpenJS Foundation and other contributors, https://openjsf.org/
+
+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.
+
+
+jquery.fancytree
+MIT
+Copyright 2008-2023 Martin Wendt,
+https://wwWendt.de/
+
+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.
+
+
+lodash-es
+MIT
+Copyright OpenJS Foundation and other contributors
0&&(e="."===(e=t)?null:e),e};Qt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(t,e){var r=t.parser,a=e[4],n=e[5],i=Vt(e[0],"atom");i&&(i=Ut(e[0],"open"));var o=i?Lr(i.text):null,s=Vt(e[1],"atom");s&&(s=Ut(e[1],"close"));var h,l=s?Lr(s.text):null,m=Ft(e[2],"size"),c=null;h=!!m.isBlank||(c=m.value).number>0;var u="auto",p=Vt(e[3],"ordgroup");if(p){if(p.body.length>0){var d=Ft(p.body[0],"textord");u=Er[Number(d.text)]}}else p=Ft(e[3],"textord"),u=Er[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:a,denom:n,continued:!1,hasBarLine:h,barSize:c,leftDelim:o,rightDelim:l,size:u}},htmlBuilder:Rr,mathmlBuilder:Or}),Qt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(t,e){var r=t.parser,a=(t.funcName,t.token);return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ft(e[0],"size").value,token:a}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(t,e){var r=t.parser,a=(t.funcName,e[0]),n=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t}(Ft(e[1],"infix").size),i=e[2],o=n.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:i,continued:!1,hasBarLine:o,barSize:n,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Rr,mathmlBuilder:Or});var Hr=function(t,e){var r,a,n=e.style,i=Vt(t,"supsub");i?(r=i.sup?ue(i.sup,e.havingStyle(n.sup()),e):ue(i.sub,e.havingStyle(n.sub()),e),a=Ft(i.base,"horizBrace")):a=Ft(t,"horizBrace");var o,s=ue(a.base,e.havingBaseStyle(w.DISPLAY)),h=Oe(a,e);if(a.isOver?(o=Dt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:h}]},e)).children[0].children[0].children[1].classes.push("svg-align"):(o=Dt.makeVList({positionType:"bottom",positionData:s.depth+.1+h.height,children:[{type:"elem",elem:h},{type:"kern",size:.1},{type:"elem",elem:s}]},e)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Dt.makeSpan(["mord",a.isOver?"mover":"munder"],[o],e);o=a.isOver?Dt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},e):Dt.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return Dt.makeSpan(["mord",a.isOver?"mover":"munder"],[o],e)};Qt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(t,e){var r=t.parser,a=t.funcName;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:e[0]}},htmlBuilder:Hr,mathmlBuilder:function(t,e){var r=Re(t.label);return new ve.MathNode(t.isOver?"mover":"munder",[Me(t.base,e),r])}}),Qt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(t,e){var r=t.parser,a=e[1],n=Ft(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ee(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(t,e){var r=se(t.body,e,!1);return Dt.makeAnchor(t.href,[],r,e)},mathmlBuilder:function(t,e){var r=Se(t.body,e);return r instanceof ge||(r=new ge("mrow",[r])),r.setAttribute("href",t.href),r}}),Qt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(t,e){var r=t.parser,a=Ft(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;i0&&(u+=M,p-=M)}var z=[{type:"elem",elem:n,shift:p,marginRight:b,marginLeft:y},{type:"elem",elem:a,shift:-u,marginRight:b}];x=Dt.makeVList({positionType:"individualShift",children:z},e)}else if(n){p=Math.max(p,m.sub1,n.height-.8*m.xHeight);var A=[{type:"elem",elem:n,marginLeft:y,marginRight:b}];x=Dt.makeVList({positionType:"shift",positionData:p,children:A},e)}else{if(!a)throw new Error("supsub must have either sup or sub.");u=Math.max(u,i,a.depth+.25*m.xHeight),x=Dt.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:a,marginRight:b}]},e)}var T=me(l,"right")||"mord";return Dt.makeSpan([T],[l,Dt.makeSpan(["msupsub"],[x])],e)},mathmlBuilder:function(t,e){var r,a=!1,n=Vt(t.base,"horizBrace");n&&!!t.sup===n.isOver&&(a=!0,r=n.isOver),!t.base||"op"!==t.base.type&&"operatorname"!==t.base.type||(t.base.parentIsSupSub=!0);var i,o=[Me(t.base,e)];if(t.sub&&o.push(Me(t.sub,e)),t.sup&&o.push(Me(t.sup,e)),a)i=r?"mover":"munder";else if(t.sub)if(t.sup){var s=t.base;i=s&&"op"===s.type&&s.limits&&e.style===w.DISPLAY?"munderover":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(e.style===w.DISPLAY||s.limits)?"munderover":"msubsup"}else{var h=t.base;i=h&&"op"===h.type&&h.limits&&(e.style===w.DISPLAY||h.alwaysHandleSupSub)?"munder":h&&"operatorname"===h.type&&h.alwaysHandleSupSub&&(h.limits||e.style===w.DISPLAY)?"munder":"msub"}else{var l=t.base;i=l&&"op"===l.type&&l.limits&&(e.style===w.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||e.style===w.DISPLAY)?"mover":"msup"}return new ve.MathNode(i,o)}}),te({type:"atom",htmlBuilder:function(t,e){return Dt.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder:function(t,e){var r=new ve.MathNode("mo",[be(t.text,t.mode)]);if("bin"===t.family){var a=we(t,e);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===t.family?r.setAttribute("separator","true"):"open"!==t.family&&"close"!==t.family||r.setAttribute("stretchy","false");return r}});var Zr={mi:"italic",mn:"normal",mtext:"normal"};te({type:"mathord",htmlBuilder:function(t,e){return Dt.makeOrd(t,e,"mathord")},mathmlBuilder:function(t,e){var r=new ve.MathNode("mi",[be(t.text,t.mode,e)]),a=we(t,e)||"italic";return a!==Zr[r.type]&&r.setAttribute("mathvariant",a),r}}),te({type:"textord",htmlBuilder:function(t,e){return Dt.makeOrd(t,e,"textord")},mathmlBuilder:function(t,e){var r,a=be(t.text,t.mode,e),n=we(t,e)||"normal";return r="text"===t.mode?new ve.MathNode("mtext",[a]):/[0-9]/.test(t.text)?new ve.MathNode("mn",[a]):"\\prime"===t.text?new ve.MathNode("mo",[a]):new ve.MathNode("mi",[a]),n!==Zr[r.type]&&r.setAttribute("mathvariant",n),r}});var Kr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Jr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};te({type:"spacing",htmlBuilder:function(t,e){if(Jr.hasOwnProperty(t.text)){var r=Jr[t.text].className||"";if("text"===t.mode){var a=Dt.makeOrd(t,e,"textord");return a.classes.push(r),a}return Dt.makeSpan(["mspace",r],[Dt.mathsym(t.text,t.mode,e)],e)}if(Kr.hasOwnProperty(t.text))return Dt.makeSpan(["mspace",Kr[t.text]],[],e);throw new o('Unknown type of space "'+t.text+'"')},mathmlBuilder:function(t,e){if(!Jr.hasOwnProperty(t.text)){if(Kr.hasOwnProperty(t.text))return new ve.MathNode("mspace");throw new o('Unknown type of space "'+t.text+'"')}return new ve.MathNode("mtext",[new ve.TextNode("\xa0")])}});var Qr=function(){var t=new ve.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};te({type:"tag",mathmlBuilder:function(t,e){var r=new ve.MathNode("mtable",[new ve.MathNode("mtr",[Qr(),new ve.MathNode("mtd",[Se(t.body,e)]),Qr(),new ve.MathNode("mtd",[Se(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var ta={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ea={"\\textbf":"textbf","\\textmd":"textmd"},ra={"\\textit":"textit","\\textup":"textup"},aa=function(t,e){var r=t.font;return r?ta[r]?e.withTextFontFamily(ta[r]):ea[r]?e.withTextFontWeight(ea[r]):e.withTextFontShape(ra[r]):e};Qt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(t,e){var r=t.parser,a=t.funcName,n=e[0];return{type:"text",mode:r.mode,body:ee(n),font:a}},htmlBuilder:function(t,e){var r=aa(t,e),a=se(t.body,r,!0);return Dt.makeSpan(["mord","text"],Dt.tryCombineChars(a),r)},mathmlBuilder:function(t,e){var r=aa(t,e);return Se(t.body,r)}}),Qt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(t,e){return{type:"underline",mode:t.parser.mode,body:e[0]}},htmlBuilder:function(t,e){var r=ue(t.body,e),a=Dt.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,i=Dt.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return Dt.makeSpan(["mord","underline"],[i],e)},mathmlBuilder:function(t,e){var r=new ve.MathNode("mo",[new ve.TextNode("\u203e")]);r.setAttribute("stretchy","true");var a=new ve.MathNode("munder",[Me(t.body,e),r]);return a.setAttribute("accentunder","true"),a}}),Qt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(t,e,r){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(t,e){for(var r=na(t),a=[],n=e.havingStyle(e.style.text()),i=0;i span {
+ display: block;
+}
+.mq-math-mode .mq-operator-name {
+ font-family: Symbola, "Times New Roman", serif;
+ line-height: .9;
+ font-style: normal;
+}
+.mq-math-mode var.mq-operator-name.mq-first {
+ padding-left: .2em;
+}
+.mq-math-mode var.mq-operator-name.mq-last {
+ padding-right: .2em;
+}
+.mq-math-mode .mq-fraction {
+ font-size: 90%;
+ text-align: center;
+ vertical-align: -0.4em;
+ padding: 0 .2em;
+}
+.mq-math-mode .mq-fraction,
+.mq-math-mode .mq-large-operator,
+.mq-math-mode x:-moz-any-link {
+ display: -moz-groupbox;
+}
+.mq-math-mode .mq-fraction,
+.mq-math-mode .mq-large-operator,
+.mq-math-mode x:-moz-any-link,
+.mq-math-mode x:default {
+ display: inline-block;
+}
+.mq-math-mode .mq-numerator,
+.mq-math-mode .mq-denominator {
+ display: block;
+}
+.mq-math-mode .mq-numerator {
+ padding: 0 0.1em;
+}
+.mq-math-mode .mq-denominator {
+ border-top: 1px solid;
+ float: right;
+ width: 100%;
+ padding: 0.1em;
+}
+.mq-math-mode .mq-sqrt-prefix {
+ padding-top: 0;
+ position: relative;
+ top: 0.1em;
+ vertical-align: top;
+ -webkit-transform-origin: top;
+ -moz-transform-origin: top;
+ -ms-transform-origin: top;
+ -o-transform-origin: top;
+ transform-origin: top;
+}
+.mq-math-mode .mq-sqrt-stem {
+ border-top: 1px solid;
+ margin-top: 1px;
+ padding-left: .15em;
+ padding-right: .2em;
+ margin-right: .1em;
+ padding-top: 1px;
+}
+.mq-math-mode .mq-vector-prefix {
+ display: block;
+ text-align: center;
+ line-height: .25em;
+ margin-bottom: -0.1em;
+ font-size: 0.75em;
+}
+.mq-math-mode .mq-vector-stem {
+ display: block;
+}
+.mq-math-mode .mq-large-operator {
+ text-align: center;
+}
+.mq-math-mode .mq-large-operator .mq-from,
+.mq-math-mode .mq-large-operator big,
+.mq-math-mode .mq-large-operator .mq-to {
+ display: block;
+}
+.mq-math-mode .mq-large-operator .mq-from,
+.mq-math-mode .mq-large-operator .mq-to {
+ font-size: 80%;
+}
+.mq-math-mode .mq-large-operator .mq-from {
+ float: right;
+ /* take out of normal flow to manipulate baseline */
+ width: 100%;
+}
+.mq-math-mode,
+.mq-math-mode .mq-editable-field {
+ cursor: text;
+ font-family: Symbola, "Times New Roman", serif;
+}
+.mq-math-mode .mq-overarrow {
+ border-top: 1px solid black;
+ margin-top: 1px;
+ padding-top: 0.2em;
+}
+.mq-math-mode .mq-overarrow:before {
+ display: block;
+ position: relative;
+ top: -0.34em;
+ font-size: 0.5em;
+ line-height: 0em;
+ content: '\27A4';
+ text-align: right;
+}
+.mq-math-mode .mq-overarrow.mq-arrow-left:before {
+ -moz-transform: scaleX(-1);
+ -o-transform: scaleX(-1);
+ -webkit-transform: scaleX(-1);
+ transform: scaleX(-1);
+ filter: FlipH;
+ -ms-filter: "FlipH";
+}
+.mq-math-mode .mq-selection,
+.mq-editable-field .mq-selection,
+.mq-math-mode .mq-selection .mq-non-leaf,
+.mq-editable-field .mq-selection .mq-non-leaf,
+.mq-math-mode .mq-selection .mq-scaled,
+.mq-editable-field .mq-selection .mq-scaled {
+ background: #B4D5FE !important;
+ background: Highlight !important;
+ color: HighlightText;
+ border-color: HighlightText;
+}
+.mq-math-mode .mq-selection .mq-matrixed,
+.mq-editable-field .mq-selection .mq-matrixed {
+ background: #39F !important;
+}
+.mq-math-mode .mq-selection .mq-matrixed-container,
+.mq-editable-field .mq-selection .mq-matrixed-container {
+ filter: progid:DXImageTransform.Microsoft.Chroma(color='#3399FF') !important;
+}
+.mq-math-mode .mq-selection.mq-blur,
+.mq-editable-field .mq-selection.mq-blur,
+.mq-math-mode .mq-selection.mq-blur .mq-non-leaf,
+.mq-editable-field .mq-selection.mq-blur .mq-non-leaf,
+.mq-math-mode .mq-selection.mq-blur .mq-scaled,
+.mq-editable-field .mq-selection.mq-blur .mq-scaled,
+.mq-math-mode .mq-selection.mq-blur .mq-matrixed,
+.mq-editable-field .mq-selection.mq-blur .mq-matrixed {
+ background: #D4D4D4 !important;
+ color: black;
+ border-color: black;
+}
+.mq-math-mode .mq-selection.mq-blur .mq-matrixed-container,
+.mq-editable-field .mq-selection.mq-blur .mq-matrixed-container {
+ filter: progid:DXImageTransform.Microsoft.Chroma(color='#D4D4D4') !important;
+}
+.mq-editable-field .mq-textarea,
+.mq-math-mode .mq-textarea {
+ position: relative;
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ user-select: text;
+}
+.mq-editable-field .mq-textarea *,
+.mq-math-mode .mq-textarea *,
+.mq-editable-field .mq-selectable,
+.mq-math-mode .mq-selectable {
+ -webkit-user-select: text;
+ -moz-user-select: text;
+ user-select: text;
+ position: absolute;
+ clip: rect(1em 1em 1em 1em);
+ -webkit-transform: scale(0);
+ -moz-transform: scale(0);
+ -ms-transform: scale(0);
+ -o-transform: scale(0);
+ transform: scale(0);
+ resize: none;
+ width: 1px;
+ height: 1px;
+}
+.mq-math-mode .mq-matrixed {
+ background: white;
+ display: -moz-inline-box;
+ display: inline-block;
+}
+.mq-math-mode .mq-matrixed-container {
+ filter: progid:DXImageTransform.Microsoft.Chroma(color='white');
+ margin-top: -0.1em;
+}
diff --git a/public/sunbird-questionset-editor-web-component/assets/libs/mathEquation/plugin/mathModal/mathquill.js b/public/sunbird-questionset-editor-web-component/assets/libs/mathEquation/plugin/mathModal/mathquill.js
new file mode 100644
index 00000000..7e55b1c8
--- /dev/null
+++ b/public/sunbird-questionset-editor-web-component/assets/libs/mathEquation/plugin/mathModal/mathquill.js
@@ -0,0 +1,4925 @@
+/**
+ * MathQuill v0.10.1 http://mathquill.com
+ * by Han, Jeanine, and Mary maintainers@mathquill.com
+ *
+ * This Source Code Form is subject to the terms of the
+ * Mozilla Public License, v. 2.0. If a copy of the MPL
+ * was not distributed with this file, You can obtain
+ * one at http://mozilla.org/MPL/2.0/.
+ */
+
+(function() {
+
+var jQuery = window.jQuery,
+ undefined,
+ mqCmdId = 'mathquill-command-id',
+ mqBlockId = 'mathquill-block-id',
+ min = Math.min,
+ max = Math.max;
+
+function noop() {}
+
+/**
+ * A utility higher-order function that makes defining variadic
+ * functions more convenient by letting you essentially define functions
+ * with the last argument as a splat, i.e. the last argument "gathers up"
+ * remaining arguments to the function:
+ * var doStuff = variadic(function(first, rest) { return rest; });
+ * doStuff(1, 2, 3); // => [2, 3]
+ */
+var __slice = [].slice;
+function variadic(fn) {
+ var numFixedArgs = fn.length - 1;
+ return function() {
+ var args = __slice.call(arguments, 0, numFixedArgs);
+ var varArg = __slice.call(arguments, numFixedArgs);
+ return fn.apply(this, args.concat([ varArg ]));
+ };
+}
+
+/**
+ * A utility higher-order function that makes combining object-oriented
+ * programming and functional programming techniques more convenient:
+ * given a method name and any number of arguments to be bound, returns
+ * a function that calls it's first argument's method of that name (if
+ * it exists) with the bound arguments and any additional arguments that
+ * are passed:
+ * var sendMethod = send('method', 1, 2);
+ * var obj = { method: function() { return Array.apply(this, arguments); } };
+ * sendMethod(obj, 3, 4); // => [1, 2, 3, 4]
+ * // or more specifically,
+ * var obj2 = { method: function(one, two, three) { return one*two + three; } };
+ * sendMethod(obj2, 3); // => 5
+ * sendMethod(obj2, 4); // => 6
+ */
+var send = variadic(function(method, args) {
+ return variadic(function(obj, moreArgs) {
+ if (method in obj) return obj[method].apply(obj, args.concat(moreArgs));
+ });
+});
+
+/**
+ * A utility higher-order function that creates "implicit iterators"
+ * from "generators": given a function that takes in a sole argument,
+ * a "yield_" function, that calls "yield_" repeatedly with an object as
+ * a sole argument (presumably objects being iterated over), returns
+ * a function that calls it's first argument on each of those objects
+ * (if the first argument is a function, it is called repeatedly with
+ * each object as the first argument, otherwise it is stringified and
+ * the method of that name is called on each object (if such a method
+ * exists)), passing along all additional arguments:
+ * var a = [
+ * { method: function(list) { list.push(1); } },
+ * { method: function(list) { list.push(2); } },
+ * { method: function(list) { list.push(3); } }
+ * ];
+ * a.each = iterator(function(yield_) {
+ * for (var i in this) yield_(this[i]);
+ * });
+ * var list = [];
+ * a.each('method', list);
+ * list; // => [1, 2, 3]
+ * // Note that the for-in loop will yield 'each', but 'each' maps to
+ * // the function object created by iterator() which does not have a
+ * // .method() method, so that just fails silently.
+ */
+function iterator(generator) {
+ return variadic(function(fn, args) {
+ if (typeof fn !== 'function') fn = send(fn);
+ var yield_ = function(obj) { return fn.apply(obj, [ obj ].concat(args)); };
+ return generator.call(this, yield_);
+ });
+}
+
+/**
+ * sugar to make defining lots of commands easier.
+ * TODO: rethink this.
+ */
+function bind(cons /*, args... */) {
+ var args = __slice.call(arguments, 1);
+ return function() {
+ return cons.apply(this, args);
+ };
+}
+
+/**
+ * a development-only debug method. This definition and all
+ * calls to `pray` will be stripped from the minified
+ * build of mathquill.
+ *
+ * This function must be called by name to be removed
+ * at compile time. Do not define another function
+ * with the same name, and only call this function by
+ * name.
+ */
+function pray(message, cond) {
+ if (!cond) throw new Error('prayer failed: '+message);
+}
+var P = (function(prototype, ownProperty, undefined) {
+ // helper functions that also help minification
+ function isObject(o) { return typeof o === 'object'; }
+ function isFunction(f) { return typeof f === 'function'; }
+
+ // used to extend the prototypes of superclasses (which might not
+ // have `.Bare`s)
+ function SuperclassBare() {}
+
+ return function P(_superclass /* = Object */, definition) {
+ // handle the case where no superclass is given
+ if (definition === undefined) {
+ definition = _superclass;
+ _superclass = Object;
+ }
+
+ // C is the class to be returned.
+ //
+ // It delegates to instantiating an instance of `Bare`, so that it
+ // will always return a new instance regardless of the calling
+ // context.
+ //
+ // TODO: the Chrome inspector shows all created objects as `C`
+ // rather than `Object`. Setting the .name property seems to
+ // have no effect. Is there a way to override this behavior?
+ function C() {
+ var self = new Bare;
+ if (isFunction(self.init)) self.init.apply(self, arguments);
+ return self;
+ }
+
+ // C.Bare is a class with a noop constructor. Its prototype is the
+ // same as C, so that instances of C.Bare are also instances of C.
+ // New objects can be allocated without initialization by calling
+ // `new MyClass.Bare`.
+ function Bare() {}
+ C.Bare = Bare;
+
+ // Set up the prototype of the new class.
+ var _super = SuperclassBare[prototype] = _superclass[prototype];
+ var proto = Bare[prototype] = C[prototype] = C.p = new SuperclassBare;
+
+ // other variables, as a minifier optimization
+ var extensions;
+
+
+ // set the constructor property on the prototype, for convenience
+ proto.constructor = C;
+
+ C.mixin = function(def) {
+ Bare[prototype] = C[prototype] = P(C, def)[prototype];
+ return C;
+ }
+
+ return (C.open = function(def) {
+ extensions = {};
+
+ if (isFunction(def)) {
+ // call the defining function with all the arguments you need
+ // extensions captures the return value.
+ extensions = def.call(C, proto, _super, C, _superclass);
+ }
+ else if (isObject(def)) {
+ // if you passed an object instead, we'll take it
+ extensions = def;
+ }
+
+ // ...and extend it
+ if (isObject(extensions)) {
+ for (var ext in extensions) {
+ if (ownProperty.call(extensions, ext)) {
+ proto[ext] = extensions[ext];
+ }
+ }
+ }
+
+ // if there's no init, we assume we're inheriting a non-pjs class, so
+ // we default to applying the superclass's constructor.
+ if (!isFunction(proto.init)) {
+ proto.init = _superclass;
+ }
+
+ return C;
+ })(definition);
+ }
+
+ // as a minifier optimization, we've closured in a few helper functions
+ // and the string 'prototype' (C[p] is much shorter than C.prototype)
+})('prototype', ({}).hasOwnProperty);
+/*************************************************
+ * Base classes of edit tree-related objects
+ *
+ * Only doing tree node manipulation via these
+ * adopt/ disown methods guarantees well-formedness
+ * of the tree.
+ ************************************************/
+
+// L = 'left'
+// R = 'right'
+//
+// the contract is that they can be used as object properties
+// and (-L) === R, and (-R) === L.
+var L = -1;
+var R = 1;
+
+function prayDirection(dir) {
+ pray('a direction was passed', dir === L || dir === R);
+}
+
+/**
+ * Tiny extension of jQuery adding directionalized DOM manipulation methods.
+ *
+ * Funny how Pjs v3 almost just works with `jQuery.fn.init`.
+ *
+ * jQuery features that don't work on $:
+ * - jQuery.*, like jQuery.ajax, obviously (Pjs doesn't and shouldn't
+ * copy constructor properties)
+ *
+ * - jQuery(function), the shortcut for `jQuery(document).ready(function)`,
+ * because `jQuery.fn.init` is idiosyncratic and Pjs doing, essentially,
+ * `jQuery.fn.init.apply(this, arguments)` isn't quite right, you need:
+ *
+ * _.init = function(s, c) { jQuery.fn.init.call(this, s, c, $(document)); };
+ *
+ * if you actually give a shit (really, don't bother),
+ * see https://github.com/jquery/jquery/blob/1.7.2/src/core.js#L889
+ *
+ * - jQuery(selector), because jQuery translates that to
+ * `jQuery(document).find(selector)`, but Pjs doesn't (should it?) let
+ * you override the result of a constructor call
+ * + note that because of the jQuery(document) shortcut-ness, there's also
+ * the 3rd-argument-needs-to-be-`$(document)` thing above, but the fix
+ * for that (as can be seen above) is really easy. This problem requires
+ * a way more intrusive fix
+ *
+ * And that's it! Everything else just magically works because jQuery internally
+ * uses `this.constructor()` everywhere (hence calling `$`), but never ever does
+ * `this.constructor.find` or anything like that, always doing `jQuery.find`.
+ */
+var $ = P(jQuery, function(_) {
+ _.insDirOf = function(dir, el) {
+ return dir === L ?
+ this.insertBefore(el.first()) : this.insertAfter(el.last());
+ };
+ _.insAtDirEnd = function(dir, el) {
+ return dir === L ? this.prependTo(el) : this.appendTo(el);
+ };
+});
+
+var Point = P(function(_) {
+ _.parent = 0;
+ _[L] = 0;
+ _[R] = 0;
+
+ _.init = function(parent, leftward, rightward) {
+ this.parent = parent;
+ this[L] = leftward;
+ this[R] = rightward;
+ };
+
+ this.copy = function(pt) {
+ return Point(pt.parent, pt[L], pt[R]);
+ };
+});
+
+/**
+ * MathQuill virtual-DOM tree-node abstract base class
+ */
+var Node = P(function(_) {
+ _[L] = 0;
+ _[R] = 0
+ _.parent = 0;
+
+ var id = 0;
+ function uniqueNodeId() { return id += 1; }
+ this.byId = {};
+
+ _.init = function() {
+ this.id = uniqueNodeId();
+ Node.byId[this.id] = this;
+
+ this.ends = {};
+ this.ends[L] = 0;
+ this.ends[R] = 0;
+ };
+
+ _.dispose = function() { delete Node.byId[this.id]; };
+
+ _.toString = function() { return '{{ MathQuill Node #'+this.id+' }}'; };
+
+ _.jQ = $();
+ _.jQadd = function(jQ) { return this.jQ = this.jQ.add(jQ); };
+ _.jQize = function(jQ) {
+ // jQuery-ifies this.html() and links up the .jQ of all corresponding Nodes
+ var jQ = $(jQ || this.html());
+
+ function jQadd(el) {
+ if (el.getAttribute) {
+ var cmdId = el.getAttribute('mathquill-command-id');
+ var blockId = el.getAttribute('mathquill-block-id');
+ if (cmdId) Node.byId[cmdId].jQadd(el);
+ if (blockId) Node.byId[blockId].jQadd(el);
+ }
+ for (el = el.firstChild; el; el = el.nextSibling) {
+ jQadd(el);
+ }
+ }
+
+ for (var i = 0; i < jQ.length; i += 1) jQadd(jQ[i]);
+ return jQ;
+ };
+
+ _.createDir = function(dir, cursor) {
+ prayDirection(dir);
+ var node = this;
+ node.jQize();
+ node.jQ.insDirOf(dir, cursor.jQ);
+ cursor[dir] = node.adopt(cursor.parent, cursor[L], cursor[R]);
+ return node;
+ };
+ _.createLeftOf = function(el) { return this.createDir(L, el); };
+
+ _.selectChildren = function(leftEnd, rightEnd) {
+ return Selection(leftEnd, rightEnd);
+ };
+
+ _.bubble = iterator(function(yield_) {
+ for (var ancestor = this; ancestor; ancestor = ancestor.parent) {
+ var result = yield_(ancestor);
+ if (result === false) break;
+ }
+
+ return this;
+ });
+
+ _.postOrder = iterator(function(yield_) {
+ (function recurse(descendant) {
+ descendant.eachChild(recurse);
+ yield_(descendant);
+ })(this);
+
+ return this;
+ });
+
+ _.isEmpty = function() {
+ return this.ends[L] === 0 && this.ends[R] === 0;
+ };
+
+ _.children = function() {
+ return Fragment(this.ends[L], this.ends[R]);
+ };
+
+ _.eachChild = function() {
+ var children = this.children();
+ children.each.apply(children, arguments);
+ return this;
+ };
+
+ _.foldChildren = function(fold, fn) {
+ return this.children().fold(fold, fn);
+ };
+
+ _.withDirAdopt = function(dir, parent, withDir, oppDir) {
+ Fragment(this, this).withDirAdopt(dir, parent, withDir, oppDir);
+ return this;
+ };
+
+ _.adopt = function(parent, leftward, rightward) {
+ Fragment(this, this).adopt(parent, leftward, rightward);
+ return this;
+ };
+
+ _.disown = function() {
+ Fragment(this, this).disown();
+ return this;
+ };
+
+ _.remove = function() {
+ this.jQ.remove();
+ this.postOrder('dispose');
+ return this.disown();
+ };
+});
+
+function prayWellFormed(parent, leftward, rightward) {
+ pray('a parent is always present', parent);
+ pray('leftward is properly set up', (function() {
+ // either it's empty and `rightward` is the left end child (possibly empty)
+ if (!leftward) return parent.ends[L] === rightward;
+
+ // or it's there and its [R] and .parent are properly set up
+ return leftward[R] === rightward && leftward.parent === parent;
+ })());
+
+ pray('rightward is properly set up', (function() {
+ // either it's empty and `leftward` is the right end child (possibly empty)
+ if (!rightward) return parent.ends[R] === leftward;
+
+ // or it's there and its [L] and .parent are properly set up
+ return rightward[L] === leftward && rightward.parent === parent;
+ })());
+}
+
+
+/**
+ * An entity outside the virtual tree with one-way pointers (so it's only a
+ * "view" of part of the tree, not an actual node/entity in the tree) that
+ * delimits a doubly-linked list of sibling nodes.
+ * It's like a fanfic love-child between HTML DOM DocumentFragment and the Range
+ * classes: like DocumentFragment, its contents must be sibling nodes
+ * (unlike Range, whose contents are arbitrary contiguous pieces of subtrees),
+ * but like Range, it has only one-way pointers to its contents, its contents
+ * have no reference to it and in fact may still be in the visible tree (unlike
+ * DocumentFragment, whose contents must be detached from the visible tree
+ * and have their 'parent' pointers set to the DocumentFragment).
+ */
+var Fragment = P(function(_) {
+ _.init = function(withDir, oppDir, dir) {
+ if (dir === undefined) dir = L;
+ prayDirection(dir);
+
+ pray('no half-empty fragments', !withDir === !oppDir);
+
+ this.ends = {};
+
+ if (!withDir) return;
+
+ pray('withDir is passed to Fragment', withDir instanceof Node);
+ pray('oppDir is passed to Fragment', oppDir instanceof Node);
+ pray('withDir and oppDir have the same parent',
+ withDir.parent === oppDir.parent);
+
+ this.ends[dir] = withDir;
+ this.ends[-dir] = oppDir;
+
+ // To build the jquery collection for a fragment, accumulate elements
+ // into an array and then call jQ.add once on the result. jQ.add sorts the
+ // collection according to document order each time it is called, so
+ // building a collection by folding jQ.add directly takes more than
+ // quadratic time in the number of elements.
+ //
+ // https://github.com/jquery/jquery/blob/2.1.4/src/traversing.js#L112
+ var accum = this.fold([], function (accum, el) {
+ accum.push.apply(accum, el.jQ.get());
+ return accum;
+ });
+
+ this.jQ = this.jQ.add(accum);
+ };
+ _.jQ = $();
+
+ // like Cursor::withDirInsertAt(dir, parent, withDir, oppDir)
+ _.withDirAdopt = function(dir, parent, withDir, oppDir) {
+ return (dir === L ? this.adopt(parent, withDir, oppDir)
+ : this.adopt(parent, oppDir, withDir));
+ };
+ _.adopt = function(parent, leftward, rightward) {
+ prayWellFormed(parent, leftward, rightward);
+
+ var self = this;
+ self.disowned = false;
+
+ var leftEnd = self.ends[L];
+ if (!leftEnd) return this;
+
+ var rightEnd = self.ends[R];
+
+ if (leftward) {
+ // NB: this is handled in the ::each() block
+ // leftward[R] = leftEnd
+ } else {
+ parent.ends[L] = leftEnd;
+ }
+
+ if (rightward) {
+ rightward[L] = rightEnd;
+ } else {
+ parent.ends[R] = rightEnd;
+ }
+
+ self.ends[R][R] = rightward;
+
+ self.each(function(el) {
+ el[L] = leftward;
+ el.parent = parent;
+ if (leftward) leftward[R] = el;
+
+ leftward = el;
+ });
+
+ return self;
+ };
+
+ _.disown = function() {
+ var self = this;
+ var leftEnd = self.ends[L];
+
+ // guard for empty and already-disowned fragments
+ if (!leftEnd || self.disowned) return self;
+
+ self.disowned = true;
+
+ var rightEnd = self.ends[R]
+ var parent = leftEnd.parent;
+
+ prayWellFormed(parent, leftEnd[L], leftEnd);
+ prayWellFormed(parent, rightEnd, rightEnd[R]);
+
+ if (leftEnd[L]) {
+ leftEnd[L][R] = rightEnd[R];
+ } else {
+ parent.ends[L] = rightEnd[R];
+ }
+
+ if (rightEnd[R]) {
+ rightEnd[R][L] = leftEnd[L];
+ } else {
+ parent.ends[R] = leftEnd[L];
+ }
+
+ return self;
+ };
+
+ _.remove = function() {
+ this.jQ.remove();
+ this.each('postOrder', 'dispose');
+ return this.disown();
+ };
+
+ _.each = iterator(function(yield_) {
+ var self = this;
+ var el = self.ends[L];
+ if (!el) return self;
+
+ for (; el !== self.ends[R][R]; el = el[R]) {
+ var result = yield_(el);
+ if (result === false) break;
+ }
+
+ return self;
+ });
+
+ _.fold = function(fold, fn) {
+ this.each(function(el) {
+ fold = fn.call(this, fold, el);
+ });
+
+ return fold;
+ };
+});
+
+
+/**
+ * Registry of LaTeX commands and commands created when typing
+ * a single character.
+ *
+ * (Commands are all subclasses of Node.)
+ */
+var LatexCmds = {}, CharCmds = {};
+/********************************************
+ * Cursor and Selection "singleton" classes
+ *******************************************/
+
+/* The main thing that manipulates the Math DOM. Makes sure to manipulate the
+HTML DOM to match. */
+
+/* Sort of singletons, since there should only be one per editable math
+textbox, but any one HTML document can contain many such textboxes, so any one
+JS environment could actually contain many instances. */
+
+//A fake cursor in the fake textbox that the math is rendered in.
+var Cursor = P(Point, function(_) {
+ _.init = function(initParent, options) {
+ this.parent = initParent;
+ this.options = options;
+
+ var jQ = this.jQ = this._jQ = $('');
+ //closured for setInterval
+ this.blink = function(){ jQ.toggleClass('mq-blink'); };
+
+ this.upDownCache = {};
+ };
+
+ _.show = function() {
+ this.jQ = this._jQ.removeClass('mq-blink');
+ if ('intervalId' in this) //already was shown, just restart interval
+ clearInterval(this.intervalId);
+ else { //was hidden and detached, insert this.jQ back into HTML DOM
+ if (this[R]) {
+ if (this.selection && this.selection.ends[L][L] === this[L])
+ this.jQ.insertBefore(this.selection.jQ);
+ else
+ this.jQ.insertBefore(this[R].jQ.first());
+ }
+ else
+ this.jQ.appendTo(this.parent.jQ);
+ this.parent.focus();
+ }
+ this.intervalId = setInterval(this.blink, 500);
+ return this;
+ };
+ _.hide = function() {
+ if ('intervalId' in this)
+ clearInterval(this.intervalId);
+ delete this.intervalId;
+ this.jQ.detach();
+ this.jQ = $();
+ return this;
+ };
+
+ _.withDirInsertAt = function(dir, parent, withDir, oppDir) {
+ var oldParent = this.parent;
+ this.parent = parent;
+ this[dir] = withDir;
+ this[-dir] = oppDir;
+ // by contract, .blur() is called after all has been said and done
+ // and the cursor has actually been moved
+ if (oldParent !== parent && oldParent.blur) oldParent.blur();
+ };
+ _.insDirOf = function(dir, el) {
+ prayDirection(dir);
+ this.jQ.insDirOf(dir, el.jQ);
+ this.withDirInsertAt(dir, el.parent, el[dir], el);
+ this.parent.jQ.addClass('mq-hasCursor');
+ return this;
+ };
+ _.insLeftOf = function(el) { return this.insDirOf(L, el); };
+ _.insRightOf = function(el) { return this.insDirOf(R, el); };
+
+ _.insAtDirEnd = function(dir, el) {
+ prayDirection(dir);
+ this.jQ.insAtDirEnd(dir, el.jQ);
+ this.withDirInsertAt(dir, el, 0, el.ends[dir]);
+ el.focus();
+ return this;
+ };
+ _.insAtLeftEnd = function(el) { return this.insAtDirEnd(L, el); };
+ _.insAtRightEnd = function(el) { return this.insAtDirEnd(R, el); };
+
+ /**
+ * jump up or down from one block Node to another:
+ * - cache the current Point in the node we're jumping from
+ * - check if there's a Point in it cached for the node we're jumping to
+ * + if so put the cursor there,
+ * + if not seek a position in the node that is horizontally closest to
+ * the cursor's current position
+ */
+ _.jumpUpDown = function(from, to) {
+ var self = this;
+ self.upDownCache[from.id] = Point.copy(self);
+ var cached = self.upDownCache[to.id];
+ if (cached) {
+ cached[R] ? self.insLeftOf(cached[R]) : self.insAtRightEnd(cached.parent);
+ }
+ else {
+ var pageX = self.offset().left;
+ to.seek(pageX, self);
+ }
+ };
+ _.offset = function() {
+ //in Opera 11.62, .getBoundingClientRect() and hence jQuery::offset()
+ //returns all 0's on inline elements with negative margin-right (like
+ //the cursor) at the end of their parent, so temporarily remove the
+ //negative margin-right when calling jQuery::offset()
+ //Opera bug DSK-360043
+ //http://bugs.jquery.com/ticket/11523
+ //https://github.com/jquery/jquery/pull/717
+ var self = this, offset = self.jQ.removeClass('mq-cursor').offset();
+ self.jQ.addClass('mq-cursor');
+ return offset;
+ }
+ _.unwrapGramp = function() {
+ var gramp = this.parent.parent;
+ var greatgramp = gramp.parent;
+ var rightward = gramp[R];
+ var cursor = this;
+
+ var leftward = gramp[L];
+ gramp.disown().eachChild(function(uncle) {
+ if (uncle.isEmpty()) return;
+
+ uncle.children()
+ .adopt(greatgramp, leftward, rightward)
+ .each(function(cousin) {
+ cousin.jQ.insertBefore(gramp.jQ.first());
+ })
+ ;
+
+ leftward = uncle.ends[R];
+ });
+
+ if (!this[R]) { //then find something to be rightward to insLeftOf
+ if (this[L])
+ this[R] = this[L][R];
+ else {
+ while (!this[R]) {
+ this.parent = this.parent[R];
+ if (this.parent)
+ this[R] = this.parent.ends[L];
+ else {
+ this[R] = gramp[R];
+ this.parent = greatgramp;
+ break;
+ }
+ }
+ }
+ }
+ if (this[R])
+ this.insLeftOf(this[R]);
+ else
+ this.insAtRightEnd(greatgramp);
+
+ gramp.jQ.remove();
+
+ if (gramp[L].siblingDeleted) gramp[L].siblingDeleted(cursor.options, R);
+ if (gramp[R].siblingDeleted) gramp[R].siblingDeleted(cursor.options, L);
+ };
+ _.startSelection = function() {
+ var anticursor = this.anticursor = Point.copy(this);
+ var ancestors = anticursor.ancestors = {}; // a map from each ancestor of
+ // the anticursor, to its child that is also an ancestor; in other words,
+ // the anticursor's ancestor chain in reverse order
+ for (var ancestor = anticursor; ancestor.parent; ancestor = ancestor.parent) {
+ ancestors[ancestor.parent.id] = ancestor;
+ }
+ };
+ _.endSelection = function() {
+ delete this.anticursor;
+ };
+ _.select = function() {
+ var anticursor = this.anticursor;
+ if (this[L] === anticursor[L] && this.parent === anticursor.parent) return false;
+
+ // Find the lowest common ancestor (`lca`), and the ancestor of the cursor
+ // whose parent is the LCA (which'll be an end of the selection fragment).
+ for (var ancestor = this; ancestor.parent; ancestor = ancestor.parent) {
+ if (ancestor.parent.id in anticursor.ancestors) {
+ var lca = ancestor.parent;
+ break;
+ }
+ }
+ pray('cursor and anticursor in the same tree', lca);
+ // The cursor and the anticursor should be in the same tree, because the
+ // mousemove handler attached to the document, unlike the one attached to
+ // the root HTML DOM element, doesn't try to get the math tree node of the
+ // mousemove target, and Cursor::seek() based solely on coordinates stays
+ // within the tree of `this` cursor's root.
+
+ // The other end of the selection fragment, the ancestor of the anticursor
+ // whose parent is the LCA.
+ var antiAncestor = anticursor.ancestors[lca.id];
+
+ // Now we have two either Nodes or Points, guaranteed to have a common
+ // parent and guaranteed that if both are Points, they are not the same,
+ // and we have to figure out which is the left end and which the right end
+ // of the selection.
+ var leftEnd, rightEnd, dir = R;
+
+ // This is an extremely subtle algorithm.
+ // As a special case, `ancestor` could be a Point and `antiAncestor` a Node
+ // immediately to `ancestor`'s left.
+ // In all other cases,
+ // - both Nodes
+ // - `ancestor` a Point and `antiAncestor` a Node
+ // - `ancestor` a Node and `antiAncestor` a Point
+ // `antiAncestor[R] === rightward[R]` for some `rightward` that is
+ // `ancestor` or to its right, if and only if `antiAncestor` is to
+ // the right of `ancestor`.
+ if (ancestor[L] !== antiAncestor) {
+ for (var rightward = ancestor; rightward; rightward = rightward[R]) {
+ if (rightward[R] === antiAncestor[R]) {
+ dir = L;
+ leftEnd = ancestor;
+ rightEnd = antiAncestor;
+ break;
+ }
+ }
+ }
+ if (dir === R) {
+ leftEnd = antiAncestor;
+ rightEnd = ancestor;
+ }
+
+ // only want to select Nodes up to Points, can't select Points themselves
+ if (leftEnd instanceof Point) leftEnd = leftEnd[R];
+ if (rightEnd instanceof Point) rightEnd = rightEnd[L];
+
+ this.hide().selection = lca.selectChildren(leftEnd, rightEnd);
+ this.insDirOf(dir, this.selection.ends[dir]);
+ this.selectionChanged();
+ return true;
+ };
+
+ _.clearSelection = function() {
+ if (this.selection) {
+ this.selection.clear();
+ delete this.selection;
+ this.selectionChanged();
+ }
+ return this;
+ };
+ _.deleteSelection = function() {
+ if (!this.selection) return;
+
+ this[L] = this.selection.ends[L][L];
+ this[R] = this.selection.ends[R][R];
+ this.selection.remove();
+ this.selectionChanged();
+ delete this.selection;
+ };
+ _.replaceSelection = function() {
+ var seln = this.selection;
+ if (seln) {
+ this[L] = seln.ends[L][L];
+ this[R] = seln.ends[R][R];
+ delete this.selection;
+ }
+ return seln;
+ };
+});
+
+var Selection = P(Fragment, function(_, super_) {
+ _.init = function() {
+ super_.init.apply(this, arguments);
+ this.jQ = this.jQ.wrapAll('').parent();
+ //can't do wrapAll(this.jQ = $(...)) because wrapAll will clone it
+ };
+ _.adopt = function() {
+ this.jQ.replaceWith(this.jQ = this.jQ.children());
+ return super_.adopt.apply(this, arguments);
+ };
+ _.clear = function() {
+ // using the browser's native .childNodes property so that we
+ // don't discard text nodes.
+ this.jQ.replaceWith(this.jQ[0].childNodes);
+ return this;
+ };
+ _.join = function(methodName) {
+ return this.fold('', function(fold, child) {
+ return fold + child[methodName]();
+ });
+ };
+});
+/*********************************************
+ * Controller for a MathQuill instance,
+ * on which services are registered with
+ *
+ * Controller.open(function(_) { ... });
+ *
+ ********************************************/
+
+var Controller = P(function(_) {
+ _.init = function(root, container, options) {
+ this.id = root.id;
+ this.data = {};
+
+ this.root = root;
+ this.container = container;
+ this.options = options;
+
+ root.controller = this;
+
+ this.cursor = root.cursor = Cursor(root, options);
+ // TODO: stop depending on root.cursor, and rm it
+ };
+
+ _.handle = function(name, dir) {
+ var handlers = this.options.handlers;
+ if (handlers && handlers.fns[name]) {
+ var mq = handlers.APIClasses[this.KIND_OF_MQ](this);
+ if (dir === L || dir === R) handlers.fns[name](dir, mq);
+ else handlers.fns[name](mq);
+ }
+ };
+
+ var notifyees = [];
+ this.onNotify = function(f) { notifyees.push(f); };
+ _.notify = function() {
+ for (var i = 0; i < notifyees.length; i += 1) {
+ notifyees[i].apply(this.cursor, arguments);
+ }
+ return this;
+ };
+});
+/*********************************************************
+ * The publicly exposed MathQuill API.
+ ********************************************************/
+
+var API = {}, Options = P(), optionProcessors = {}, Progenote = P(), EMBEDS = {};
+
+/**
+ * Interface Versioning (#459, #495) to allow us to virtually guarantee
+ * backcompat. v0.10.x introduces it, so for now, don't completely break the
+ * API for people who don't know about it, just complain with console.warn().
+ *
+ * The methods are shimmed in outro.js so that MQ.MathField.prototype etc can
+ * be accessed.
+ */
+function insistOnInterVer() {
+ if (window.console) console.warn(
+ 'You are using the MathQuill API without specifying an interface version, ' +
+ 'which will fail in v1.0.0. You can fix this easily by doing this before ' +
+ 'doing anything else:\n' +
+ '\n' +
+ ' MathQuill = MathQuill.getInterface(1);\n' +
+ ' // now MathQuill.MathField() works like it used to\n' +
+ '\n' +
+ 'See also the "`dev` branch (2014\u20132015) \u2192 v0.10.0 Migration Guide" at\n' +
+ ' https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide'
+ );
+}
+// globally exported API object
+function MathQuill(el) {
+ insistOnInterVer();
+ return MQ1(el);
+};
+MathQuill.prototype = Progenote.p;
+MathQuill.interfaceVersion = function(v) {
+ // shim for #459-era interface versioning (ended with #495)
+ if (v !== 1) throw 'Only interface version 1 supported. You specified: ' + v;
+ insistOnInterVer = function() {
+ if (window.console) console.warn(
+ 'You called MathQuill.interfaceVersion(1); to specify the interface ' +
+ 'version, which will fail in v1.0.0. You can fix this easily by doing ' +
+ 'this before doing anything else:\n' +
+ '\n' +
+ ' MathQuill = MathQuill.getInterface(1);\n' +
+ ' // now MathQuill.MathField() works like it used to\n' +
+ '\n' +
+ 'See also the "`dev` branch (2014\u20132015) \u2192 v0.10.0 Migration Guide" at\n' +
+ ' https://github.com/mathquill/mathquill/wiki/%60dev%60-branch-(2014%E2%80%932015)-%E2%86%92-v0.10.0-Migration-Guide'
+ );
+ };
+ insistOnInterVer();
+ return MathQuill;
+};
+MathQuill.getInterface = getInterface;
+
+var MIN = getInterface.MIN = 1, MAX = getInterface.MAX = 2;
+function getInterface(v) {
+ if (!(MIN <= v && v <= MAX)) throw 'Only interface versions between ' +
+ MIN + ' and ' + MAX + ' supported. You specified: ' + v;
+
+ /**
+ * Function that takes an HTML element and, if it's the root HTML element of a
+ * static math or math or text field, returns an API object for it (else, null).
+ *
+ * var mathfield = MQ.MathField(mathFieldSpan);
+ * assert(MQ(mathFieldSpan).id === mathfield.id);
+ * assert(MQ(mathFieldSpan).id === MQ(mathFieldSpan).id);
+ *
+ */
+ function MQ(el) {
+ if (!el || !el.nodeType) return null; // check that `el` is a HTML element, using the
+ // same technique as jQuery: https://github.com/jquery/jquery/blob/679536ee4b7a92ae64a5f58d90e9cc38c001e807/src/core/init.js#L92
+ var blockId = $(el).children('.mq-root-block').attr(mqBlockId);
+ var ctrlr = blockId && Node.byId[blockId].controller;
+ return ctrlr ? APIClasses[ctrlr.KIND_OF_MQ](ctrlr) : null;
+ };
+ var APIClasses = {};
+
+ MQ.L = L;
+ MQ.R = R;
+
+ function config(currentOptions, newOptions) {
+ if (newOptions && newOptions.handlers) {
+ newOptions.handlers = { fns: newOptions.handlers, APIClasses: APIClasses };
+ }
+ for (var name in newOptions) if (newOptions.hasOwnProperty(name)) {
+ var value = newOptions[name], processor = optionProcessors[name];
+ currentOptions[name] = (processor ? processor(value) : value);
+ }
+ }
+ MQ.config = function(opts) { config(Options.p, opts); return this; };
+ MQ.registerEmbed = function(name, options) {
+ if (!/^[a-z][a-z0-9]*$/i.test(name)) {
+ throw 'Embed name must start with letter and be only letters and digits';
+ }
+ EMBEDS[name] = options;
+ };
+
+ var AbstractMathQuill = APIClasses.AbstractMathQuill = P(Progenote, function(_) {
+ _.init = function(ctrlr) {
+ this.__controller = ctrlr;
+ this.__options = ctrlr.options;
+ this.id = ctrlr.id;
+ this.data = ctrlr.data;
+ };
+ _.__mathquillify = function(classNames) {
+ var ctrlr = this.__controller, root = ctrlr.root, el = ctrlr.container;
+ ctrlr.createTextarea();
+
+ var contents = el.addClass(classNames).contents().detach();
+ root.jQ =
+ $('').attr(mqBlockId, root.id).appendTo(el);
+ this.latex(contents.text());
+
+ this.revert = function() {
+ return el.empty().unbind('.mathquill')
+ .removeClass('mq-editable-field mq-math-mode mq-text-mode')
+ .append(contents);
+ };
+ };
+ _.config = function(opts) { config(this.__options, opts); return this; };
+ _.el = function() { return this.__controller.container[0]; };
+ _.text = function() { return this.__controller.exportText(); };
+ _.latex = function(latex) {
+ if (arguments.length > 0) {
+ this.__controller.renderLatexMath(latex);
+ if (this.__controller.blurred) this.__controller.cursor.hide().parent.blur();
+ return this;
+ }
+ return this.__controller.exportLatex();
+ };
+ _.html = function() {
+ return this.__controller.root.jQ.html()
+ .replace(/ mathquill-(?:command|block)-id="?\d+"?/g, '')
+ .replace(/.?<\/span>/i, '')
+ .replace(/ mq-hasCursor|mq-hasCursor ?/, '')
+ .replace(/ class=(""|(?= |>))/g, '');
+ };
+ _.reflow = function() {
+ this.__controller.root.postOrder('reflow');
+ return this;
+ };
+ });
+ MQ.prototype = AbstractMathQuill.prototype;
+
+ APIClasses.EditableField = P(AbstractMathQuill, function(_, super_) {
+ _.__mathquillify = function() {
+ super_.__mathquillify.apply(this, arguments);
+ this.__controller.editable = true;
+ this.__controller.delegateMouseEvents();
+ this.__controller.editablesTextareaEvents();
+ return this;
+ };
+ _.focus = function() { this.__controller.textarea.focus(); return this; };
+ _.blur = function() { this.__controller.textarea.blur(); return this; };
+ _.write = function(latex) {
+ this.__controller.writeLatex(latex);
+ this.__controller.scrollHoriz();
+ if (this.__controller.blurred) this.__controller.cursor.hide().parent.blur();
+ return this;
+ };
+ _.cmd = function(cmd) {
+ var ctrlr = this.__controller.notify(), cursor = ctrlr.cursor;
+ if (/^\\[a-z]+$/i.test(cmd)) {
+ cmd = cmd.slice(1);
+ var klass = LatexCmds[cmd];
+ if (klass) {
+ cmd = klass(cmd);
+ if (cursor.selection) cmd.replaces(cursor.replaceSelection());
+ cmd.createLeftOf(cursor.show());
+ this.__controller.scrollHoriz();
+ }
+ else /* TODO: API needs better error reporting */;
+ }
+ else cursor.parent.write(cursor, cmd);
+ if (ctrlr.blurred) cursor.hide().parent.blur();
+ return this;
+ };
+ _.select = function() {
+ var ctrlr = this.__controller;
+ ctrlr.notify('move').cursor.insAtRightEnd(ctrlr.root);
+ while (ctrlr.cursor[L]) ctrlr.selectLeft();
+ return this;
+ };
+ _.clearSelection = function() {
+ this.__controller.cursor.clearSelection();
+ return this;
+ };
+
+ _.moveToDirEnd = function(dir) {
+ this.__controller.notify('move').cursor.insAtDirEnd(dir, this.__controller.root);
+ return this;
+ };
+ _.moveToLeftEnd = function() { return this.moveToDirEnd(L); };
+ _.moveToRightEnd = function() { return this.moveToDirEnd(R); };
+
+ _.keystroke = function(keys) {
+ var keys = keys.replace(/^\s+|\s+$/g, '').split(/\s+/);
+ for (var i = 0; i < keys.length; i += 1) {
+ this.__controller.keystroke(keys[i], { preventDefault: noop });
+ }
+ return this;
+ };
+ _.typedText = function(text) {
+ for (var i = 0; i < text.length; i += 1) this.__controller.typedText(text.charAt(i));
+ return this;
+ };
+ _.dropEmbedded = function(pageX, pageY, options) {
+ var clientX = pageX - $(window).scrollLeft();
+ var clientY = pageY - $(window).scrollTop();
+
+ var el = document.elementFromPoint(clientX, clientY);
+ this.__controller.seek($(el), pageX, pageY);
+ var cmd = Embed().setOptions(options);
+ cmd.createLeftOf(this.__controller.cursor);
+ };
+ });
+ MQ.EditableField = function() { throw "wtf don't call me, I'm 'abstract'"; };
+ MQ.EditableField.prototype = APIClasses.EditableField.prototype;
+
+ /**
+ * Export the API functions that MathQuill-ify an HTML element into API objects
+ * of each class. If the element had already been MathQuill-ified but into a
+ * different kind (or it's not an HTML element), return null.
+ */
+ for (var kind in API) (function(kind, defAPIClass) {
+ var APIClass = APIClasses[kind] = defAPIClass(APIClasses);
+ MQ[kind] = function(el, opts) {
+ var mq = MQ(el);
+ if (mq instanceof APIClass || !el || !el.nodeType) return mq;
+ var ctrlr = Controller(APIClass.RootBlock(), $(el), Options());
+ ctrlr.KIND_OF_MQ = kind;
+ return APIClass(ctrlr).__mathquillify(opts, v);
+ };
+ MQ[kind].prototype = APIClass.prototype;
+ }(kind, API[kind]));
+
+ return MQ;
+}
+
+MathQuill.noConflict = function() {
+ window.MathQuill = origMathQuill;
+ return MathQuill;
+};
+var origMathQuill = window.MathQuill;
+window.MathQuill = MathQuill;
+
+function RootBlockMixin(_) {
+ var names = 'moveOutOf deleteOutOf selectOutOf upOutOf downOutOf'.split(' ');
+ for (var i = 0; i < names.length; i += 1) (function(name) {
+ _[name] = function(dir) { this.controller.handle(name, dir); };
+ }(names[i]));
+ _.reflow = function() {
+ this.controller.handle('reflow');
+ this.controller.handle('edited');
+ this.controller.handle('edit');
+ };
+}
+var Parser = P(function(_, super_, Parser) {
+ // The Parser object is a wrapper for a parser function.
+ // Externally, you use one to parse a string by calling
+ // var result = SomeParser.parse('Me Me Me! Parse Me!');
+ // You should never call the constructor, rather you should
+ // construct your Parser from the base parsers and the
+ // parser combinator methods.
+
+ function parseError(stream, message) {
+ if (stream) {
+ stream = "'"+stream+"'";
+ }
+ else {
+ stream = 'EOF';
+ }
+
+ throw 'Parse Error: '+message+' at '+stream;
+ }
+
+ _.init = function(body) { this._ = body; };
+
+ _.parse = function(stream) {
+ return this.skip(eof)._(''+stream, success, parseError);
+
+ function success(stream, result) { return result; }
+ };
+
+ // -*- primitive combinators -*- //
+ _.or = function(alternative) {
+ pray('or is passed a parser', alternative instanceof Parser);
+
+ var self = this;
+
+ return Parser(function(stream, onSuccess, onFailure) {
+ return self._(stream, onSuccess, failure);
+
+ function failure(newStream) {
+ return alternative._(stream, onSuccess, onFailure);
+ }
+ });
+ };
+
+ _.then = function(next) {
+ var self = this;
+
+ return Parser(function(stream, onSuccess, onFailure) {
+ return self._(stream, success, onFailure);
+
+ function success(newStream, result) {
+ var nextParser = (next instanceof Parser ? next : next(result));
+ pray('a parser is returned', nextParser instanceof Parser);
+ return nextParser._(newStream, onSuccess, onFailure);
+ }
+ });
+ };
+
+ // -*- optimized iterative combinators -*- //
+ _.many = function() {
+ var self = this;
+
+ return Parser(function(stream, onSuccess, onFailure) {
+ var xs = [];
+ while (self._(stream, success, failure));
+ return onSuccess(stream, xs);
+
+ function success(newStream, x) {
+ stream = newStream;
+ xs.push(x);
+ return true;
+ }
+
+ function failure() {
+ return false;
+ }
+ });
+ };
+
+ _.times = function(min, max) {
+ if (arguments.length < 2) max = min;
+ var self = this;
+
+ return Parser(function(stream, onSuccess, onFailure) {
+ var xs = [];
+ var result = true;
+ var failure;
+
+ for (var i = 0; i < min; i += 1) {
+ result = self._(stream, success, firstFailure);
+ if (!result) return onFailure(stream, failure);
+ }
+
+ for (; i < max && result; i += 1) {
+ result = self._(stream, success, secondFailure);
+ }
+
+ return onSuccess(stream, xs);
+
+ function success(newStream, x) {
+ xs.push(x);
+ stream = newStream;
+ return true;
+ }
+
+ function firstFailure(newStream, msg) {
+ failure = msg;
+ stream = newStream;
+ return false;
+ }
+
+ function secondFailure(newStream, msg) {
+ return false;
+ }
+ });
+ };
+
+ // -*- higher-level combinators -*- //
+ _.result = function(res) { return this.then(succeed(res)); };
+ _.atMost = function(n) { return this.times(0, n); };
+ _.atLeast = function(n) {
+ var self = this;
+ return self.times(n).then(function(start) {
+ return self.many().map(function(end) {
+ return start.concat(end);
+ });
+ });
+ };
+
+ _.map = function(fn) {
+ return this.then(function(result) { return succeed(fn(result)); });
+ };
+
+ _.skip = function(two) {
+ return this.then(function(result) { return two.result(result); });
+ };
+
+ // -*- primitive parsers -*- //
+ var string = this.string = function(str) {
+ var len = str.length;
+ var expected = "expected '"+str+"'";
+
+ return Parser(function(stream, onSuccess, onFailure) {
+ var head = stream.slice(0, len);
+
+ if (head === str) {
+ return onSuccess(stream.slice(len), head);
+ }
+ else {
+ return onFailure(stream, expected);
+ }
+ });
+ };
+
+ var regex = this.regex = function(re) {
+ pray('regexp parser is anchored', re.toString().charAt(1) === '^');
+
+ var expected = 'expected '+re;
+
+ return Parser(function(stream, onSuccess, onFailure) {
+ var match = re.exec(stream);
+
+ if (match) {
+ var result = match[0];
+ return onSuccess(stream.slice(result.length), result);
+ }
+ else {
+ return onFailure(stream, expected);
+ }
+ });
+ };
+
+ var succeed = Parser.succeed = function(result) {
+ return Parser(function(stream, onSuccess) {
+ return onSuccess(stream, result);
+ });
+ };
+
+ var fail = Parser.fail = function(msg) {
+ return Parser(function(stream, _, onFailure) {
+ return onFailure(stream, msg);
+ });
+ };
+
+ var letter = Parser.letter = regex(/^[a-z]/i);
+ var letters = Parser.letters = regex(/^[a-z]*/i);
+ var digit = Parser.digit = regex(/^[0-9]/);
+ var digits = Parser.digits = regex(/^[0-9]*/);
+ var whitespace = Parser.whitespace = regex(/^\s+/);
+ var optWhitespace = Parser.optWhitespace = regex(/^\s*/);
+
+ var any = Parser.any = Parser(function(stream, onSuccess, onFailure) {
+ if (!stream) return onFailure(stream, 'expected any character');
+
+ return onSuccess(stream.slice(1), stream.charAt(0));
+ });
+
+ var all = Parser.all = Parser(function(stream, onSuccess, onFailure) {
+ return onSuccess('', stream);
+ });
+
+ var eof = Parser.eof = Parser(function(stream, onSuccess, onFailure) {
+ if (stream) return onFailure(stream, 'expected EOF');
+
+ return onSuccess(stream, stream);
+ });
+});
+/*************************************************
+ * Sane Keyboard Events Shim
+ *
+ * An abstraction layer wrapping the textarea in
+ * an object with methods to manipulate and listen
+ * to events on, that hides all the nasty cross-
+ * browser incompatibilities behind a uniform API.
+ *
+ * Design goal: This is a *HARD* internal
+ * abstraction barrier. Cross-browser
+ * inconsistencies are not allowed to leak through
+ * and be dealt with by event handlers. All future
+ * cross-browser issues that arise must be dealt
+ * with here, and if necessary, the API updated.
+ *
+ * Organization:
+ * - key values map and stringify()
+ * - saneKeyboardEvents()
+ * + defer() and flush()
+ * + event handler logic
+ * + attach event handlers and export methods
+ ************************************************/
+
+var saneKeyboardEvents = (function() {
+ // The following [key values][1] map was compiled from the
+ // [DOM3 Events appendix section on key codes][2] and
+ // [a widely cited report on cross-browser tests of key codes][3],
+ // except for 10: 'Enter', which I've empirically observed in Safari on iOS
+ // and doesn't appear to conflict with any other known key codes.
+ //
+ // [1]: http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120614/#keys-keyvalues
+ // [2]: http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120614/#fixed-virtual-key-codes
+ // [3]: http://unixpapa.com/js/key.html
+ var KEY_VALUES = {
+ 8: 'Backspace',
+ 9: 'Tab',
+
+ 10: 'Enter', // for Safari on iOS
+
+ 13: 'Enter',
+
+ 16: 'Shift',
+ 17: 'Control',
+ 18: 'Alt',
+ 20: 'CapsLock',
+
+ 27: 'Esc',
+
+ 32: 'Spacebar',
+
+ 33: 'PageUp',
+ 34: 'PageDown',
+ 35: 'End',
+ 36: 'Home',
+
+ 37: 'Left',
+ 38: 'Up',
+ 39: 'Right',
+ 40: 'Down',
+
+ 45: 'Insert',
+
+ 46: 'Del',
+
+ 144: 'NumLock'
+ };
+
+ // To the extent possible, create a normalized string representation
+ // of the key combo (i.e., key code and modifier keys).
+ function stringify(evt) {
+ var which = evt.which || evt.keyCode;
+ var keyVal = KEY_VALUES[which];
+ var key;
+ var modifiers = [];
+
+ if (evt.ctrlKey) modifiers.push('Ctrl');
+ if (evt.originalEvent && evt.originalEvent.metaKey) modifiers.push('Meta');
+ if (evt.altKey) modifiers.push('Alt');
+ if (evt.shiftKey) modifiers.push('Shift');
+
+ key = keyVal || String.fromCharCode(which);
+
+ if (!modifiers.length && !keyVal) return key;
+
+ modifiers.push(key);
+ return modifiers.join('-');
+ }
+
+ // create a keyboard events shim that calls callbacks at useful times
+ // and exports useful public methods
+ return function saneKeyboardEvents(el, handlers) {
+ var keydown = null;
+ var keypress = null;
+
+ var textarea = jQuery(el);
+ var target = jQuery(handlers.container || textarea);
+
+ // checkTextareaFor() is called after keypress or paste events to
+ // say "Hey, I think something was just typed" or "pasted" (resp.),
+ // so that at all subsequent opportune times (next event or timeout),
+ // will check for expected typed or pasted text.
+ // Need to check repeatedly because #135: in Safari 5.1 (at least),
+ // after selecting something and then typing, the textarea is
+ // incorrectly reported as selected during the input event (but not
+ // subsequently).
+ var checkTextarea = noop, timeoutId;
+ function checkTextareaFor(checker) {
+ checkTextarea = checker;
+ clearTimeout(timeoutId);
+ timeoutId = setTimeout(checker);
+ }
+ target.bind('keydown keypress input keyup focusout paste', function(e) { checkTextarea(e); });
+
+
+ // -*- public methods -*- //
+ function select(text) {
+ // check textarea at least once/one last time before munging (so
+ // no race condition if selection happens after keypress/paste but
+ // before checkTextarea), then never again ('cos it's been munged)
+ checkTextarea();
+ checkTextarea = noop;
+ clearTimeout(timeoutId);
+
+ textarea.val(text);
+ if (text && textarea[0].select) textarea[0].select();
+ shouldBeSelected = !!text;
+ }
+ var shouldBeSelected = false;
+
+ // -*- helper subroutines -*- //
+
+ // Determine whether there's a selection in the textarea.
+ // This will always return false in IE < 9, which don't support
+ // HTMLTextareaElement::selection{Start,End}.
+ function hasSelection() {
+ var dom = textarea[0];
+
+ if (!('selectionStart' in dom)) return false;
+ return dom.selectionStart !== dom.selectionEnd;
+ }
+
+ function handleKey() {
+ handlers.keystroke(stringify(keydown), keydown);
+ }
+
+ // -*- event handlers -*- //
+ function onKeydown(e) {
+ keydown = e;
+ keypress = null;
+
+ if (shouldBeSelected) checkTextareaFor(function(e) {
+ if (!(e && e.type === 'focusout') && textarea[0].select) {
+ textarea[0].select(); // re-select textarea in case it's an unrecognized
+ }
+ checkTextarea = noop; // key that clears the selection, then never
+ clearTimeout(timeoutId); // again, 'cos next thing might be blur
+ });
+
+ handleKey();
+ }
+
+ function onKeypress(e) {
+ // call the key handler for repeated keypresses.
+ // This excludes keypresses that happen directly
+ // after keydown. In that case, there will be
+ // no previous keypress, so we skip it here
+ if (keydown && keypress) handleKey();
+
+ keypress = e;
+
+ checkTextareaFor(typedText);
+ }
+ function typedText() {
+ // If there is a selection, the contents of the textarea couldn't
+ // possibly have just been typed in.
+ // This happens in browsers like Firefox and Opera that fire
+ // keypress for keystrokes that are not text entry and leave the
+ // selection in the textarea alone, such as Ctrl-C.
+ // Note: we assume that browsers that don't support hasSelection()
+ // also never fire keypress on keystrokes that are not text entry.
+ // This seems reasonably safe because:
+ // - all modern browsers including IE 9+ support hasSelection(),
+ // making it extremely unlikely any browser besides IE < 9 won't
+ // - as far as we know IE < 9 never fires keypress on keystrokes
+ // that aren't text entry, which is only as reliable as our
+ // tests are comprehensive, but the IE < 9 way to do
+ // hasSelection() is poorly documented and is also only as
+ // reliable as our tests are comprehensive
+ // If anything like #40 or #71 is reported in IE < 9, see
+ // b1318e5349160b665003e36d4eedd64101ceacd8
+ if (hasSelection()) return;
+
+ var text = textarea.val();
+ if (text.length === 1) {
+ textarea.val('');
+ handlers.typedText(text);
+ } // in Firefox, keys that don't type text, just clear seln, fire keypress
+ // https://github.com/mathquill/mathquill/issues/293#issuecomment-40997668
+ else if (text && textarea[0].select) textarea[0].select(); // re-select if that's why we're here
+ }
+
+ function onBlur() { keydown = keypress = null; }
+
+ function onPaste(e) {
+ // browsers are dumb.
+ //
+ // In Linux, middle-click pasting causes onPaste to be called,
+ // when the textarea is not necessarily focused. We focus it
+ // here to ensure that the pasted text actually ends up in the
+ // textarea.
+ //
+ // It's pretty nifty that by changing focus in this handler,
+ // we can change the target of the default action. (This works
+ // on keydown too, FWIW).
+ //
+ // And by nifty, we mean dumb (but useful sometimes).
+ textarea.focus();
+
+ checkTextareaFor(pastedText);
+ }
+ function pastedText() {
+ var text = textarea.val();
+ textarea.val('');
+ if (text) handlers.paste(text);
+ }
+
+ // -*- attach event handlers -*- //
+ target.bind({
+ keydown: onKeydown,
+ keypress: onKeypress,
+ focusout: onBlur,
+ paste: onPaste
+ });
+
+ // -*- export public methods -*- //
+ return {
+ select: select
+ };
+ };
+}());
+/***********************************************
+ * Export math in a human-readable text format
+ * As you can see, only half-baked so far.
+ **********************************************/
+
+Controller.open(function(_, super_) {
+ _.exportText = function() {
+ return this.root.foldChildren('', function(text, child) {
+ return text + child.text();
+ });
+ };
+});
+Controller.open(function(_) {
+ _.focusBlurEvents = function() {
+ var ctrlr = this, root = ctrlr.root, cursor = ctrlr.cursor;
+ var blurTimeout;
+ ctrlr.textarea.focus(function() {
+ ctrlr.blurred = false;
+ clearTimeout(blurTimeout);
+ ctrlr.container.addClass('mq-focused');
+ if (!cursor.parent)
+ cursor.insAtRightEnd(root);
+ if (cursor.selection) {
+ cursor.selection.jQ.removeClass('mq-blur');
+ ctrlr.selectionChanged(); //re-select textarea contents after tabbing away and back
+ }
+ else
+ cursor.show();
+ }).blur(function() {
+ ctrlr.blurred = true;
+ blurTimeout = setTimeout(function() { // wait for blur on window; if
+ root.postOrder('intentionalBlur'); // none, intentional blur: #264
+ cursor.clearSelection().endSelection();
+ blur();
+ });
+ $(window).on('blur', windowBlur);
+ });
+ function windowBlur() { // blur event also fired on window, just switching
+ clearTimeout(blurTimeout); // tabs/windows, not intentional blur
+ if (cursor.selection) cursor.selection.jQ.addClass('mq-blur');
+ blur();
+ }
+ function blur() { // not directly in the textarea blur handler so as to be
+ cursor.hide().parent.blur(); // synchronous with/in the same frame as
+ ctrlr.container.removeClass('mq-focused'); // clearing/blurring selection
+ $(window).off('blur', windowBlur);
+ }
+ ctrlr.blurred = true;
+ cursor.hide().parent.blur();
+ };
+});
+
+/**
+ * TODO: I wanted to move MathBlock::focus and blur here, it would clean
+ * up lots of stuff like, TextBlock::focus is set to MathBlock::focus
+ * and TextBlock::blur calls MathBlock::blur, when instead they could
+ * use inheritance and super_.
+ *
+ * Problem is, there's lots of calls to .focus()/.blur() on nodes
+ * outside Controller::focusBlurEvents(), such as .postOrder('blur') on
+ * insertion, which if MathBlock::blur becomes Node::blur, would add the
+ * 'blur' CSS class to all Symbol's (because .isEmpty() is true for all
+ * of them).
+ *
+ * I'm not even sure there aren't other troublesome calls to .focus() or
+ * .blur(), so this is TODO for now.
+ */
+/*****************************************
+ * Deals with the browser DOM events from
+ * interaction with the typist.
+ ****************************************/
+
+Controller.open(function(_) {
+ _.keystroke = function(key, evt) {
+ this.cursor.parent.keystroke(key, evt, this);
+ };
+});
+
+Node.open(function(_) {
+ _.keystroke = function(key, e, ctrlr) {
+ var cursor = ctrlr.cursor;
+
+ switch (key) {
+ case 'Ctrl-Shift-Backspace':
+ case 'Ctrl-Backspace':
+ ctrlr.ctrlDeleteDir(L);
+ break;
+
+ case 'Shift-Backspace':
+ case 'Backspace':
+ ctrlr.backspace();
+ break;
+
+ // Tab or Esc -> go one block right if it exists, else escape right.
+ case 'Esc':
+ case 'Tab':
+ ctrlr.escapeDir(R, key, e);
+ return;
+
+ // Shift-Tab -> go one block left if it exists, else escape left.
+ case 'Shift-Tab':
+ case 'Shift-Esc':
+ ctrlr.escapeDir(L, key, e);
+ return;
+
+ // End -> move to the end of the current block.
+ case 'End':
+ ctrlr.notify('move').cursor.insAtRightEnd(cursor.parent);
+ break;
+
+ // Ctrl-End -> move all the way to the end of the root block.
+ case 'Ctrl-End':
+ ctrlr.notify('move').cursor.insAtRightEnd(ctrlr.root);
+ break;
+
+ // Shift-End -> select to the end of the current block.
+ case 'Shift-End':
+ while (cursor[R]) {
+ ctrlr.selectRight();
+ }
+ break;
+
+ // Ctrl-Shift-End -> select to the end of the root block.
+ case 'Ctrl-Shift-End':
+ while (cursor[R] || cursor.parent !== ctrlr.root) {
+ ctrlr.selectRight();
+ }
+ break;
+
+ // Home -> move to the start of the root block or the current block.
+ case 'Home':
+ ctrlr.notify('move').cursor.insAtLeftEnd(cursor.parent);
+ break;
+
+ // Ctrl-Home -> move to the start of the current block.
+ case 'Ctrl-Home':
+ ctrlr.notify('move').cursor.insAtLeftEnd(ctrlr.root);
+ break;
+
+ // Shift-Home -> select to the start of the current block.
+ case 'Shift-Home':
+ while (cursor[L]) {
+ ctrlr.selectLeft();
+ }
+ break;
+
+ // Ctrl-Shift-Home -> move to the start of the root block.
+ case 'Ctrl-Shift-Home':
+ while (cursor[L] || cursor.parent !== ctrlr.root) {
+ ctrlr.selectLeft();
+ }
+ break;
+
+ case 'Left': ctrlr.moveLeft(); break;
+ case 'Shift-Left': ctrlr.selectLeft(); break;
+ case 'Ctrl-Left': break;
+
+ case 'Right': ctrlr.moveRight(); break;
+ case 'Shift-Right': ctrlr.selectRight(); break;
+ case 'Ctrl-Right': break;
+
+ case 'Up': ctrlr.moveUp(); break;
+ case 'Down': ctrlr.moveDown(); break;
+
+ case 'Shift-Up':
+ if (cursor[L]) {
+ while (cursor[L]) ctrlr.selectLeft();
+ } else {
+ ctrlr.selectLeft();
+ }
+
+ case 'Shift-Down':
+ if (cursor[R]) {
+ while (cursor[R]) ctrlr.selectRight();
+ }
+ else {
+ ctrlr.selectRight();
+ }
+
+ case 'Ctrl-Up': break;
+ case 'Ctrl-Down': break;
+
+ case 'Ctrl-Shift-Del':
+ case 'Ctrl-Del':
+ ctrlr.ctrlDeleteDir(R);
+ break;
+
+ case 'Shift-Del':
+ case 'Del':
+ ctrlr.deleteForward();
+ break;
+
+ case 'Meta-A':
+ case 'Ctrl-A':
+ ctrlr.notify('move').cursor.insAtRightEnd(ctrlr.root);
+ while (cursor[L]) ctrlr.selectLeft();
+ break;
+
+ default:
+ return;
+ }
+ e.preventDefault();
+ ctrlr.scrollHoriz();
+ };
+
+ _.moveOutOf = // called by Controller::escapeDir, moveDir
+ _.moveTowards = // called by Controller::moveDir
+ _.deleteOutOf = // called by Controller::deleteDir
+ _.deleteTowards = // called by Controller::deleteDir
+ _.unselectInto = // called by Controller::selectDir
+ _.selectOutOf = // called by Controller::selectDir
+ _.selectTowards = // called by Controller::selectDir
+ function() { pray('overridden or never called on this node'); };
+});
+
+Controller.open(function(_) {
+ this.onNotify(function(e) {
+ if (e === 'move' || e === 'upDown') this.show().clearSelection();
+ });
+ _.escapeDir = function(dir, key, e) {
+ prayDirection(dir);
+ var cursor = this.cursor;
+
+ // only prevent default of Tab if not in the root editable
+ if (cursor.parent !== this.root) e.preventDefault();
+
+ // want to be a noop if in the root editable (in fact, Tab has an unrelated
+ // default browser action if so)
+ if (cursor.parent === this.root) return;
+
+ cursor.parent.moveOutOf(dir, cursor);
+ return this.notify('move');
+ };
+
+ optionProcessors.leftRightIntoCmdGoes = function(updown) {
+ if (updown && updown !== 'up' && updown !== 'down') {
+ throw '"up" or "down" required for leftRightIntoCmdGoes option, '
+ + 'got "'+updown+'"';
+ }
+ return updown;
+ };
+ _.moveDir = function(dir) {
+ prayDirection(dir);
+ var cursor = this.cursor, updown = cursor.options.leftRightIntoCmdGoes;
+
+ if (cursor.selection) {
+ cursor.insDirOf(dir, cursor.selection.ends[dir]);
+ }
+ else if (cursor[dir]) cursor[dir].moveTowards(dir, cursor, updown);
+ else cursor.parent.moveOutOf(dir, cursor, updown);
+
+ return this.notify('move');
+ };
+ _.moveLeft = function() { return this.moveDir(L); };
+ _.moveRight = function() { return this.moveDir(R); };
+
+ /**
+ * moveUp and moveDown have almost identical algorithms:
+ * - first check left and right, if so insAtLeft/RightEnd of them
+ * - else check the parent's 'upOutOf'/'downOutOf' property:
+ * + if it's a function, call it with the cursor as the sole argument and
+ * use the return value as if it were the value of the property
+ * + if it's a Node, jump up or down into it:
+ * - if there is a cached Point in the block, insert there
+ * - else, seekHoriz within the block to the current x-coordinate (to be
+ * as close to directly above/below the current position as possible)
+ * + unless it's exactly `true`, stop bubbling
+ */
+ _.moveUp = function() { return moveUpDown(this, 'up'); };
+ _.moveDown = function() { return moveUpDown(this, 'down'); };
+ function moveUpDown(self, dir) {
+ var cursor = self.notify('upDown').cursor;
+ var dirInto = dir+'Into', dirOutOf = dir+'OutOf';
+ if (cursor[R][dirInto]) cursor.insAtLeftEnd(cursor[R][dirInto]);
+ else if (cursor[L][dirInto]) cursor.insAtRightEnd(cursor[L][dirInto]);
+ else {
+ cursor.parent.bubble(function(ancestor) {
+ var prop = ancestor[dirOutOf];
+ if (prop) {
+ if (typeof prop === 'function') prop = ancestor[dirOutOf](cursor);
+ if (prop instanceof Node) cursor.jumpUpDown(ancestor, prop);
+ if (prop !== true) return false;
+ }
+ });
+ }
+ return self;
+ }
+ this.onNotify(function(e) { if (e !== 'upDown') this.upDownCache = {}; });
+
+ this.onNotify(function(e) { if (e === 'edit') this.show().deleteSelection(); });
+ _.deleteDir = function(dir) {
+ prayDirection(dir);
+ var cursor = this.cursor;
+
+ var hadSelection = cursor.selection;
+ this.notify('edit'); // deletes selection if present
+ if (!hadSelection) {
+ if (cursor[dir]) cursor[dir].deleteTowards(dir, cursor);
+ else cursor.parent.deleteOutOf(dir, cursor);
+ }
+
+ if (cursor[L].siblingDeleted) cursor[L].siblingDeleted(cursor.options, R);
+ if (cursor[R].siblingDeleted) cursor[R].siblingDeleted(cursor.options, L);
+ cursor.parent.bubble('reflow');
+
+ return this;
+ };
+ _.ctrlDeleteDir = function(dir) {
+ prayDirection(dir);
+ var cursor = this.cursor;
+ if (!cursor[L] || cursor.selection) return ctrlr.deleteDir();
+
+ this.notify('edit');
+ Fragment(cursor.parent.ends[L], cursor[L]).remove();
+ cursor.insAtDirEnd(L, cursor.parent);
+
+ if (cursor[L].siblingDeleted) cursor[L].siblingDeleted(cursor.options, R);
+ if (cursor[R].siblingDeleted) cursor[R].siblingDeleted(cursor.options, L);
+ cursor.parent.bubble('reflow');
+
+ return this;
+ };
+ _.backspace = function() { return this.deleteDir(L); };
+ _.deleteForward = function() { return this.deleteDir(R); };
+
+ this.onNotify(function(e) { if (e !== 'select') this.endSelection(); });
+ _.selectDir = function(dir) {
+ var cursor = this.notify('select').cursor, seln = cursor.selection;
+ prayDirection(dir);
+
+ if (!cursor.anticursor) cursor.startSelection();
+
+ var node = cursor[dir];
+ if (node) {
+ // "if node we're selecting towards is inside selection (hence retracting)
+ // and is on the *far side* of the selection (hence is only node selected)
+ // and the anticursor is *inside* that node, not just on the other side"
+ if (seln && seln.ends[dir] === node && cursor.anticursor[-dir] !== node) {
+ node.unselectInto(dir, cursor);
+ }
+ else node.selectTowards(dir, cursor);
+ }
+ else cursor.parent.selectOutOf(dir, cursor);
+
+ cursor.clearSelection();
+ cursor.select() || cursor.show();
+ };
+ _.selectLeft = function() { return this.selectDir(L); };
+ _.selectRight = function() { return this.selectDir(R); };
+});
+// Parser MathCommand
+var latexMathParser = (function() {
+ function commandToBlock(cmd) {
+ var block = MathBlock();
+ cmd.adopt(block, 0, 0);
+ return block;
+ }
+ function joinBlocks(blocks) {
+ var firstBlock = blocks[0] || MathBlock();
+
+ for (var i = 1; i < blocks.length; i += 1) {
+ blocks[i].children().adopt(firstBlock, firstBlock.ends[R], 0);
+ }
+
+ return firstBlock;
+ }
+
+ var string = Parser.string;
+ var regex = Parser.regex;
+ var letter = Parser.letter;
+ var any = Parser.any;
+ var optWhitespace = Parser.optWhitespace;
+ var succeed = Parser.succeed;
+ var fail = Parser.fail;
+
+ // Parsers yielding either MathCommands, or Fragments of MathCommands
+ // (either way, something that can be adopted by a MathBlock)
+ var variable = letter.map(function(c) { return Letter(c); });
+ var symbol = regex(/^[^${}\\_^]/).map(function(c) { return VanillaSymbol(c); });
+
+ var controlSequence =
+ regex(/^[^\\a-eg-zA-Z]/) // hotfix #164; match MathBlock::write
+ .or(string('\\').then(
+ regex(/^[a-z]+/i)
+ .or(regex(/^\s+/).result(' '))
+ .or(any)
+ )).then(function(ctrlSeq) {
+ var cmdKlass = LatexCmds[ctrlSeq];
+
+ if (cmdKlass) {
+ return cmdKlass(ctrlSeq).parser();
+ }
+ else {
+ return fail('unknown command: \\'+ctrlSeq);
+ }
+ })
+ ;
+
+ var command =
+ controlSequence
+ .or(variable)
+ .or(symbol)
+ ;
+
+ // Parsers yielding MathBlocks
+ var mathGroup = string('{').then(function() { return mathSequence; }).skip(string('}'));
+ var mathBlock = optWhitespace.then(mathGroup.or(command.map(commandToBlock)));
+ var mathSequence = mathBlock.many().map(joinBlocks).skip(optWhitespace);
+
+ var optMathBlock =
+ string('[').then(
+ mathBlock.then(function(block) {
+ return block.join('latex') !== ']' ? succeed(block) : fail();
+ })
+ .many().map(joinBlocks).skip(optWhitespace)
+ ).skip(string(']'))
+ ;
+
+ var latexMath = mathSequence;
+
+ latexMath.block = mathBlock;
+ latexMath.optBlock = optMathBlock;
+ return latexMath;
+})();
+
+Controller.open(function(_, super_) {
+ _.exportLatex = function() {
+ return this.root.latex().replace(/(\\[a-z]+) (?![a-z])/ig,'$1');
+ };
+ _.writeLatex = function(latex) {
+ var cursor = this.notify('edit').cursor;
+
+ var all = Parser.all;
+ var eof = Parser.eof;
+
+ var block = latexMathParser.skip(eof).or(all.result(false)).parse(latex);
+
+ if (block && !block.isEmpty()) {
+ block.children().adopt(cursor.parent, cursor[L], cursor[R]);
+ var jQ = block.jQize();
+ jQ.insertBefore(cursor.jQ);
+ cursor[L] = block.ends[R];
+ block.finalizeInsert(cursor.options, cursor);
+ if (block.ends[R][R].siblingCreated) block.ends[R][R].siblingCreated(cursor.options, L);
+ if (block.ends[L][L].siblingCreated) block.ends[L][L].siblingCreated(cursor.options, R);
+ cursor.parent.bubble('reflow');
+ }
+
+ return this;
+ };
+ _.renderLatexMath = function(latex) {
+ var root = this.root, cursor = this.cursor;
+
+ var all = Parser.all;
+ var eof = Parser.eof;
+
+ var block = latexMathParser.skip(eof).or(all.result(false)).parse(latex);
+
+ root.eachChild('postOrder', 'dispose');
+ root.ends[L] = root.ends[R] = 0;
+
+ if (block) {
+ block.children().adopt(root, 0, 0);
+ }
+
+ var jQ = root.jQ;
+
+ if (block) {
+ var html = block.join('html');
+ jQ.html(html);
+ root.jQize(jQ.children());
+ root.finalizeInsert(cursor.options);
+ }
+ else {
+ jQ.empty();
+ }
+
+ delete cursor.selection;
+ cursor.insAtRightEnd(root);
+ };
+ _.renderLatexText = function(latex) {
+ var root = this.root, cursor = this.cursor;
+
+ root.jQ.children().slice(1).remove();
+ root.eachChild('postOrder', 'dispose');
+ root.ends[L] = root.ends[R] = 0;
+ delete cursor.selection;
+ cursor.show().insAtRightEnd(root);
+
+ var regex = Parser.regex;
+ var string = Parser.string;
+ var eof = Parser.eof;
+ var all = Parser.all;
+
+ // Parser RootMathCommand
+ var mathMode = string('$').then(latexMathParser)
+ // because TeX is insane, math mode doesn't necessarily
+ // have to end. So we allow for the case that math mode
+ // continues to the end of the stream.
+ .skip(string('$').or(eof))
+ .map(function(block) {
+ // HACK FIXME: this shouldn't have to have access to cursor
+ var rootMathCommand = RootMathCommand(cursor);
+
+ rootMathCommand.createBlocks();
+ var rootMathBlock = rootMathCommand.ends[L];
+ block.children().adopt(rootMathBlock, 0, 0);
+
+ return rootMathCommand;
+ })
+ ;
+
+ var escapedDollar = string('\\$').result('$');
+ var textChar = escapedDollar.or(regex(/^[^$]/)).map(VanillaSymbol);
+ var latexText = mathMode.or(textChar).many();
+ var commands = latexText.skip(eof).or(all.result(false)).parse(latex);
+
+ if (commands) {
+ for (var i = 0; i < commands.length; i += 1) {
+ commands[i].adopt(root, root.ends[R], 0);
+ }
+
+ root.jQize().appendTo(root.jQ);
+
+ root.finalizeInsert(cursor.options);
+ }
+ };
+});
+/********************************************************
+ * Deals with mouse events for clicking, drag-to-select
+ *******************************************************/
+
+Controller.open(function(_) {
+ _.delegateMouseEvents = function() {
+ var ultimateRootjQ = this.root.jQ;
+ //drag-to-select event handling
+ this.container.bind('mousedown.mathquill', function(e) {
+ var rootjQ = $(e.target).closest('.mq-root-block');
+ var root = Node.byId[rootjQ.attr(mqBlockId) || ultimateRootjQ.attr(mqBlockId)];
+ var ctrlr = root.controller, cursor = ctrlr.cursor, blink = cursor.blink;
+ var textareaSpan = ctrlr.textareaSpan, textarea = ctrlr.textarea;
+
+ var target;
+ function mousemove(e) { target = $(e.target); }
+ function docmousemove(e) {
+ if (!cursor.anticursor) cursor.startSelection();
+ ctrlr.seek(target, e.pageX, e.pageY).cursor.select();
+ target = undefined;
+ }
+ // outside rootjQ, the MathQuill node corresponding to the target (if any)
+ // won't be inside this root, so don't mislead Controller::seek with it
+
+ function mouseup(e) {
+ cursor.blink = blink;
+ if (!cursor.selection) {
+ if (ctrlr.editable) {
+ cursor.show();
+ }
+ else {
+ textareaSpan.detach();
+ }
+ }
+
+ // delete the mouse handlers now that we're not dragging anymore
+ rootjQ.unbind('mousemove', mousemove);
+ $(e.target.ownerDocument).unbind('mousemove', docmousemove).unbind('mouseup', mouseup);
+ }
+
+ if (ctrlr.blurred) {
+ if (!ctrlr.editable) rootjQ.prepend(textareaSpan);
+ textarea.focus();
+ }
+ e.preventDefault(); // doesn't work in IE\u22648, but it's a one-line fix:
+ e.target.unselectable = true; // http://jsbin.com/yagekiji/1
+
+ cursor.blink = noop;
+ ctrlr.seek($(e.target), e.pageX, e.pageY).cursor.startSelection();
+
+ rootjQ.mousemove(mousemove);
+ $(e.target.ownerDocument).mousemove(docmousemove).mouseup(mouseup);
+ // listen on document not just body to not only hear about mousemove and
+ // mouseup on page outside field, but even outside page, except iframes: https://github.com/mathquill/mathquill/commit/8c50028afcffcace655d8ae2049f6e02482346c5#commitcomment-6175800
+ });
+ }
+});
+
+Controller.open(function(_) {
+ _.seek = function(target, pageX, pageY) {
+ var cursor = this.notify('select').cursor;
+
+ if (target) {
+ var nodeId = target.attr(mqBlockId) || target.attr(mqCmdId);
+ if (!nodeId) {
+ var targetParent = target.parent();
+ nodeId = targetParent.attr(mqBlockId) || targetParent.attr(mqCmdId);
+ }
+ }
+ var node = nodeId ? Node.byId[nodeId] : this.root;
+ pray('nodeId is the id of some Node that exists', node);
+
+ // don't clear selection until after getting node from target, in case
+ // target was selection span, otherwise target will have no parent and will
+ // seek from root, which is less accurate (e.g. fraction)
+ cursor.clearSelection().show();
+
+ node.seek(pageX, cursor);
+ this.scrollHoriz(); // before .selectFrom when mouse-selecting, so
+ // always hits no-selection case in scrollHoriz and scrolls slower
+ return this;
+ };
+});
+/***********************************************
+ * Horizontal panning for editable fields that
+ * overflow their width
+ **********************************************/
+
+Controller.open(function(_) {
+ _.scrollHoriz = function() {
+ var cursor = this.cursor, seln = cursor.selection;
+ var rootRect = this.root.jQ[0].getBoundingClientRect();
+ if (!seln) {
+ var x = cursor.jQ[0].getBoundingClientRect().left;
+ if (x > rootRect.right - 20) var scrollBy = x - (rootRect.right - 20);
+ else if (x < rootRect.left + 20) var scrollBy = x - (rootRect.left + 20);
+ else return;
+ }
+ else {
+ var rect = seln.jQ[0].getBoundingClientRect();
+ var overLeft = rect.left - (rootRect.left + 20);
+ var overRight = rect.right - (rootRect.right - 20);
+ if (seln.ends[L] === cursor[R]) {
+ if (overLeft < 0) var scrollBy = overLeft;
+ else if (overRight > 0) {
+ if (rect.left - overRight < rootRect.left + 20) var scrollBy = overLeft;
+ else var scrollBy = overRight;
+ }
+ else return;
+ }
+ else {
+ if (overRight > 0) var scrollBy = overRight;
+ else if (overLeft < 0) {
+ if (rect.right - overLeft > rootRect.right - 20) var scrollBy = overRight;
+ else var scrollBy = overLeft;
+ }
+ else return;
+ }
+ }
+ this.root.jQ.stop().animate({ scrollLeft: '+=' + scrollBy}, 100);
+ };
+});
+/*********************************************
+ * Manage the MathQuill instance's textarea
+ * (as owned by the Controller)
+ ********************************************/
+
+Controller.open(function(_) {
+ Options.p.substituteTextarea = function() {
+ return $('')[0];
+ };
+ _.createTextarea = function() {
+ var textareaSpan = this.textareaSpan = $(''),
+ textarea = this.options.substituteTextarea();
+ if (!textarea.nodeType) {
+ throw 'substituteTextarea() must return a DOM element, got ' + textarea;
+ }
+ textarea = this.textarea = $(textarea).appendTo(textareaSpan);
+
+ var ctrlr = this;
+ ctrlr.cursor.selectionChanged = function() { ctrlr.selectionChanged(); };
+ ctrlr.container.bind('copy', function() { ctrlr.setTextareaSelection(); });
+ };
+ _.selectionChanged = function() {
+ var ctrlr = this;
+ forceIERedraw(ctrlr.container[0]);
+
+ // throttle calls to setTextareaSelection(), because setting textarea.value
+ // and/or calling textarea.select() can have anomalously bad performance:
+ // https://github.com/mathquill/mathquill/issues/43#issuecomment-1399080
+ if (ctrlr.textareaSelectionTimeout === undefined) {
+ ctrlr.textareaSelectionTimeout = setTimeout(function() {
+ ctrlr.setTextareaSelection();
+ });
+ }
+ };
+ _.setTextareaSelection = function() {
+ this.textareaSelectionTimeout = undefined;
+ var latex = '';
+ if (this.cursor.selection) {
+ latex = this.cursor.selection.join('latex');
+ if (this.options.statelessClipboard) {
+ // FIXME: like paste, only this works for math fields; should ask parent
+ latex = '$' + latex + '$';
+ }
+ }
+ this.selectFn(latex);
+ };
+ _.staticMathTextareaEvents = function() {
+ var ctrlr = this, root = ctrlr.root, cursor = ctrlr.cursor,
+ textarea = ctrlr.textarea, textareaSpan = ctrlr.textareaSpan;
+
+ this.container.prepend('$'+ctrlr.exportLatex()+'$');
+ ctrlr.blurred = true;
+ textarea.bind('cut paste', false)
+ .focus(function() { ctrlr.blurred = false; }).blur(function() {
+ if (cursor.selection) cursor.selection.clear();
+ setTimeout(detach); //detaching during blur explodes in WebKit
+ });
+ function detach() {
+ textareaSpan.detach();
+ ctrlr.blurred = true;
+ }
+
+ ctrlr.selectFn = function(text) {
+ textarea.val(text);
+ if (text) textarea.select();
+ };
+ };
+ _.editablesTextareaEvents = function() {
+ var ctrlr = this, root = ctrlr.root, cursor = ctrlr.cursor,
+ textarea = ctrlr.textarea, textareaSpan = ctrlr.textareaSpan;
+
+ var keyboardEventsShim = saneKeyboardEvents(textarea, this);
+ this.selectFn = function(text) { keyboardEventsShim.select(text); };
+
+ this.container.prepend(textareaSpan)
+ .on('cut', function(e) {
+ if (cursor.selection) {
+ setTimeout(function() {
+ ctrlr.notify('edit'); // deletes selection if present
+ cursor.parent.bubble('reflow');
+ });
+ }
+ });
+
+ this.focusBlurEvents();
+ };
+ _.typedText = function(ch) {
+ if (ch === '\n') return this.handle('enter');
+ var cursor = this.notify().cursor;
+ cursor.parent.write(cursor, ch);
+ this.scrollHoriz();
+ };
+ _.paste = function(text) {
+ // TODO: document `statelessClipboard` config option in README, after
+ // making it work like it should, that is, in both text and math mode
+ // (currently only works in math fields, so worse than pointless, it
+ // only gets in the way by \text{}-ifying pasted stuff and $-ifying
+ // cut/copied LaTeX)
+ if (this.options.statelessClipboard) {
+ if (text.slice(0,1) === '$' && text.slice(-1) === '$') {
+ text = text.slice(1, -1);
+ }
+ else {
+ text = '\\text{'+text+'}';
+ }
+ }
+ // FIXME: this always inserts math or a TextBlock, even in a RootTextBlock
+ this.writeLatex(text).cursor.show();
+ };
+});
+/*************************************************
+ * Abstract classes of math blocks and commands.
+ ************************************************/
+
+/**
+ * Math tree node base class.
+ * Some math-tree-specific extensions to Node.
+ * Both MathBlock's and MathCommand's descend from it.
+ */
+var MathElement = P(Node, function(_, super_) {
+ _.finalizeInsert = function(options, cursor) { // `cursor` param is only for
+ // SupSub::contactWeld, and is deliberately only passed in by writeLatex,
+ // see ea7307eb4fac77c149a11ffdf9a831df85247693
+ var self = this;
+ self.postOrder('finalizeTree', options);
+ self.postOrder('contactWeld', cursor);
+
+ // note: this order is important.
+ // empty elements need the empty box provided by blur to
+ // be present in order for their dimensions to be measured
+ // correctly by 'reflow' handlers.
+ self.postOrder('blur');
+
+ self.postOrder('reflow');
+ if (self[R].siblingCreated) self[R].siblingCreated(options, L);
+ if (self[L].siblingCreated) self[L].siblingCreated(options, R);
+ self.bubble('reflow');
+ };
+});
+
+/**
+ * Commands and operators, like subscripts, exponents, or fractions.
+ * Descendant commands are organized into blocks.
+ */
+var MathCommand = P(MathElement, function(_, super_) {
+ _.init = function(ctrlSeq, htmlTemplate, textTemplate) {
+ var cmd = this;
+ super_.init.call(cmd);
+
+ if (!cmd.ctrlSeq) cmd.ctrlSeq = ctrlSeq;
+ if (htmlTemplate) cmd.htmlTemplate = htmlTemplate;
+ if (textTemplate) cmd.textTemplate = textTemplate;
+ };
+
+ // obvious methods
+ _.replaces = function(replacedFragment) {
+ replacedFragment.disown();
+ this.replacedFragment = replacedFragment;
+ };
+ _.isEmpty = function() {
+ return this.foldChildren(true, function(isEmpty, child) {
+ return isEmpty && child.isEmpty();
+ });
+ };
+
+ _.parser = function() {
+ var block = latexMathParser.block;
+ var self = this;
+
+ return block.times(self.numBlocks()).map(function(blocks) {
+ self.blocks = blocks;
+
+ for (var i = 0; i < blocks.length; i += 1) {
+ blocks[i].adopt(self, self.ends[R], 0);
+ }
+
+ return self;
+ });
+ };
+
+ // createLeftOf(cursor) and the methods it calls
+ _.createLeftOf = function(cursor) {
+ var cmd = this;
+ var replacedFragment = cmd.replacedFragment;
+
+ cmd.createBlocks();
+ super_.createLeftOf.call(cmd, cursor);
+ if (replacedFragment) {
+ replacedFragment.adopt(cmd.ends[L], 0, 0);
+ replacedFragment.jQ.appendTo(cmd.ends[L].jQ);
+ }
+ cmd.finalizeInsert(cursor.options);
+ cmd.placeCursor(cursor);
+ };
+ _.createBlocks = function() {
+ var cmd = this,
+ numBlocks = cmd.numBlocks(),
+ blocks = cmd.blocks = Array(numBlocks);
+
+ for (var i = 0; i < numBlocks; i += 1) {
+ var newBlock = blocks[i] = MathBlock();
+ newBlock.adopt(cmd, cmd.ends[R], 0);
+ }
+ };
+ _.placeCursor = function(cursor) {
+ //insert the cursor at the right end of the first empty child, searching
+ //left-to-right, or if none empty, the right end child
+ cursor.insAtRightEnd(this.foldChildren(this.ends[L], function(leftward, child) {
+ return leftward.isEmpty() ? leftward : child;
+ }));
+ };
+
+ // editability methods: called by the cursor for editing, cursor movements,
+ // and selection of the MathQuill tree, these all take in a direction and
+ // the cursor
+ _.moveTowards = function(dir, cursor, updown) {
+ var updownInto = updown && this[updown+'Into'];
+ cursor.insAtDirEnd(-dir, updownInto || this.ends[-dir]);
+ };
+ _.deleteTowards = function(dir, cursor) {
+ if (this.isEmpty()) cursor[dir] = this.remove()[dir];
+ else this.moveTowards(dir, cursor, null);
+ };
+ _.selectTowards = function(dir, cursor) {
+ cursor[-dir] = this;
+ cursor[dir] = this[dir];
+ };
+ _.selectChildren = function() {
+ return Selection(this, this);
+ };
+ _.unselectInto = function(dir, cursor) {
+ cursor.insAtDirEnd(-dir, cursor.anticursor.ancestors[this.id]);
+ };
+ _.seek = function(pageX, cursor) {
+ function getBounds(node) {
+ var bounds = {}
+ bounds[L] = node.jQ.offset().left;
+ bounds[R] = bounds[L] + node.jQ.outerWidth();
+ return bounds;
+ }
+
+ var cmd = this;
+ var cmdBounds = getBounds(cmd);
+
+ if (pageX < cmdBounds[L]) return cursor.insLeftOf(cmd);
+ if (pageX > cmdBounds[R]) return cursor.insRightOf(cmd);
+
+ var leftLeftBound = cmdBounds[L];
+ cmd.eachChild(function(block) {
+ var blockBounds = getBounds(block);
+ if (pageX < blockBounds[L]) {
+ // closer to this block's left bound, or the bound left of that?
+ if (pageX - leftLeftBound < blockBounds[L] - pageX) {
+ if (block[L]) cursor.insAtRightEnd(block[L]);
+ else cursor.insLeftOf(cmd);
+ }
+ else cursor.insAtLeftEnd(block);
+ return false;
+ }
+ else if (pageX > blockBounds[R]) {
+ if (block[R]) leftLeftBound = blockBounds[R]; // continue to next block
+ else { // last (rightmost) block
+ // closer to this block's right bound, or the cmd's right bound?
+ if (cmdBounds[R] - pageX < pageX - blockBounds[R]) {
+ cursor.insRightOf(cmd);
+ }
+ else cursor.insAtRightEnd(block);
+ }
+ }
+ else {
+ block.seek(pageX, cursor);
+ return false;
+ }
+ });
+ }
+
+ // methods involved in creating and cross-linking with HTML DOM nodes
+ /*
+ They all expect an .htmlTemplate like
+ '&0'
+ or
+ '&0&1'
+
+ See html.test.js for more examples.
+
+ Requirements:
+ - For each block of the command, there must be exactly one "block content
+ marker" of the form '&
') or come in matching pairs.
+ Close tags are never optional.
+
+ Note that &0&&e[o-1][2]>l;o--)e[o]=e[o-1];e[o]=[d,n,l]},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var d in r)t.o(r,d)&&!t.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:r[d]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={runtime:0};t.O.j=n=>0===e[n];var r=(n,l)=>{var u,g,[o,s,p]=l,f=0;if(o.some(v=>0!==e[v])){for(u in s)t.o(s,u)&&(t.m[u]=s[u]);if(p)var y=p(t)}for(n&&n(l);f
= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=Math.floor,M=String.fromCharCode;function w(se){throw new RangeError(O[se])}function S(se,fe){var Ie=se.split("@"),Ce="";return 1>1,se+=D(se/fe);455 D((f-Oe)/ne))&&w("overflow"),Oe+=Ze*ne;var nt=Ve<=ht?1:ht+26<=Ve?26:Ve-ht;if(Ze D(f/Et)&&w("overflow"),ne*=Et}var Xt=Ie.length+1;ht=E(Oe-rt,Xt,0==rt),D(Oe/Xt)>f-Ye&&w("overflow"),Ye+=D(Oe/Xt),Oe%=Xt,Ie.splice(Oe++,0,Ye)}return String.fromCodePoint.apply(String,Ie)},b=function(se){var fe=[],Ie=(se=c(se)).length,Ce=128,Oe=0,Ye=72,ht=!0,Mt=!1,Ue=void 0;try{for(var $e,rt=se[Symbol.iterator]();!(ht=($e=rt.next()).done);ht=!0){var ne=$e.value;ne<128&&fe.push(M(ne))}}catch(mt){Mt=!0,Ue=mt}finally{try{!ht&&rt.return&&rt.return()}finally{if(Mt)throw Ue}}var Ve=fe.length,Ze=Ve;for(Ve&&fe.push("-");Ze D((f-Oe)/tn)&&w("overflow"),Oe+=(nt-Ce)*tn,Ce=nt;var yn=!0,on=!1,ft=void 0;try{for(var lt,Gt=se[Symbol.iterator]();!(yn=(lt=Gt.next()).done);yn=!0){var gn=lt.value;if(gn f&&w("overflow"),gn==Ce){for(var bn=Oe,Be=36;;Be+=36){var ot=Be<=Ye?1:Ye+26<=Be?26:Be-Ye;if(bn >6|192).toString(16).toUpperCase()+"%"+(63&fe|128).toString(16).toUpperCase():"%"+(fe>>12|224).toString(16).toUpperCase()+"%"+(fe>>6&63|128).toString(16).toUpperCase()+"%"+(63&fe|128).toString(16).toUpperCase()}function L(se){for(var fe="",Ie=0,Ce=se.length;Ie A-Z\\x5E-\\x7E]",'[\\"\\\\]'),Ge=new RegExp(it,"g"),ct=new RegExp(je,"g"),yt=new RegExp(d("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',pe),"g"),ve=new RegExp(d("[^]",it,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),Ae=ve;function Y(se){var fe=L(se);return fe.match(Ge)?fe:se}var F={scheme:"mailto",parse:function(se,fe){var Ie=se,Ce=Ie.to=Ie.path?Ie.path.split(","):[];if(Ie.path=void 0,Ie.query){for(var Oe=!1,Ye={},ht=Ie.query.split("&"),Mt=0,Ue=ht.length;Mt >>2]|=(v[O>>>2]>>>24-O%4*8&255)<<24-(_+O)%4*8;else if(65535 >>2]=v[O>>>2];else y.push.apply(y,v);return this.sigBytes+=f,this},clamp:function(){var f=this.words,y=this.sigBytes;f[y>>>2]&=4294967295<<32-y%4*8,f.length=R.ceil(y/4)},clone:function(){var f=d.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var y=[],v=0;v >>2]>>>24-_%4*8&255;v.push((O>>>4).toString(16)),v.push((15&O).toString(16))}return v.join("")},parse:function(f){for(var y=f.length,v=[],_=0;_ >>3]|=parseInt(f.substr(_,2),16)<<24-_%8*4;return new n.init(v,y/2)}},s=l.Latin1={stringify:function(f){var y=f.words;f=f.sigBytes;for(var v=[],_=0;_ >>2]>>>24-_%4*8&255));return v.join("")},parse:function(f){for(var y=f.length,v=[],_=0;_ >>2]|=(255&f.charCodeAt(_))<<24-_%4*8;return new n.init(v,y)}},p=l.Utf8={stringify:function(f){try{return decodeURIComponent(escape(s.stringify(f)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(f){return s.parse(unescape(encodeURIComponent(f)))}},u=e.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new n.init,this._nDataBytes=0},_append:function(f){"string"==typeof f&&(f=p.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var y=this._data,v=y.words,_=y.sigBytes,O=this.blockSize,D=_/(4*O);if(D=f?R.ceil(D):R.max((0|D)-this._minBufferSize,0),_=R.min(4*(f=D*O),_),f){for(var M=0;M >>32-_)+g}function t(u,g,f,y,v,_,O){return((u=u+(g&y|f&~y)+v+O)<<_|u>>>32-_)+g}function e(u,g,f,y,v,_,O){return((u=u+(g^f^y)+v+O)<<_|u>>>32-_)+g}function r(u,g,f,y,v,_,O){return((u=u+(f^(g|~y))+v+O)<<_|u>>>32-_)+g}for(var d=CryptoJS,n=(o=d.lib).WordArray,l=o.Hasher,o=d.algo,s=[],p=0;64>p;p++)s[p]=4294967296*R.abs(R.sin(p+1))|0;o=o.MD5=l.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(u,g){for(var f=0;16>f;f++)u[y=g+f]=16711935&((v=u[y])<<8|v>>>24)|4278255360&(v<<24|v>>>8);var y,v=u[g+1],_=u[g+2],O=u[g+3],D=u[g+4],M=u[g+5],w=u[g+6],S=u[g+7],c=u[g+8],B=u[g+9],E=u[g+10],h=u[g+11],b=u[g+12],T=u[g+13],I=u[g+14],x=u[g+15],L=C(L=(f=this._hash.words)[0],q=f[1],Q=f[2],j=f[3],y=u[g+0],7,s[0]),j=C(j,L,q,Q,v,12,s[1]),Q=C(Q,j,L,q,_,17,s[2]),q=C(q,Q,j,L,O,22,s[3]);L=C(L,q,Q,j,D,7,s[4]),j=C(j,L,q,Q,M,12,s[5]),Q=C(Q,j,L,q,w,17,s[6]),q=C(q,Q,j,L,S,22,s[7]),L=C(L,q,Q,j,c,7,s[8]),j=C(j,L,q,Q,B,12,s[9]),Q=C(Q,j,L,q,E,17,s[10]),q=C(q,Q,j,L,h,22,s[11]),L=C(L,q,Q,j,b,7,s[12]),j=C(j,L,q,Q,T,12,s[13]),Q=C(Q,j,L,q,I,17,s[14]),L=t(L,q=C(q,Q,j,L,x,22,s[15]),Q,j,v,5,s[16]),j=t(j,L,q,Q,w,9,s[17]),Q=t(Q,j,L,q,h,14,s[18]),q=t(q,Q,j,L,y,20,s[19]),L=t(L,q,Q,j,M,5,s[20]),j=t(j,L,q,Q,E,9,s[21]),Q=t(Q,j,L,q,x,14,s[22]),q=t(q,Q,j,L,D,20,s[23]),L=t(L,q,Q,j,B,5,s[24]),j=t(j,L,q,Q,I,9,s[25]),Q=t(Q,j,L,q,O,14,s[26]),q=t(q,Q,j,L,c,20,s[27]),L=t(L,q,Q,j,T,5,s[28]),j=t(j,L,q,Q,_,9,s[29]),Q=t(Q,j,L,q,S,14,s[30]),L=e(L,q=t(q,Q,j,L,b,20,s[31]),Q,j,M,4,s[32]),j=e(j,L,q,Q,c,11,s[33]),Q=e(Q,j,L,q,h,16,s[34]),q=e(q,Q,j,L,I,23,s[35]),L=e(L,q,Q,j,v,4,s[36]),j=e(j,L,q,Q,D,11,s[37]),Q=e(Q,j,L,q,S,16,s[38]),q=e(q,Q,j,L,E,23,s[39]),L=e(L,q,Q,j,T,4,s[40]),j=e(j,L,q,Q,y,11,s[41]),Q=e(Q,j,L,q,O,16,s[42]),q=e(q,Q,j,L,w,23,s[43]),L=e(L,q,Q,j,B,4,s[44]),j=e(j,L,q,Q,b,11,s[45]),Q=e(Q,j,L,q,x,16,s[46]),L=r(L,q=e(q,Q,j,L,_,23,s[47]),Q,j,y,6,s[48]),j=r(j,L,q,Q,S,10,s[49]),Q=r(Q,j,L,q,I,15,s[50]),q=r(q,Q,j,L,M,21,s[51]),L=r(L,q,Q,j,b,6,s[52]),j=r(j,L,q,Q,O,10,s[53]),Q=r(Q,j,L,q,E,15,s[54]),q=r(q,Q,j,L,v,21,s[55]),L=r(L,q,Q,j,c,6,s[56]),j=r(j,L,q,Q,x,10,s[57]),Q=r(Q,j,L,q,w,15,s[58]),q=r(q,Q,j,L,T,21,s[59]),L=r(L,q,Q,j,D,6,s[60]),j=r(j,L,q,Q,h,10,s[61]),Q=r(Q,j,L,q,_,15,s[62]),q=r(q,Q,j,L,B,21,s[63]),f[0]=f[0]+L|0,f[1]=f[1]+q|0,f[2]=f[2]+Q|0,f[3]=f[3]+j|0},_doFinalize:function(){var u=this._data,g=u.words,f=8*this._nDataBytes,y=8*u.sigBytes;g[y>>>5]|=128<<24-y%32;var v=R.floor(f/4294967296);for(g[15+(y+64>>>9<<4)]=16711935&(v<<8|v>>>24)|4278255360&(v<<24|v>>>8),g[14+(y+64>>>9<<4)]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),u.sigBytes=4*(g.length+1),this._process(),g=(u=this._hash).words,f=0;4>f;f++)g[f]=16711935&((y=g[f])<<8|y>>>24)|4278255360&(y<<24|y>>>8);return u},clone:function(){var u=l.clone.call(this);return u._hash=this._hash.clone(),u}}),d.MD5=l._createHelper(o),d.HmacMD5=l._createHmacHelper(o)}(Math),function(R,C){"use strict";var t="function",e="undefined",r="object",d="model",n="name",l="type",o="vendor",s="version",p="architecture",u="console",g="mobile",f="tablet",y="smarttv",v="wearable",_={extend:function(B,E){var h={};for(var b in B)h[b]=E[b]&&E[b].length%2==0?E[b].concat(B[b]):B[b];return h},has:function(B,E){return"string"==typeof B&&-1!==E.toLowerCase().indexOf(B.toLowerCase())},lowerize:function(B){return B.toLowerCase()},major:function(B){return"string"==typeof B?B.replace(/[^\d\.]/g,"").split(".")[0]:C},trim:function(B){return B.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},O={rgx:function(B,E){for(var h,b,T,I,x,L,j=0;j >>16,65535&ne[0],ne[1]>>>16,65535&ne[1]])[3]+(Ve=[Ve[0]>>>16,65535&Ve[0],Ve[1]>>>16,65535&Ve[1]])[3],Ze[2]+=Ze[3]>>>16,Ze[3]&=65535,Ze[2]+=ne[2]+Ve[2],Ze[1]+=Ze[2]>>>16,Ze[2]&=65535,Ze[1]+=ne[1]+Ve[1],Ze[0]+=Ze[1]>>>16,Ze[1]&=65535,Ze[0]+=ne[0]+Ve[0],Ze[0]&=65535,[Ze[0]<<16|Ze[1],Ze[2]<<16|Ze[3]]},C=function(ne,Ve){var Ze=[0,0,0,0];return Ze[3]+=(ne=[ne[0]>>>16,65535&ne[0],ne[1]>>>16,65535&ne[1]])[3]*(Ve=[Ve[0]>>>16,65535&Ve[0],Ve[1]>>>16,65535&Ve[1]])[3],Ze[2]+=Ze[3]>>>16,Ze[3]&=65535,Ze[2]+=ne[2]*Ve[3],Ze[1]+=Ze[2]>>>16,Ze[2]&=65535,Ze[2]+=ne[3]*Ve[2],Ze[1]+=Ze[2]>>>16,Ze[2]&=65535,Ze[1]+=ne[1]*Ve[3],Ze[0]+=Ze[1]>>>16,Ze[1]&=65535,Ze[1]+=ne[2]*Ve[2],Ze[0]+=Ze[1]>>>16,Ze[1]&=65535,Ze[1]+=ne[3]*Ve[1],Ze[0]+=Ze[1]>>>16,Ze[1]&=65535,Ze[0]+=ne[0]*Ve[3]+ne[1]*Ve[2]+ne[2]*Ve[1]+ne[3]*Ve[0],Ze[0]&=65535,[Ze[0]<<16|Ze[1],Ze[2]<<16|Ze[3]]},t=function(ne,Ve){return 32==(Ve%=64)?[ne[1],ne[0]]:Ve<32?[ne[0]< >>32-Ve,ne[1]< >>32-Ve]:[ne[1]<<(Ve-=32)|ne[0]>>>32-Ve,ne[0]< >>32-Ve]},e=function(ne,Ve){return 0==(Ve%=64)?ne:Ve<32?[ne[0]< >>32-Ve,ne[1]< >>1]),ne=C(ne,[4283543511,3981806797]),ne=r(ne,[0,ne[0]>>>1]),ne=C(ne,[3301882366,444984403]),r(ne,[0,ne[0]>>>1])},n=function(ne,Ve){for(var Ze=(ne=ne||"").length%16,nt=ne.length-Ze,Et=[0,Ve=Ve||0],Xt=[0,Ve],qt=[0,0],hn=[0,0],Cn=[2277735313,289559509],fn=[1291169091,658871167],tn=0;tn >>0).toString(16)).slice(-8)+("00000000"+(Et[1]>>>0).toString(16)).slice(-8)+("00000000"+(Xt[0]>>>0).toString(16)).slice(-8)+("00000000"+(Xt[1]>>>0).toString(16)).slice(-8)},l={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},o=function(ne,Ve){if(Array.prototype.forEach&&ne.forEach===Array.prototype.forEach)ne.forEach(Ve);else if(ne.length===+ne.length)for(var Ze=0,nt=ne.length;Ze Xt.name?1:Et.name =0?"Windows Phone":ne.indexOf("win")>=0?"Windows":ne.indexOf("android")>=0?"Android":ne.indexOf("linux")>=0?"Linux":ne.indexOf("iphone")>=0||ne.indexOf("ipad")>=0?"iOS":ne.indexOf("mac")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows Phone"!==nt&&"Android"!==nt&&"iOS"!==nt&&"Other"!==nt)return!0;if(typeof Ve<"u"){if((Ve=Ve.toLowerCase()).indexOf("win")>=0&&"Windows"!==nt&&"Windows Phone"!==nt)return!0;if(Ve.indexOf("linux")>=0&&"Linux"!==nt&&"Android"!==nt)return!0;if(Ve.indexOf("mac")>=0&&"Mac"!==nt&&"iOS"!==nt)return!0;if((-1===Ve.indexOf("win")&&-1===Ve.indexOf("linux")&&-1===Ve.indexOf("mac"))!=("Other"===nt))return!0}return Ze.indexOf("win")>=0&&"Windows"!==nt&&"Windows Phone"!==nt||(Ze.indexOf("linux")>=0||Ze.indexOf("android")>=0||Ze.indexOf("pike")>=0)&&"Linux"!==nt&&"Android"!==nt||(Ze.indexOf("mac")>=0||Ze.indexOf("ipad")>=0||Ze.indexOf("ipod")>=0||Ze.indexOf("iphone")>=0)&&"Mac"!==nt&&"iOS"!==nt||(-1===Ze.indexOf("win")&&-1===Ze.indexOf("linux")&&-1===Ze.indexOf("mac"))!=("Other"===nt)||typeof navigator.plugins>"u"&&"Windows"!==nt&&"Windows Phone"!==nt}())}},{key:"hasLiedBrowser",getData:function(ne){ne(function(){var Ze,ne=navigator.userAgent.toLowerCase(),Ve=navigator.productSub;if(("Chrome"==(Ze=ne.indexOf("firefox")>=0?"Firefox":ne.indexOf("opera")>=0||ne.indexOf("opr")>=0?"Opera":ne.indexOf("chrome")>=0?"Chrome":ne.indexOf("safari")>=0?"Safari":ne.indexOf("trident")>=0?"Internet Explorer":"Other")||"Safari"===Ze||"Opera"===Ze)&&"20030107"!==Ve)return!0;var Et,nt=eval.toString().length;if(37===nt&&"Safari"!==Ze&&"Firefox"!==Ze&&"Other"!==Ze)return!0;if(39===nt&&"Internet Explorer"!==Ze&&"Other"!==Ze)return!0;if(33===nt&&"Chrome"!==Ze&&"Opera"!==Ze&&"Other"!==Ze)return!0;try{throw"a"}catch(Xt){try{Xt.toSource(),Et=!0}catch{Et=!1}}return Et&&"Firefox"!==Ze&&"Other"!==Ze}())}},{key:"touchSupport",getData:function(ne){ne(function(){var Ve,ne=0;typeof navigator.maxTouchPoints<"u"?ne=navigator.maxTouchPoints:typeof navigator.msMaxTouchPoints<"u"&&(ne=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),Ve=!0}catch{Ve=!1}return[ne,Ve,"ontouchstart"in window]}())}},{key:"fonts",getData:function(ne,Ve){var Ze=["monospace","sans-serif","serif"],nt=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];Ve.fonts.extendedJsFonts&&(nt=nt.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),nt=(nt=nt.concat(Ve.fonts.userDefinedFonts)).filter(function(_t,cn){return nt.indexOf(_t)===cn});var hn=document.getElementsByTagName("body")[0],Cn=document.createElement("div"),fn=document.createElement("div"),tn={},yn={},on=function(){var _t=document.createElement("span");return _t.style.position="absolute",_t.style.left="-9999px",_t.style.fontSize="72px",_t.style.fontStyle="normal",_t.style.fontWeight="normal",_t.style.letterSpacing="normal",_t.style.lineBreak="auto",_t.style.lineHeight="normal",_t.style.textTransform="none",_t.style.textAlign="left",_t.style.textDecoration="none",_t.style.textShadow="none",_t.style.whiteSpace="normal",_t.style.wordBreak="normal",_t.style.wordSpacing="normal",_t.innerHTML="mmmmmmmmmmlli",_t},ft=function(_t,cn){var Ut=on();return Ut.style.fontFamily="'"+_t+"',"+cn,Ut},gn=function(_t){for(var cn=!1,Ut=0;Ut =ne.components.length)Ve(Ze.data);else{var qt=ne.components[nt];if(ne.excludes[qt.key])Et(!1);else{if(!Xt&&qt.pauseBefore)return nt-=1,void setTimeout(function(){Et(!0)},1);try{qt.getData(function(hn){Ze.addPreprocessedComponent(qt.key,hn),Et(!1)},ne)}catch(hn){Ze.addPreprocessedComponent(qt.key,String(hn)),Et(!1)}}}};Et(!1)},rt.getPromise=function(ne){return new Promise(function(Ve,Ze){rt.get(ne,Ve)})},rt.getV18=function(ne,Ve){return null==Ve&&(Ve=ne,ne={}),rt.get(ne,function(Ze){for(var nt=[],Et=0;Et 1e3?1e3:e.batchsize:_defaultValue.batchsize,Telemetry.config=Object.assign(_defaultValue,e),Telemetry.initialized=!0,C.dispatcher=Telemetry.config.dispatcher?Telemetry.config.dispatcher:libraryDispatcher,R.updateConfigurations(e),console.info("Telemetry is initialized."))},R._dispatch=function(e){if(e.mid=e.eid+":"+CryptoJS.MD5(JSON.stringify(e)).toString(),C.enableValidation){var r=ajv.getSchema("http://api.ekstep.org/telemetry/"+e.eid.toLowerCase());if(!r(e))return void console.error("Invalid "+e.eid+" Event: "+ajv.errorsText(r.errors))}"client"===C.runningEnv?e.context.did?(e.actor.id=R.getActorId(e.actor.id,e.context.did),dispatcher.dispatch(e)):Telemetry.fingerPrintId?(e.context.did=Telemetry.fingerPrintId,e.actor.id=R.getActorId(e.actor.id,Telemetry.fingerPrintId),dispatcher.dispatch(e)):Telemetry.getFingerPrint(function(n,l){e.context.did=n,e.actor.id=R.getActorId(e.actor.id,n),Telemetry.fingerPrintId=n,dispatcher.dispatch(e)}):dispatcher.dispatch(e)},R.getActorId=function(e,r){return e&&"anonymous"!==e?e:r},R.getEvent=function(e,r){return C.telemetryEnvelop.eid=e,C.telemetryEnvelop.ets=(new Date).getTime()+(1e3*Telemetry.config.timeDiff||0),C.telemetryEnvelop.ver=Telemetry._version,C.telemetryEnvelop.mid="",C.telemetryEnvelop.actor=Object.assign({},{id:Telemetry.config.uid||"anonymous",type:"User"},R.getUpdatedValue("actor")),C.telemetryEnvelop.context=Object.assign({},R.getGlobalContext(),R.getUpdatedValue("context")),C.telemetryEnvelop.object=Object.assign({},R.getGlobalObject(),R.getUpdatedValue("object")),C.telemetryEnvelop.tags=Object.assign([],Telemetry.config.tags,R.getUpdatedValue("tags")),C.telemetryEnvelop.edata=r,C.telemetryEnvelop},R.updateConfigurations=function(e){e.object&&(C._globalObject=e.object),e.channel&&(C._globalContext.channel=e.channel),e.env&&(C._globalContext.env=e.env),e.rollup&&(C._globalContext.rollup=e.rollup),e.sid&&(C._globalContext.sid=e.sid),e.did&&(C._globalContext.did=e.did),e.cdata&&(C._globalContext.cdata=e.cdata),e.pdata&&(C._globalContext.pdata=e.pdata)},R.getGlobalContext=function(){return C._globalContext},R.getGlobalObject=function(){return C._globalObject},R.updateValues=function(e){e&&(e.context&&(C._currentContext=e.context),e.object&&(C._currentObject=e.object),e.actor&&(C._currentActor=e.actor),e.tags&&(C._currentTags=e.tags),e.runningEnv&&(C.runningEnv=e.runningEnv))},R.getUpdatedValue=function(e){switch(e.toLowerCase()){case"context":return C._currentContext||{};case"object":return C._currentObject||{};case"actor":return C._currentActor||{};case"tags":return C._currentTags||[]}},R.objectAssign=function(){Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var r=1;r =Telemetry.config.batchsize)&&TelemetrySyncManager.syncEvents()},syncEvents:function(R=!0,C){var t=EkTelemetry||t,e=TelemetrySyncManager;if(!C){var r=e._teleData.splice(0,t.config.batchsize);if(!r.length)return;C={id:"api.sunbird.telemetry",ver:t._version,params:{msgid:CryptoJS.MD5(JSON.stringify(r)).toString()},ets:(new Date).getTime()+(1e3*t.config.timeDiff||0),events:r}}var d={};typeof t.config.authtoken<"u"&&(d.Authorization="Bearer "+t.config.authtoken);var n=t.config.host+t.config.apislug+t.config.endpoint;d.dataType="json",d["Content-Type"]="application/json",d["x-app-id"]=t.config.pdata.id,d["x-device-id"]=t.fingerPrintId,d["x-channel-id"]=t.config.channel,jQuery.ajax({url:n,type:"POST",headers:d,data:JSON.stringify(C),async:R}).done(function(l){t.config.telemetryDebugEnabled&&console.log("Telemetry API success",l)}).fail(function(l,o,s){e._failedBatchSize>e._failedBatch.length&&e._failedBatch.push(C),403==l.status?console.error("Authentication error: ",l):console.log("Error while Telemetry sync to server: ",l)})},syncFailedBatch:function(){var R=TelemetrySyncManager;if(R._failedBatch.length){Telemetry.config.telemetryDebugEnabled&&console.log("syncing failed telemetry batch");var C=R._failedBatch.shift();R.syncEvents(!0,C)}}};typeof document<"u"&&(TelemetrySyncManager.init(),setInterval(function(){TelemetrySyncManager.syncFailedBatch()},TelemetrySyncManager._syncRetryInterval)),(self.webpackChunkquml_player_wc=self.webpackChunkquml_player_wc||[]).push([["vendor"],{5869: +/*!**************************************************************************!*\ + !*** ./node_modules/@project-sunbird/client-services/telemetry/index.js ***! + \**************************************************************************/R=>{window,R.exports=function(C){var t={};function e(r){if(t[r])return t[r].exports;var d=t[r]={i:r,l:!1,exports:{}};return C[r].call(d.exports,d,d.exports,e),d.l=!0,d.exports}return e.m=C,e.c=t,e.d=function(r,d,n){e.o(r,d)||Object.defineProperty(r,d,{enumerable:!0,get:n})},e.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},e.t=function(r,d){if(1&d&&(r=e(r)),8&d||4&d&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&d&&"string"!=typeof r)for(var l in r)e.d(n,l,function(o){return r[o]}.bind(null,l));return n},e.n=function(r){var d=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(d,"a",d),d},e.o=function(r,d){return Object.prototype.hasOwnProperty.call(r,d)},e.p="",e(e.s=249)}({100:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(6),d=e(14),n=e(19);t.unmanaged=function l(){return function(o,s,p){var u=new d.Metadata(r.UNMANAGED_TAG,!0);n.tagParameter(o,s,p,u)}}},101:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(6),d=e(14),n=e(19);t.multiInject=function l(o){return function(s,p,u){var g=new d.Metadata(r.MULTI_INJECT_TAG,o);"number"==typeof u?n.tagParameter(s,p,u,g):n.tagProperty(s,p,g)}}},102:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(6),d=e(14),n=e(19);t.targetName=function l(o){return function(s,p,u){var g=new d.Metadata(r.NAME_TAG,o);n.tagParameter(s,p,u,g)}}},103:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(11),d=e(6),n=e(14);t.postConstruct=function l(){return function(o,s,p){var u=new n.Metadata(d.POST_CONSTRUCT,s);if(Reflect.hasOwnMetadata(d.POST_CONSTRUCT,o.constructor))throw new Error(r.MULTIPLE_POST_CONSTRUCT_METHODS);Reflect.defineMetadata(d.POST_CONSTRUCT,u,o.constructor)}}},104:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multiBindToService=function(r){return function(d){return function(){for(var n=[],l=0;l = than the number of constructor arguments of its base class."},t.CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",t.CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE="Invalid Container option. Default scope must be a string ('singleton' or 'transient').",t.CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",t.CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",t.MULTIPLE_POST_CONSTRUCT_METHODS="Cannot apply @postConstruct decorator multiple times in the same class",t.POST_CONSTRUCT_ERROR=function(){for(var r=[],d=0;d =0;q--)(Q=b[q])&&(j=(L<3?Q(j):L>3?Q(T,I,j):Q(T,I))||j);return L>3&&j&&Object.defineProperty(T,I,j),j}([Object(l.injectable)()],b)}(),p={CONTAINER:Symbol.for("CONTAINER"),services:{telemetry:{TELEMETRY_SERVICE:Symbol.for("TELEMETRY_SERVICE"),PLAYER_TELEMETRY_SERVICE:Symbol.for("PLAYER_TELEMETRY_SERVICE")}}},g=function(b,T){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(b,T)},f=function(){function b(T){this.telemetryService=T}return b.prototype.onStartEvent=function(T,I){},b.prototype.onEndEvent=function(T,I){},b.prototype.onErrorEvent=function(T,I){},b.prototype.onHeartBeatEvent=function(T,I){"LOADED"===T.type||"PLAY"===T.type||this.telemetryService.raiseLogTelemetry({})},function(b,T,I,x){var Q,L=arguments.length,j=L<3?T:null===x?x=Object.getOwnPropertyDescriptor(T,I):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(b,T,I,x);else for(var q=b.length-1;q>=0;q--)(Q=b[q])&&(j=(L<3?Q(j):L>3?Q(T,I,j):Q(T,I))||j);return L>3&&j&&Object.defineProperty(T,I,j),j}([Object(l.injectable)(),g("design:paramtypes",[n])],b)}(),y=(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,T){b.__proto__=T}||function(b,T){for(var I in T)T.hasOwnProperty(I)&&(b[I]=T[I])},function(b,T){function I(){this.constructor=b}v(b,T),b.prototype=null===T?Object.create(T):(I.prototype=T.prototype,new I)}),O=function(b,T){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(b,T)},D=function(b,T){return function(I,x){T(I,x,b)}},M=function(b){function T(I){return b.call(this,I)||this}return y(T,b),T.prototype.onHeartBeatEvent=function(I,x){},function(b,T,I,x){var Q,L=arguments.length,j=L<3?T:null===x?x=Object.getOwnPropertyDescriptor(T,I):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(b,T,I,x);else for(var q=b.length-1;q>=0;q--)(Q=b[q])&&(j=(L<3?Q(j):L>3?Q(T,I,j):Q(T,I))||j);return L>3&&j&&Object.defineProperty(T,I,j),j}([Object(l.injectable)(),D(0,Object(l.inject)(p.services.telemetry.TELEMETRY_SERVICE)),O("design:paramtypes",[n])],T)}(f),S=function(b,T){var x,L,j,Q,I={label:0,sent:function(){if(1&j[0])throw j[1];return j[1]},trys:[],ops:[]};return Q={next:q(0),throw:q(1),return:q(2)},"function"==typeof Symbol&&(Q[Symbol.iterator]=function(){return this}),Q;function q(we){return function(ie){return function te(we){if(x)throw new TypeError("Generator is already executing.");for(;I;)try{if(x=1,L&&(j=L[2&we[0]?"return":we[0]?"throw":"next"])&&!(j=j.call(L,we[1])).done)return j;switch(L=0,j&&(we=[0,j.value]),we[0]){case 0:case 1:j=we;break;case 4:return I.label++,{value:we[1],done:!1};case 5:I.label++,L=we[1],we=[0];continue;case 7:we=I.ops.pop(),I.trys.pop();continue;default:if(!((j=(j=I.trys).length>0&&j[j.length-1])||6!==we[0]&&2!==we[0])){I=0;continue}if(3===we[0]&&(!j||we[1]>j[0]&&we[1] 1)for(var w=1;w 0)return!0;var Mt=c.get(Oe);return Mt.delete(Ye),Mt.size>0||c.delete(Oe),!0}function q(Ce,Oe){for(var Ye=Ce.length-1;Ye>=0;--Ye){var Mt=(0,Ce[Ye])(Oe);if(!ue(Mt)&&!De(Mt)){if(!yt(Mt))throw new TypeError;Oe=Mt}}return Oe}function te(Ce,Oe,Ye,ht){for(var Mt=Ce.length-1;Mt>=0;--Mt){var $e=(0,Ce[Mt])(Oe,Ye,ht);if(!ue($e)&&!De($e)){if(!Le($e))throw new TypeError;ht=$e}}return ht}function we(Ce,Oe,Ye){var ht=c.get(Ce);if(ue(ht)){if(!Ye)return;ht=new M,c.set(Ce,ht)}var Mt=ht.get(Oe);if(ue(Mt)){if(!Ye)return;Mt=new M,ht.set(Oe,Mt)}return Mt}function ie(Ce,Oe,Ye){if(Ne(Ce,Oe,Ye))return!0;var Mt=re(Oe);return!De(Mt)&&ie(Ce,Mt,Ye)}function Ne(Ce,Oe,Ye){var ht=we(Oe,Ye,!1);return!ue(ht)&&ae(ht.has(Ce))}function G(Ce,Oe,Ye){if(Ne(Ce,Oe,Ye))return X(Ce,Oe,Ye);var Mt=re(Oe);return De(Mt)?void 0:G(Ce,Mt,Ye)}function X(Ce,Oe,Ye){var ht=we(Oe,Ye,!1);if(!ue(ht))return ht.get(Ce)}function H(Ce,Oe,Ye,ht){we(Ye,ht,!0).set(Ce,Oe)}function J(Ce,Oe){var Ye=me(Ce,Oe),ht=re(Ce);if(null===ht)return Ye;var Mt=J(ht,Oe);if(Mt.length<=0)return Ye;if(Ye.length<=0)return Mt;for(var Ue=new w,$e=[],rt=0,ne=Ye;rt =0&&rt =this._keys.length?(this._index=-1,this._keys=Oe,this._values=Oe):this._index++,{value:ne,done:!1}}return{value:void 0,done:!0}},$e.prototype.throw=function(rt){throw this._index>=0&&(this._index=-1,this._keys=Oe,this._values=Oe),rt},$e.prototype.return=function(rt){return this._index>=0&&(this._index=-1,this._keys=Oe,this._values=Oe),{value:rt,done:!0}},$e}();return function(){function $e(){this._keys=[],this._values=[],this._cacheKey=Ce,this._cacheIndex=-2}return Object.defineProperty($e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),$e.prototype.has=function(rt){return this._find(rt,!1)>=0},$e.prototype.get=function(rt){var ne=this._find(rt,!1);return ne>=0?this._values[ne]:void 0},$e.prototype.set=function(rt,ne){var Ve=this._find(rt,!0);return this._values[Ve]=ne,this},$e.prototype.delete=function(rt){var ne=this._find(rt,!1);if(ne>=0){for(var Ve=this._keys.length,Ze=ne+1;Ze 0&&E[E.length-1])||6!==I[0]&&2!==I[0])){S=0;continue}if(3===I[0]&&(!E||I[1]>E[0]&&I[1] 0?h.length:M.length),x=y(O,M);return I.concat(x)}function g(O,D,M,w,S){var c=S[O.toString()]||[],B=_(c),E=!0!==B.unmanaged,h=w[O];if((h=B.inject||B.multiInject||h)instanceof r.LazyServiceIdentifer&&(h=h.unwrap()),E){if(!D&&(h===Object||h===Function||void 0===h))throw new Error(d.MISSING_INJECT_ANNOTATION+" argument "+O+" in class "+M+".");var Q=new s.Target(n.TargetTypeEnum.ConstructorArgument,B.targetName,h);return Q.metadata=c,Q}return null}function y(O,D){for(var M=O.getPropertiesMetadata(D),w=[],c=0,B=Object.keys(M);c 0?E:v(O,M)}return 0}},86:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function d(n){this.str=n}return d.prototype.startsWith=function(n){return 0===this.str.indexOf(n)},d.prototype.endsWith=function(n){var l,o=n.split("").reverse().join("");return l=this.str.split("").reverse().join(""),this.startsWith.call({str:l},o)},d.prototype.contains=function(n){return-1!==this.str.indexOf(n)},d.prototype.equals=function(n){return this.str===n},d.prototype.value=function(){return this.str},d}();t.QueryableString=r},87:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(24),d=function(){function n(l,o,s,p,u){this.id=r.id(),this.serviceIdentifier=l,this.parentContext=o,this.parentRequest=s,this.target=u,this.childRequests=[],this.bindings=Array.isArray(p)?p:[p],this.requestScope=null===s?new Map:null}return n.prototype.addChildRequest=function(l,o,s){var p=new n(l,this.parentContext,this,o,s);return this.childRequests.push(p),p},n}();t.Request=d},88:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(11),d=e(18),n=e(58),l=e(30),o=e(89),s=function(g,f,y){try{return y()}catch(v){throw n.isStackOverflowExeption(v)?new Error(r.CIRCULAR_DEPENDENCY_IN_FACTORY(g,f.toString())):v}},p=function(g){return function(f){f.parentContext.setCurrentRequest(f);var y=f.bindings,v=f.childRequests,_=f.target&&f.target.isArray(),O=!(f.parentRequest&&f.parentRequest.target&&f.target&&f.parentRequest.target.matchesArray(f.target.serviceIdentifier));if(_&&O)return v.map(function(B){return p(g)(B)});var D=null;if(!f.target.isOptional()||0!==y.length){var M=y[0],w=M.scope===d.BindingScopeEnum.Singleton,S=M.scope===d.BindingScopeEnum.Request;if(w&&M.activated)return M.cache;if(S&&null!==g&&g.has(M.id))return g.get(M.id);if(M.type===d.BindingTypeEnum.ConstantValue)D=M.cache;else if(M.type===d.BindingTypeEnum.Function)D=M.cache;else if(M.type===d.BindingTypeEnum.Constructor)D=M.implementationType;else if(M.type===d.BindingTypeEnum.DynamicValue&&null!==M.dynamicValue)D=s("toDynamicValue",M.serviceIdentifier,function(){return M.dynamicValue(f.parentContext)});else if(M.type===d.BindingTypeEnum.Factory&&null!==M.factory)D=s("toFactory",M.serviceIdentifier,function(){return M.factory(f.parentContext)});else if(M.type===d.BindingTypeEnum.Provider&&null!==M.provider)D=s("toProvider",M.serviceIdentifier,function(){return M.provider(f.parentContext)});else{if(M.type!==d.BindingTypeEnum.Instance||null===M.implementationType){var c=l.getServiceIdentifierAsString(f.serviceIdentifier);throw new Error(r.INVALID_BINDING_TYPE+" "+c)}D=o.resolveInstance(M.implementationType,v,p(g))}return"function"==typeof M.onActivation&&(D=M.onActivation(f.parentContext,D)),w&&(M.cache=D,M.activated=!0),S&&null!==g&&!g.has(M.id)&&g.set(M.id,D),D}}};t.resolve=function u(g){return p(g.plan.rootRequest.requestScope)(g.plan.rootRequest)}},89:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(11),d=e(18),n=e(6);t.resolveInstance=function p(u,g,f){var y=null;return y=g.length>0?function l(u,g,f){var y=g.filter(function(_){return null!==_.target&&_.target.type===d.TargetTypeEnum.ClassProperty}),v=y.map(f);return y.forEach(function(_,O){var D;D=_.target.name.value(),u[D]=v[O]}),u}(y=function o(u,g){return new(u.bind.apply(u,[void 0].concat(g)))}(u,g.filter(function(O){return null!==O.target&&O.target.type===d.TargetTypeEnum.ConstructorArgument}).map(f)),g,f):new u,function s(u,g){if(Reflect.hasMetadata(n.POST_CONSTRUCT,u)){var f=Reflect.getMetadata(n.POST_CONSTRUCT,u);try{g[f.value]()}catch(y){throw new Error(r.POST_CONSTRUCT_ERROR(u.name,y.message))}}}(u,y),y}},90:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(11),d=e(18),n=e(91),l=e(61),o=function(){function s(p){this._binding=p}return s.prototype.to=function(p){return this._binding.type=d.BindingTypeEnum.Instance,this._binding.implementationType=p,new n.BindingInWhenOnSyntax(this._binding)},s.prototype.toSelf=function(){if("function"!=typeof this._binding.serviceIdentifier)throw new Error(""+r.INVALID_TO_SELF_VALUE);return this.to(this._binding.serviceIdentifier)},s.prototype.toConstantValue=function(p){return this._binding.type=d.BindingTypeEnum.ConstantValue,this._binding.cache=p,this._binding.dynamicValue=null,this._binding.implementationType=null,new l.BindingWhenOnSyntax(this._binding)},s.prototype.toDynamicValue=function(p){return this._binding.type=d.BindingTypeEnum.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=p,this._binding.implementationType=null,new n.BindingInWhenOnSyntax(this._binding)},s.prototype.toConstructor=function(p){return this._binding.type=d.BindingTypeEnum.Constructor,this._binding.implementationType=p,new l.BindingWhenOnSyntax(this._binding)},s.prototype.toFactory=function(p){return this._binding.type=d.BindingTypeEnum.Factory,this._binding.factory=p,new l.BindingWhenOnSyntax(this._binding)},s.prototype.toFunction=function(p){if("function"!=typeof p)throw new Error(r.INVALID_FUNCTION_BINDING);var u=this.toConstantValue(p);return this._binding.type=d.BindingTypeEnum.Function,u},s.prototype.toAutoFactory=function(p){return this._binding.type=d.BindingTypeEnum.Factory,this._binding.factory=function(u){return function(){return u.container.get(p)}},new l.BindingWhenOnSyntax(this._binding)},s.prototype.toProvider=function(p){return this._binding.type=d.BindingTypeEnum.Provider,this._binding.provider=p,new l.BindingWhenOnSyntax(this._binding)},s.prototype.toService=function(p){this.toDynamicValue(function(u){return u.container.get(p)})},s}();t.BindingToSyntax=o},91:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(92),d=e(44),n=e(45),l=function(){function o(s){this._binding=s,this._bindingWhenSyntax=new n.BindingWhenSyntax(this._binding),this._bindingOnSyntax=new d.BindingOnSyntax(this._binding),this._bindingInSyntax=new r.BindingInSyntax(s)}return o.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},o.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},o.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},o.prototype.when=function(s){return this._bindingWhenSyntax.when(s)},o.prototype.whenTargetNamed=function(s){return this._bindingWhenSyntax.whenTargetNamed(s)},o.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},o.prototype.whenTargetTagged=function(s,p){return this._bindingWhenSyntax.whenTargetTagged(s,p)},o.prototype.whenInjectedInto=function(s){return this._bindingWhenSyntax.whenInjectedInto(s)},o.prototype.whenParentNamed=function(s){return this._bindingWhenSyntax.whenParentNamed(s)},o.prototype.whenParentTagged=function(s,p){return this._bindingWhenSyntax.whenParentTagged(s,p)},o.prototype.whenAnyAncestorIs=function(s){return this._bindingWhenSyntax.whenAnyAncestorIs(s)},o.prototype.whenNoAncestorIs=function(s){return this._bindingWhenSyntax.whenNoAncestorIs(s)},o.prototype.whenAnyAncestorNamed=function(s){return this._bindingWhenSyntax.whenAnyAncestorNamed(s)},o.prototype.whenAnyAncestorTagged=function(s,p){return this._bindingWhenSyntax.whenAnyAncestorTagged(s,p)},o.prototype.whenNoAncestorNamed=function(s){return this._bindingWhenSyntax.whenNoAncestorNamed(s)},o.prototype.whenNoAncestorTagged=function(s,p){return this._bindingWhenSyntax.whenNoAncestorTagged(s,p)},o.prototype.whenAnyAncestorMatches=function(s){return this._bindingWhenSyntax.whenAnyAncestorMatches(s)},o.prototype.whenNoAncestorMatches=function(s){return this._bindingWhenSyntax.whenNoAncestorMatches(s)},o.prototype.onActivation=function(s){return this._bindingOnSyntax.onActivation(s)},o}();t.BindingInWhenOnSyntax=l},92:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(18),d=e(61),n=function(){function l(o){this._binding=o}return l.prototype.inRequestScope=function(){return this._binding.scope=r.BindingScopeEnum.Request,new d.BindingWhenOnSyntax(this._binding)},l.prototype.inSingletonScope=function(){return this._binding.scope=r.BindingScopeEnum.Singleton,new d.BindingWhenOnSyntax(this._binding)},l.prototype.inTransientScope=function(){return this._binding.scope=r.BindingScopeEnum.Transient,new d.BindingWhenOnSyntax(this._binding)},l}();t.BindingInSyntax=n},93:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function d(){}return d.of=function(n,l){var o=new d;return o.bindings=n,o.middleware=l,o},d}();t.ContainerSnapshot=r},94:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(11),d=function(){function n(){this._map=new Map}return n.prototype.getMap=function(){return this._map},n.prototype.add=function(l,o){if(null==l)throw new Error(r.NULL_ARGUMENT);if(null==o)throw new Error(r.NULL_ARGUMENT);var s=this._map.get(l);void 0!==s?(s.push(o),this._map.set(l,s)):this._map.set(l,[o])},n.prototype.get=function(l){if(null==l)throw new Error(r.NULL_ARGUMENT);var o=this._map.get(l);if(void 0!==o)return o;throw new Error(r.KEY_NOT_FOUND)},n.prototype.remove=function(l){if(null==l)throw new Error(r.NULL_ARGUMENT);if(!this._map.delete(l))throw new Error(r.KEY_NOT_FOUND)},n.prototype.removeByCondition=function(l){var o=this;this._map.forEach(function(s,p){var u=s.filter(function(g){return!l(g)});u.length>0?o._map.set(p,u):o._map.delete(p)})},n.prototype.hasKey=function(l){if(null==l)throw new Error(r.NULL_ARGUMENT);return this._map.has(l)},n.prototype.clone=function(){var l=new n;return this._map.forEach(function(o,s){o.forEach(function(p){return l.add(s,p.clone())})}),l},n.prototype.traverse=function(l){this._map.forEach(function(o,s){l(s,o)})},n}();t.Lookup=d},95:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(24);t.ContainerModule=function l(o){this.id=r.id(),this.registry=o},t.AsyncContainerModule=function l(o){this.id=r.id(),this.registry=o}},96:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(11),d=e(6);t.injectable=function n(){return function(l){if(Reflect.hasOwnMetadata(d.PARAM_TYPES,l))throw new Error(r.DUPLICATED_INJECTABLE_DECORATOR);var o=Reflect.getMetadata(d.DESIGN_PARAM_TYPES,l)||[];return Reflect.defineMetadata(d.PARAM_TYPES,o,l),l}}},97:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(14),d=e(19);t.tagged=function n(l,o){return function(s,p,u){var g=new r.Metadata(l,o);"number"==typeof u?d.tagParameter(s,p,u,g):d.tagProperty(s,p,g)}}},98:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(6),d=e(14),n=e(19);t.named=function l(o){return function(s,p,u){var g=new d.Metadata(r.NAMED_TAG,o);"number"==typeof u?n.tagParameter(s,p,u,g):n.tagProperty(s,p,g)}}},99:function(C,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(6),d=e(14),n=e(19);t.optional=function l(){return function(o,s,p){var u=new d.Metadata(r.OPTIONAL_TAG,!0);"number"==typeof p?n.tagParameter(o,s,p,u):n.tagProperty(o,s,u)}}}})},7348: +/*!******************************************************!*\ + !*** ./node_modules/ally.js/esm/element/disabled.js ***! + \******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>w});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../util/tabindex-value */ +1149),d=t( +/*! ../is/native-disabled-supported */ +7381),n=t( +/*! ../util/toggle-attribute */ +7273),l=t( +/*! ../util/toggle-attribute-value */ +4656),o=t( +/*! ../util/logger */ +3429),s=t( +/*! ../supports/supports */ +4569),p=void 0;function u(){o.default.warn("trying to focus inert element",this)}function w(S,c){p||(p=(0,s.default)());var B=(0,e.default)({label:"element/disabled",context:S});c=!!c;var E=B.hasAttribute("data-ally-disabled"),h=1===arguments.length;return(0,d.default)(B)?h?B.disabled:(B.disabled=c,B):h?E:(E===c||function M(S,c){(function _(S,c){(0,l.default)({element:S,attribute:"aria-disabled",temporaryValue:c?"true":void 0})})(S,c),function g(S,c){if(c){var B=(0,r.default)(S);(0,l.default)({element:S,attribute:"tabindex",temporaryValue:"-1",saveValue:null!==B?B:""})}else(0,l.default)({element:S,attribute:"tabindex"})}(S,c),function O(S,c){c?S.focus=u:delete S.focus}(S,c),function D(S,c){if(c)S.setAttribute("data-inert-pointer-events",S.style.pointerEvents||""),S.style.pointerEvents="none";else{var E=S.getAttribute("data-inert-pointer-events");S.removeAttribute("data-inert-pointer-events"),S.style.pointerEvents=E}}(S,c);var B=S.nodeName.toLowerCase();("video"===B||"audio"===B)&&function f(S,c){(0,n.default)({element:S,attribute:"controls",remove:c})}(S,c),("svg"===B||S.ownerSVGElement)&&(p.focusSvgFocusableAttribute?function y(S,c){(0,l.default)({element:S,attribute:"focusable",temporaryValue:c?"false":void 0})}(S,c):!p.focusSvgTabindexAttribute&&"a"===B&&function v(S,c){(0,n.default)({element:S,attribute:"xlink:href",remove:c})}(S,c)),c?S.setAttribute("data-ally-disabled","true"):S.removeAttribute("data-ally-disabled")}(B,c),B)}},59: +/*!***************************************************************************!*\ + !*** ./node_modules/ally.js/esm/element/focus.svg-foreign-object-hack.js ***! + \***************************************************************************/(R,C,t)=>{"use strict";function r(d){if(!d.ownerSVGElement&&"svg"!==d.nodeName.toLowerCase())return!1;var l=function e(){var d=document.createElement("div");return d.innerHTML='',d.firstChild.firstChild}();d.appendChild(l);var o=l.querySelector("input");return o.focus(),o.disabled=!0,d.removeChild(l),!0}t.r(C),t.d(C,{default:()=>r})},1514: +/*!****************************************************************!*\ + !*** ./node_modules/ally.js/esm/get/insignificant-branches.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>o});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../util/node-array */ +6072),d=t( +/*! ../util/compare-position */ +1695),n=t( +/*! ../util/get-document */ +4426);function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=s.context,u=s.filter;if(p=(0,e.default)({label:"get/insignificant-branches",defaultToDocument:!0,context:p}),!(u=(0,r.default)(u)).length)throw new TypeError("get/insignificant-branches requires valid options.filter");return function l(s){var p=s.context,u=s.filter,f=[],y=function(D){return u.some(function(M){return D===M})?NodeFilter.FILTER_REJECT:function(D){var M=(0,d.getParentComparator)({parent:D});return u.some(M)}(D)?NodeFilter.FILTER_ACCEPT:(f.push(D),NodeFilter.FILTER_REJECT)};y.acceptNode=y;for(var _=(0,n.default)(p).createTreeWalker(p,NodeFilter.SHOW_ELEMENT,y,!1);_.nextNode(););return f}({context:p,filter:u})}},2299: +/*!*************************************************!*\ + !*** ./node_modules/ally.js/esm/get/parents.js ***! + \*************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ../util/context-to-element */ +5547);function r(){for(var l=[],o=(0,e.default)({label:"get/parents",context:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context});o;)l.push(o),(o=o.parentNode)&&o.nodeType!==Node.ELEMENT_NODE&&(o=null);return l}},820: +/*!*****************************************************!*\ + !*** ./node_modules/ally.js/esm/get/shadow-host.js ***! + \*****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ../util/context-to-element */ +5547);function r(){for(var l=(0,e.default)({label:"get/shadow-host",context:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context}),o=null;l;)o=l,l=l.parentNode;return o.nodeType===o.DOCUMENT_FRAGMENT_NODE&&o.host?o.host:null}},2327: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/is/active-element.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../get/shadow-host */ +820),d=t( +/*! ../util/get-document */ +4426);function n(l){var o=(0,e.default)({label:"is/active-element",resolveDocument:!0,context:l});if((0,d.default)(o).activeElement===o)return!0;var p=(0,r.default)({context:o});return!(!p||p.shadowRoot.activeElement!==o)}},1471: +/*!*************************************************!*\ + !*** ./node_modules/ally.js/esm/is/disabled.js ***! + \*************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>p});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../get/parents */ +2299),d=t( +/*! ./native-disabled-supported */ +7381),n=t( +/*! ../supports/supports */ +4569),l=void 0;function o(u){return"fieldset"===u.nodeName.toLowerCase()&&u.disabled}function s(u){return"form"===u.nodeName.toLowerCase()&&u.disabled}function p(u){l||(l=(0,n.default)());var g=(0,e.default)({label:"is/disabled",context:u});if(g.hasAttribute("data-ally-disabled"))return!0;if(!(0,d.default)(g))return!1;if(g.disabled)return!0;var f=(0,r.default)({context:g});return!!(f.some(o)||!l.focusFormDisabled&&f.some(s))}},7347: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/is/focus-relevant.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>f});var e=t( +/*! ../get/parents */ +2299),r=t( +/*! ../util/context-to-element */ +5547),d=t( +/*! ../util/element-matches */ +1404),n=t( +/*! ../util/tabindex-value */ +1149),l=t( +/*! ./valid-tabindex */ +2429),o=t( +/*! ./is.util */ +317),s=t( +/*! ../supports/supports */ +4569),p=void 0;function u(){var y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=y.context,_=y.except,O=void 0===_?{flexbox:!1,scrollable:!1,shadow:!1}:_;p||(p=(0,s.default)());var D=(0,r.default)({label:"is/focus-relevant",resolveDocument:!0,context:v});if(!O.shadow&&D.shadowRoot)return!0;var M=D.nodeName.toLowerCase();if("input"===M&&"hidden"===D.type)return!1;if("input"===M||"select"===M||"button"===M||"textarea"===M||"legend"===M&&p.focusRedirectLegend||"label"===M||"area"===M||"a"===M&&D.hasAttribute("href"))return!0;if("object"===M&&D.hasAttribute("usemap"))return!1;if("object"===M){var w=D.getAttribute("type");if(!p.focusObjectSvg&&"image/svg+xml"===w)return!1;if(!p.focusObjectSwf&&"application/x-shockwave-flash"===w)return!1}if("iframe"===M||"object"===M||"embed"===M||"keygen"===M||D.hasAttribute("contenteditable")||"audio"===M&&(p.focusAudioWithoutControls||D.hasAttribute("controls"))||"video"===M&&(p.focusVideoWithoutControls||D.hasAttribute("controls"))||p.focusSummary&&"summary"===M)return!0;var S=(0,l.default)(D);if("img"===M&&D.hasAttribute("usemap"))return S&&p.focusImgUsemapTabindex||p.focusRedirectImgUsemap;if(p.focusTable&&("table"===M||"td"===M)||p.focusFieldset&&"fieldset"===M)return!0;var c="svg"===M,B=D.ownerSVGElement,E=D.getAttribute("focusable"),h=(0,n.default)(D);if("use"===M&&null!==h&&!p.focusSvgUseTabindex)return!1;if("foreignobject"===M)return null!==h&&p.focusSvgForeignobjectTabindex;if((0,d.default)(D,"svg a")&&D.hasAttribute("xlink:href"))return!0;if((c||B)&&D.focus&&!p.focusSvgNegativeTabindexAttribute&&h<0)return!1;if(c)return S||p.focusSvg||p.focusSvgInIframe||!(!p.focusSvgFocusableAttribute||!E||"true"!==E);if(B){if(p.focusSvgTabindexAttribute&&S)return!0;if(p.focusSvgFocusableAttribute)return"true"===E}if(S)return!0;var b=window.getComputedStyle(D,null);if((0,o.isUserModifyWritable)(b))return!0;if(p.focusImgIsmap&&"img"===M&&D.hasAttribute("ismap")&&(0,e.default)({context:D}).some(function(j){return"a"===j.nodeName.toLowerCase()&&j.hasAttribute("href")}))return!0;if(!O.scrollable&&p.focusScrollContainer)if(p.focusScrollContainerWithoutOverflow){if((0,o.isScrollableContainer)(D,M))return!0}else if((0,o.hasCssOverflowScroll)(b))return!0;if(!O.flexbox&&p.focusFlexboxContainer&&(0,o.hasCssDisplayFlex)(b))return!0;var I=D.parentElement;if(!O.scrollable&&I){var x=I.nodeName.toLowerCase(),L=window.getComputedStyle(I,null);if(p.focusScrollBody&&(0,o.isScrollableContainer)(I,M,x,L)||p.focusChildrenOfFocusableFlexbox&&(0,o.hasCssDisplayFlex)(L))return!0}return!1}u.except=function(){var y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=function(O){return u({context:O,except:y})};return v.rules=u,v};const f=u.except({})},490: +/*!**************************************************!*\ + !*** ./node_modules/ally.js/esm/is/focusable.js ***! + \**************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>_});var e=t( +/*! ./focus-relevant */ +7347),r=t( +/*! ./valid-area */ +1094),d=t( +/*! ./visible */ +8078),n=t( +/*! ./disabled */ +1471),l=t( +/*! ./only-tabbable */ +2003),o=t( +/*! ../util/context-to-element */ +5547),s=t( +/*! ../util/get-frame-element */ +3041),p=t( +/*! ../util/tabindex-value */ +1149),u=t( +/*! ../supports/supports */ +4569),g=void 0;function y(){var O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},D=O.context,M=O.except,w=void 0===M?{disabled:!1,visible:!1,onlyTabbable:!1}:M;g||(g=(0,u.default)());var S=l.default.rules.except({onlyFocusableBrowsingContext:!0,visible:w.visible}),c=(0,o.default)({label:"is/focusable",resolveDocument:!0,context:D});if(!e.default.rules({context:c,except:w})||function f(O){var D=O.nodeName.toLowerCase();if("embed"===D||"keygen"===D)return!0;var M=(0,p.default)(O);if(O.shadowRoot&&null===M)return!0;if("label"===D)return!g.focusLabelTabindex||null===M;if("legend"===D)return null===M;if(g.focusSvgFocusableAttribute&&(O.ownerSVGElement||"svg"===D)){var w=O.getAttribute("focusable");return w&&"false"===w}return"img"===D&&O.hasAttribute("usemap")?null===M||!g.focusImgUsemapTabindex:"area"===D&&!(0,r.default)(O)}(c)||!w.disabled&&(0,n.default)(c)||!w.onlyTabbable&&S(c))return!1;if(!w.visible){var E={context:c,except:{}};if(g.focusInHiddenIframe&&(E.except.browsingContext=!0),g.focusObjectSvgHidden&&"object"===c.nodeName.toLowerCase()&&(E.except.cssVisibility=!0),!d.default.rules(E))return!1}var b=(0,s.default)(c);return!(b&&!("object"!==b.nodeName.toLowerCase()||g.focusInZeroDimensionObject||b.offsetWidth&&b.offsetHeight))&&!("svg"===c.nodeName.toLowerCase()&&g.focusSvgInIframe&&!b&&null===c.getAttribute("tabindex"))}y.except=function(){var O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},D=function(w){return y({context:w,except:O})};return D.rules=y,D};const _=y.except({})},317: +/*!************************************************!*\ + !*** ./node_modules/ally.js/esm/is/is.util.js ***! + \************************************************/(R,C,t)=>{"use strict";function e(l){var o=l.webkitUserModify||"";return!(!o||-1===o.indexOf("write"))}function r(l){return[l.getPropertyValue("overflow"),l.getPropertyValue("overflow-x"),l.getPropertyValue("overflow-y")].some(function(o){return"auto"===o||"scroll"===o})}function d(l){return l.display.indexOf("flex")>-1}function n(l,o,s,p){return!("div"!==o&&"span"!==o||s&&"div"!==s&&"span"!==s&&!r(p))&&(l.offsetHeight d,hasCssOverflowScroll:()=>r,isScrollableContainer:()=>n,isUserModifyWritable:()=>e})},7381: +/*!******************************************************************!*\ + !*** ./node_modules/ally.js/esm/is/native-disabled-supported.js ***! + \******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>o});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../supports/supports */ +4569),d=void 0,n=void 0,l={input:!0,select:!0,textarea:!0,button:!0,fieldset:!0,form:!0};function o(s){d||((d=(0,r.default)()).focusFieldsetDisabled&&delete l.fieldset,d.focusFormDisabled&&delete l.form,n=new RegExp("^("+Object.keys(l).join("|")+")$"));var u=(0,e.default)({label:"is/native-disabled-supported",context:s}).nodeName.toLowerCase();return!!n.test(u)}},2003: +/*!******************************************************!*\ + !*** ./node_modules/ally.js/esm/is/only-tabbable.js ***! + \******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>p});var e=t( +/*! ./visible */ +8078),r=t( +/*! ../util/context-to-element */ +5547),d=t( +/*! ../util/get-frame-element */ +3041),n=t( +/*! ../util/tabindex-value */ +1149),l=t( +/*! ../util/platform */ +612);function o(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=u.except,y=void 0===f?{onlyFocusableBrowsingContext:!1,visible:!1}:f,v=(0,r.default)({label:"is/only-tabbable",resolveDocument:!0,context:u.context});if(!y.visible&&!(0,e.default)(v))return!1;if(!y.onlyFocusableBrowsingContext&&(l.default.is.GECKO||l.default.is.TRIDENT||l.default.is.EDGE)){var _=(0,d.default)(v);if(_&&(0,n.default)(_)<0)return!1}var O=v.nodeName.toLowerCase(),D=(0,n.default)(v);return"label"===O&&l.default.is.GECKO?null!==D&&D>=0:!!(l.default.is.GECKO&&v.ownerSVGElement&&!v.focus&&"a"===O&&v.hasAttribute("xlink:href")&&l.default.is.GECKO)}o.except=function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=function(y){return o({context:y,except:u})};return g.rules=o,g};const p=o.except({})},9130: +/*!*************************************************!*\ + !*** ./node_modules/ally.js/esm/is/tabbable.js ***! + \*************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>M});var e=t( +/*! ./visible */ +8078),r=t( +/*! ../util/context-to-element */ +5547),d=t( +/*! ../util/element-matches */ +1404),n=t( +/*! ../util/tabindex-value */ +1149),l=t( +/*! ./focus-relevant */ +7347),o=t( +/*! ../util/get-frame-element */ +3041),s=t( +/*! ../util/platform */ +612),p=t( +/*! ../util/image-map */ +9250),u=t( +/*! ./is.util */ +317),g=t( +/*! ../supports/supports */ +4569),f=void 0,y=/^(fieldset|table|td|body)$/;function v(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},S=w.context,c=w.except,B=void 0===c?{flexbox:!1,scrollable:!1,shadow:!1,visible:!1,onlyTabbable:!1}:c;f||(f=(0,g.default)());var E=(0,r.default)({label:"is/tabbable",resolveDocument:!0,context:S});if(s.default.is.BLINK&&s.default.is.ANDROID&&s.default.majorVersion>42)return!1;var h=(0,o.default)(E);if(h){if(s.default.is.WEBKIT&&s.default.is.IOS||(0,n.default)(h)<0||!B.visible&&(s.default.is.BLINK||s.default.is.WEBKIT)&&!(0,e.default)(h))return!1;if("object"===h.nodeName.toLowerCase()&&(s.default.is.WEBKIT||s.default.is.BLINK&&!("Chrome"===s.default.name&&s.default.majorVersion>=54||"Opera"===s.default.name&&s.default.majorVersion>=41)))return!1}var I=E.nodeName.toLowerCase(),x=(0,n.default)(E),L=null===x?null:x>=0;if(s.default.is.EDGE&&s.default.majorVersion>=14&&h&&E.ownerSVGElement&&x<0)return!0;var j=!1!==L,Q=null!==x&&x>=0;if(E.hasAttribute("contenteditable"))return j;if(y.test(I)&&!0!==L)return!1;if(s.default.is.WEBKIT&&s.default.is.IOS){var q="input"===I&&"text"===E.type||"password"===E.type||"select"===I||"textarea"===I||E.hasAttribute("contenteditable");if(!q){var te=window.getComputedStyle(E,null);q=(0,u.isUserModifyWritable)(te)}if(!q)return!1}if("use"===I&&null!==x&&(s.default.is.BLINK||s.default.is.WEBKIT&&9===s.default.majorVersion)||(0,d.default)(E,"svg a")&&E.hasAttribute("xlink:href")&&(j||E.focus&&!f.focusSvgNegativeTabindexAttribute)||"svg"===I&&f.focusSvgInIframe&&j)return!0;if(s.default.is.TRIDENT||s.default.is.EDGE){if("svg"===I)return!!f.focusSvg||E.hasAttribute("focusable")||Q;if(E.ownerSVGElement)return!(!f.focusSvgTabindexAttribute||!Q)||E.hasAttribute("focusable")}if(void 0===E.tabIndex)return!!B.onlyTabbable;if("audio"===I){if(!E.hasAttribute("controls"))return!1;if(s.default.is.BLINK)return!0}if("video"===I)if(E.hasAttribute("controls")){if(s.default.is.BLINK||s.default.is.GECKO)return!0}else if(s.default.is.TRIDENT||s.default.is.EDGE)return!1;if("object"===I&&(s.default.is.BLINK||s.default.is.WEBKIT)||"iframe"===I)return!1;if(!B.scrollable&&s.default.is.GECKO){var we=window.getComputedStyle(E,null);if((0,u.hasCssOverflowScroll)(we))return j}if(s.default.is.TRIDENT||s.default.is.EDGE){if("area"===I){var ie=(0,p.getImageOfArea)(E);if(ie&&(0,n.default)(ie)<0)return!1}var Ne=window.getComputedStyle(E,null);if((0,u.isUserModifyWritable)(Ne))return E.tabIndex>=0;if(!B.flexbox&&(0,u.hasCssDisplayFlex)(Ne))return null!==x?Q:_(E)&&O(E);if((0,u.isScrollableContainer)(E,I))return!1;var G=E.parentElement;if(G){var X=G.nodeName.toLowerCase(),H=window.getComputedStyle(G,null);if((0,u.isScrollableContainer)(G,I,X,H))return!1;if((0,u.hasCssDisplayFlex)(H))return Q}}return E.tabIndex>=0}v.except=function(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},S=function(B){return v({context:B,except:w})};return S.rules=v,S};var _=l.default.rules.except({flexbox:!0}),O=v.except({flexbox:!0});const M=v.except({})},1094: +/*!***************************************************!*\ + !*** ./node_modules/ally.js/esm/is/valid-area.js ***! + \***************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>s});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ./visible */ +8078),d=t( +/*! ../get/parents */ +2299),n=t( +/*! ../util/image-map */ +9250),l=t( +/*! ../supports/supports */ +4569),o=void 0;function s(p){o||(o=(0,l.default)());var u=(0,e.default)({label:"is/valid-area",context:p});if("area"!==u.nodeName.toLowerCase())return!1;var f=u.hasAttribute("tabindex");if(!o.focusAreaTabindex&&f)return!1;var y=(0,n.getImageOfArea)(u);return!(!y||!(0,r.default)(y)||!o.focusBrokenImageMap&&(!y.complete||!y.naturalHeight||y.offsetWidth<=0||y.offsetHeight<=0))&&(o.focusAreaWithoutHref||u.href?!(0,d.default)({context:y}).slice(1).some(function(_){var O=_.nodeName.toLowerCase();return"button"===O||"a"===O}):o.focusAreaTabindex&&f||o.focusAreaImgTabindex&&y.hasAttribute("tabindex"))}},2429: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/is/valid-tabindex.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>o});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../supports/supports */ +4569),d=void 0,n=/^\s*(-|\+)?[0-9]+\s*$/,l=/^\s*(-|\+)?[0-9]+.*$/;function o(s){d||(d=(0,r.default)());var p=d.focusTabindexTrailingCharacters?l:n,u=(0,e.default)({label:"is/valid-tabindex",resolveDocument:!0,context:s}),g=u.hasAttribute("tabindex"),f=u.hasAttribute("tabIndex");if(!g&&!f)return!1;if((u.ownerSVGElement||"svg"===u.nodeName.toLowerCase())&&!d.focusSvgTabindexAttribute)return!1;if(d.focusInvalidTabindex)return!0;var v=u.getAttribute(g?"tabindex":"tabIndex");return"-32768"!==v&&!(!v||!p.test(v))}},8078: +/*!************************************************!*\ + !*** ./node_modules/ally.js/esm/is/visible.js ***! + \************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>y});var e=t( +/*! ../util/array-find-index */ +1760),r=t( +/*! ../get/parents */ +2299),d=t( +/*! ../util/context-to-element */ +5547),n=t( +/*! ../util/get-frame-element */ +3041),l=/^(area)$/;function o(v,_){return window.getComputedStyle(v,null).getPropertyValue(_)}function g(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},O=v.except,D=void 0===O?{notRendered:!1,cssDisplay:!1,cssVisibility:!1,detailsElement:!1,browsingContext:!1}:O,M=(0,d.default)({label:"is/visible",resolveDocument:!0,context:v.context}),w=M.nodeName.toLowerCase();if(!D.notRendered&&l.test(w))return!0;var S=(0,r.default)({context:M}),c="audio"===w&&!M.hasAttribute("controls");if(!D.cssDisplay&&function s(v){return v.some(function(_){return"none"===o(_,"display")})}(c?S.slice(1):S)||!D.cssVisibility&&function p(v){var _=(0,e.default)(v,function(D){var M=o(D,"visibility");return"hidden"===M||"collapse"===M});if(-1===_)return!1;var O=(0,e.default)(v,function(D){return"visible"===o(D,"visibility")});return-1===O||_ 0&&void 0!==arguments[0]?arguments[0]:{},_=function(D){return g({context:D,except:v})};return _.rules=g,_};const y=g.except({})},2525: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/maintain/_maintain.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=t( +/*! ./disabled */ +5066),r=t( +/*! ./hidden */ +842),d=t( +/*! ./tab-focus */ +2772);const n={disabled:e.default,hidden:r.default,tabFocus:d.default}},5066: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/maintain/disabled.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>y});var e=t( +/*! ../util/node-array */ +6072),r=t( +/*! ../query/focusable */ +7327),d=t( +/*! ../element/disabled */ +7348),n=t( +/*! ../observe/shadow-mutations */ +8539),l=t( +/*! ../util/compare-position */ +1695),o=function(){function v(_,O){for(var D=0;D 0&&void 0!==arguments[0]?arguments[0]:{},D=O.context,M=O.filter;(function s(v,_){if(!(v instanceof _))throw new TypeError("Cannot call a class as a function")})(this,v),this._context=(0,e.default)(D||document.documentElement)[0],this._filter=(0,e.default)(M),this._inertElementCache=[],this.disengage=this.disengage.bind(this),this.handleMutation=this.handleMutation.bind(this),this.renderInert=this.renderInert.bind(this),this.filterElements=this.filterElements.bind(this),this.filterParentElements=this.filterParentElements.bind(this);var w=(0,r.default)({context:this._context,includeContext:!0,strategy:"all"});this.renderInert(w),this.shadowObserver=(0,n.default)({context:this._context,config:g,callback:function(c){return c.forEach(_.handleMutation)}})}return o(v,[{key:"disengage",value:function(){this._context&&(u(this._context),this._inertElementCache.forEach(function(O){return u(O)}),this._inertElementCache=null,this._filter=null,this._context=null,this.shadowObserver&&this.shadowObserver.disengage(),this.shadowObserver=null)}},{key:"listQueryFocusable",value:function(O){return O.map(function(D){return(0,r.default)({context:D,includeContext:!0,strategy:"all"})}).reduce(function(D,M){return D.concat(M)},[])}},{key:"renderInert",value:function(O){var D=this;O.filter(this.filterElements).filter(this.filterParentElements).filter(function(w){return!(0,d.default)(w)}).forEach(function(S){D._inertElementCache.push(S),function p(v){(0,d.default)(v,!0)}(S)})}},{key:"filterElements",value:function(O){var D=(0,l.getParentComparator)({element:O,includeSelf:!0});return!this._filter.some(D)}},{key:"filterParentElements",value:function(O){var D=(0,l.getParentComparator)({parent:O});return!this._filter.some(D)}},{key:"handleMutation",value:function(O){if("childList"===O.type){var D=(0,e.default)(O.addedNodes).filter(function(w){return w.nodeType===Node.ELEMENT_NODE});if(!D.length)return;var M=this.listQueryFocusable(D);this.renderInert(M)}else"attributes"===O.type&&this.renderInert([O.target])}}]),v}();function y(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{disengage:new f({context:v.context,filter:v.filter}).disengage}}},842: +/*!*****************************************************!*\ + !*** ./node_modules/ally.js/esm/maintain/hidden.js ***! + \*****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>y});var e=t( +/*! ../util/node-array */ +6072),r=t( +/*! ../get/insignificant-branches */ +1514),d=t( +/*! ../get/parents */ +2299),n=t( +/*! ../util/toggle-attribute-value */ +4656),l=t( +/*! ../util/compare-position */ +1695),o=function(){function v(_,O){for(var D=0;D 0&&void 0!==arguments[0]?arguments[0]:{},O=_.context,D=_.filter;(function s(v,_){if(!(v instanceof _))throw new TypeError("Cannot call a class as a function")})(this,v),this._context=(0,e.default)(O||document.documentElement)[0],this._filter=(0,e.default)(D),this.disengage=this.disengage.bind(this),this.handleMutation=this.handleMutation.bind(this),this.isInsignificantBranch=this.isInsignificantBranch.bind(this),(0,r.default)({context:this._context,filter:this._filter}).forEach(p),this.startObserver()}return o(v,[{key:"disengage",value:function(){this._context&&([].forEach.call(this._context.querySelectorAll("[data-cached-aria-hidden]"),u),this._context=null,this._filter=null,this._observer&&this._observer.disconnect(),this._observer=null)}},{key:"startObserver",value:function(){var O=this;window.MutationObserver&&(this._observer=new MutationObserver(function(D){return D.forEach(O.handleMutation)}),this._observer.observe(this._context,g))}},{key:"handleMutation",value:function(O){"childList"===O.type&&(0,e.default)(O.addedNodes).filter(function(D){return D.nodeType===Node.ELEMENT_NODE}).filter(this.isInsignificantBranch).forEach(p)}},{key:"isInsignificantBranch",value:function(O){if((0,d.default)({context:O}).some(function(w){return"true"===w.getAttribute("aria-hidden")}))return!1;var M=(0,l.getParentComparator)({element:O});return!this._filter.some(M)}}]),v}();function y(){var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{disengage:new f({context:v.context,filter:v.filter}).disengage}}},2772: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/maintain/tab-focus.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=t( +/*! ../is/active-element */ +2327),r=t( +/*! ../query/tabsequence */ +8397),d=t( +/*! ../when/key */ +825);function n(){var o=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context;return o||(o=document.documentElement),(0,r.default)(),(0,d.default)({"?alt+?shift+tab":function(p){p.preventDefault();var u=(0,r.default)({context:o}),g=p.shiftKey,f=u[0],y=u[u.length-1],_=g?y:f;if((0,e.default)(g?f:y))_.focus();else{var O=void 0;u.some(function(w,S){return!!(0,e.default)(w)&&(O=S,!0)})?u[O+(g?-1:1)].focus():f.focus()}}})}},2867: +/*!*************************************************!*\ + !*** ./node_modules/ally.js/esm/map/keycode.js ***! + \*************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>u});for(var e={tab:9,left:37,up:38,right:39,down:40,pageUp:33,"page-up":33,pageDown:34,"page-down":34,end:35,home:36,enter:13,escape:27,space:32,shift:16,capsLock:20,"caps-lock":20,ctrl:17,alt:18,meta:91,pause:19,insert:45,delete:46,backspace:8,_alias:{91:[92,93,224]}},r=1;r<26;r++)e["f"+r]=r+111;for(var d=0;d<10;d++){var n=d+48,l=d+96;e[d]=n,e["num-"+d]=l,e._alias[n]=[l]}for(var o=0;o<26;o++){var s=o+65;e[String.fromCharCode(s).toLowerCase()]=s}const u=e},8539: +/*!**************************************************************!*\ + !*** ./node_modules/ally.js/esm/observe/shadow-mutations.js ***! + \**************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>u});var e=t( +/*! ../util/node-array */ +6072),r=t( +/*! ../query/shadow-hosts */ +8610),d=t( +/*! ../util/context-to-element */ +5547),n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(g){return typeof g}:function(g){return g&&"function"==typeof Symbol&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},l=function(){function g(f,y){for(var v=0;v 0&&void 0!==arguments[0]?arguments[0]:{},v=y.context,_=y.callback,O=y.config;(function o(g,f){if(!(g instanceof f))throw new TypeError("Cannot call a class as a function")})(this,g),this.config=O,this.disengage=this.disengage.bind(this),this.clientObserver=new MutationObserver(_),this.hostObserver=new MutationObserver(function(D){return D.forEach(f.handleHostMutation,f)}),this.observeContext(v),this.observeShadowHosts(v)}return l(g,[{key:"disengage",value:function(){this.clientObserver&&this.clientObserver.disconnect(),this.clientObserver=null,this.hostObserver&&this.hostObserver.disconnect(),this.hostObserver=null}},{key:"observeShadowHosts",value:function(y){var v=this;(0,r.default)({context:y}).forEach(function(O){return v.observeContext(O.shadowRoot)})}},{key:"observeContext",value:function(y){this.clientObserver.observe(y,this.config),this.hostObserver.observe(y,s)}},{key:"handleHostMutation",value:function(y){"childList"===y.type&&(0,e.default)(y.addedNodes).filter(function(_){return _.nodeType===Node.ELEMENT_NODE}).forEach(this.observeShadowHosts,this)}}]),g}();function u(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=g.context,y=g.callback,v=g.config;if("function"!=typeof y)throw new TypeError("observe/shadow-mutations requires options.callback to be a function");if("object"!==(typeof v>"u"?"undefined":n(v)))throw new TypeError("observe/shadow-mutations requires options.config to be an object");if(!window.MutationObserver)return{disengage:function(){}};var _=(0,d.default)({label:"observe/shadow-mutations",resolveDocument:!0,defaultToDocument:!0,context:f});return{disengage:new p({context:_,callback:y,config:v}).disengage}}},7327: +/*!*****************************************************!*\ + !*** ./node_modules/ally.js/esm/query/focusable.js ***! + \*****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ./focusable.strict */ +8569),d=t( +/*! ./focusable.quick */ +9113);function n(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=l.includeContext,p=l.includeOnlyTabbable,u=l.strategy,g=void 0===u?"quick":u,y={context:(0,e.default)({label:"query/focusable",resolveDocument:!0,defaultToDocument:!0,context:l.context}),includeContext:s,includeOnlyTabbable:p,strategy:g};if("quick"===g)return(0,d.default)(y);if("strict"===g||"all"===g)return(0,r.default)(y);throw new TypeError('query/focusable requires option.strategy to be one of ["quick", "strict", "all"]')}},9113: +/*!***********************************************************!*\ + !*** ./node_modules/ally.js/esm/query/focusable.quick.js ***! + \***********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ../selector/focusable */ +3525),r=t( +/*! ../is/focusable */ +490);function d(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.context,o=n.includeContext,s=n.includeOnlyTabbable,p=(0,e.default)(),u=l.querySelectorAll(p),g=r.default.rules.except({onlyTabbable:s}),f=[].filter.call(u,g);return o&&g(l)&&f.unshift(l),f}},8569: +/*!************************************************************!*\ + !*** ./node_modules/ally.js/esm/query/focusable.strict.js ***! + \************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>o});var e=t( +/*! ../is/focusable */ +490),r=t( +/*! ../is/focus-relevant */ +7347),d=t( +/*! ../util/get-document */ +4426);function n(s){var p=function(g){return g.shadowRoot||s(g)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};return p.acceptNode=p,p}var l=n(r.default);function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=s.context,u=s.includeContext,g=s.includeOnlyTabbable,f=s.strategy;p||(p=document.documentElement);for(var y=e.default.rules.except({onlyTabbable:g}),_=(0,d.default)(p).createTreeWalker(p,NodeFilter.SHOW_ELEMENT,"all"===f?l:n(y),!1),O=[];_.nextNode();)_.currentNode.shadowRoot?(y(_.currentNode)&&O.push(_.currentNode),O=O.concat(o({context:_.currentNode.shadowRoot,includeOnlyTabbable:g,strategy:f}))):O.push(_.currentNode);return u&&("all"===f?(0,r.default)(p)&&O.unshift(p):y(p)&&O.unshift(p)),O}},8610: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/query/shadow-hosts.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=t( +/*! ../util/context-to-element */ +5547),r=t( +/*! ../util/get-document */ +4426),d=function(o){return o.shadowRoot?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};function n(){var o=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context,s=(0,e.default)({label:"query/shadow-hosts",resolveDocument:!0,defaultToDocument:!0,context:o}),u=(0,r.default)(o).createTreeWalker(s,NodeFilter.SHOW_ELEMENT,d,!1),g=[];for(s.shadowRoot&&(g.push(s),g=g.concat(n({context:s.shadowRoot})));u.nextNode();)g.push(u.currentNode),g=g.concat(n({context:u.currentNode.shadowRoot}));return g}d.acceptNode=d},6694: +/*!****************************************************!*\ + !*** ./node_modules/ally.js/esm/query/tabbable.js ***! + \****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ./focusable */ +7327),r=t( +/*! ../is/tabbable */ +9130);function d(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.context,o=n.includeContext,s=n.includeOnlyTabbable,p=n.strategy,u=r.default.rules.except({onlyTabbable:s});return(0,e.default)({context:l,includeContext:o,includeOnlyTabbable:s,strategy:p}).filter(u)}},8397: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/query/tabsequence.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>f});var e=t( +/*! ./tabbable */ +6694),r=t( +/*! ../util/node-array */ +6072),d=t( +/*! ../util/platform */ +612),n=t( +/*! ./tabsequence.sort-area */ +7049),l=t( +/*! ./tabsequence.sort-shadowed */ +3311),o=t( +/*! ./tabsequence.sort-tabindex */ +9662),s=t( +/*! ../supports/supports */ +4569),p=void 0;function g(y,v){return p.tabsequenceAreaAtImgPosition&&(y=(0,n.default)(y,v)),(0,o.default)(y)}function f(){var y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=y.context,_=y.includeContext,O=y.includeOnlyTabbable,D=y.strategy;p||(p=(0,s.default)());var M=(0,r.default)(v)[0]||document.documentElement,w=(0,e.default)({context:M,includeContext:_,includeOnlyTabbable:O,strategy:D});return w=document.body.createShadowRoot&&d.default.is.BLINK?(0,l.default)(w,M,g):g(w,M),_&&(w=function u(y,v){var _=y.indexOf(v);return _>0?y.splice(_,1).concat(y):y}(w,M)),w}},7049: +/*!*****************************************************************!*\ + !*** ./node_modules/ally.js/esm/query/tabsequence.sort-area.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>p});var e=t( +/*! ./tabbable */ +6694),r=t( +/*! ../util/merge-dom-order */ +6273),d=t( +/*! ../util/get-document */ +4426),n=t( +/*! ../util/image-map */ +9250),l=function(){function u(g,f){for(var y=0;y {"use strict";t.r(C),t.d(C,{default:()=>s});var e=t( +/*! ../get/shadow-host */ +820),r=t( +/*! ../util/merge-dom-order */ +6273),d=t( +/*! ../util/tabindex-value */ +1149),n=function(){function p(u,g){for(var f=0;f -1?[g].concat(f):f}},{key:"_cleanup",value:function(){Object.keys(this.hosts).forEach(function(g){delete this.hosts[g]._sortingId},this)}}]),p}();function s(p,u,g){var f=new o(u,g),y=f.extractElements(p);return y.length===p.length?g(p):f.sort(y)}},9662: +/*!*********************************************************************!*\ + !*** ./node_modules/ally.js/esm/query/tabsequence.sort-tabindex.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ../util/tabindex-value */ +1149);function r(d){var n={},l=[],o=d.filter(function(p){var u=p.tabIndex;return void 0===u&&(u=(0,e.default)(p)),u<=0||null==u||(n[u]||(n[u]=[],l.push(u)),n[u].push(p),!1)});return l.sort().map(function(p){return n[p]}).reduceRight(function(p,u){return u.concat(p)},o)}},3525: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/selector/focusable.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>l});var e=t( +/*! ../util/select-in-shadows */ +6910),r=t( +/*! ../supports/supports */ +4569),d=void 0,n=void 0;function l(){return d||(d=(0,r.default)()),"string"==typeof n||(n=(0,e.default)(n=(d.focusTable?"table, td,":"")+(d.focusFieldset?"fieldset,":"")+"svg a,a[href],area[href],input, select, textarea, button,iframe, object, embed,keygen,"+(d.focusAudioWithoutControls?"audio,":"audio[controls],")+(d.focusVideoWithoutControls?"video,":"video[controls],")+(d.focusSummary?"summary,":"")+"[tabindex],[contenteditable]")),n}},2676: +/*!**********************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/css-shadow-piercing-deep-combinator.js ***! + \**********************************************************************************/(R,C,t)=>{"use strict";function e(){var r=void 0;try{document.querySelector("html >>> :first-child"),r=">>>"}catch{try{document.querySelector("html /deep/ :first-child"),r="/deep/"}catch{r=""}}return r}t.r(C),t.d(C,{default:()=>e})},5536: +/*!***********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/detect-focus.js ***! + \***********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>l});var e=t( +/*! ../util/platform */ +612);function l(o){var s=function r(){var o={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft},s=document.createElement("iframe");s.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;"),s.setAttribute("aria-live","off"),s.setAttribute("aria-busy","true"),s.setAttribute("aria-hidden","true"),document.body.appendChild(s);var p=s.contentWindow,u=p.document;u.open(),u.close();var g=u.createElement("div");return u.body.appendChild(g),o.iframe=s,o.wrapper=g,o.window=p,o.document=u,o}(),p={};return Object.keys(o).map(function(u){p[u]=function d(o,s){o.wrapper.innerHTML="";var p="string"==typeof s.element?o.document.createElement(s.element):s.element(o.wrapper,o.document),u=s.mutate&&s.mutate(p,o.wrapper,o.document);return!u&&!1!==u&&(u=p),!p.parentNode&&o.wrapper.appendChild(p),u&&u.focus&&u.focus(),s.validate?s.validate(p,u,o.document):o.document.activeElement===u}(s,o[u])}),function n(o){o.activeElement===document.body?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),e.default.is.IE10&&document.body.focus()):o.activeElement&&o.activeElement.focus&&o.activeElement.focus(),document.body.removeChild(o.iframe),window.scrollTop=o.windowScrollTop,window.scrollLeft=o.windowScrollLeft,document.body.scrollTop=o.bodyScrollTop,document.body.scrollLeft=o.bodyScrollLeft}(s),p}},5887: +/*!**********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-area-img-tabindex.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/gif */ +9709);const r={element:"div",mutate:function(n){return n.innerHTML='',n.querySelector("area")}}},2291: +/*!******************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-area-tabindex.js ***! + \******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ./media/gif */ +9709),r=t( +/*! ../util/platform */ +612);const d={element:"div",mutate:function(l){return l.innerHTML='',!1},validate:function(l,o,s){if(r.default.is.GECKO)return!0;var p=l.querySelector("area");return p.focus(),s.activeElement===p}}},805: +/*!**********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-area-without-href.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ./media/gif */ +9709),r=t( +/*! ../util/platform */ +612);const d={element:"div",mutate:function(l){return l.innerHTML='',l.querySelector("area")},validate:function(l,o,s){return!!r.default.is.GECKO||s.activeElement===o}}},314: +/*!***************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-audio-without-controls.js ***! + \***************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/mp3 */ +8863);const r={name:"can-focus-audio-without-controls",element:"audio",mutate:function(n){try{n.setAttribute("src",e.default)}catch{}}}},2562: +/*!*********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-broken-image-map.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/gif.invalid */ +4957);const r={element:"div",mutate:function(n){return n.innerHTML='',n.querySelector("area")}}},6680: +/*!**********************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-children-of-focusable-flexbox.js ***! + \**********************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"div",mutate:function(d){return d.setAttribute("tabindex","-1"),d.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),d.innerHTML='hello',d.querySelector("span")}}},6186: +/*!**********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-fieldset-disabled.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"fieldset",mutate:function(d){d.setAttribute("tabindex",0),d.setAttribute("disabled","disabled")}}},7563: +/*!*************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-fieldset.js ***! + \*************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"fieldset",mutate:function(d){d.innerHTML=" content
"}}},332: +/*!**********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-flexbox-container.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"span",mutate:function(d){d.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),d.innerHTML='hello'}}},6469: +/*!******************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-form-disabled.js ***! + \******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"form",mutate:function(d){d.setAttribute("tabindex",0),d.setAttribute("disabled","disabled")}}},2129: +/*!**************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-img-ismap.js ***! + \**************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/gif */ +9709);const r={element:"a",mutate:function(n){return n.href="#void",n.innerHTML='',n.querySelector("img")}}},4712: +/*!************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-img-usemap-tabindex.js ***! + \************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/gif */ +9709);const r={element:"div",mutate:function(n){return n.innerHTML='',n.querySelector("img")}}},2084: +/*!*********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-in-hidden-iframe.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:function(d,n){var l=n.createElement("iframe");d.appendChild(l);var o=l.contentWindow.document;return o.open(),o.close(),l},mutate:function(d){d.style.visibility="hidden";var n=d.contentWindow.document,l=n.createElement("input");return n.body.appendChild(l),l},validate:function(d){var n=d.contentWindow.document,l=n.querySelector("input");return n.activeElement===l}}},4560: +/*!*****************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-in-zero-dimension-object.js ***! + \*****************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var r=!t( +/*! ../util/platform */ +612).default.is.WEBKIT;function d(){return r}},2054: +/*!*********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-invalid-tabindex.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"div",mutate:function(d){d.setAttribute("tabindex","invalid-value")}}},927: +/*!*******************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-label-tabindex.js ***! + \*******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"label",mutate:function(d){d.setAttribute("tabindex","-1")},validate:function(d,n,l){return d.focus(),l.activeElement===d}}},9225: +/*!**********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-object-svg-hidden.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/svg */ +2436);const r={element:"object",mutate:function(n){n.setAttribute("type","image/svg+xml"),n.setAttribute("data",e.default),n.setAttribute("width","200"),n.setAttribute("height","50"),n.style.visibility="hidden"}}},5973: +/*!***************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-object-svg.js ***! + \***************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ./media/svg */ +2436),r=t( +/*! ../util/platform */ +612);const d={name:"can-focus-object-svg",element:"object",mutate:function(l){l.setAttribute("type","image/svg+xml"),l.setAttribute("data",e.default),l.setAttribute("width","200"),l.setAttribute("height","50")},validate:function(l,o,s){return!!r.default.is.GECKO||s.activeElement===l}}},3644: +/*!***************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-object-swf.js ***! + \***************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var r=!t( +/*! ../util/platform */ +612).default.is.IE9;function d(){return r}},4511: +/*!************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-redirect-img-usemap.js ***! + \************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/gif */ +9709);const r={element:"div",mutate:function(n){return n.innerHTML='',n.querySelector("img")},validate:function(n,l,o){var s=n.querySelector("area");return o.activeElement===s}}},3977: +/*!********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-redirect-legend.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"fieldset",mutate:function(d){return d.innerHTML='',!1},validate:function(d,n,l){var o=d.querySelector('input[tabindex="-1"]'),s=d.querySelector('input[tabindex="0"]');return d.focus(),d.querySelector("legend").focus(),(l.activeElement===o?"focusable":l.activeElement===s&&"tabbable")||""}}},2036: +/*!****************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-scroll-body.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"div",mutate:function(d){return d.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),d.innerHTML='scrollable content',d.querySelector("div")}}},1103: +/*!**************************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-scroll-container-without-overflow.js ***! + \**************************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"div",mutate:function(d){d.setAttribute("style","width: 100px; height: 50px;"),d.innerHTML='scrollable content'}}},1478: +/*!*********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-scroll-container.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"div",mutate:function(d){d.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),d.innerHTML='scrollable content'}}},3993: +/*!************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-summary.js ***! + \************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"details",mutate:function(d){return d.innerHTML="foo content
",d.firstElementChild}}},1058: +/*!****************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg-focusable-attribute.js ***! + \****************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./helper/svg */ +3139);const r={element:"div",mutate:function(n){return n.innerHTML=(0,e.generate)('a '),n.querySelector("text")},validate:e.validate}},6284: +/*!*******************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg-foreignobject-tabindex.js ***! + \*******************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./helper/svg */ +3139);const r={element:"div",mutate:function(n){return n.innerHTML=(0,e.generate)(''),n.querySelector("foreignObject")||n.getElementsByTagName("foreignObject")[0]},validate:e.validate}},8032: +/*!******************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg-in-iframe.js ***! + \******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var r=!!(t( +/*! ../util/platform */ +612).default.is.GECKO&&typeof SVGElement<"u"&&SVGElement.prototype.focus);function d(){return r}},2691: +/*!************************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg-negative-tabindex-attribute.js ***! + \************************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./helper/svg */ +3139);const r={element:"div",mutate:function(n){return n.innerHTML=(0,e.generate)(' a '),n.querySelector("text")},validate:e.validate}},7503: +/*!***************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg-tabindex-attribute.js ***! + \***************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./helper/svg */ +3139);const r={element:"div",mutate:function(n){return n.innerHTML=(0,e.generate)('a '),n.querySelector("text")},validate:e.validate}},7757: +/*!*********************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg-use-tabindex.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./helper/svg */ +3139);const r={element:"div",mutate:function(n){return n.innerHTML=(0,e.generate)(['',''].join("")),n.querySelector("use")},validate:e.validate}},1689: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-svg.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./helper/svg */ +3139);const r={element:"div",mutate:function(n){return n.innerHTML=(0,e.generate)(""),n.firstChild},validate:e.validate}},2880: +/*!*********************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-tabindex-trailing-characters.js ***! + \*********************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"div",mutate:function(d){d.setAttribute("tabindex","3x")}}},3459: +/*!**********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-table.js ***! + \**********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e={element:"table",mutate:function(d,n,l){var o=l.createDocumentFragment();o.innerHTML=" link ",d.appendChild(o)}}},9987: +/*!***************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/focus-video-without-controls.js ***! + \***************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./media/mp4 */ +5477);const r={element:"video",mutate:function(n){try{n.setAttribute("src",e.default)}catch{}}}},3139: +/*!*********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/helper/svg.js ***! + \*********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{focus:()=>d,generate:()=>r,validate:()=>n});var e=t( +/*! ../../element/focus.svg-foreign-object-hack */ +59);function r(l){return'"}function d(l){if(!l.focus)try{HTMLElement.prototype.focus.call(l)}catch{(0,e.default)(l)}}function n(l,o,s){return d(o),s.activeElement===o}},4957: +/*!****************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/media/gif.invalid.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"},9709: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/media/gif.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},8863: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/media/mp3.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});const r=t( +/*! ./gif */ +9709).default},5477: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/media/mp4.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});const r=t( +/*! ./gif */ +9709).default},2436: +/*!********************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/media/svg.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJzdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg=="},9759: +/*!*************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/supports-cache.js ***! + \*************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>s});var e=t( +/*! ../version */ +9291),n=typeof window<"u"&&window.navigator.userAgent||"",l="ally-supports-cache",o=function r(p){var u=void 0;try{u=(u=window.localStorage&&window.localStorage.getItem(p))?JSON.parse(u):{}}catch{u={}}return u}(l);(o.userAgent!==n||o.version!==e.default)&&(o={}),o.userAgent=n,o.version=e.default;const s={get:function(){return o},set:function(u){Object.keys(u).forEach(function(g){o[g]=u[g]}),o.time=(new Date).toISOString(),function d(p,u){if(document.hasFocus())try{window.localStorage&&window.localStorage.setItem(p,JSON.stringify(u))}catch{}else try{window.localStorage&&window.localStorage.removeItem(p)}catch{}}(l,o)}}},4569: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/supports.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>Pe});var e=t( +/*! ./detect-focus */ +5536),r=t( +/*! ./supports-cache */ +9759),d=t( +/*! ./css-shadow-piercing-deep-combinator */ +2676),n=t( +/*! ./focus-area-img-tabindex */ +5887),l=t( +/*! ./focus-area-tabindex */ +2291),o=t( +/*! ./focus-area-without-href */ +805),s=t( +/*! ./focus-audio-without-controls */ +314),p=t( +/*! ./focus-broken-image-map */ +2562),u=t( +/*! ./focus-children-of-focusable-flexbox */ +6680),g=t( +/*! ./focus-fieldset-disabled */ +6186),f=t( +/*! ./focus-fieldset */ +7563),y=t( +/*! ./focus-flexbox-container */ +332),v=t( +/*! ./focus-form-disabled */ +6469),_=t( +/*! ./focus-img-ismap */ +2129),O=t( +/*! ./focus-img-usemap-tabindex */ +4712),D=t( +/*! ./focus-in-hidden-iframe */ +2084),M=t( +/*! ./focus-in-zero-dimension-object */ +4560),w=t( +/*! ./focus-invalid-tabindex */ +2054),S=t( +/*! ./focus-label-tabindex */ +927),c=t( +/*! ./focus-object-svg-hidden */ +9225),B=t( +/*! ./focus-object-svg */ +5973),E=t( +/*! ./focus-object-swf */ +3644),h=t( +/*! ./focus-redirect-img-usemap */ +4511),b=t( +/*! ./focus-redirect-legend */ +3977),T=t( +/*! ./focus-scroll-body */ +2036),I=t( +/*! ./focus-scroll-container-without-overflow */ +1103),x=t( +/*! ./focus-scroll-container */ +1478),L=t( +/*! ./focus-summary */ +3993),j=t( +/*! ./focus-svg-focusable-attribute */ +1058),Q=t( +/*! ./focus-svg-tabindex-attribute */ +7503),q=t( +/*! ./focus-svg-negative-tabindex-attribute */ +2691),te=t( +/*! ./focus-svg-use-tabindex */ +7757),we=t( +/*! ./focus-svg-foreignobject-tabindex */ +6284),ie=t( +/*! ./focus-svg-in-iframe */ +8032),Ne=t( +/*! ./focus-svg */ +1689),G=t( +/*! ./focus-tabindex-trailing-characters */ +2880),X=t( +/*! ./focus-table */ +3459),H=t( +/*! ./focus-video-without-controls */ +9987),J=t( +/*! ./tabsequence-area-at-img-position */ +7841),me={cssShadowPiercingDeepCombinator:d.default,focusInZeroDimensionObject:M.default,focusObjectSwf:E.default,focusSvgInIframe:ie.default,tabsequenceAreaAtImgPosition:J.default},Me={focusAreaImgTabindex:n.default,focusAreaTabindex:l.default,focusAreaWithoutHref:o.default,focusAudioWithoutControls:s.default,focusBrokenImageMap:p.default,focusChildrenOfFocusableFlexbox:u.default,focusFieldsetDisabled:g.default,focusFieldset:f.default,focusFlexboxContainer:y.default,focusFormDisabled:v.default,focusImgIsmap:_.default,focusImgUsemapTabindex:O.default,focusInHiddenIframe:D.default,focusInvalidTabindex:w.default,focusLabelTabindex:S.default,focusObjectSvg:B.default,focusObjectSvgHidden:c.default,focusRedirectImgUsemap:h.default,focusRedirectLegend:b.default,focusScrollBody:T.default,focusScrollContainerWithoutOverflow:I.default,focusScrollContainer:x.default,focusSummary:L.default,focusSvgFocusableAttribute:j.default,focusSvgTabindexAttribute:Q.default,focusSvgNegativeTabindexAttribute:q.default,focusSvgUseTabindex:te.default,focusSvgForeignobjectTabindex:we.default,focusSvg:Ne.default,focusTabindexTrailingCharacters:G.default,focusTable:X.default,focusVideoWithoutControls:H.default},De=null;function Pe(){return De||((De=r.default.get()).time||(r.default.set(function ue(){var Le=(0,e.default)(Me);return Object.keys(me).forEach(function(pt){Le[pt]=me[pt]()}),Le}()),De=r.default.get()),De)}},7841: +/*!*******************************************************************************!*\ + !*** ./node_modules/ally.js/esm/supports/tabsequence-area-at-img-position.js ***! + \*******************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ../util/platform */ +612),r=e.default.is.GECKO||e.default.is.TRIDENT||e.default.is.EDGE;function d(){return r}},1760: +/*!***********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/array-find-index.js ***! + \***********************************************************/(R,C,t)=>{"use strict";function e(r,d){if(r.findIndex)return r.findIndex(d);var n=r.length;if(0===n)return-1;for(var l=0;l cell e})},1695: +/*!***********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/compare-position.js ***! + \***********************************************************/(R,C,t)=>{"use strict";function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=r.parent,n=r.element,l=r.includeSelf;if(d)return function(s){return!!(l&&s===d||d.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)};if(n)return function(s){return!!(l&&n===s||s.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)};throw new TypeError("util/compare-position#getParentComparator required either options.parent or options.element")}t.r(C),t.d(C,{getParentComparator:()=>e})},5547: +/*!*************************************************************!*\ + !*** ./node_modules/ally.js/esm/util/context-to-element.js ***! + \*************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ../util/node-array */ +6072);function r(d){var l=d.label,o=void 0===l?"context-to-element":l,s=d.resolveDocument,p=d.defaultToDocument,u=(0,e.default)(d.context)[0];if(s&&u&&u.nodeType===Node.DOCUMENT_NODE&&(u=u.documentElement),!u&&p)return document.documentElement;if(!u)throw new TypeError(o+" requires valid options.context");if(u.nodeType!==Node.ELEMENT_NODE&&u.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(o+" requires options.context to be an Element");return u}},1404: +/*!**********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/element-matches.js ***! + \**********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],r=null;function n(l,o){return r||function d(l){e.some(function(o){return!!l[o]&&(r=o,!0)})}(l),l[r](o)}},7099: +/*!***************************************************************!*\ + !*** ./node_modules/ally.js/esm/util/get-content-document.js ***! + \***************************************************************/(R,C,t)=>{"use strict";function e(r){try{return r.contentDocument||r.contentWindow&&r.contentWindow.document||r.getSVGDocument&&r.getSVGDocument()||null}catch{return null}}t.r(C),t.d(C,{default:()=>e})},4426: +/*!*******************************************************!*\ + !*** ./node_modules/ally.js/esm/util/get-document.js ***! + \*******************************************************/(R,C,t)=>{"use strict";function e(r){return r?r.nodeType===Node.DOCUMENT_NODE?r:r.ownerDocument||document:document}t.r(C),t.d(C,{default:()=>e})},3041: +/*!************************************************************!*\ + !*** ./node_modules/ally.js/esm/util/get-frame-element.js ***! + \************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>o});var e=t( +/*! ./get-content-document */ +7099),r=t( +/*! ./get-window */ +1190),d=t( +/*! ./select-in-shadows */ +6910),n=void 0;function o(s){var p=(0,r.default)(s);if(!p.parent||p.parent===p)return null;try{return p.frameElement||function l(s){if(n||(n=(0,d.default)("object, iframe")),void 0!==s._frameElement)return s._frameElement;s._frameElement=null;var p=s.parent.document.querySelectorAll(n);return[].some.call(p,function(u){return(0,e.default)(u)===s.document&&(s._frameElement=u,!0)}),s._frameElement}(p)}catch{return null}}},1190: +/*!*****************************************************!*\ + !*** ./node_modules/ally.js/esm/util/get-window.js ***! + \*****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ./get-document */ +4426);function r(d){return(0,e.default)(d).defaultView||window}},9250: +/*!****************************************************!*\ + !*** ./node_modules/ally.js/esm/util/image-map.js ***! + \****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{getImageOfArea:()=>o,getMapByName:()=>n,getMapOfImage:()=>l});var e=t( +/*! css.escape */ +9403),r=t.n(e),d=t( +/*! ../util/get-document */ +4426);function n(s,p){return p.querySelector('map[name="'+r()(s)+'"]')||null}function l(s){var p=s.getAttribute("usemap");if(!p)return null;var u=(0,d.default)(s);return n(p.slice(1),u)}function o(s){var p=s.parentElement;return p.name&&"map"===p.nodeName.toLowerCase()&&(0,d.default)(s).querySelector('img[usemap="#'+r()(p.name)+'"]')||null}},3429: +/*!*************************************************!*\ + !*** ./node_modules/ally.js/esm/util/logger.js ***! + \*************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=function(){};const d=typeof console<"u"?console:{log:e,debug:e,info:e,warn:e,error:e}},6273: +/*!**********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/merge-dom-order.js ***! + \**********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>s});var e=t( +/*! ../util/array-find-index */ +1760),r=t( +/*! ./node-array */ +6072),d=t( +/*! ./sort-dom-order */ +779);function s(){var p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=p.elements,f=p.resolveElement,y=p.list.slice(0),v=(0,r.default)(g).slice(0);return(0,d.default)(v),function o(p,u){var g=0;u.sort(function(f,y){return f.offset-y.offset}),u.forEach(function(f){var y=f.replace?1:0,v=[f.offset+g,y].concat(f.elements);p.splice.apply(p,v),g+=f.elements.length-y})}(y,function l(p,u,g){var f=[];return u.forEach(function(y){var v=!0,_=p.indexOf(y);-1===_&&(_=function n(p,u){return(0,e.default)(p,function(g){return u.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_FOLLOWING})}(p,y),v=!1),-1===_&&(_=p.length);var O=(0,r.default)(g?g(y):y);O.length&&f.push({offset:_,replace:v,elements:O})}),f}(y,v,f)),y}},6072: +/*!*****************************************************!*\ + !*** ./node_modules/ally.js/esm/util/node-array.js ***! + \*****************************************************/(R,C,t)=>{"use strict";function e(r){if(!r)return[];if(Array.isArray(r))return r;if(void 0!==r.nodeType)return[r];if("string"==typeof r&&(r=document.querySelectorAll(r)),void 0!==r.length)return[].slice.call(r,0);throw new TypeError("unexpected input "+String(r))}t.r(C),t.d(C,{default:()=>e})},612: +/*!***************************************************!*\ + !*** ./node_modules/ally.js/esm/util/platform.js ***! + \***************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>D});var e=t( +/*! platform */ +8861),d=JSON.parse(JSON.stringify(t.n(e)())),n=d.os.family||"",l="Android"===n,o="Windows"===n.slice(0,7),s="OS X"===n,p="iOS"===n,u="Blink"===d.layout,g="Gecko"===d.layout,f="Trident"===d.layout,y="EdgeHTML"===d.layout,v="WebKit"===d.layout,_=parseFloat(d.version),O=Math.floor(_);d.majorVersion=O,d.is={ANDROID:l,WINDOWS:o,OSX:s,IOS:p,BLINK:u,GECKO:g,TRIDENT:f,EDGE:y,WEBKIT:v,IE9:f&&9===O,IE10:f&&10===O,IE11:f&&11===O};const D=d},6910: +/*!************************************************************!*\ + !*** ./node_modules/ally.js/esm/util/select-in-shadows.js ***! + \************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ../supports/css-shadow-piercing-deep-combinator */ +2676),r=void 0;function d(n){if("string"!=typeof r){var l=(0,e.default)();l&&(r=", html "+l+" ")}return r?n+r+n.replace(/\s*,\s*/g,",").split(",").join(r):n}},779: +/*!*********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/sort-dom-order.js ***! + \*********************************************************/(R,C,t)=>{"use strict";function e(d,n){return d.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function r(d){return d.sort(e)}t.r(C),t.d(C,{default:()=>r})},1149: +/*!*********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/tabindex-value.js ***! + \*********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});var e=t( +/*! ../is/valid-tabindex */ +2429);function r(d){if(!(0,e.default)(d))return null;var n=d.hasAttribute("tabindex"),o=parseInt(d.getAttribute(n?"tabindex":"tabIndex"),10);return isNaN(o)?-1:o}},4656: +/*!*****************************************************************!*\ + !*** ./node_modules/ally.js/esm/util/toggle-attribute-value.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";function e(r){var d=r.element,n=r.attribute,l=r.temporaryValue,s="data-cached-"+n;if(void 0!==l){var p=r.saveValue||d.getAttribute(n);d.setAttribute(s,p||""),d.setAttribute(n,l)}else{var u=d.getAttribute(s);d.removeAttribute(s),""===u?d.removeAttribute(n):d.setAttribute(n,u)}}t.r(C),t.d(C,{default:()=>e})},7273: +/*!***********************************************************!*\ + !*** ./node_modules/ally.js/esm/util/toggle-attribute.js ***! + \***********************************************************/(R,C,t)=>{"use strict";function e(r){var d=r.element,n=r.attribute,l="data-cached-"+n;if(null===d.getAttribute(l)){var s=d.getAttribute(n);if(null===s)return;d.setAttribute(l,s||""),d.removeAttribute(n)}else{var p=d.getAttribute(l);d.removeAttribute(l),d.setAttribute(n,p)}}t.r(C),t.d(C,{default:()=>e})},9291: +/*!*********************************************!*\ + !*** ./node_modules/ally.js/esm/version.js ***! + \*********************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});const r="1.4.1"},5853: +/*!******************************************************!*\ + !*** ./node_modules/ally.js/esm/when/key.binding.js ***! + \******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>p});var e=t( +/*! ../map/keycode */ +2867),r={alt:"altKey",ctrl:"ctrlKey",meta:"metaKey",shift:"shiftKey"},d=Object.keys(r).map(function(u){return r[u]});function s(u,g){return!d.some(function(f){return"boolean"==typeof u[f]&&!!g[f]!==u[f]})}function p(u){return u.split(/\s+/).map(function(g){var f=g.split("+"),y=function l(u){var f=function n(u){var g=!!u&&null;return{altKey:g,ctrlKey:g,metaKey:g,shiftKey:g}}(-1!==u.indexOf("*"));return u.forEach(function(y){if("*"!==y){var v=!0,_=y.slice(0,1);"?"===_?v=null:"!"===_&&(v=!1),!0!==v&&(y=y.slice(1));var O=r[y];if(!O)throw new TypeError('Unknown modifier "'+y+'"');f[O]=v}}),f}(f.slice(0,-1)),v=function o(u){var g=e.default[u]||parseInt(u,10);if(!g||"number"!=typeof g||isNaN(g))throw new TypeError('Unknown key "'+u+'"');return[g].concat(e.default._alias[g]||[])}(f.slice(-1));return{keyCodes:v,modifiers:y,matchModifiers:s.bind(null,y)}})}},825: +/*!**********************************************!*\ + !*** ./node_modules/ally.js/esm/when/key.js ***! + \**********************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>n});var e=t( +/*! ./key.binding */ +5853),r=t( +/*! ../util/node-array */ +6072),d=t( +/*! ../util/compare-position */ +1695);function n(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o={},s=(0,r.default)(l.context)[0]||document.documentElement;delete l.context;var p=(0,r.default)(l.filter);delete l.filter;var u=Object.keys(l);if(!u.length)throw new TypeError("when/key requires at least one option key");var g=function(_){_.keyCodes.forEach(function(O){o[O]||(o[O]=[]),o[O].push(_)})};u.forEach(function(v){if("function"!=typeof l[v])throw new TypeError('when/key requires option["'+v+'"] to be a function');(0,e.default)(v).map(function(D){return D.callback=l[v],D}).forEach(g)});var f=function(_){if(!_.defaultPrevented){if(p.length){var O=(0,d.getParentComparator)({element:_.target,includeSelf:!0});if(p.some(O))return}var D=_.keyCode||_.which;o[D]&&o[D].forEach(function(M){M.matchModifiers(_)&&M.callback.call(s,_,y)})}};s.addEventListener("keydown",f,!1);var y=function(){s.removeEventListener("keydown",f,!1)};return{disengage:y}}},9403: +/*!***********************************************!*\ + !*** ./node_modules/css.escape/css.escape.js ***! + \***********************************************/function(R){var C;C=typeof global<"u"?global:this,R.exports=function(C){if(C.CSS&&C.CSS.escape)return C.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var l,r=String(e),d=r.length,n=-1,o="",s=r.charCodeAt(0);++n =1&&l<=31||127==l||0==n&&l>=48&&l<=57||1==n&&l>=48&&l<=57&&45==s?"\\"+l.toString(16)+" ":0==n&&1==d&&45==l||!(l>=128||45==l||95==l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122)?"\\"+r.charAt(n):r.charAt(n):o+="\ufffd";return o};return C.CSS||(C.CSS={}),C.CSS.escape=t,t}(C)},8861: +/*!*******************************************!*\ + !*** ./node_modules/platform/platform.js ***! + \*******************************************/function(R,C,t){var e;R=t.nmd(R),function(){"use strict";var r={function:!0,object:!0},d=r[typeof window]&&window||this,n=d,s=r[typeof C]&&C&&r.object&&R&&!R.nodeType&&R&&"object"==typeof global&&global;s&&(s.global===s||s.window===s||s.self===s)&&(d=s);var p=Math.pow(2,53)-1,u=/\bOpera/,g=this,f=Object.prototype,y=f.hasOwnProperty,v=f.toString;function _(I){return(I=String(I)).charAt(0).toUpperCase()+I.slice(1)}function M(I){return I=h(I),/^(?:webOS|i(?:OS|P))/.test(I)?I:_(I)}function w(I,x){for(var L in I)y.call(I,L)&&x(I[L],L,I)}function S(I){return null==I?_(I):v.call(I).slice(8,-1)}function c(I,x){var L=null!=I?typeof I[x]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(L)||"object"==L&&!I[x])}function B(I){return String(I).replace(/([ -])(?!$)/g,"$1?")}function E(I,x){var L=null;return function D(I,x){var L=-1,j=I?I.length:0;if("number"==typeof j&&j>-1&&j<=p)for(;++L 3?"WebKit":/\bOpera\b/.test(yt)&&(/\bOPR\b/.test(I)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(I)&&!/^(?:Trident|EdgeHTML)$/.test(ct)&&"WebKit"||!ct&&/\bMSIE\b/i.test(I)&&("Mac OS"==Y?"Tasman":"Trident")||"WebKit"==ct&&/\bPlayStation\b(?! Vita\b)/i.test(yt)&&"NetFront")&&(ct=[Le]),"IE"==yt&&(Le=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(I)||0)[1])?(yt+=" Mobile",Y="Windows Phone "+(/\+$/.test(Le)?Le:Le+".x"),it.unshift("desktop mode")):/\bWPDesktop\b/i.test(I)?(yt="IE Mobile",Y="Windows Phone 8.x",it.unshift("desktop mode"),pe||(pe=(/\brv:([\d.]+)/.exec(I)||0)[1])):"IE"!=yt&&"Trident"==ct&&(Le=/\brv:([\d.]+)/.exec(I))&&(yt&&it.push("identifying as "+yt+(pe?" "+pe:"")),yt="IE",pe=Le[1]),je){if(c(x,"global"))if(H&&(pt=(Le=H.lang.System).getProperty("os.arch"),Y=Y||Le.getProperty("os.name")+" "+Le.getProperty("os.version")),q&&c(x,"system")&&(Le=[x.system])[0]){Y||(Y=Le[0].os||null);try{Le[1]=x.require("ringo/engine").version,pe=Le[1].join("."),yt="RingoJS"}catch{Le[0].global.system==x.system&&(yt="Narwhal")}}else"object"==typeof x.process&&!x.process.browser&&(Le=x.process)?(yt="Node.js",pt=Le.arch,Y=Le.platform,pe=/[\d.]+/.exec(Le.version)[0]):J&&(yt="Rhino");else S(Le=x.runtime)==ie?(yt="Adobe AIR",Y=Le.flash.system.Capabilities.os):S(Le=x.phantom)==X?(yt="PhantomJS",pe=(Le=Le.version||null)&&Le.major+"."+Le.minor+"."+Le.patch):"number"==typeof ue.documentMode&&(Le=/\bTrident\/(\d+)/i.exec(I))&&((Le=+Le[1]+4)!=(pe=[pe,ue.documentMode])[1]&&(it.push("IE "+pe[1]+" mode"),ct&&(ct[1]=""),pe[1]=Le),pe="IE"==yt?String(pe[1].toFixed(1)):pe[0]);Y=Y&&M(Y)}pe&&(Le=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(pe)||/(?:alpha|beta)(?: ?\d)?/i.exec(I+";"+(je&&j.appMinorVersion))||/\bMinefield\b/i.test(I)&&"a")&&(ae=/b/i.test(Le)?"beta":"alpha",pe=pe.replace(RegExp(Le+"\\+?$"),"")+("beta"==ae?Me:me)+(/\d+\+?/.exec(Le)||"")),"Fennec"==yt||"Firefox"==yt&&/\b(?:Android|Firefox OS)\b/.test(Y)?yt="Firefox Mobile":"Maxthon"==yt&&pe?pe=pe.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(ve)?(Y=null,"Xbox 360"==ve&&/\bIEMobile\b/.test(I)&&it.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(yt)&&(!yt||ve||/Browser|Mobi/.test(yt))||"Windows CE"!=Y&&!/Mobi/i.test(I)?"IE"==yt&&je&&null===x.external?it.unshift("platform preview"):(/\bBlackBerry\b/.test(ve)||/\bBB10\b/.test(I))&&(Le=(RegExp(ve.replace(/ +/g," *")+"/([.\\d]+)","i").exec(I)||0)[1]||pe)?(Y=((Le=[Le,/BB10/.test(I)])[1]?(ve=null,Ae="BlackBerry"):"Device Software")+" "+Le[0],pe=null):this!=w&&"Wii"!=ve&&(je&&De||/Opera/.test(yt)&&/\b(?:MSIE|Firefox)\b/i.test(I)||"Firefox"==yt&&/\bOS X (?:\d+\.){2,}/.test(Y)||"IE"==yt&&(Y&&!/^Win/.test(Y)&&pe>5.5||/\bWindows XP\b/.test(Y)&&pe>8||8==pe&&!/\bTrident\b/.test(I)))&&!u.test(Le=b.call(w,I.replace(u,"")+";"))&&Le.name&&(Le="ing as "+Le.name+((Le=Le.version)?" "+Le:""),u.test(yt)?(/\bIE\b/.test(Le)&&"Mac OS"==Y&&(Y=null),Le="identify"+Le):(Le="mask"+Le,yt=Pe?M(Pe.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(Le)&&(Y=null),je||(pe=null)),ct=["Presto"],it.push(Le)):yt+=" Mobile",(Le=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(I)||0)[1])&&(Le=[parseFloat(Le.replace(/\.(\d)$/,".0$1")),Le],"Safari"==yt&&"+"==Le[1].slice(-1)?(yt="WebKit Nightly",ae="alpha",pe=Le[1].slice(0,-1)):(pe==Le[1]||pe==(Le[2]=(/\bSafari\/([\d.]+\+?)/i.exec(I)||0)[1]))&&(pe=null),Le[1]=(/\bChrome\/([\d.]+)/i.exec(I)||0)[1],537.36==Le[0]&&537.36==Le[2]&&parseFloat(Le[1])>=28&&"WebKit"==ct&&(ct=["Blink"]),je&&(te||Le[1])?(ct&&(ct[1]="like Chrome"),Le=Le[1]||((Le=Le[0])<530?1:Le<532?2:Le<532.05?3:Le<533?4:Le<534.03?5:Le<534.07?6:Le<534.1?7:Le<534.13?8:Le<534.16?9:Le<534.24?10:Le<534.3?11:Le<535.01?12:Le<535.02?"13+":Le<535.07?15:Le<535.11?16:Le<535.19?17:Le<536.05?18:Le<536.1?19:Le<537.01?20:Le<537.11?"21+":Le<537.13?23:Le<537.18?24:Le<537.24?25:Le<537.36?26:"Blink"!=ct?"27":"28")):(ct&&(ct[1]="like Safari"),Le=(Le=Le[0])<400?1:Le<500?2:Le<526?3:Le<533?4:Le<534?"4+":Le<535?5:Le<537?6:Le<538?7:Le<601?8:"8"),ct&&(ct[1]+=" "+(Le+="number"==typeof Le?".x":/[.+]/.test(Le)?"":"+")),"Safari"==yt&&(!pe||parseInt(pe)>45)&&(pe=Le)),"Opera"==yt&&(Le=/\bzbov|zvav$/.exec(Y))?(yt+=" ",it.unshift("desktop mode"),"zvav"==Le?(yt+="Mini",pe=null):yt+="Mobile",Y=Y.replace(RegExp(" *"+Le+"$"),"")):"Safari"==yt&&/\bChrome\b/.exec(ct&&ct[1])&&(it.unshift("desktop mode"),yt="Chrome Mobile",pe=null,/\bOS X\b/.test(Y)?(Ae="Apple",Y="iOS 4.3+"):Y=null),pe&&0==pe.indexOf(Le=/[\d.]+$/.exec(Y))&&I.indexOf("/"+Le+"-")>-1&&(Y=h(Y.replace(Le,""))),ct&&!/\b(?:Avant|Nook)\b/.test(yt)&&(/Browser|Lunascape|Maxthon/.test(yt)||"Safari"!=yt&&/^iOS/.test(Y)&&/\bSafari\b/.test(ct[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(yt)&&ct[1])&&(Le=ct[ct.length-1])&&it.push(Le),it.length&&(it=["("+it.join("; ")+")"]),Ae&&ve&&ve.indexOf(Ae)<0&&it.push("on "+Ae),ve&&it.push((/^on /.test(it[it.length-1])?"":"on ")+ve),Y&&(Le=/ ([\d.+]+)$/.exec(Y),Ge=Le&&"/"==Y.charAt(Y.length-Le[0].length-1),Y={architecture:32,family:Le&&!Ge?Y.replace(Le[0],""):Y,version:Le?Le[1]:null,toString:function(){var Ce=this.version;return this.family+(Ce&&!Ge?" "+Ce:"")+(64==this.architecture?" 64-bit":"")}}),(Le=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(pt))&&!/\bi686\b/i.test(pt)?(Y&&(Y.architecture=64,Y.family=Y.family.replace(RegExp(" *"+Le),"")),yt&&(/\bWOW64\b/i.test(I)||je&&/\w(?:86|32)$/.test(j.cpuClass||j.platform)&&!/\bWin64; x64\b/i.test(I))&&it.unshift("32-bit")):Y&&/^OS X/.test(Y.family)&&"Chrome"==yt&&parseFloat(pe)>=39&&(Y.architecture=64),I||(I=null);var Ie={};return Ie.description=I,Ie.layout=ct&&ct[0],Ie.manufacturer=Ae,Ie.name=yt,Ie.prerelease=ae,Ie.product=ve,Ie.ua=I,Ie.version=yt&&pe,Ie.os=Y||{architecture:null,family:null,version:null,toString:function(){return"null"}},Ie.parse=b,Ie.toString=function fe(){return this.description||""},Ie.version&&it.unshift(pe),Ie.name&&it.unshift(yt),Y&&yt&&!(Y==String(Y).split(" ")[0]&&(Y==yt.split(" ")[0]||ve))&&it.push(ve?"("+Y+")":"on "+Y),it.length&&(Ie.description=it.join(" ")),Ie}();d.platform=T,void 0!==(e=function(){return T}.call(C,t,C,R))&&(R.exports=e)}.call(this)},7550: +/*!**************************************************!*\ + !*** ./node_modules/reflect-metadata/Reflect.js ***! + \**************************************************/()=>{var R,C;C=R||(R={}),function(t){var e="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),r=d(C);function d(n,l){return function(o,s){"function"!=typeof n[o]&&Object.defineProperty(n,o,{configurable:!0,writable:!0,value:s}),l&&l(o,s)}}typeof e.Reflect>"u"?e.Reflect=C:r=d(e.Reflect,r),function(t){var e=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,d=r&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",n=r&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",l="function"==typeof Object.create,o={__proto__:[]}instanceof Array,s=!l&&!o,p={create:l?function(){return k(Object.create(null))}:o?function(){return k({__proto__:null})}:function(){return k({})},has:s?function(le,re){return e.call(le,re)}:function(le,re){return re in le},get:s?function(le,re){return e.call(le,re)?le[re]:void 0}:function(le,re){return le[re]}},u=Object.getPrototypeOf(Function),g="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,f=g||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function Ae(){var le={},re=[],ye=function(){function Ce(Oe,Ye,ht){this._index=0,this._keys=Oe,this._values=Ye,this._selector=ht}return Ce.prototype["@@iterator"]=function(){return this},Ce.prototype[n]=function(){return this},Ce.prototype.next=function(){var Oe=this._index;if(Oe>=0&&Oe =this._keys.length?(this._index=-1,this._keys=re,this._values=re):this._index++,{value:Ye,done:!1}}return{value:void 0,done:!0}},Ce.prototype.throw=function(Oe){throw this._index>=0&&(this._index=-1,this._keys=re,this._values=re),Oe},Ce.prototype.return=function(Oe){return this._index>=0&&(this._index=-1,this._keys=re,this._values=re),{value:Oe,done:!0}},Ce}();return function(){function Ce(){this._keys=[],this._values=[],this._cacheKey=le,this._cacheIndex=-2}return Object.defineProperty(Ce.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Ce.prototype.has=function(Oe){return this._find(Oe,!1)>=0},Ce.prototype.get=function(Oe){var Ye=this._find(Oe,!1);return Ye>=0?this._values[Ye]:void 0},Ce.prototype.set=function(Oe,Ye){var ht=this._find(Oe,!0);return this._values[ht]=Ye,this},Ce.prototype.delete=function(Oe){var Ye=this._find(Oe,!1);if(Ye>=0){for(var ht=this._keys.length,Mt=Ye+1;Mt =0;--ye){var fe=(0,le[ye])(re);if(!G(fe)&&!X(fe)){if(!it(fe))throw new TypeError;re=fe}}return re}(le,re)}if(!Le(le))throw new TypeError;if(!J(re))throw new TypeError;if(!J(se)&&!G(se)&&!X(se))throw new TypeError;return X(se)&&(se=void 0),function I(le,re,ye,se){for(var fe=le.length-1;fe>=0;--fe){var Ce=(0,le[fe])(re,ye,se);if(!G(Ce)&&!X(Ce)){if(!J(Ce))throw new TypeError;se=Ce}}return se}(le,re,ye=Pe(ye),se)}),t("metadata",function D(le,re){return function ye(se,fe){if(!J(se))throw new TypeError;if(!G(fe)&&!function ae(le){switch(Ne(le)){case 3:case 4:return!0;default:return!1}}(fe))throw new TypeError;te(le,re,se,fe)}}),t("defineMetadata",function M(le,re,ye,se){if(!J(ye))throw new TypeError;return G(se)||(se=Pe(se)),te(le,re,ye,se)}),t("hasMetadata",function w(le,re,ye){if(!J(re))throw new TypeError;return G(ye)||(ye=Pe(ye)),L(le,re,ye)}),t("hasOwnMetadata",function S(le,re,ye){if(!J(re))throw new TypeError;return G(ye)||(ye=Pe(ye)),j(le,re,ye)}),t("getMetadata",function c(le,re,ye){if(!J(re))throw new TypeError;return G(ye)||(ye=Pe(ye)),Q(le,re,ye)}),t("getOwnMetadata",function B(le,re,ye){if(!J(re))throw new TypeError;return G(ye)||(ye=Pe(ye)),q(le,re,ye)}),t("getMetadataKeys",function E(le,re){if(!J(le))throw new TypeError;return G(re)||(re=Pe(re)),we(le,re)}),t("getOwnMetadataKeys",function h(le,re){if(!J(le))throw new TypeError;return G(re)||(re=Pe(re)),ie(le,re)}),t("deleteMetadata",function b(le,re,ye){if(!J(re))throw new TypeError;G(ye)||(ye=Pe(ye));var se=x(re,ye,!1);if(G(se)||!se.delete(le))return!1;if(se.size>0)return!0;var fe=_.get(re);return fe.delete(ye),fe.size>0||_.delete(re),!0})}(r)}()},462: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{BehaviorSubject:()=>d});var e=t( +/*! ./Subject */ +2484),r=t( +/*! ./util/ObjectUnsubscribedError */ +6950);class d extends e.Subject{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const o=super._subscribe(l);return o&&!o.closed&&l.next(this._value),o}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.ObjectUnsubscribedError;return this._value}next(l){super.next(this._value=l)}}},7618: +/*!*************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Notification.js ***! + \*************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{Notification:()=>l,NotificationKind:()=>n});var n,o,e=t( +/*! ./observable/empty */ +506),r=t( +/*! ./observable/of */ +9681),d=t( +/*! ./observable/throwError */ +3994);(o=n||(n={})).NEXT="N",o.ERROR="E",o.COMPLETE="C";class l{constructor(s,p,u){this.kind=s,this.value=p,this.error=u,this.hasValue="N"===s}observe(s){switch(this.kind){case"N":return s.next&&s.next(this.value);case"E":return s.error&&s.error(this.error);case"C":return s.complete&&s.complete()}}do(s,p,u){switch(this.kind){case"N":return s&&s(this.value);case"E":return p&&p(this.error);case"C":return u&&u()}}accept(s,p,u){return s&&"function"==typeof s.next?this.observe(s):this.do(s,p,u)}toObservable(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,d.throwError)(this.error);case"C":return(0,e.empty)()}throw new Error("unexpected notification kind value")}static createNext(s){return typeof s<"u"?new l("N",s):l.undefinedValueNotification}static createError(s){return new l("E",void 0,s)}static createComplete(){return l.completeNotification}}l.completeNotification=new l("C"),l.undefinedValueNotification=new l("N",void 0)},3064: +/*!***********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Observable.js ***! + \***********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{Observable:()=>o});var e=t( +/*! ./util/canReportError */ +3159),r=t( +/*! ./util/toSubscriber */ +6920),d=t( +/*! ./symbol/observable */ +5129),n=t( +/*! ./util/pipe */ +7734),l=t( +/*! ./config */ +7329);class o{constructor(u){this._isScalar=!1,u&&(this._subscribe=u)}lift(u){const g=new o;return g.source=this,g.operator=u,g}subscribe(u,g,f){const{operator:y}=this,v=(0,r.toSubscriber)(u,g,f);if(v.add(y?y.call(v,this.source):this.source||l.config.useDeprecatedSynchronousErrorHandling&&!v.syncErrorThrowable?this._subscribe(v):this._trySubscribe(v)),l.config.useDeprecatedSynchronousErrorHandling&&v.syncErrorThrowable&&(v.syncErrorThrowable=!1,v.syncErrorThrown))throw v.syncErrorValue;return v}_trySubscribe(u){try{return this._subscribe(u)}catch(g){l.config.useDeprecatedSynchronousErrorHandling&&(u.syncErrorThrown=!0,u.syncErrorValue=g),(0,e.canReportError)(u)?u.error(g):console.warn(g)}}forEach(u,g){return new(g=s(g))((f,y)=>{let v;v=this.subscribe(_=>{try{u(_)}catch(O){y(O),v&&v.unsubscribe()}},y,f)})}_subscribe(u){const{source:g}=this;return g&&g.subscribe(u)}[d.observable](){return this}pipe(...u){return 0===u.length?this:(0,n.pipeFromArray)(u)(this)}toPromise(u){return new(u=s(u))((g,f)=>{let y;this.subscribe(v=>y=v,v=>f(v),()=>g(y))})}}function s(p){if(p||(p=l.config.Promise||Promise),!p)throw new Error("no Promise impl found");return p}o.create=p=>new o(p)},6195: +/*!*********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Observer.js ***! + \*********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{empty:()=>d});var e=t( +/*! ./config */ +7329),r=t( +/*! ./util/hostReportError */ +8722);const d={closed:!0,next(n){},error(n){if(e.config.useDeprecatedSynchronousErrorHandling)throw n;(0,r.hostReportError)(n)},complete(){}}},6309: +/*!**************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/ReplaySubject.js ***! + \**************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ReplaySubject:()=>s});var e=t( +/*! ./Subject */ +2484),r=t( +/*! ./scheduler/queue */ +6948),d=t( +/*! ./Subscription */ +4614),n=t( +/*! ./operators/observeOn */ +8892),l=t( +/*! ./util/ObjectUnsubscribedError */ +6950),o=t( +/*! ./SubjectSubscription */ +1460);class s extends e.Subject{constructor(g=Number.POSITIVE_INFINITY,f=Number.POSITIVE_INFINITY,y){super(),this.scheduler=y,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=g<1?1:g,this._windowTime=f<1?1:f,f===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(g){if(!this.isStopped){const f=this._events;f.push(g),f.length>this._bufferSize&&f.shift()}super.next(g)}nextTimeWindow(g){this.isStopped||(this._events.push(new p(this._getNow(),g)),this._trimBufferThenGetEvents()),super.next(g)}_subscribe(g){const f=this._infiniteTimeWindow,y=f?this._events:this._trimBufferThenGetEvents(),v=this.scheduler,_=y.length;let O;if(this.closed)throw new l.ObjectUnsubscribedError;if(this.isStopped||this.hasError?O=d.Subscription.EMPTY:(this.observers.push(g),O=new o.SubjectSubscription(this,g)),v&&g.add(g=new n.ObserveOnSubscriber(g,v)),f)for(let D=0;D<_&&!g.closed;D++)g.next(y[D]);else for(let D=0;D<_&&!g.closed;D++)g.next(y[D].value);return this.hasError?g.error(this.thrownError):this.isStopped&&g.complete(),O}_getNow(){return(this.scheduler||r.queue).now()}_trimBufferThenGetEvents(){const g=this._getNow(),f=this._bufferSize,y=this._windowTime,v=this._events,_=v.length;let O=0;for(;O<_&&!(g-v[O].time f&&(O=Math.max(O,_-f)),O>0&&v.splice(0,O),v}}class p{constructor(g,f){this.time=g,this.value=f}}},7792: +/*!**********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Scheduler.js ***! + \**********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{Scheduler:()=>e});class e{constructor(d,n=e.now){this.SchedulerAction=d,this.now=n}schedule(d,n=0,l){return new this.SchedulerAction(this,d).schedule(l,n)}}e.now=()=>Date.now()},2484: +/*!********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Subject.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{AnonymousSubject:()=>u,Subject:()=>p,SubjectSubscriber:()=>s});var e=t( +/*! ./Observable */ +3064),r=t( +/*! ./Subscriber */ +5142),d=t( +/*! ./Subscription */ +4614),n=t( +/*! ./util/ObjectUnsubscribedError */ +6950),l=t( +/*! ./SubjectSubscription */ +1460),o=t( +/*! ../internal/symbol/rxSubscriber */ +1999);class s extends r.Subscriber{constructor(f){super(f),this.destination=f}}class p extends e.Observable{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[o.rxSubscriber](){return new s(this)}lift(f){const y=new u(this,this);return y.operator=f,y}next(f){if(this.closed)throw new n.ObjectUnsubscribedError;if(!this.isStopped){const{observers:y}=this,v=y.length,_=y.slice();for(let O=0;O new u(g,f);class u extends p{constructor(f,y){super(),this.destination=f,this.source=y}next(f){const{destination:y}=this;y&&y.next&&y.next(f)}error(f){const{destination:y}=this;y&&y.error&&this.destination.error(f)}complete(){const{destination:f}=this;f&&f.complete&&this.destination.complete()}_subscribe(f){const{source:y}=this;return y?this.source.subscribe(f):d.Subscription.EMPTY}}},1460: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{SubjectSubscription:()=>r});var e=t( +/*! ./Subscription */ +4614);class r extends e.Subscription{constructor(n,l){super(),this.subject=n,this.subscriber=l,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,l=n.observers;if(this.subject=null,!l||0===l.length||n.isStopped||n.closed)return;const o=l.indexOf(this.subscriber);-1!==o&&l.splice(o,1)}}},5142: +/*!***********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Subscriber.js ***! + \***********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{SafeSubscriber:()=>p,Subscriber:()=>s});var e=t( +/*! ./util/isFunction */ +5251),r=t( +/*! ./Observer */ +6195),d=t( +/*! ./Subscription */ +4614),n=t( +/*! ../internal/symbol/rxSubscriber */ +1999),l=t( +/*! ./config */ +7329),o=t( +/*! ./util/hostReportError */ +8722);class s extends d.Subscription{constructor(g,f,y){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.empty;break;case 1:if(!g){this.destination=r.empty;break}if("object"==typeof g){g instanceof s?(this.syncErrorThrowable=g.syncErrorThrowable,this.destination=g,g.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,g));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,g,f,y)}}[n.rxSubscriber](){return this}static create(g,f,y){const v=new s(g,f,y);return v.syncErrorThrowable=!1,v}next(g){this.isStopped||this._next(g)}error(g){this.isStopped||(this.isStopped=!0,this._error(g))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(g){this.destination.next(g)}_error(g){this.destination.error(g),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:g}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=g,this}}class p extends s{constructor(g,f,y,v){super(),this._parentSubscriber=g;let _,O=this;(0,e.isFunction)(f)?_=f:f&&(_=f.next,y=f.error,v=f.complete,f!==r.empty&&(O=Object.create(f),(0,e.isFunction)(O.unsubscribe)&&this.add(O.unsubscribe.bind(O)),O.unsubscribe=this.unsubscribe.bind(this))),this._context=O,this._next=_,this._error=y,this._complete=v}next(g){if(!this.isStopped&&this._next){const{_parentSubscriber:f}=this;l.config.useDeprecatedSynchronousErrorHandling&&f.syncErrorThrowable?this.__tryOrSetError(f,this._next,g)&&this.unsubscribe():this.__tryOrUnsub(this._next,g)}}error(g){if(!this.isStopped){const{_parentSubscriber:f}=this,{useDeprecatedSynchronousErrorHandling:y}=l.config;if(this._error)y&&f.syncErrorThrowable?(this.__tryOrSetError(f,this._error,g),this.unsubscribe()):(this.__tryOrUnsub(this._error,g),this.unsubscribe());else if(f.syncErrorThrowable)y?(f.syncErrorValue=g,f.syncErrorThrown=!0):(0,o.hostReportError)(g),this.unsubscribe();else{if(this.unsubscribe(),y)throw g;(0,o.hostReportError)(g)}}}complete(){if(!this.isStopped){const{_parentSubscriber:g}=this;if(this._complete){const f=()=>this._complete.call(this._context);l.config.useDeprecatedSynchronousErrorHandling&&g.syncErrorThrowable?(this.__tryOrSetError(g,f),this.unsubscribe()):(this.__tryOrUnsub(f),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(g,f){try{g.call(this._context,f)}catch(y){if(this.unsubscribe(),l.config.useDeprecatedSynchronousErrorHandling)throw y;(0,o.hostReportError)(y)}}__tryOrSetError(g,f,y){if(!l.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{f.call(this._context,y)}catch(v){return l.config.useDeprecatedSynchronousErrorHandling?(g.syncErrorValue=v,g.syncErrorThrown=!0,!0):((0,o.hostReportError)(v),!0)}return!1}_unsubscribe(){const{_parentSubscriber:g}=this;this._context=null,this._parentSubscriber=null,g.unsubscribe()}}},4614: +/*!*************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/Subscription.js ***! + \*************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{Subscription:()=>l});var s,e=t( +/*! ./util/isArray */ +7264),r=t( +/*! ./util/isObject */ +7560),d=t( +/*! ./util/isFunction */ +5251),n=t( +/*! ./util/UnsubscriptionError */ +9164);class l{constructor(p){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,p&&(this._ctorUnsubscribe=!0,this._unsubscribe=p)}unsubscribe(){let p;if(this.closed)return;let{_parentOrParents:u,_ctorUnsubscribe:g,_unsubscribe:f,_subscriptions:y}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof l)u.remove(this);else if(null!==u)for(let v=0;v p.concat(u instanceof n.UnsubscriptionError?u.errors:u),[])}l.EMPTY=((s=new l).closed=!0,s)},7329: +/*!*******************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/config.js ***! + \*******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{config:()=>r});let e=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(d){if(d){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else e&&console.log("RxJS: Back to a better error behavior. Thank you. <3");e=d},get useDeprecatedSynchronousErrorHandling(){return e}}},6241: +/*!***************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/innerSubscribe.js ***! + \***************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ComplexInnerSubscriber:()=>l,ComplexOuterSubscriber:()=>s,SimpleInnerSubscriber:()=>n,SimpleOuterSubscriber:()=>o,innerSubscribe:()=>p});var e=t( +/*! ./Subscriber */ +5142),r=t( +/*! ./Observable */ +3064),d=t( +/*! ./util/subscribeTo */ +3787);class n extends e.Subscriber{constructor(g){super(),this.parent=g}_next(g){this.parent.notifyNext(g)}_error(g){this.parent.notifyError(g),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class l extends e.Subscriber{constructor(g,f,y){super(),this.parent=g,this.outerValue=f,this.outerIndex=y}_next(g){this.parent.notifyNext(this.outerValue,g,this.outerIndex,this)}_error(g){this.parent.notifyError(g),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}class o extends e.Subscriber{notifyNext(g){this.destination.next(g)}notifyError(g){this.destination.error(g)}notifyComplete(){this.destination.complete()}}class s extends e.Subscriber{notifyNext(g,f,y,v){this.destination.next(f)}notifyError(g){this.destination.error(g)}notifyComplete(g){this.destination.complete()}}function p(u,g){if(g.closed)return;if(u instanceof r.Observable)return u.subscribe(g);let f;try{f=(0,d.subscribeTo)(u)(g)}catch(y){g.error(y)}return f}},9148: +/*!*********************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js ***! + \*********************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ConnectableObservable:()=>o,connectableObservableDescriptor:()=>s});var e=t( +/*! ../Subject */ +2484),r=t( +/*! ../Observable */ +3064),n=(t( +/*! ../Subscriber */ +5142),t( +/*! ../Subscription */ +4614)),l=t( +/*! ../operators/refCount */ +6159);class o extends r.Observable{constructor(y,v){super(),this.source=y,this.subjectFactory=v,this._refCount=0,this._isComplete=!1}_subscribe(y){return this.getSubject().subscribe(y)}getSubject(){const y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let y=this._connection;return y||(this._isComplete=!1,y=this._connection=new n.Subscription,y.add(this.source.subscribe(new p(this.getSubject(),this))),y.closed&&(this._connection=null,y=n.Subscription.EMPTY)),y}refCount(){return(0,l.refCount)()(this)}}const s=(()=>{const f=o.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.refCount}}})();class p extends e.SubjectSubscriber{constructor(y,v){super(y),this.connectable=v}_error(y){this._unsubscribe(),super._error(y)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const y=this.connectable;if(y){this.connectable=null;const v=y._connection;y._refCount=0,y._subject=null,y._connection=null,v&&v.unsubscribe()}}}},506: +/*!*****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/empty.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{EMPTY:()=>r,empty:()=>d});var e=t( +/*! ../Observable */ +3064);const r=new e.Observable(l=>l.complete());function d(l){return l?function n(l){return new e.Observable(o=>l.schedule(()=>o.complete()))}(l):r}},2130: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{forkJoin:()=>o});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../util/isArray */ +7264),d=t( +/*! ../operators/map */ +7422),n=t( +/*! ../util/isObject */ +7560),l=t( +/*! ./from */ +502);function o(...p){if(1===p.length){const u=p[0];if((0,r.isArray)(u))return s(u,null);if((0,n.isObject)(u)&&Object.getPrototypeOf(u)===Object.prototype){const g=Object.keys(u);return s(g.map(f=>u[f]),g)}}if("function"==typeof p[p.length-1]){const u=p.pop();return s(p=1===p.length&&(0,r.isArray)(p[0])?p[0]:p,null).pipe((0,d.map)(g=>u(...g)))}return s(p,null)}function s(p,u){return new e.Observable(g=>{const f=p.length;if(0===f)return void g.complete();const y=new Array(f);let v=0,_=0;for(let O=0;O {M||(M=!0,_++),y[O]=w},error:w=>g.error(w),complete:()=>{v++,(v===f||!M)&&(_===f&&g.next(u?u.reduce((w,S,c)=>(w[S]=y[c],w),{}):y),g.complete())}}))}})}},502: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/from.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{from:()=>n});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../util/subscribeTo */ +3787),d=t( +/*! ../scheduled/scheduled */ +6340);function n(l,o){return o?(0,d.scheduled)(l,o):l instanceof e.Observable?l:new e.Observable((0,r.subscribeTo)(l))}},1155: +/*!*********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/fromArray.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{fromArray:()=>n});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../util/subscribeToArray */ +4491),d=t( +/*! ../scheduled/scheduleArray */ +8577);function n(l,o){return o?(0,d.scheduleArray)(l,o):new e.Observable((0,r.subscribeToArray)(l))}},3190: +/*!*********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{fromEvent:()=>o});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../util/isArray */ +7264),d=t( +/*! ../util/isFunction */ +5251),n=t( +/*! ../operators/map */ +7422);function o(f,y,v,_){return(0,d.isFunction)(v)&&(_=v,v=void 0),_?o(f,y,v).pipe((0,n.map)(O=>(0,r.isArray)(O)?_(...O):_(O))):new e.Observable(O=>{s(f,y,function D(M){O.next(arguments.length>1?Array.prototype.slice.call(arguments):M)},O,v)})}function s(f,y,v,_,O){let D;if(function g(f){return f&&"function"==typeof f.addEventListener&&"function"==typeof f.removeEventListener}(f)){const M=f;f.addEventListener(y,v,O),D=()=>M.removeEventListener(y,v,O)}else if(function u(f){return f&&"function"==typeof f.on&&"function"==typeof f.off}(f)){const M=f;f.on(y,v),D=()=>M.off(y,v)}else if(function p(f){return f&&"function"==typeof f.addListener&&"function"==typeof f.removeListener}(f)){const M=f;f.addListener(y,v),D=()=>M.removeListener(y,v)}else{if(!f||!f.length)throw new TypeError("Invalid event target");for(let M=0,w=f.length;M {"use strict";t.r(C),t.d(C,{merge:()=>l});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../util/isScheduler */ +9054),d=t( +/*! ../operators/mergeAll */ +2600),n=t( +/*! ./fromArray */ +1155);function l(...o){let s=Number.POSITIVE_INFINITY,p=null,u=o[o.length-1];return(0,r.isScheduler)(u)?(p=o.pop(),o.length>1&&"number"==typeof o[o.length-1]&&(s=o.pop())):"number"==typeof u&&(s=o.pop()),null===p&&1===o.length&&o[0]instanceof e.Observable?o[0]:(0,d.mergeAll)(s)((0,n.fromArray)(o,p))}},9681: +/*!**************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/of.js ***! + \**************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{of:()=>n});var e=t( +/*! ../util/isScheduler */ +9054),r=t( +/*! ./fromArray */ +1155),d=t( +/*! ../scheduled/scheduleArray */ +8577);function n(...l){let o=l[l.length-1];return(0,e.isScheduler)(o)?(l.pop(),(0,d.scheduleArray)(l,o)):(0,r.fromArray)(l)}},3994: +/*!**********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/observable/throwError.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{throwError:()=>r});var e=t( +/*! ../Observable */ +3064);function r(n,l){return new e.Observable(l?o=>l.schedule(d,0,{error:n,subscriber:o}):o=>o.error(n))}function d({error:n,subscriber:l}){l.error(n)}},7293: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMap.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{concatMap:()=>r});var e=t( +/*! ./mergeMap */ +7965);function r(d,n){return(0,e.mergeMap)(d,n,1)}},2345: +/*!*************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js ***! + \*************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{defaultIfEmpty:()=>r});var e=t( +/*! ../Subscriber */ +5142);function r(l=null){return o=>o.lift(new d(l))}class d{constructor(o){this.defaultValue=o}call(o,s){return s.subscribe(new n(o,this.defaultValue))}}class n extends e.Subscriber{constructor(o,s){super(o),this.defaultValue=s,this.isEmpty=!0}_next(o){this.isEmpty=!1,this.destination.next(o)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},5083: +/*!*******************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***! + \*******************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{distinctUntilChanged:()=>r});var e=t( +/*! ../Subscriber */ +5142);function r(l,o){return s=>s.lift(new d(l,o))}class d{constructor(o,s){this.compare=o,this.keySelector=s}call(o,s){return s.subscribe(new n(o,this.compare,this.keySelector))}}class n extends e.Subscriber{constructor(o,s,p){super(o),this.keySelector=p,this.hasKey=!1,"function"==typeof s&&(this.compare=s)}compare(o,s){return o===s}_next(o){let s;try{const{keySelector:u}=this;s=u?u(o):o}catch(u){return this.destination.error(u)}let p=!1;if(this.hasKey)try{const{compare:u}=this;p=u(this.key,s)}catch(u){return this.destination.error(u)}else this.hasKey=!0;p||(this.key=s,this.destination.next(o))}}},5046: +/*!*****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/filter.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{filter:()=>r});var e=t( +/*! ../Subscriber */ +5142);function r(l,o){return function(p){return p.lift(new d(l,o))}}class d{constructor(o,s){this.predicate=o,this.thisArg=s}call(o,s){return s.subscribe(new n(o,this.predicate,this.thisArg))}}class n extends e.Subscriber{constructor(o,s,p){super(o),this.predicate=s,this.thisArg=p,this.count=0}_next(o){let s;try{s=this.predicate.call(this.thisArg,o,this.count++)}catch(p){return void this.destination.error(p)}s&&this.destination.next(o)}}},786: +/*!*******************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/finalize.js ***! + \*******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{finalize:()=>d});var e=t( +/*! ../Subscriber */ +5142),r=t( +/*! ../Subscription */ +4614);function d(o){return s=>s.lift(new n(o))}class n{constructor(s){this.callback=s}call(s,p){return p.subscribe(new l(s,this.callback))}}class l extends e.Subscriber{constructor(s,p){super(s),this.add(new r.Subscription(p))}}},7627: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/first.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{first:()=>s});var e=t( +/*! ../util/EmptyError */ +1742),r=t( +/*! ./filter */ +5046),d=t( +/*! ./take */ +6939),n=t( +/*! ./defaultIfEmpty */ +2345),l=t( +/*! ./throwIfEmpty */ +1620),o=t( +/*! ../util/identity */ +6361);function s(p,u){const g=arguments.length>=2;return f=>f.pipe(p?(0,r.filter)((y,v)=>p(y,v,f)):o.identity,(0,d.take)(1),g?(0,n.defaultIfEmpty)(u):(0,l.throwIfEmpty)(()=>new e.EmptyError))}},7422: +/*!**************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/map.js ***! + \**************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{MapOperator:()=>d,map:()=>r});var e=t( +/*! ../Subscriber */ +5142);function r(l,o){return function(p){if("function"!=typeof l)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return p.lift(new d(l,o))}}class d{constructor(o,s){this.project=o,this.thisArg=s}call(o,s){return s.subscribe(new n(o,this.project,this.thisArg))}}class n extends e.Subscriber{constructor(o,s,p){super(o),this.project=s,this.count=0,this.thisArg=p||this}_next(o){let s;try{s=this.project.call(this.thisArg,o,this.count++)}catch(p){return void this.destination.error(p)}this.destination.next(s)}}},2600: +/*!*******************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js ***! + \*******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{mergeAll:()=>d});var e=t( +/*! ./mergeMap */ +7965),r=t( +/*! ../util/identity */ +6361);function d(n=Number.POSITIVE_INFINITY){return(0,e.mergeMap)(r.identity,n)}},7965: +/*!*******************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js ***! + \*******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{MergeMapOperator:()=>l,MergeMapSubscriber:()=>o,flatMap:()=>s,mergeMap:()=>n});var e=t( +/*! ./map */ +7422),r=t( +/*! ../observable/from */ +502),d=t( +/*! ../innerSubscribe */ +6241);function n(p,u,g=Number.POSITIVE_INFINITY){return"function"==typeof u?f=>f.pipe(n((y,v)=>(0,r.from)(p(y,v)).pipe((0,e.map)((_,O)=>u(y,_,v,O))),g)):("number"==typeof u&&(g=u),f=>f.lift(new l(p,g)))}class l{constructor(u,g=Number.POSITIVE_INFINITY){this.project=u,this.concurrent=g}call(u,g){return g.subscribe(new o(u,this.project,this.concurrent))}}class o extends d.SimpleOuterSubscriber{constructor(u,g,f=Number.POSITIVE_INFINITY){super(u),this.project=g,this.concurrent=f,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(u){this.active 0?this._next(u.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const s=n},202: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/multicast.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{MulticastOperator:()=>d,multicast:()=>r});var e=t( +/*! ../observable/ConnectableObservable */ +9148);function r(n,l){return function(s){let p;if(p="function"==typeof n?n:function(){return n},"function"==typeof l)return s.lift(new d(p,l));const u=Object.create(s,e.connectableObservableDescriptor);return u.source=s,u.subjectFactory=p,u}}class d{constructor(l,o){this.subjectFactory=l,this.selector=o}call(l,o){const{selector:s}=this,p=this.subjectFactory(),u=s(p).subscribe(l);return u.add(o.subscribe(p)),u}}},8892: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/observeOn.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ObserveOnMessage:()=>o,ObserveOnOperator:()=>n,ObserveOnSubscriber:()=>l,observeOn:()=>d});var e=t( +/*! ../Subscriber */ +5142),r=t( +/*! ../Notification */ +7618);function d(s,p=0){return function(g){return g.lift(new n(s,p))}}class n{constructor(p,u=0){this.scheduler=p,this.delay=u}call(p,u){return u.subscribe(new l(p,this.scheduler,this.delay))}}class l extends e.Subscriber{constructor(p,u,g=0){super(p),this.scheduler=u,this.delay=g}static dispatch(p){const{notification:u,destination:g}=p;u.observe(g),this.unsubscribe()}scheduleMessage(p){this.destination.add(this.scheduler.schedule(l.dispatch,this.delay,new o(p,this.destination)))}_next(p){this.scheduleMessage(r.Notification.createNext(p))}_error(p){this.scheduleMessage(r.Notification.createError(p)),this.unsubscribe()}_complete(){this.scheduleMessage(r.Notification.createComplete()),this.unsubscribe()}}class o{constructor(p,u){this.notification=p,this.destination=u}}},6159: +/*!*******************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/refCount.js ***! + \*******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{refCount:()=>r});var e=t( +/*! ../Subscriber */ +5142);function r(){return function(o){return o.lift(new d(o))}}class d{constructor(o){this.connectable=o}call(o,s){const{connectable:p}=this;p._refCount++;const u=new n(o,p),g=s.subscribe(u);return u.closed||(u.connection=p.connect()),g}}class n extends e.Subscriber{constructor(o,s){super(o),this.connectable=s}_unsubscribe(){const{connectable:o}=this;if(!o)return void(this.connection=null);this.connectable=null;const s=o._refCount;if(s<=0)return void(this.connection=null);if(o._refCount=s-1,s>1)return void(this.connection=null);const{connection:p}=this,u=o._connection;this.connection=null,u&&(!p||u===p)&&u.unsubscribe()}}},1272: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/share.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{share:()=>l});var e=t( +/*! ./multicast */ +202),r=t( +/*! ./refCount */ +6159),d=t( +/*! ../Subject */ +2484);function n(){return new d.Subject}function l(){return o=>(0,r.refCount)()((0,e.multicast)(n)(o))}},6520: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMap.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{switchMap:()=>n});var e=t( +/*! ./map */ +7422),r=t( +/*! ../observable/from */ +502),d=t( +/*! ../innerSubscribe */ +6241);function n(s,p){return"function"==typeof p?u=>u.pipe(n((g,f)=>(0,r.from)(s(g,f)).pipe((0,e.map)((y,v)=>p(g,y,f,v))))):u=>u.lift(new l(s))}class l{constructor(p){this.project=p}call(p,u){return u.subscribe(new o(p,this.project))}}class o extends d.SimpleOuterSubscriber{constructor(p,u){super(p),this.project=u,this.index=0}_next(p){let u;const g=this.index++;try{u=this.project(p,g)}catch(f){return void this.destination.error(f)}this._innerSub(u)}_innerSub(p){const u=this.innerSubscription;u&&u.unsubscribe();const g=new d.SimpleInnerSubscriber(this),f=this.destination;f.add(g),this.innerSubscription=(0,d.innerSubscribe)(p,g),this.innerSubscription!==g&&f.add(this.innerSubscription)}_complete(){const{innerSubscription:p}=this;(!p||p.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(p){this.destination.next(p)}}},6939: +/*!***************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/take.js ***! + \***************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{take:()=>n});var e=t( +/*! ../Subscriber */ +5142),r=t( +/*! ../util/ArgumentOutOfRangeError */ +2081),d=t( +/*! ../observable/empty */ +506);function n(s){return p=>0===s?(0,d.empty)():p.lift(new l(s))}class l{constructor(p){if(this.total=p,this.total<0)throw new r.ArgumentOutOfRangeError}call(p,u){return u.subscribe(new o(p,this.total))}}class o extends e.Subscriber{constructor(p,u){super(p),this.total=u,this.count=0}_next(p){const u=this.total,g=++this.count;g<=u&&(this.destination.next(p),g===u&&(this.destination.complete(),this.unsubscribe()))}}},3303: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/takeUntil.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{takeUntil:()=>r});var e=t( +/*! ../innerSubscribe */ +6241);function r(l){return o=>o.lift(new d(l))}class d{constructor(o){this.notifier=o}call(o,s){const p=new n(o),u=(0,e.innerSubscribe)(this.notifier,new e.SimpleInnerSubscriber(p));return u&&!p.seenValue?(p.add(u),s.subscribe(p)):p}}class n extends e.SimpleOuterSubscriber{constructor(o){super(o),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},5746: +/*!**************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/tap.js ***! + \**************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{tap:()=>n});var e=t( +/*! ../Subscriber */ +5142),r=t( +/*! ../util/noop */ +5717),d=t( +/*! ../util/isFunction */ +5251);function n(s,p,u){return function(f){return f.lift(new l(s,p,u))}}class l{constructor(p,u,g){this.nextOrObserver=p,this.error=u,this.complete=g}call(p,u){return u.subscribe(new o(p,this.nextOrObserver,this.error,this.complete))}}class o extends e.Subscriber{constructor(p,u,g,f){super(p),this._tapNext=r.noop,this._tapError=r.noop,this._tapComplete=r.noop,this._tapError=g||r.noop,this._tapComplete=f||r.noop,(0,d.isFunction)(u)?(this._context=this,this._tapNext=u):u&&(this._context=u,this._tapNext=u.next||r.noop,this._tapError=u.error||r.noop,this._tapComplete=u.complete||r.noop)}_next(p){try{this._tapNext.call(this._context,p)}catch(u){return void this.destination.error(u)}this.destination.next(p)}_error(p){try{this._tapError.call(this._context,p)}catch(u){return void this.destination.error(u)}this.destination.error(p)}_complete(){try{this._tapComplete.call(this._context)}catch(p){return void this.destination.error(p)}return this.destination.complete()}}},1620: +/*!***********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js ***! + \***********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{throwIfEmpty:()=>d});var e=t( +/*! ../util/EmptyError */ +1742),r=t( +/*! ../Subscriber */ +5142);function d(s=o){return p=>p.lift(new n(s))}class n{constructor(p){this.errorFactory=p}call(p,u){return u.subscribe(new l(p,this.errorFactory))}}class l extends r.Subscriber{constructor(p,u){super(p),this.errorFactory=u,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(u){p=u}this.destination.error(p)}}}function o(){return new e.EmptyError}},8577: +/*!************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js ***! + \************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{scheduleArray:()=>d});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../Subscription */ +4614);function d(n,l){return new e.Observable(o=>{const s=new r.Subscription;let p=0;return s.add(l.schedule(function(){p!==n.length?(o.next(n[p++]),o.closed||s.add(this.schedule())):o.complete()})),s})}},5299: +/*!***************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js ***! + \***************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{scheduleIterable:()=>n});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../Subscription */ +4614),d=t( +/*! ../symbol/iterator */ +6603);function n(l,o){if(!l)throw new Error("Iterable cannot be null");return new e.Observable(s=>{const p=new r.Subscription;let u;return p.add(()=>{u&&"function"==typeof u.return&&u.return()}),p.add(o.schedule(()=>{u=l[d.iterator](),p.add(o.schedule(function(){if(s.closed)return;let g,f;try{const y=u.next();g=y.value,f=y.done}catch(y){return void s.error(y)}f?s.complete():(s.next(g),this.schedule())}))})),p})}},8275: +/*!*****************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js ***! + \*****************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{scheduleObservable:()=>n});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../Subscription */ +4614),d=t( +/*! ../symbol/observable */ +5129);function n(l,o){return new e.Observable(s=>{const p=new r.Subscription;return p.add(o.schedule(()=>{const u=l[d.observable]();p.add(u.subscribe({next(g){p.add(o.schedule(()=>s.next(g)))},error(g){p.add(o.schedule(()=>s.error(g)))},complete(){p.add(o.schedule(()=>s.complete()))}}))})),p})}},5576: +/*!**************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js ***! + \**************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{schedulePromise:()=>d});var e=t( +/*! ../Observable */ +3064),r=t( +/*! ../Subscription */ +4614);function d(n,l){return new e.Observable(o=>{const s=new r.Subscription;return s.add(l.schedule(()=>n.then(p=>{s.add(l.schedule(()=>{o.next(p),s.add(l.schedule(()=>o.complete()))}))},p=>{s.add(l.schedule(()=>o.error(p)))}))),s})}},6340: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{scheduled:()=>u});var e=t( +/*! ./scheduleObservable */ +8275),r=t( +/*! ./schedulePromise */ +5576),d=t( +/*! ./scheduleArray */ +8577),n=t( +/*! ./scheduleIterable */ +5299),l=t( +/*! ../util/isInteropObservable */ +9428),o=t( +/*! ../util/isPromise */ +8290),s=t( +/*! ../util/isArrayLike */ +4361),p=t( +/*! ../util/isIterable */ +5540);function u(g,f){if(null!=g){if((0,l.isInteropObservable)(g))return(0,e.scheduleObservable)(g,f);if((0,o.isPromise)(g))return(0,r.schedulePromise)(g,f);if((0,s.isArrayLike)(g))return(0,d.scheduleArray)(g,f);if((0,p.isIterable)(g)||"string"==typeof g)return(0,n.scheduleIterable)(g,f)}throw new TypeError((null!==g&&typeof g||g)+" is not observable")}},8674: +/*!*****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduler/Action.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{Action:()=>r});var e=t( +/*! ../Subscription */ +4614);class r extends e.Subscription{constructor(n,l){super()}schedule(n,l=0){return this}}},5610: +/*!**********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncAction.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{AsyncAction:()=>r});var e=t( +/*! ./Action */ +8674);class r extends e.Action{constructor(n,l){super(n,l),this.scheduler=n,this.work=l,this.pending=!1}schedule(n,l=0){if(this.closed)return this;this.state=n;const o=this.id,s=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(s,o,l)),this.pending=!0,this.delay=l,this.id=this.id||this.requestAsyncId(s,this.id,l),this}requestAsyncId(n,l,o=0){return setInterval(n.flush.bind(n,this),o)}recycleAsyncId(n,l,o=0){if(null!==o&&this.delay===o&&!1===this.pending)return l;clearInterval(l)}execute(n,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const o=this._execute(n,l);if(o)return o;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,l){let s,o=!1;try{this.work(n)}catch(p){o=!0,s=!!p&&p||new Error(p)}if(o)return this.unsubscribe(),s}_unsubscribe(){const n=this.id,l=this.scheduler,o=l.actions,s=o.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&o.splice(s,1),null!=n&&(this.id=this.recycleAsyncId(l,n,null)),this.delay=null}}},7203: +/*!*************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduler/AsyncScheduler.js ***! + \*************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{AsyncScheduler:()=>r});var e=t( +/*! ../Scheduler */ +7792);class r extends e.Scheduler{constructor(n,l=e.Scheduler.now){super(n,()=>r.delegate&&r.delegate!==this?r.delegate.now():l()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,l=0,o){return r.delegate&&r.delegate!==this?r.delegate.schedule(n,l,o):super.schedule(n,l,o)}flush(n){const{actions:l}=this;if(this.active)return void l.push(n);let o;this.active=!0;do{if(o=n.execute(n.state,n.delay))break}while(n=l.shift());if(this.active=!1,o){for(;n=l.shift();)n.unsubscribe();throw o}}}},5586: +/*!**********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduler/QueueAction.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{QueueAction:()=>r});var e=t( +/*! ./AsyncAction */ +5610);class r extends e.AsyncAction{constructor(n,l){super(n,l),this.scheduler=n,this.work=l}schedule(n,l=0){return l>0?super.schedule(n,l):(this.delay=l,this.state=n,this.scheduler.flush(this),this)}execute(n,l){return l>0||this.closed?super.execute(n,l):this._execute(n,l)}requestAsyncId(n,l,o=0){return null!==o&&o>0||null===o&&this.delay>0?super.requestAsyncId(n,l,o):n.flush(this)}}},4942: +/*!*************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduler/QueueScheduler.js ***! + \*************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{QueueScheduler:()=>r});var e=t( +/*! ./AsyncScheduler */ +7203);class r extends e.AsyncScheduler{}},6948: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/scheduler/queue.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{queue:()=>n,queueScheduler:()=>d});var e=t( +/*! ./QueueAction */ +5586);const d=new(t( +/*! ./QueueScheduler */ +4942).QueueScheduler)(e.QueueAction),n=d},6603: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/symbol/iterator.js ***! + \****************************************************************/(R,C,t)=>{"use strict";function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}t.r(C),t.d(C,{$$iterator:()=>d,getSymbolIterator:()=>e,iterator:()=>r});const r=e(),d=r},5129: +/*!******************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/symbol/observable.js ***! + \******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{observable:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},1999: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{$$rxSubscriber:()=>r,rxSubscriber:()=>e});const e="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),r=e},2081: +/*!*****************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js ***! + \*****************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ArgumentOutOfRangeError:()=>r});const r=(()=>{function d(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return d.prototype=Object.create(Error.prototype),d})()},1742: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/EmptyError.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{EmptyError:()=>r});const r=(()=>{function d(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return d.prototype=Object.create(Error.prototype),d})()},6950: +/*!*****************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js ***! + \*****************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ObjectUnsubscribedError:()=>r});const r=(()=>{function d(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return d.prototype=Object.create(Error.prototype),d})()},9164: +/*!*************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js ***! + \*************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{UnsubscriptionError:()=>r});const r=(()=>{function d(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((l,o)=>`${o+1}) ${l.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return d.prototype=Object.create(Error.prototype),d})()},3159: +/*!********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/canReportError.js ***! + \********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{canReportError:()=>r});var e=t( +/*! ../Subscriber */ +5142);function r(d){for(;d;){const{closed:n,destination:l,isStopped:o}=d;if(n||o)return!1;d=l&&l instanceof e.Subscriber?l:null}return!0}},8722: +/*!*********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/hostReportError.js ***! + \*********************************************************************/(R,C,t)=>{"use strict";function e(r){setTimeout(()=>{throw r},0)}t.r(C),t.d(C,{hostReportError:()=>e})},6361: +/*!**************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/identity.js ***! + \**************************************************************/(R,C,t)=>{"use strict";function e(r){return r}t.r(C),t.d(C,{identity:()=>e})},7264: +/*!*************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isArray.js ***! + \*************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{isArray:()=>e});const e=Array.isArray||(r=>r&&"number"==typeof r.length)},4361: +/*!*****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{isArrayLike:()=>e});const e=r=>r&&"number"==typeof r.length&&"function"!=typeof r},5251: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isFunction.js ***! + \****************************************************************/(R,C,t)=>{"use strict";function e(r){return"function"==typeof r}t.r(C),t.d(C,{isFunction:()=>e})},9428: +/*!*************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js ***! + \*************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{isInteropObservable:()=>r});var e=t( +/*! ../symbol/observable */ +5129);function r(d){return d&&"function"==typeof d[e.observable]}},5540: +/*!****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isIterable.js ***! + \****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{isIterable:()=>r});var e=t( +/*! ../symbol/iterator */ +6603);function r(d){return d&&"function"==typeof d[e.iterator]}},7560: +/*!**************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isObject.js ***! + \**************************************************************/(R,C,t)=>{"use strict";function e(r){return null!==r&&"object"==typeof r}t.r(C),t.d(C,{isObject:()=>e})},8290: +/*!***************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isPromise.js ***! + \***************************************************************/(R,C,t)=>{"use strict";function e(r){return!!r&&"function"!=typeof r.subscribe&&"function"==typeof r.then}t.r(C),t.d(C,{isPromise:()=>e})},9054: +/*!*****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/isScheduler.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";function e(r){return r&&"function"==typeof r.schedule}t.r(C),t.d(C,{isScheduler:()=>e})},5717: +/*!**********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/noop.js ***! + \**********************************************************/(R,C,t)=>{"use strict";function e(){}t.r(C),t.d(C,{noop:()=>e})},7734: +/*!**********************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/pipe.js ***! + \**********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{pipe:()=>r,pipeFromArray:()=>d});var e=t( +/*! ./identity */ +6361);function r(...n){return d(n)}function d(n){return 0===n.length?e.identity:1===n.length?n[0]:function(o){return n.reduce((s,p)=>p(s),o)}}},3787: +/*!*****************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js ***! + \*****************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{subscribeTo:()=>g});var e=t( +/*! ./subscribeToArray */ +4491),r=t( +/*! ./subscribeToPromise */ +9757),d=t( +/*! ./subscribeToIterable */ +8883),n=t( +/*! ./subscribeToObservable */ +3746),l=t( +/*! ./isArrayLike */ +4361),o=t( +/*! ./isPromise */ +8290),s=t( +/*! ./isObject */ +7560),p=t( +/*! ../symbol/iterator */ +6603),u=t( +/*! ../symbol/observable */ +5129);const g=f=>{if(f&&"function"==typeof f[u.observable])return(0,n.subscribeToObservable)(f);if((0,l.isArrayLike)(f))return(0,e.subscribeToArray)(f);if((0,o.isPromise)(f))return(0,r.subscribeToPromise)(f);if(f&&"function"==typeof f[p.iterator])return(0,d.subscribeToIterable)(f);{const v=`You provided ${(0,s.isObject)(f)?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(v)}}},4491: +/*!**********************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js ***! + \**********************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{subscribeToArray:()=>e});const e=r=>d=>{for(let n=0,l=r.length;n {"use strict";t.r(C),t.d(C,{subscribeToIterable:()=>r});var e=t( +/*! ../symbol/iterator */ +6603);const r=d=>n=>{const l=d[e.iterator]();for(;;){let o;try{o=l.next()}catch(s){return n.error(s),n}if(o.done){n.complete();break}if(n.next(o.value),n.closed)break}return"function"==typeof l.return&&n.add(()=>{l.return&&l.return()}),n}},3746: +/*!***************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js ***! + \***************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{subscribeToObservable:()=>r});var e=t( +/*! ../symbol/observable */ +5129);const r=d=>n=>{const l=d[e.observable]();if("function"!=typeof l.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return l.subscribe(n)}},9757: +/*!************************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js ***! + \************************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{subscribeToPromise:()=>r});var e=t( +/*! ./hostReportError */ +8722);const r=d=>n=>(d.then(l=>{n.closed||(n.next(l),n.complete())},l=>n.error(l)).then(null,e.hostReportError),n)},6920: +/*!******************************************************************!*\ + !*** ./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js ***! + \******************************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{toSubscriber:()=>n});var e=t( +/*! ../Subscriber */ +5142),r=t( +/*! ../symbol/rxSubscriber */ +1999),d=t( +/*! ../Observer */ +6195);function n(l,o,s){if(l){if(l instanceof e.Subscriber)return l;if(l[r.rxSubscriber])return l[r.rxSubscriber]()}return l||o||s?new e.Subscriber(l,o,s):new e.Subscriber(d.empty)}},9210: +/*!******************************************************!*\ + !*** ./node_modules/uuid/dist/esm-browser/native.js ***! + \******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>r});const r={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},9772: +/*!*****************************************************!*\ + !*** ./node_modules/uuid/dist/esm-browser/regex.js ***! + \*****************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>e});const e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},7948: +/*!***************************************************!*\ + !*** ./node_modules/uuid/dist/esm-browser/rng.js ***! + \***************************************************/(R,C,t)=>{"use strict";let e;t.r(C),t.d(C,{default:()=>d});const r=new Uint8Array(16);function d(){if(!e&&(e=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!e))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(r)}},564: +/*!*********************************************************!*\ + !*** ./node_modules/uuid/dist/esm-browser/stringify.js ***! + \*********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>l,unsafeStringify:()=>d});var e=t( +/*! ./validate.js */ +9359);const r=[];for(let o=0;o<256;++o)r.push((o+256).toString(16).slice(1));function d(o,s=0){return r[o[s+0]]+r[o[s+1]]+r[o[s+2]]+r[o[s+3]]+"-"+r[o[s+4]]+r[o[s+5]]+"-"+r[o[s+6]]+r[o[s+7]]+"-"+r[o[s+8]]+r[o[s+9]]+"-"+r[o[s+10]]+r[o[s+11]]+r[o[s+12]]+r[o[s+13]]+r[o[s+14]]+r[o[s+15]]}const l=function n(o,s=0){const p=d(o,s);if(!(0,e.default)(p))throw TypeError("Stringified UUID is invalid");return p}},4289: +/*!**************************************************!*\ + !*** ./node_modules/uuid/dist/esm-browser/v4.js ***! + \**************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>l});var e=t( +/*! ./native.js */ +9210),r=t( +/*! ./rng.js */ +7948),d=t( +/*! ./stringify.js */ +564);const l=function n(o,s,p){if(e.default.randomUUID&&!s&&!o)return e.default.randomUUID();const u=(o=o||{}).random||(o.rng||r.default)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,s){p=p||0;for(let g=0;g<16;++g)s[p+g]=u[g];return s}return(0,d.unsafeStringify)(u)}},9359: +/*!********************************************************!*\ + !*** ./node_modules/uuid/dist/esm-browser/validate.js ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{default:()=>d});var e=t( +/*! ./regex.js */ +9772);const d=function r(n){return"string"==typeof n&&e.default.test(n)}},6575: +/*!**********************************************************!*\ + !*** ./node_modules/@angular/common/fesm2022/common.mjs ***! + \**********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{APP_BASE_HREF:()=>_,AsyncPipe:()=>yr,BrowserPlatformLocation:()=>u,CommonModule:()=>Xr,CurrencyPipe:()=>Yn,DATE_PIPE_DEFAULT_OPTIONS:()=>Tr,DATE_PIPE_DEFAULT_TIMEZONE:()=>xi,DOCUMENT:()=>o,DatePipe:()=>kr,DecimalPipe:()=>_i,FormStyle:()=>T,FormatWidth:()=>x,HashLocationStrategy:()=>D,I18nPluralPipe:()=>Jr,I18nSelectPipe:()=>qr,IMAGE_CONFIG:()=>Nn,IMAGE_LOADER:()=>Fe,JsonPipe:()=>$r,KeyValuePipe:()=>ni,LOCATION_INITIALIZED:()=>p,Location:()=>M,LocationStrategy:()=>v,LowerCasePipe:()=>ci,NgClass:()=>qn,NgComponentOutlet:()=>zt,NgFor:()=>Ln,NgForOf:()=>Ln,NgForOfContext:()=>mn,NgIf:()=>dt,NgIfContext:()=>wt,NgLocaleLocalization:()=>Rn,NgLocalization:()=>an,NgOptimizedImage:()=>Tn,NgPlural:()=>nr,NgPluralCase:()=>br,NgStyle:()=>Ir,NgSwitch:()=>In,NgSwitchCase:()=>Fn,NgSwitchDefault:()=>Bn,NgTemplateOutlet:()=>Yr,NumberFormatStyle:()=>h,NumberSymbol:()=>L,PRECONNECT_CHECK_BLOCKLIST:()=>qi,PathLocationStrategy:()=>O,PercentPipe:()=>wr,PlatformLocation:()=>s,Plural:()=>b,SlicePipe:()=>Ur,TitleCasePipe:()=>si,TranslationWidth:()=>I,UpperCasePipe:()=>yi,VERSION:()=>Re,ViewportScroller:()=>ut,WeekDay:()=>j,XhrFactory:()=>Zt,formatCurrency:()=>_t,formatDate:()=>se,formatNumber:()=>Ut,formatPercent:()=>cn,getCurrencySymbol:()=>yt,getLocaleCurrencyCode:()=>Pe,getLocaleCurrencyName:()=>De,getLocaleCurrencySymbol:()=>ue,getLocaleDateFormat:()=>X,getLocaleDateTimeFormat:()=>J,getLocaleDayNames:()=>te,getLocaleDayPeriods:()=>q,getLocaleDirection:()=>pe,getLocaleEraNames:()=>ie,getLocaleExtraDayPeriodRules:()=>ae,getLocaleExtraDayPeriods:()=>je,getLocaleFirstDayOfWeek:()=>Ne,getLocaleId:()=>Q,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Me,getLocaleNumberSymbol:()=>me,getLocalePluralCase:()=>pt,getLocaleTimeFormat:()=>H,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>Ae,isPlatformBrowser:()=>Z,isPlatformServer:()=>ee,isPlatformWorkerApp:()=>he,isPlatformWorkerUi:()=>Ee,provideCloudflareLoader:()=>Qe,provideCloudinaryLoader:()=>Nt,provideImageKitLoader:()=>dr,provideImgixLoader:()=>He,registerLocaleData:()=>er,\u0275DomAdapter:()=>l,\u0275NullViewportScroller:()=>Ft,\u0275PLATFORM_BROWSER_ID:()=>Ci,\u0275PLATFORM_SERVER_ID:()=>Wr,\u0275PLATFORM_WORKER_APP_ID:()=>A,\u0275PLATFORM_WORKER_UI_ID:()=>N,\u0275getDOM:()=>d,\u0275parseCookieValue:()=>Zn,\u0275setRootDomAdapter:()=>n});var e=t( +/*! @angular/core */ +1699);let r=null;function d(){return r}function n(Xe){r||(r=Xe)}class l{}const o=new e.InjectionToken("DocumentToken");class s{historyGo(Te){throw new Error("Not implemented")}static#e=this.\u0275fac=function(et){return new(et||s)};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:s,factory:function(){return(0,e.inject)(u)},providedIn:"platform"})}const p=new e.InjectionToken("Location Initialized");class u extends s{constructor(){super(),this._doc=(0,e.inject)(o),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Te){const et=d().getGlobalEventTarget(this._doc,"window");return et.addEventListener("popstate",Te,!1),()=>et.removeEventListener("popstate",Te)}onHashChange(Te){const et=d().getGlobalEventTarget(this._doc,"window");return et.addEventListener("hashchange",Te,!1),()=>et.removeEventListener("hashchange",Te)}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(Te){this._location.pathname=Te}pushState(Te,et,Pt){this._history.pushState(Te,et,Pt)}replaceState(Te,et,Pt){this._history.replaceState(Te,et,Pt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Te=0){this._history.go(Te)}getState(){return this._history.state}static#e=this.\u0275fac=function(et){return new(et||u)};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:u,factory:function(){return new u},providedIn:"platform"})}function g(Xe,Te){if(0==Xe.length)return Te;if(0==Te.length)return Xe;let et=0;return Xe.endsWith("/")&&et++,Te.startsWith("/")&&et++,2==et?Xe+Te.substring(1):1==et?Xe+Te:Xe+"/"+Te}function f(Xe){const Te=Xe.match(/#|\?|$/),et=Te&&Te.index||Xe.length;return Xe.slice(0,et-("/"===Xe[et-1]?1:0))+Xe.slice(et)}function y(Xe){return Xe&&"?"!==Xe[0]?"?"+Xe:Xe}class v{historyGo(Te){throw new Error("Not implemented")}static#e=this.\u0275fac=function(et){return new(et||v)};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:v,factory:function(){return(0,e.inject)(O)},providedIn:"root"})}const _=new e.InjectionToken("appBaseHref");class O extends v{constructor(Te,et){super(),this._platformLocation=Te,this._removeListenerFns=[],this._baseHref=et??this._platformLocation.getBaseHrefFromDOM()??(0,e.inject)(o).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}prepareExternalUrl(Te){return g(this._baseHref,Te)}path(Te=!1){const et=this._platformLocation.pathname+y(this._platformLocation.search),Pt=this._platformLocation.hash;return Pt&&Te?`${et}${Pt}`:et}pushState(Te,et,Pt,dn){const wn=this.prepareExternalUrl(Pt+y(dn));this._platformLocation.pushState(Te,et,wn)}replaceState(Te,et,Pt,dn){const wn=this.prepareExternalUrl(Pt+y(dn));this._platformLocation.replaceState(Te,et,wn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static#e=this.\u0275fac=function(et){return new(et||O)(e.\u0275\u0275inject(s),e.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac,providedIn:"root"})}class D extends v{constructor(Te,et){super(),this._platformLocation=Te,this._baseHref="",this._removeListenerFns=[],null!=et&&(this._baseHref=et)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}path(Te=!1){let et=this._platformLocation.hash;return null==et&&(et="#"),et.length>0?et.substring(1):et}prepareExternalUrl(Te){const et=g(this._baseHref,Te);return et.length>0?"#"+et:et}pushState(Te,et,Pt,dn){let wn=this.prepareExternalUrl(Pt+y(dn));0==wn.length&&(wn=this._platformLocation.pathname),this._platformLocation.pushState(Te,et,wn)}replaceState(Te,et,Pt,dn){let wn=this.prepareExternalUrl(Pt+y(dn));0==wn.length&&(wn=this._platformLocation.pathname),this._platformLocation.replaceState(Te,et,wn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Te=0){this._platformLocation.historyGo?.(Te)}static#e=this.\u0275fac=function(et){return new(et||D)(e.\u0275\u0275inject(s),e.\u0275\u0275inject(_,8))};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:D,factory:D.\u0275fac})}class M{constructor(Te){this._subject=new e.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Te;const et=this._locationStrategy.getBaseHref();this._basePath=function B(Xe){if(new RegExp("^(https?:)?//").test(Xe)){const[,et]=Xe.split(/\/\/[^\/]+/);return et}return Xe}(f(c(et))),this._locationStrategy.onPopState(Pt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Pt.state,type:Pt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Te=!1){return this.normalize(this._locationStrategy.path(Te))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Te,et=""){return this.path()==this.normalize(Te+y(et))}normalize(Te){return M.stripTrailingSlash(function S(Xe,Te){if(!Xe||!Te.startsWith(Xe))return Te;const et=Te.substring(Xe.length);return""===et||["/",";","?","#"].includes(et[0])?et:Te}(this._basePath,c(Te)))}prepareExternalUrl(Te){return Te&&"/"!==Te[0]&&(Te="/"+Te),this._locationStrategy.prepareExternalUrl(Te)}go(Te,et="",Pt=null){this._locationStrategy.pushState(Pt,"",Te,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+y(et)),Pt)}replaceState(Te,et="",Pt=null){this._locationStrategy.replaceState(Pt,"",Te,et),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+y(et)),Pt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Te=0){this._locationStrategy.historyGo?.(Te)}onUrlChange(Te){return this._urlChangeListeners.push(Te),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(et=>{this._notifyUrlChangeListeners(et.url,et.state)})),()=>{const et=this._urlChangeListeners.indexOf(Te);this._urlChangeListeners.splice(et,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Te="",et){this._urlChangeListeners.forEach(Pt=>Pt(Te,et))}subscribe(Te,et,Pt){return this._subject.subscribe({next:Te,error:et,complete:Pt})}static#e=this.normalizeQueryParams=y;static#t=this.joinWithSlash=g;static#n=this.stripTrailingSlash=f;static#r=this.\u0275fac=function(et){return new(et||M)(e.\u0275\u0275inject(v))};static#i=this.\u0275prov=e.\u0275\u0275defineInjectable({token:M,factory:function(){return function w(){return new M((0,e.\u0275\u0275inject)(v))}()},providedIn:"root"})}function c(Xe){return Xe.replace(/\/index.html$/,"")}const E={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var h,Xe,b,T,I,x,L,j;function Q(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.LocaleId]}function q(Xe,Te,et){const Pt=(0,e.\u0275findLocaleData)(Xe),wn=Ge([Pt[e.\u0275LocaleDataIndex.DayPeriodsFormat],Pt[e.\u0275LocaleDataIndex.DayPeriodsStandalone]],Te);return Ge(wn,et)}function te(Xe,Te,et){const Pt=(0,e.\u0275findLocaleData)(Xe),wn=Ge([Pt[e.\u0275LocaleDataIndex.DaysFormat],Pt[e.\u0275LocaleDataIndex.DaysStandalone]],Te);return Ge(wn,et)}function we(Xe,Te,et){const Pt=(0,e.\u0275findLocaleData)(Xe),wn=Ge([Pt[e.\u0275LocaleDataIndex.MonthsFormat],Pt[e.\u0275LocaleDataIndex.MonthsStandalone]],Te);return Ge(wn,et)}function ie(Xe,Te){return Ge((0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.Eras],Te)}function Ne(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.FirstDayOfWeek]}function G(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.WeekendRange]}function X(Xe,Te){return Ge((0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.DateFormat],Te)}function H(Xe,Te){return Ge((0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.TimeFormat],Te)}function J(Xe,Te){return Ge((0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.DateTimeFormat],Te)}function me(Xe,Te){const et=(0,e.\u0275findLocaleData)(Xe),Pt=et[e.\u0275LocaleDataIndex.NumberSymbols][Te];if(typeof Pt>"u"){if(Te===L.CurrencyDecimal)return et[e.\u0275LocaleDataIndex.NumberSymbols][L.Decimal];if(Te===L.CurrencyGroup)return et[e.\u0275LocaleDataIndex.NumberSymbols][L.Group]}return Pt}function Me(Xe,Te){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.NumberFormats][Te]}function ue(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.CurrencySymbol]||null}function De(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.CurrencyName]||null}function Pe(Xe){return(0,e.\u0275getLocaleCurrencyCode)(Xe)}(Xe=h||(h={}))[Xe.Decimal=0]="Decimal",Xe[Xe.Percent=1]="Percent",Xe[Xe.Currency=2]="Currency",Xe[Xe.Scientific=3]="Scientific",function(Xe){Xe[Xe.Zero=0]="Zero",Xe[Xe.One=1]="One",Xe[Xe.Two=2]="Two",Xe[Xe.Few=3]="Few",Xe[Xe.Many=4]="Many",Xe[Xe.Other=5]="Other"}(b||(b={})),function(Xe){Xe[Xe.Format=0]="Format",Xe[Xe.Standalone=1]="Standalone"}(T||(T={})),function(Xe){Xe[Xe.Narrow=0]="Narrow",Xe[Xe.Abbreviated=1]="Abbreviated",Xe[Xe.Wide=2]="Wide",Xe[Xe.Short=3]="Short"}(I||(I={})),function(Xe){Xe[Xe.Short=0]="Short",Xe[Xe.Medium=1]="Medium",Xe[Xe.Long=2]="Long",Xe[Xe.Full=3]="Full"}(x||(x={})),function(Xe){Xe[Xe.Decimal=0]="Decimal",Xe[Xe.Group=1]="Group",Xe[Xe.List=2]="List",Xe[Xe.PercentSign=3]="PercentSign",Xe[Xe.PlusSign=4]="PlusSign",Xe[Xe.MinusSign=5]="MinusSign",Xe[Xe.Exponential=6]="Exponential",Xe[Xe.SuperscriptingExponent=7]="SuperscriptingExponent",Xe[Xe.PerMille=8]="PerMille",Xe[Xe.Infinity=9]="Infinity",Xe[Xe.NaN=10]="NaN",Xe[Xe.TimeSeparator=11]="TimeSeparator",Xe[Xe.CurrencyDecimal=12]="CurrencyDecimal",Xe[Xe.CurrencyGroup=13]="CurrencyGroup"}(L||(L={})),function(Xe){Xe[Xe.Sunday=0]="Sunday",Xe[Xe.Monday=1]="Monday",Xe[Xe.Tuesday=2]="Tuesday",Xe[Xe.Wednesday=3]="Wednesday",Xe[Xe.Thursday=4]="Thursday",Xe[Xe.Friday=5]="Friday",Xe[Xe.Saturday=6]="Saturday"}(j||(j={}));const pt=e.\u0275getLocalePluralCase;function it(Xe){if(!Xe[e.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${Xe[e.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ae(Xe){const Te=(0,e.\u0275findLocaleData)(Xe);return it(Te),(Te[e.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Pt=>"string"==typeof Pt?ct(Pt):[ct(Pt[0]),ct(Pt[1])])}function je(Xe,Te,et){const Pt=(0,e.\u0275findLocaleData)(Xe);it(Pt);const wn=Ge([Pt[e.\u0275LocaleDataIndex.ExtraData][0],Pt[e.\u0275LocaleDataIndex.ExtraData][1]],Te)||[];return Ge(wn,et)||[]}function pe(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.Directionality]}function Ge(Xe,Te){for(let et=Te;et>-1;et--)if(typeof Xe[et]<"u")return Xe[et];throw new Error("Locale data API: locale data undefined")}function ct(Xe){const[Te,et]=Xe.split(":");return{hours:+Te,minutes:+et}}function yt(Xe,Te,et="en"){const Pt=function Le(Xe){return(0,e.\u0275findLocaleData)(Xe)[e.\u0275LocaleDataIndex.Currencies]}(et)[Xe]||E[Xe]||[],dn=Pt[1];return"narrow"===Te&&"string"==typeof dn?dn:Pt[0]||Xe}const ve=2;function Ae(Xe){let Te;const et=E[Xe];return et&&(Te=et[2]),"number"==typeof Te?Te:ve}const Y=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,F={},k=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var le,re,ye;function se(Xe,Te,et,Pt){let dn=function yn(Xe){if(ft(Xe))return Xe;if("number"==typeof Xe&&!isNaN(Xe))return new Date(Xe);if("string"==typeof Xe){if(Xe=Xe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Xe)){const[dn,wn=1,W=1]=Xe.split("-").map(V=>+V);return fe(dn,wn-1,W)}const et=parseFloat(Xe);if(!isNaN(Xe-et))return new Date(et);let Pt;if(Pt=Xe.match(Y))return function on(Xe){const Te=new Date(0);let et=0,Pt=0;const dn=Xe[8]?Te.setUTCFullYear:Te.setFullYear,wn=Xe[8]?Te.setUTCHours:Te.setHours;Xe[9]&&(et=Number(Xe[9]+Xe[10]),Pt=Number(Xe[9]+Xe[11])),dn.call(Te,Number(Xe[1]),Number(Xe[2])-1,Number(Xe[3]));const W=Number(Xe[4]||0)-et,V=Number(Xe[5]||0)-Pt,K=Number(Xe[6]||0),ce=Math.floor(1e3*parseFloat("0."+(Xe[7]||0)));return wn.call(Te,W,V,K,ce),Te}(Pt)}const Te=new Date(Xe);if(!ft(Te))throw new Error(`Unable to convert "${Xe}" into a date`);return Te}(Xe);Te=Ie(et,Te)||Te;let V,W=[];for(;Te;){if(V=k.exec(Te),!V){W.push(Te);break}{W=W.concat(V.slice(1));const xe=W.pop();if(!xe)break;Te=xe}}let K=dn.getTimezoneOffset();Pt&&(K=Cn(Pt,K),dn=function tn(Xe,Te,et){const Pt=et?-1:1,dn=Xe.getTimezoneOffset();return function fn(Xe,Te){return(Xe=new Date(Xe.getTime())).setMinutes(Xe.getMinutes()+Te),Xe}(Xe,Pt*(Cn(Te,dn)-dn))}(dn,Pt,!0));let ce="";return W.forEach(xe=>{const Je=function hn(Xe){if(qt[Xe])return qt[Xe];let Te;switch(Xe){case"G":case"GG":case"GGG":Te=Ue(ye.Eras,I.Abbreviated);break;case"GGGG":Te=Ue(ye.Eras,I.Wide);break;case"GGGGG":Te=Ue(ye.Eras,I.Narrow);break;case"y":Te=ht(re.FullYear,1,0,!1,!0);break;case"yy":Te=ht(re.FullYear,2,0,!0,!0);break;case"yyy":Te=ht(re.FullYear,3,0,!1,!0);break;case"yyyy":Te=ht(re.FullYear,4,0,!1,!0);break;case"Y":Te=Xt(1);break;case"YY":Te=Xt(2,!0);break;case"YYY":Te=Xt(3);break;case"YYYY":Te=Xt(4);break;case"M":case"L":Te=ht(re.Month,1,1);break;case"MM":case"LL":Te=ht(re.Month,2,1);break;case"MMM":Te=Ue(ye.Months,I.Abbreviated);break;case"MMMM":Te=Ue(ye.Months,I.Wide);break;case"MMMMM":Te=Ue(ye.Months,I.Narrow);break;case"LLL":Te=Ue(ye.Months,I.Abbreviated,T.Standalone);break;case"LLLL":Te=Ue(ye.Months,I.Wide,T.Standalone);break;case"LLLLL":Te=Ue(ye.Months,I.Narrow,T.Standalone);break;case"w":Te=Et(1);break;case"ww":Te=Et(2);break;case"W":Te=Et(1,!0);break;case"d":Te=ht(re.Date,1);break;case"dd":Te=ht(re.Date,2);break;case"c":case"cc":Te=ht(re.Day,1);break;case"ccc":Te=Ue(ye.Days,I.Abbreviated,T.Standalone);break;case"cccc":Te=Ue(ye.Days,I.Wide,T.Standalone);break;case"ccccc":Te=Ue(ye.Days,I.Narrow,T.Standalone);break;case"cccccc":Te=Ue(ye.Days,I.Short,T.Standalone);break;case"E":case"EE":case"EEE":Te=Ue(ye.Days,I.Abbreviated);break;case"EEEE":Te=Ue(ye.Days,I.Wide);break;case"EEEEE":Te=Ue(ye.Days,I.Narrow);break;case"EEEEEE":Te=Ue(ye.Days,I.Short);break;case"a":case"aa":case"aaa":Te=Ue(ye.DayPeriods,I.Abbreviated);break;case"aaaa":Te=Ue(ye.DayPeriods,I.Wide);break;case"aaaaa":Te=Ue(ye.DayPeriods,I.Narrow);break;case"b":case"bb":case"bbb":Te=Ue(ye.DayPeriods,I.Abbreviated,T.Standalone,!0);break;case"bbbb":Te=Ue(ye.DayPeriods,I.Wide,T.Standalone,!0);break;case"bbbbb":Te=Ue(ye.DayPeriods,I.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":Te=Ue(ye.DayPeriods,I.Abbreviated,T.Format,!0);break;case"BBBB":Te=Ue(ye.DayPeriods,I.Wide,T.Format,!0);break;case"BBBBB":Te=Ue(ye.DayPeriods,I.Narrow,T.Format,!0);break;case"h":Te=ht(re.Hours,1,-12);break;case"hh":Te=ht(re.Hours,2,-12);break;case"H":Te=ht(re.Hours,1);break;case"HH":Te=ht(re.Hours,2);break;case"m":Te=ht(re.Minutes,1);break;case"mm":Te=ht(re.Minutes,2);break;case"s":Te=ht(re.Seconds,1);break;case"ss":Te=ht(re.Seconds,2);break;case"S":Te=ht(re.FractionalSeconds,1);break;case"SS":Te=ht(re.FractionalSeconds,2);break;case"SSS":Te=ht(re.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Te=rt(le.Short);break;case"ZZZZZ":Te=rt(le.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Te=rt(le.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Te=rt(le.Long);break;default:return null}return qt[Xe]=Te,Te}(xe);ce+=Je?Je(dn,et,K):"''"===xe?"'":xe.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ce}function fe(Xe,Te,et){const Pt=new Date(0);return Pt.setFullYear(Xe,Te,et),Pt.setHours(0,0,0),Pt}function Ie(Xe,Te){const et=Q(Xe);if(F[et]=F[et]||{},F[et][Te])return F[et][Te];let Pt="";switch(Te){case"shortDate":Pt=X(Xe,x.Short);break;case"mediumDate":Pt=X(Xe,x.Medium);break;case"longDate":Pt=X(Xe,x.Long);break;case"fullDate":Pt=X(Xe,x.Full);break;case"shortTime":Pt=H(Xe,x.Short);break;case"mediumTime":Pt=H(Xe,x.Medium);break;case"longTime":Pt=H(Xe,x.Long);break;case"fullTime":Pt=H(Xe,x.Full);break;case"short":const dn=Ie(Xe,"shortTime"),wn=Ie(Xe,"shortDate");Pt=Ce(J(Xe,x.Short),[dn,wn]);break;case"medium":const W=Ie(Xe,"mediumTime"),V=Ie(Xe,"mediumDate");Pt=Ce(J(Xe,x.Medium),[W,V]);break;case"long":const K=Ie(Xe,"longTime"),ce=Ie(Xe,"longDate");Pt=Ce(J(Xe,x.Long),[K,ce]);break;case"full":const xe=Ie(Xe,"fullTime"),Je=Ie(Xe,"fullDate");Pt=Ce(J(Xe,x.Full),[xe,Je])}return Pt&&(F[et][Te]=Pt),Pt}function Ce(Xe,Te){return Te&&(Xe=Xe.replace(/\{([^}]+)}/g,function(et,Pt){return null!=Te&&Pt in Te?Te[Pt]:et})),Xe}function Oe(Xe,Te,et="-",Pt,dn){let wn="";(Xe<0||dn&&Xe<=0)&&(dn?Xe=1-Xe:(Xe=-Xe,wn=et));let W=String(Xe);for(;W.length 0||V>-et)&&(V+=et),Xe===re.Hours)0===V&&-12===et&&(V=12);else if(Xe===re.FractionalSeconds)return function Ye(Xe,Te){return Oe(Xe,3).substring(0,Te)}(V,Te);const K=me(W,L.MinusSign);return Oe(V,Te,K,Pt,dn)}}function Ue(Xe,Te,et=T.Format,Pt=!1){return function(dn,wn){return function $e(Xe,Te,et,Pt,dn,wn){switch(et){case ye.Months:return we(Te,dn,Pt)[Xe.getMonth()];case ye.Days:return te(Te,dn,Pt)[Xe.getDay()];case ye.DayPeriods:const W=Xe.getHours(),V=Xe.getMinutes();if(wn){const ce=ae(Te),xe=je(Te,dn,Pt),Je=ce.findIndex(gt=>{if(Array.isArray(gt)){const[At,Rt]=gt,en=W>=At.hours&&V>=At.minutes,sn=W 0?Math.floor(dn/60):Math.ceil(dn/60);switch(Xe){case le.Short:return(dn>=0?"+":"")+Oe(W,2,wn)+Oe(Math.abs(dn%60),2,wn);case le.ShortGMT:return"GMT"+(dn>=0?"+":"")+Oe(W,1,wn);case le.Long:return"GMT"+(dn>=0?"+":"")+Oe(W,2,wn)+":"+Oe(Math.abs(dn%60),2,wn);case le.Extended:return 0===Pt?"Z":(dn>=0?"+":"")+Oe(W,2,wn)+":"+Oe(Math.abs(dn%60),2,wn);default:throw new Error(`Unknown zone width "${Xe}"`)}}}!function(Xe){Xe[Xe.Short=0]="Short",Xe[Xe.ShortGMT=1]="ShortGMT",Xe[Xe.Long=2]="Long",Xe[Xe.Extended=3]="Extended"}(le||(le={})),function(Xe){Xe[Xe.FullYear=0]="FullYear",Xe[Xe.Month=1]="Month",Xe[Xe.Date=2]="Date",Xe[Xe.Hours=3]="Hours",Xe[Xe.Minutes=4]="Minutes",Xe[Xe.Seconds=5]="Seconds",Xe[Xe.FractionalSeconds=6]="FractionalSeconds",Xe[Xe.Day=7]="Day"}(re||(re={})),function(Xe){Xe[Xe.DayPeriods=0]="DayPeriods",Xe[Xe.Days=1]="Days",Xe[Xe.Months=2]="Months",Xe[Xe.Eras=3]="Eras"}(ye||(ye={}));const ne=0,Ve=4;function nt(Xe){return fe(Xe.getFullYear(),Xe.getMonth(),Xe.getDate()+(Ve-Xe.getDay()))}function Et(Xe,Te=!1){return function(et,Pt){let dn;if(Te){const wn=new Date(et.getFullYear(),et.getMonth(),1).getDay()-1,W=et.getDate();dn=1+Math.floor((W+wn)/7)}else{const wn=nt(et),W=function Ze(Xe){const Te=fe(Xe,ne,1).getDay();return fe(Xe,0,1+(Te<=Ve?Ve:Ve+7)-Te)}(wn.getFullYear()),V=wn.getTime()-W.getTime();dn=1+Math.round(V/6048e5)}return Oe(dn,Xe,me(Pt,L.MinusSign))}}function Xt(Xe,Te=!1){return function(et,Pt){return Oe(nt(et).getFullYear(),Xe,me(Pt,L.MinusSign),Te)}}const qt={};function Cn(Xe,Te){Xe=Xe.replace(/:/g,"");const et=Date.parse("Jan 01, 1970 00:00:00 "+Xe)/6e4;return isNaN(et)?Te:et}function ft(Xe){return Xe instanceof Date&&!isNaN(Xe.valueOf())}const lt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Gt=22,gn=".",bn="0",Be=";",ot=",",Tt="#",Dt="\xa4",mt="%";function Ot(Xe,Te,et,Pt,dn,wn,W=!1){let V="",K=!1;if(isFinite(Xe)){let ce=function Wt(Xe){let Pt,dn,wn,W,V,Te=Math.abs(Xe)+"",et=0;for((dn=Te.indexOf(gn))>-1&&(Te=Te.replace(gn,"")),(wn=Te.search(/e/i))>0?(dn<0&&(dn=wn),dn+=+Te.slice(wn+1),Te=Te.substring(0,wn)):dn<0&&(dn=Te.length),wn=0;Te.charAt(wn)===bn;wn++);if(wn===(V=Te.length))Pt=[0],dn=1;else{for(V--;Te.charAt(V)===bn;)V--;for(dn-=wn,Pt=[],W=0;wn<=V;wn++,W++)Pt[W]=Number(Te.charAt(wn))}return dn>Gt&&(Pt=Pt.splice(0,Gt-1),et=dn-1,dn=1),{digits:Pt,exponent:et,integerLen:dn}}(Xe);W&&(ce=function Ct(Xe){if(0===Xe.digits[0])return Xe;const Te=Xe.digits.length-Xe.integerLen;return Xe.exponent?Xe.exponent+=2:(0===Te?Xe.digits.push(0,0):1===Te&&Xe.digits.push(0),Xe.integerLen+=2),Xe}(ce));let xe=Te.minInt,Je=Te.minFrac,gt=Te.maxFrac;if(wn){const nn=wn.match(lt);if(null===nn)throw new Error(`${wn} is not a valid digit info`);const Mn=nn[1],zn=nn[3],$n=nn[5];null!=Mn&&(xe=Ht(Mn)),null!=zn&&(Je=Ht(zn)),null!=$n?gt=Ht($n):null!=zn&&Je>gt&&(gt=Je)}!function Bt(Xe,Te,et){if(Te>et)throw new Error(`The minimum number of digits after fraction (${Te}) is higher than the maximum (${et}).`);let Pt=Xe.digits,dn=Pt.length-Xe.integerLen;const wn=Math.min(Math.max(Te,dn),et);let W=wn+Xe.integerLen,V=Pt[W];if(W>0){Pt.splice(Math.max(Xe.integerLen,W));for(let Je=W;Je =5)if(W-1<0){for(let Je=0;Je>W;Je--)Pt.unshift(0),Xe.integerLen++;Pt.unshift(1),Xe.integerLen++}else Pt[W-1]++;for(;dn =ce?Rt.pop():K=!1),gt>=10?1:0},0);xe&&(Pt.unshift(xe),Xe.integerLen++)}(ce,Je,gt);let At=ce.digits,Rt=ce.integerLen;const en=ce.exponent;let sn=[];for(K=At.every(nn=>!nn);Rt 0?sn=At.splice(Rt,At.length):(sn=At,At=[0]);const rn=[];for(At.length>=Te.lgSize&&rn.unshift(At.splice(-Te.lgSize,At.length).join(""));At.length>Te.gSize;)rn.unshift(At.splice(-Te.gSize,At.length).join(""));At.length&&rn.unshift(At.join("")),V=rn.join(me(et,Pt)),sn.length&&(V+=me(et,dn)+sn.join("")),en&&(V+=me(et,L.Exponential)+"+"+en)}else V=me(et,L.Infinity);return V=Xe<0&&!K?Te.negPre+V+Te.negSuf:Te.posPre+V+Te.posSuf,V}function _t(Xe,Te,et,Pt,dn){const W=qe(Me(Te,h.Currency),me(Te,L.MinusSign));return W.minFrac=Ae(Pt),W.maxFrac=W.minFrac,Ot(Xe,W,Te,L.CurrencyGroup,L.CurrencyDecimal,dn).replace(Dt,et).replace(Dt,"").trim()}function cn(Xe,Te,et){return Ot(Xe,qe(Me(Te,h.Percent),me(Te,L.MinusSign)),Te,L.Group,L.Decimal,et,!0).replace(new RegExp(mt,"g"),me(Te,L.PercentSign))}function Ut(Xe,Te,et){return Ot(Xe,qe(Me(Te,h.Decimal),me(Te,L.MinusSign)),Te,L.Group,L.Decimal,et)}function qe(Xe,Te="-"){const et={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Pt=Xe.split(Be),dn=Pt[0],wn=Pt[1],W=-1!==dn.indexOf(gn)?dn.split(gn):[dn.substring(0,dn.lastIndexOf(bn)+1),dn.substring(dn.lastIndexOf(bn)+1)],V=W[0],K=W[1]||"";et.posPre=V.substring(0,V.indexOf(Tt));for(let xe=0;xe -1||(dn=et.getPluralCategory(Xe,Pt),Te.indexOf(dn)>-1))return dn;if(Te.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Xe}"`)}class Rn extends an{constructor(Te){super(),this.locale=Te}getPluralCategory(Te,et){switch(pt(et||this.locale)(Te)){case b.Zero:return"zero";case b.One:return"one";case b.Two:return"two";case b.Few:return"few";case b.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(et){return new(et||Rn)(e.\u0275\u0275inject(e.LOCALE_ID))};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:Rn,factory:Rn.\u0275fac})}function er(Xe,Te,et){return(0,e.\u0275registerLocaleData)(Xe,Te,et)}function Zn(Xe,Te){Te=encodeURIComponent(Te);for(const et of Xe.split(";")){const Pt=et.indexOf("="),[dn,wn]=-1==Pt?[et,""]:[et.slice(0,Pt),et.slice(Pt+1)];if(dn.trim()===Te)return decodeURIComponent(wn)}return null}const Jn=/\s+/,sr=[];class qn{constructor(Te,et,Pt,dn){this._iterableDiffers=Te,this._keyValueDiffers=et,this._ngEl=Pt,this._renderer=dn,this.initialClasses=sr,this.stateMap=new Map}set klass(Te){this.initialClasses=null!=Te?Te.trim().split(Jn):sr}set ngClass(Te){this.rawClass="string"==typeof Te?Te.trim().split(Jn):Te}ngDoCheck(){for(const et of this.initialClasses)this._updateState(et,!0);const Te=this.rawClass;if(Array.isArray(Te)||Te instanceof Set)for(const et of Te)this._updateState(et,!0);else if(null!=Te)for(const et of Object.keys(Te))this._updateState(et,!!Te[et]);this._applyStateDiff()}_updateState(Te,et){const Pt=this.stateMap.get(Te);void 0!==Pt?(Pt.enabled!==et&&(Pt.changed=!0,Pt.enabled=et),Pt.touched=!0):this.stateMap.set(Te,{enabled:et,changed:!0,touched:!0})}_applyStateDiff(){for(const Te of this.stateMap){const et=Te[0],Pt=Te[1];Pt.changed?(this._toggleClass(et,Pt.enabled),Pt.changed=!1):Pt.touched||(Pt.enabled&&this._toggleClass(et,!1),this.stateMap.delete(et)),Pt.touched=!1}}_toggleClass(Te,et){(Te=Te.trim()).length>0&&Te.split(Jn).forEach(Pt=>{et?this._renderer.addClass(this._ngEl.nativeElement,Pt):this._renderer.removeClass(this._ngEl.nativeElement,Pt)})}static#e=this.\u0275fac=function(et){return new(et||qn)(e.\u0275\u0275directiveInject(e.IterableDiffers),e.\u0275\u0275directiveInject(e.KeyValueDiffers),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.Renderer2))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:qn,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}class zt{constructor(Te){this._viewContainerRef=Te,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Te){return void 0!==Te.ngComponentOutletNgModule||void 0!==Te.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Te){return void 0!==Te.ngComponentOutlet||void 0!==Te.ngComponentOutletContent||void 0!==Te.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Te)}ngOnChanges(Te){if(this._needToReCreateComponentInstance(Te)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const et=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Te)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,e.createNgModule)(this.ngComponentOutletNgModule,un(et)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(un(et)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:et,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Te of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Te,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Te){for(const[et,Pt]of this._inputsUsed)Pt?(Te.setInput(et,this.ngComponentOutletInputs[et]),this._inputsUsed.set(et,!1)):(Te.setInput(et,void 0),this._inputsUsed.delete(et))}static#e=this.\u0275fac=function(et){return new(et||zt)(e.\u0275\u0275directiveInject(e.ViewContainerRef))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:zt,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature]})}function un(Xe){return Xe.get(e.NgModuleRef).injector}class mn{constructor(Te,et,Pt,dn){this.$implicit=Te,this.ngForOf=et,this.index=Pt,this.count=dn}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Ln{set ngForOf(Te){this._ngForOf=Te,this._ngForOfDirty=!0}set ngForTrackBy(Te){this._trackByFn=Te}get ngForTrackBy(){return this._trackByFn}constructor(Te,et,Pt){this._viewContainer=Te,this._template=et,this._differs=Pt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Te){Te&&(this._template=Te)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Te=this._ngForOf;!this._differ&&Te&&(this._differ=this._differs.find(Te).create(this.ngForTrackBy))}if(this._differ){const Te=this._differ.diff(this._ngForOf);Te&&this._applyChanges(Te)}}_applyChanges(Te){const et=this._viewContainer;Te.forEachOperation((Pt,dn,wn)=>{if(null==Pt.previousIndex)et.createEmbeddedView(this._template,new mn(Pt.item,this._ngForOf,-1,-1),null===wn?void 0:wn);else if(null==wn)et.remove(null===dn?void 0:dn);else if(null!==dn){const W=et.get(dn);et.move(W,wn),kn(W,Pt)}});for(let Pt=0,dn=et.length;Pt {kn(et.get(Pt.currentIndex),Pt)})}static ngTemplateContextGuard(Te,et){return!0}static#e=this.\u0275fac=function(et){return new(et||Ln)(e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject(e.TemplateRef),e.\u0275\u0275directiveInject(e.IterableDiffers))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:Ln,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}function kn(Xe,Te){Xe.context.$implicit=Te.item}class dt{constructor(Te,et){this._viewContainer=Te,this._context=new wt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=et}set ngIf(Te){this._context.$implicit=this._context.ngIf=Te,this._updateView()}set ngIfThen(Te){xt("ngIfThen",Te),this._thenTemplateRef=Te,this._thenViewRef=null,this._updateView()}set ngIfElse(Te){xt("ngIfElse",Te),this._elseTemplateRef=Te,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 ngTemplateContextGuard(Te,et){return!0}static#e=this.\u0275fac=function(et){return new(et||dt)(e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject(e.TemplateRef))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:dt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}class wt{constructor(){this.$implicit=null,this.ngIf=null}}function xt(Xe,Te){if(Te&&!Te.createEmbeddedView)throw new Error(`${Xe} must be a TemplateRef, but received '${(0,e.\u0275stringify)(Te)}'.`)}class En{constructor(Te,et){this._viewContainerRef=Te,this._templateRef=et,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Te){Te&&!this._created?this.create():!Te&&this._created&&this.destroy()}}class In{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Te){this._ngSwitch=Te,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Te){this._defaultViews.push(Te)}_matchCase(Te){const et=Te==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||et,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),et}_updateDefaultCases(Te){if(this._defaultViews.length>0&&Te!==this._defaultUsed){this._defaultUsed=Te;for(const et of this._defaultViews)et.enforceState(Te)}}static#e=this.\u0275fac=function(et){return new(et||In)};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:In,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}class Fn{constructor(Te,et,Pt){this.ngSwitch=Pt,Pt._addCase(),this._view=new En(Te,et)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(et){return new(et||Fn)(e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject(e.TemplateRef),e.\u0275\u0275directiveInject(In,9))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:Fn,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}class Bn{constructor(Te,et,Pt){Pt._addDefault(new En(Te,et))}static#e=this.\u0275fac=function(et){return new(et||Bn)(e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject(e.TemplateRef),e.\u0275\u0275directiveInject(In,9))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:Bn,selectors:[["","ngSwitchDefault",""]],standalone:!0})}class nr{constructor(Te){this._localization=Te,this._caseViews={}}set ngPlural(Te){this._updateView(Te)}addCase(Te,et){this._caseViews[Te]=et}_updateView(Te){this._clearViews();const Pt=xn(Te,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Pt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Te){Te&&(this._activeView=Te,this._activeView.create())}static#e=this.\u0275fac=function(et){return new(et||nr)(e.\u0275\u0275directiveInject(an))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:nr,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}class br{constructor(Te,et,Pt,dn){this.value=Te;const wn=!isNaN(Number(Te));dn.addCase(wn?`=${Te}`:Te,new En(Pt,et))}static#e=this.\u0275fac=function(et){return new(et||br)(e.\u0275\u0275injectAttribute("ngPluralCase"),e.\u0275\u0275directiveInject(e.TemplateRef),e.\u0275\u0275directiveInject(e.ViewContainerRef),e.\u0275\u0275directiveInject(nr,1))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:br,selectors:[["","ngPluralCase",""]],standalone:!0})}class Ir{constructor(Te,et,Pt){this._ngEl=Te,this._differs=et,this._renderer=Pt,this._ngStyle=null,this._differ=null}set ngStyle(Te){this._ngStyle=Te,!this._differ&&Te&&(this._differ=this._differs.find(Te).create())}ngDoCheck(){if(this._differ){const Te=this._differ.diff(this._ngStyle);Te&&this._applyChanges(Te)}}_setStyle(Te,et){const[Pt,dn]=Te.split("."),wn=-1===Pt.indexOf("-")?void 0:e.RendererStyleFlags2.DashCase;null!=et?this._renderer.setStyle(this._ngEl.nativeElement,Pt,dn?`${et}${dn}`:et,wn):this._renderer.removeStyle(this._ngEl.nativeElement,Pt,wn)}_applyChanges(Te){Te.forEachRemovedItem(et=>this._setStyle(et.key,null)),Te.forEachAddedItem(et=>this._setStyle(et.key,et.currentValue)),Te.forEachChangedItem(et=>this._setStyle(et.key,et.currentValue))}static#e=this.\u0275fac=function(et){return new(et||Ir)(e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.KeyValueDiffers),e.\u0275\u0275directiveInject(e.Renderer2))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:Ir,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}class Yr{constructor(Te){this._viewContainerRef=Te,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Te){if(Te.ngTemplateOutlet||Te.ngTemplateOutletInjector){const et=this._viewContainerRef;if(this._viewRef&&et.remove(et.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Pt,ngTemplateOutletContext:dn,ngTemplateOutletInjector:wn}=this;this._viewRef=et.createEmbeddedView(Pt,dn,wn?{injector:wn}:void 0)}else this._viewRef=null}else this._viewRef&&Te.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(et){return new(et||Yr)(e.\u0275\u0275directiveInject(e.ViewContainerRef))};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:Yr,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.\u0275\u0275NgOnChangesFeature]})}function Or(Xe,Te){return new e.\u0275RuntimeError(2100,!1)}const Gr=new class Ii{createSubscription(Te,et){return Te.then(et,Pt=>{throw Pt})}dispose(Te){}},mi=new class ti{createSubscription(Te,et){return(0,e.untracked)(()=>Te.subscribe({next:et,error:Pt=>{throw Pt}}))}dispose(Te){(0,e.untracked)(()=>Te.unsubscribe())}};class yr{constructor(Te){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Te}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Te){return this._obj?Te!==this._obj?(this._dispose(),this.transform(Te)):this._latestValue:(Te&&this._subscribe(Te),this._latestValue)}_subscribe(Te){this._obj=Te,this._strategy=this._selectStrategy(Te),this._subscription=this._strategy.createSubscription(Te,et=>this._updateLatestValue(Te,et))}_selectStrategy(Te){if((0,e.\u0275isPromise)(Te))return Gr;if((0,e.\u0275isSubscribable)(Te))return mi;throw Or()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Te,et){Te===this._obj&&(this._latestValue=et,this._ref.markForCheck())}static#e=this.\u0275fac=function(et){return new(et||yr)(e.\u0275\u0275directiveInject(e.ChangeDetectorRef,16))};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"async",type:yr,pure:!1,standalone:!0})}class ci{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw Or();return Te.toLowerCase()}static#e=this.\u0275fac=function(et){return new(et||ci)};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"lowercase",type:ci,pure:!0,standalone:!0})}const Ai=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;class si{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw Or();return Te.replace(Ai,et=>et[0].toUpperCase()+et.slice(1).toLowerCase())}static#e=this.\u0275fac=function(et){return new(et||si)};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"titlecase",type:si,pure:!0,standalone:!0})}class yi{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw Or();return Te.toUpperCase()}static#e=this.\u0275fac=function(et){return new(et||yi)};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"uppercase",type:yi,pure:!0,standalone:!0})}const xi=new e.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE"),Tr=new e.InjectionToken("DATE_PIPE_DEFAULT_OPTIONS");class kr{constructor(Te,et,Pt){this.locale=Te,this.defaultTimezone=et,this.defaultOptions=Pt}transform(Te,et,Pt,dn){if(null==Te||""===Te||Te!=Te)return null;try{return se(Te,et??this.defaultOptions?.dateFormat??"mediumDate",dn||this.locale,Pt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(wn){throw Or()}}static#e=this.\u0275fac=function(et){return new(et||kr)(e.\u0275\u0275directiveInject(e.LOCALE_ID,16),e.\u0275\u0275directiveInject(xi,24),e.\u0275\u0275directiveInject(Tr,24))};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"date",type:kr,pure:!0,standalone:!0})}const Zr=/#/g;class Jr{constructor(Te){this._localization=Te}transform(Te,et,Pt){if(null==Te)return"";if("object"!=typeof et||null===et)throw Or();return et[xn(Te,Object.keys(et),this._localization,Pt)].replace(Zr,Te.toString())}static#e=this.\u0275fac=function(et){return new(et||Jr)(e.\u0275\u0275directiveInject(an,16))};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"i18nPlural",type:Jr,pure:!0,standalone:!0})}class qr{transform(Te,et){if(null==Te)return"";if("object"!=typeof et||"string"!=typeof Te)throw Or();return et.hasOwnProperty(Te)?et[Te]:et.hasOwnProperty("other")?et.other:""}static#e=this.\u0275fac=function(et){return new(et||qr)};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"i18nSelect",type:qr,pure:!0,standalone:!0})}class $r{transform(Te){return JSON.stringify(Te,null,2)}static#e=this.\u0275fac=function(et){return new(et||$r)};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"json",type:$r,pure:!1,standalone:!0})}class ni{constructor(Te){this.differs=Te,this.keyValues=[],this.compareFn=Li}transform(Te,et=Li){if(!Te||!(Te instanceof Map)&&"object"!=typeof Te)return null;this.differ||(this.differ=this.differs.find(Te).create());const Pt=this.differ.diff(Te),dn=et!==this.compareFn;return Pt&&(this.keyValues=[],Pt.forEachItem(wn=>{this.keyValues.push(function ki(Xe,Te){return{key:Xe,value:Te}}(wn.key,wn.currentValue))})),(Pt||dn)&&(this.keyValues.sort(et),this.compareFn=et),this.keyValues}static#e=this.\u0275fac=function(et){return new(et||ni)(e.\u0275\u0275directiveInject(e.KeyValueDiffers,16))};static#t=this.\u0275pipe=e.\u0275\u0275definePipe({name:"keyvalue",type:ni,pure:!1,standalone:!0})}function Li(Xe,Te){const et=Xe.key,Pt=Te.key;if(et===Pt)return 0;if(void 0===et)return 1;if(void 0===Pt)return-1;if(null===et)return 1;if(null===Pt)return-1;if("string"==typeof et&&"string"==typeof Pt)return et new at((0,e.\u0275\u0275inject)(o),window)})}class at{constructor(Te,et){this.document=Te,this.window=et,this.offset=()=>[0,0]}setOffset(Te){this.offset=Array.isArray(Te)?()=>Te:Te}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Te){this.supportsScrolling()&&this.window.scrollTo(Te[0],Te[1])}scrollToAnchor(Te){if(!this.supportsScrolling())return;const et=function It(Xe,Te){const et=Xe.getElementById(Te)||Xe.getElementsByName(Te)[0];if(et)return et;if("function"==typeof Xe.createTreeWalker&&Xe.body&&"function"==typeof Xe.body.attachShadow){const Pt=Xe.createTreeWalker(Xe.body,NodeFilter.SHOW_ELEMENT);let dn=Pt.currentNode;for(;dn;){const wn=dn.shadowRoot;if(wn){const W=wn.getElementById(Te)||wn.querySelector(`[name="${Te}"]`);if(W)return W}dn=Pt.nextNode()}}return null}(this.document,Te);et&&(this.scrollToElement(et),et.focus())}setHistoryScrollRestoration(Te){this.supportsScrolling()&&(this.window.history.scrollRestoration=Te)}scrollToElement(Te){const et=Te.getBoundingClientRect(),Pt=et.left+this.window.pageXOffset,dn=et.top+this.window.pageYOffset,wn=this.offset();this.window.scrollTo(Pt-wn[0],dn-wn[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Ft{setOffset(Te){}getScrollPosition(){return[0,0]}scrollToPosition(Te){}scrollToAnchor(Te){}setHistoryScrollRestoration(Te){}}class Zt{}function St(Xe,Te){return Kt(Xe)?new URL(Xe):new URL(Xe,Te.location.href)}function Kt(Xe){return/^https?:\/\//.test(Xe)}function Pn(Xe){return Kt(Xe)?new URL(Xe).hostname:Xe}function mr(Xe){return Xe.startsWith("/")?Xe.slice(1):Xe}const vr=Xe=>Xe.src,Fe=new e.InjectionToken("ImageLoader",{providedIn:"root",factory:()=>vr});function be(Xe,Te){return function(Pt){return function jn(Xe){if("string"!=typeof Xe||""===Xe.trim())return!1;try{return new URL(Xe),!0}catch{return!1}}(Pt)||function de(Xe,Te){throw new e.\u0275RuntimeError(2959,!1)}(),Pt=function Sn(Xe){return Xe.endsWith("/")?Xe.slice(0,-1):Xe}(Pt),[{provide:Fe,useValue:W=>(Kt(W.src)&&function ze(Xe,Te){throw new e.\u0275RuntimeError(2959,!1)}(),Xe(Pt,{...W,src:mr(W.src)}))}]}}const Qe=be(function ke(Xe,Te){let et="format=auto";return Te.width&&(et+=`,width=${Te.width}`),`${Xe}/cdn-cgi/image/${et}/${Te.src}`}),Nt=be(function An(Xe,Te){let et="f_auto,q_auto";return Te.width&&(et+=`,w_${Te.width}`),`${Xe}/image/upload/${et}/${Te.src}`}),dr=be(function pr(Xe,Te){const{src:et,width:Pt}=Te;let dn;return dn=Pt?[Xe,`tr:w-${Pt}`,et]:[Xe,et],dn.join("/")}),He=be(function Lt(Xe,Te){const et=new URL(`${Xe}/${Te.src}`);return et.searchParams.set("auto","format"),Te.width&&et.searchParams.set("w",Te.width.toString()),et.href});function vn(Xe,Te=!0){return`The NgOptimizedImage directive ${Te?`(activated on an element with the \`ngSrc="${Xe}"\`) `:""}has detected that`}function Qn(Xe){throw new e.\u0275RuntimeError(2958,`Unexpected invocation of the ${Xe} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class Br{constructor(){this.images=new Map,this.window=null,this.observer=null,Qn("LCP checker");const Te=(0,e.inject)(o).defaultView;typeof Te<"u"&&typeof PerformanceObserver<"u"&&(this.window=Te,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const Te=new PerformanceObserver(et=>{const Pt=et.getEntries();if(0===Pt.length)return;const wn=Pt[Pt.length-1].element?.src??"";if(wn.startsWith("data:")||wn.startsWith("blob:"))return;const W=this.images.get(wn);W&&(!W.priority&&!W.alreadyWarnedPriority&&(W.alreadyWarnedPriority=!0,function fi(Xe){const Te=vn(Xe);console.warn((0,e.\u0275formatRuntimeError)(2955,`${Te} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(wn)),W.modified&&!W.alreadyWarnedModified&&(W.alreadyWarnedModified=!0,function Si(Xe){const Te=vn(Xe);console.warn((0,e.\u0275formatRuntimeError)(2964,`${Te} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(wn)))});return Te.observe({type:"largest-contentful-paint",buffered:!0}),Te}registerImage(Te,et,Pt){if(!this.observer)return;const dn={priority:Pt,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(St(Te,this.window).href,dn)}unregisterImage(Te){this.observer&&this.images.delete(St(Te,this.window).href)}updateImage(Te,et){const Pt=St(Te,this.window).href,dn=this.images.get(Pt);dn&&(dn.modified=!0,this.images.set(St(et,this.window).href,dn),this.images.delete(Pt))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}static#e=this.\u0275fac=function(et){return new(et||Br)};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:Br,factory:Br.\u0275fac,providedIn:"root"})}const Oi=new Set(["localhost","127.0.0.1","0.0.0.0"]),qi=new e.InjectionToken("PRECONNECT_CHECK_BLOCKLIST");class li{constructor(){this.document=(0,e.inject)(o),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(Oi),Qn("preconnect link checker");const Te=this.document.defaultView;typeof Te<"u"&&(this.window=Te);const et=(0,e.inject)(qi,{optional:!0});et&&this.populateBlocklist(et)}populateBlocklist(Te){Array.isArray(Te)?io(Te,et=>{this.blocklist.add(Pn(et))}):this.blocklist.add(Pn(Te))}assertPreconnect(Te,et){if(!this.window)return;const Pt=St(Te,this.window);this.blocklist.has(Pt.hostname)||this.alreadySeen.has(Pt.origin)||(this.alreadySeen.add(Pt.origin),this.preconnectLinks||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(Pt.origin)||console.warn((0,e.\u0275formatRuntimeError)(2956,`${vn(et)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the of the document:\n `)))}queryPreconnectLinks(){const Te=new Set,Pt=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let dn of Pt){const wn=St(dn.href,this.window);Te.add(wn.origin)}return Te}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}static#e=this.\u0275fac=function(et){return new(et||li)};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:li,factory:li.\u0275fac,providedIn:"root"})}function io(Xe,Te){for(let et of Xe)Array.isArray(et)?io(et,Te):Te(et)}const Ni=new e.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class pi{constructor(){this.preloadedImages=(0,e.inject)(Ni),this.document=(0,e.inject)(o)}createPreloadLinkTag(Te,et,Pt,dn){if(this.preloadedImages.has(et))return;this.preloadedImages.add(et);const wn=Te.createElement("link");Te.setAttribute(wn,"as","image"),Te.setAttribute(wn,"href",et),Te.setAttribute(wn,"rel","preload"),Te.setAttribute(wn,"fetchpriority","high"),dn&&Te.setAttribute(wn,"imageSizes",dn),Pt&&Te.setAttribute(wn,"imageSrcset",Pt),Te.appendChild(this.document.head,wn)}static#e=this.\u0275fac=function(et){return new(et||pi)};static#t=this.\u0275prov=e.\u0275\u0275defineInjectable({token:pi,factory:pi.\u0275fac,providedIn:"root"})}const Qi=/^((\s*\d+w\s*(,|$)){1,})$/,ao=[1,2],On={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},Nn=new e.InjectionToken("ImageConfig",{providedIn:"root",factory:()=>On});class Tn{constructor(){this.imageLoader=(0,e.inject)(Fe),this.config=function ir(Xe){let Te={};return Xe.breakpoints&&(Te.breakpoints=Xe.breakpoints.sort((et,Pt)=>et-Pt)),Object.assign({},On,Xe,Te)}((0,e.inject)(Nn)),this.renderer=(0,e.inject)(e.Renderer2),this.imgElement=(0,e.inject)(e.ElementRef).nativeElement,this.injector=(0,e.inject)(e.Injector),this.isServer=ee((0,e.inject)(e.PLATFORM_ID)),this.preloadLinkCreator=(0,e.inject)(pi),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Te=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Te,this.sizes)}ngOnChanges(Te){if(Te.ngSrc&&!Te.ngSrc.isFirstChange()){const et=this._renderedSrc;this.updateSrcAndSrcset(!0);const Pt=this._renderedSrc;null!==this.lcpObserver&&et&&Pt&&et!==Pt&&this.injector.get(e.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(et,Pt)})}}callImageLoader(Te){let et=Te;return this.loaderParams&&(et.loaderParams=this.loaderParams),this.imageLoader(et)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Te=Qi.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Pt=>""!==Pt).map(Pt=>{Pt=Pt.trim();const dn=Te?parseFloat(Pt):parseFloat(Pt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:dn})} ${Pt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Te}=this.config;let et=Te;return"100vw"===this.sizes?.trim()&&(et=Te.filter(dn=>dn>=640)),et.map(dn=>`${this.callImageLoader({src:this.ngSrc,width:dn})} ${dn}w`).join(", ")}updateSrcAndSrcset(Te=!1){Te&&(this._renderedSrc=null);const et=this.getRewrittenSrc();let Pt;return this.setHostAttribute("src",et),this.ngSrcset?Pt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Pt=this.getAutomaticSrcset()),Pt&&this.setHostAttribute("srcset",Pt),Pt}getFixedSrcset(){return ao.map(et=>`${this.callImageLoader({src:this.ngSrc,width:this.width*et})} ${et}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Te=!1;return this.sizes||(Te=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==vr&&!Te}ngOnDestroy(){}setHostAttribute(Te,et){this.renderer.setAttribute(this.imgElement,Te,et)}static#e=this.\u0275fac=function(et){return new(et||Tn)};static#t=this.\u0275dir=e.\u0275\u0275defineDirective({type:Tn,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(et,Pt){2&et&&e.\u0275\u0275styleProp("position",Pt.fill?"absolute":null)("width",Pt.fill?"100%":null)("height",Pt.fill?"100%":null)("inset",Pt.fill?"0px":null)},inputs:{ngSrc:["ngSrc","ngSrc",qa],ngSrcset:"ngSrcset",sizes:"sizes",width:["width","width",e.numberAttribute],height:["height","height",e.numberAttribute],loading:"loading",priority:["priority","priority",e.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:["disableOptimizedSrcset","disableOptimizedSrcset",e.booleanAttribute],fill:["fill","fill",e.booleanAttribute],src:"src",srcset:"srcset"},standalone:!0,features:[e.\u0275\u0275InputTransformsFeature,e.\u0275\u0275NgOnChangesFeature]})}function qa(Xe){return"string"==typeof Xe?Xe:(0,e.\u0275unwrapSafeValue)(Xe)}},4860: +/*!********************************************************!*\ + !*** ./node_modules/@angular/common/fesm2022/http.mjs ***! + \********************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{FetchBackend:()=>De,HTTP_INTERCEPTORS:()=>pe,HttpBackend:()=>O,HttpClient:()=>J,HttpClientJsonpModule:()=>Be,HttpClientModule:()=>bn,HttpClientXsrfModule:()=>gn,HttpContext:()=>I,HttpContextToken:()=>T,HttpErrorResponse:()=>X,HttpEventType:()=>we,HttpFeatureKind:()=>Xt,HttpHandler:()=>_,HttpHeaderResponse:()=>Ne,HttpHeaders:()=>D,HttpParams:()=>b,HttpRequest:()=>te,HttpResponse:()=>G,HttpResponseBase:()=>ie,HttpUrlEncodingCodec:()=>w,HttpXhrBackend:()=>ht,HttpXsrfTokenExtractor:()=>Ve,JsonpClientBackend:()=>fe,JsonpInterceptor:()=>Ce,provideHttpClient:()=>hn,withFetch:()=>Gt,withInterceptors:()=>Cn,withInterceptorsFromDi:()=>tn,withJsonpSupport:()=>ft,withNoXsrfProtection:()=>on,withRequestsMadeViaParent:()=>lt,withXsrfConfiguration:()=>yn,\u0275HttpInterceptingHandler:()=>ve,\u0275HttpInterceptorHandler:()=>ve,\u0275withHttpTransferCache:()=>cn});var e=t( +/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ +1670),r=t( +/*! @angular/core */ +1699),d=t( +/*! rxjs */ +9681),n=t( +/*! rxjs */ +3064),l=t( +/*! rxjs */ +502),o=t( +/*! rxjs/operators */ +7293),s=t( +/*! rxjs/operators */ +5046),p=t( +/*! rxjs/operators */ +7422),u=t( +/*! rxjs/operators */ +786),g=t( +/*! rxjs/operators */ +6520),f=t( +/*! rxjs/operators */ +5746),y=t( +/*! rxjs/operators */ +7627),v=t( +/*! @angular/common */ +6575);class _{}class O{}class D{constructor(qe){this.normalizedNames=new Map,this.lazyUpdate=null,qe?"string"==typeof qe?this.lazyInit=()=>{this.headers=new Map,qe.split("\n").forEach(Ct=>{const Wt=Ct.indexOf(":");if(Wt>0){const Bt=Ct.slice(0,Wt),Ht=Bt.toLowerCase(),an=Ct.slice(Wt+1).trim();this.maybeSetNormalizedName(Bt,Ht),this.headers.has(Ht)?this.headers.get(Ht).push(an):this.headers.set(Ht,[an])}})}:typeof Headers<"u"&&qe instanceof Headers?(this.headers=new Map,qe.forEach((Ct,Wt)=>{this.setHeaderEntries(Wt,Ct)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(qe).forEach(([Ct,Wt])=>{this.setHeaderEntries(Ct,Wt)})}:this.headers=new Map}has(qe){return this.init(),this.headers.has(qe.toLowerCase())}get(qe){this.init();const Ct=this.headers.get(qe.toLowerCase());return Ct&&Ct.length>0?Ct[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(qe){return this.init(),this.headers.get(qe.toLowerCase())||null}append(qe,Ct){return this.clone({name:qe,value:Ct,op:"a"})}set(qe,Ct){return this.clone({name:qe,value:Ct,op:"s"})}delete(qe,Ct){return this.clone({name:qe,value:Ct,op:"d"})}maybeSetNormalizedName(qe,Ct){this.normalizedNames.has(Ct)||this.normalizedNames.set(Ct,qe)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(qe=>this.applyUpdate(qe)),this.lazyUpdate=null))}copyFrom(qe){qe.init(),Array.from(qe.headers.keys()).forEach(Ct=>{this.headers.set(Ct,qe.headers.get(Ct)),this.normalizedNames.set(Ct,qe.normalizedNames.get(Ct))})}clone(qe){const Ct=new D;return Ct.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,Ct.lazyUpdate=(this.lazyUpdate||[]).concat([qe]),Ct}applyUpdate(qe){const Ct=qe.name.toLowerCase();switch(qe.op){case"a":case"s":let Wt=qe.value;if("string"==typeof Wt&&(Wt=[Wt]),0===Wt.length)return;this.maybeSetNormalizedName(qe.name,Ct);const Bt=("a"===qe.op?this.headers.get(Ct):void 0)||[];Bt.push(...Wt),this.headers.set(Ct,Bt);break;case"d":const Ht=qe.value;if(Ht){let an=this.headers.get(Ct);if(!an)return;an=an.filter(xn=>-1===Ht.indexOf(xn)),0===an.length?(this.headers.delete(Ct),this.normalizedNames.delete(Ct)):this.headers.set(Ct,an)}else this.headers.delete(Ct),this.normalizedNames.delete(Ct)}}setHeaderEntries(qe,Ct){const Wt=(Array.isArray(Ct)?Ct:[Ct]).map(Ht=>Ht.toString()),Bt=qe.toLowerCase();this.headers.set(Bt,Wt),this.maybeSetNormalizedName(qe,Bt)}forEach(qe){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ct=>qe(this.normalizedNames.get(Ct),this.headers.get(Ct)))}}class w{encodeKey(qe){return E(qe)}encodeValue(qe){return E(qe)}decodeKey(qe){return decodeURIComponent(qe)}decodeValue(qe){return decodeURIComponent(qe)}}const c=/%(\d[a-f0-9])/gi,B={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function E(Ut){return encodeURIComponent(Ut).replace(c,(qe,Ct)=>B[Ct]??qe)}function h(Ut){return`${Ut}`}class b{constructor(qe={}){if(this.updates=null,this.cloneFrom=null,this.encoder=qe.encoder||new w,qe.fromString){if(qe.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function S(Ut,qe){const Ct=new Map;return Ut.length>0&&Ut.replace(/^\?/,"").split("&").forEach(Bt=>{const Ht=Bt.indexOf("="),[an,xn]=-1==Ht?[qe.decodeKey(Bt),""]:[qe.decodeKey(Bt.slice(0,Ht)),qe.decodeValue(Bt.slice(Ht+1))],Rn=Ct.get(an)||[];Rn.push(xn),Ct.set(an,Rn)}),Ct}(qe.fromString,this.encoder)}else qe.fromObject?(this.map=new Map,Object.keys(qe.fromObject).forEach(Ct=>{const Wt=qe.fromObject[Ct],Bt=Array.isArray(Wt)?Wt.map(h):[h(Wt)];this.map.set(Ct,Bt)})):this.map=null}has(qe){return this.init(),this.map.has(qe)}get(qe){this.init();const Ct=this.map.get(qe);return Ct?Ct[0]:null}getAll(qe){return this.init(),this.map.get(qe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(qe,Ct){return this.clone({param:qe,value:Ct,op:"a"})}appendAll(qe){const Ct=[];return Object.keys(qe).forEach(Wt=>{const Bt=qe[Wt];Array.isArray(Bt)?Bt.forEach(Ht=>{Ct.push({param:Wt,value:Ht,op:"a"})}):Ct.push({param:Wt,value:Bt,op:"a"})}),this.clone(Ct)}set(qe,Ct){return this.clone({param:qe,value:Ct,op:"s"})}delete(qe,Ct){return this.clone({param:qe,value:Ct,op:"d"})}toString(){return this.init(),this.keys().map(qe=>{const Ct=this.encoder.encodeKey(qe);return this.map.get(qe).map(Wt=>Ct+"="+this.encoder.encodeValue(Wt)).join("&")}).filter(qe=>""!==qe).join("&")}clone(qe){const Ct=new b({encoder:this.encoder});return Ct.cloneFrom=this.cloneFrom||this,Ct.updates=(this.updates||[]).concat(qe),Ct}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(qe=>this.map.set(qe,this.cloneFrom.map.get(qe))),this.updates.forEach(qe=>{switch(qe.op){case"a":case"s":const Ct=("a"===qe.op?this.map.get(qe.param):void 0)||[];Ct.push(h(qe.value)),this.map.set(qe.param,Ct);break;case"d":if(void 0===qe.value){this.map.delete(qe.param);break}{let Wt=this.map.get(qe.param)||[];const Bt=Wt.indexOf(h(qe.value));-1!==Bt&&Wt.splice(Bt,1),Wt.length>0?this.map.set(qe.param,Wt):this.map.delete(qe.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(qe){this.defaultValue=qe}}class I{constructor(){this.map=new Map}set(qe,Ct){return this.map.set(qe,Ct),this}get(qe){return this.map.has(qe)||this.map.set(qe,qe.defaultValue()),this.map.get(qe)}delete(qe){return this.map.delete(qe),this}has(qe){return this.map.has(qe)}keys(){return this.map.keys()}}function L(Ut){return typeof ArrayBuffer<"u"&&Ut instanceof ArrayBuffer}function j(Ut){return typeof Blob<"u"&&Ut instanceof Blob}function Q(Ut){return typeof FormData<"u"&&Ut instanceof FormData}class te{constructor(qe,Ct,Wt,Bt){let Ht;if(this.url=Ct,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=qe.toUpperCase(),function x(Ut){switch(Ut){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Bt?(this.body=void 0!==Wt?Wt:null,Ht=Bt):Ht=Wt,Ht&&(this.reportProgress=!!Ht.reportProgress,this.withCredentials=!!Ht.withCredentials,Ht.responseType&&(this.responseType=Ht.responseType),Ht.headers&&(this.headers=Ht.headers),Ht.context&&(this.context=Ht.context),Ht.params&&(this.params=Ht.params)),this.headers||(this.headers=new D),this.context||(this.context=new I),this.params){const an=this.params.toString();if(0===an.length)this.urlWithParams=Ct;else{const xn=Ct.indexOf("?");this.urlWithParams=Ct+(-1===xn?"?":xn Jn.set(sr,qe.setHeaders[sr]),Rn)),qe.setParams&&(er=Object.keys(qe.setParams).reduce((Jn,sr)=>Jn.set(sr,qe.setParams[sr]),er)),new te(Ct,Wt,Ht,{params:er,headers:Rn,context:Zn,reportProgress:xn,responseType:Bt,withCredentials:an})}}var we,Ut;(Ut=we||(we={}))[Ut.Sent=0]="Sent",Ut[Ut.UploadProgress=1]="UploadProgress",Ut[Ut.ResponseHeader=2]="ResponseHeader",Ut[Ut.DownloadProgress=3]="DownloadProgress",Ut[Ut.Response=4]="Response",Ut[Ut.User=5]="User";class ie{constructor(qe,Ct=200,Wt="OK"){this.headers=qe.headers||new D,this.status=void 0!==qe.status?qe.status:Ct,this.statusText=qe.statusText||Wt,this.url=qe.url||null,this.ok=this.status>=200&&this.status<300}}class Ne extends ie{constructor(qe={}){super(qe),this.type=we.ResponseHeader}clone(qe={}){return new Ne({headers:qe.headers||this.headers,status:void 0!==qe.status?qe.status:this.status,statusText:qe.statusText||this.statusText,url:qe.url||this.url||void 0})}}class G extends ie{constructor(qe={}){super(qe),this.type=we.Response,this.body=void 0!==qe.body?qe.body:null}clone(qe={}){return new G({body:void 0!==qe.body?qe.body:this.body,headers:qe.headers||this.headers,status:void 0!==qe.status?qe.status:this.status,statusText:qe.statusText||this.statusText,url:qe.url||this.url||void 0})}}class X extends ie{constructor(qe){super(qe,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${qe.url||"(unknown url)"}`:`Http failure response for ${qe.url||"(unknown url)"}: ${qe.status} ${qe.statusText}`,this.error=qe.error||null}}function H(Ut,qe){return{body:qe,headers:Ut.headers,context:Ut.context,observe:Ut.observe,params:Ut.params,reportProgress:Ut.reportProgress,responseType:Ut.responseType,withCredentials:Ut.withCredentials}}class J{constructor(qe){this.handler=qe}request(qe,Ct,Wt={}){let Bt;if(qe instanceof te)Bt=qe;else{let xn,Rn;xn=Wt.headers instanceof D?Wt.headers:new D(Wt.headers),Wt.params&&(Rn=Wt.params instanceof b?Wt.params:new b({fromObject:Wt.params})),Bt=new te(qe,Ct,void 0!==Wt.body?Wt.body:null,{headers:xn,context:Wt.context,params:Rn,reportProgress:Wt.reportProgress,responseType:Wt.responseType||"json",withCredentials:Wt.withCredentials})}const Ht=(0,d.of)(Bt).pipe((0,o.concatMap)(xn=>this.handler.handle(xn)));if(qe instanceof te||"events"===Wt.observe)return Ht;const an=Ht.pipe((0,s.filter)(xn=>xn instanceof G));switch(Wt.observe||"body"){case"body":switch(Bt.responseType){case"arraybuffer":return an.pipe((0,p.map)(xn=>{if(null!==xn.body&&!(xn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return xn.body}));case"blob":return an.pipe((0,p.map)(xn=>{if(null!==xn.body&&!(xn.body instanceof Blob))throw new Error("Response is not a Blob.");return xn.body}));case"text":return an.pipe((0,p.map)(xn=>{if(null!==xn.body&&"string"!=typeof xn.body)throw new Error("Response is not a string.");return xn.body}));default:return an.pipe((0,p.map)(xn=>xn.body))}case"response":return an;default:throw new Error(`Unreachable: unhandled observe type ${Wt.observe}}`)}}delete(qe,Ct={}){return this.request("DELETE",qe,Ct)}get(qe,Ct={}){return this.request("GET",qe,Ct)}head(qe,Ct={}){return this.request("HEAD",qe,Ct)}jsonp(qe,Ct){return this.request("JSONP",qe,{params:(new b).append(Ct,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(qe,Ct={}){return this.request("OPTIONS",qe,Ct)}patch(qe,Ct,Wt={}){return this.request("PATCH",qe,H(Wt,Ct))}post(qe,Ct,Wt={}){return this.request("POST",qe,H(Wt,Ct))}put(qe,Ct,Wt={}){return this.request("PUT",qe,H(Wt,Ct))}static#e=this.\u0275fac=function(Ct){return new(Ct||J)(r.\u0275\u0275inject(_))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}const me=/^\)\]\}',?\n/;function ue(Ut){if(Ut.url)return Ut.url;const qe="X-Request-URL".toLocaleLowerCase();return Ut.headers.get(qe)}class De{constructor(){this.fetchImpl=(0,r.inject)(Pe,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,r.inject)(r.NgZone)}handle(qe){return new n.Observable(Ct=>{const Wt=new AbortController;return this.doRequest(qe,Wt.signal,Ct).then(Le,Bt=>Ct.error(new X({error:Bt}))),()=>Wt.abort()})}doRequest(qe,Ct,Wt){var Bt=this;return(0,e.default)(function*(){const Ht=Bt.createRequestInit(qe);let an;try{const qn=Bt.fetchImpl(qe.urlWithParams,{signal:Ct,...Ht});(function pt(Ut){Ut.then(Le,Le)})(qn),Wt.next({type:we.Sent}),an=yield qn}catch(qn){return void Wt.error(new X({error:qn,status:qn.status??0,statusText:qn.statusText,url:qe.urlWithParams,headers:qn.headers}))}const xn=new D(an.headers),Rn=an.statusText,er=ue(an)??qe.urlWithParams;let Zn=an.status,Jn=null;if(qe.reportProgress&&Wt.next(new Ne({headers:xn,status:Zn,statusText:Rn,url:er})),an.body){const qn=an.headers.get("content-length"),zt=[],un=an.body.getReader();let Ln,kn,mn=0;const st=typeof Zone<"u"&&Zone.current;yield Bt.ngZone.runOutsideAngular((0,e.default)(function*(){for(;;){const{done:wt,value:xt}=yield un.read();if(wt)break;if(zt.push(xt),mn+=xt.length,qe.reportProgress){kn="text"===qe.responseType?(kn??"")+(Ln??=new TextDecoder).decode(xt,{stream:!0}):void 0;const En=()=>Wt.next({type:we.DownloadProgress,total:qn?+qn:void 0,loaded:mn,partialText:kn});st?st.run(En):En()}}}));const dt=Bt.concatChunks(zt,mn);try{Jn=Bt.parseBody(qe,dt)}catch(wt){return void Wt.error(new X({error:wt,headers:new D(an.headers),status:an.status,statusText:an.statusText,url:ue(an)??qe.urlWithParams}))}}0===Zn&&(Zn=Jn?200:0),Zn>=200&&Zn<300?(Wt.next(new G({body:Jn,headers:xn,status:Zn,statusText:Rn,url:er})),Wt.complete()):Wt.error(new X({error:Jn,headers:xn,status:Zn,statusText:Rn,url:er}))})()}parseBody(qe,Ct){switch(qe.responseType){case"json":const Wt=(new TextDecoder).decode(Ct).replace(me,"");return""===Wt?null:JSON.parse(Wt);case"text":return(new TextDecoder).decode(Ct);case"blob":return new Blob([Ct]);case"arraybuffer":return Ct.buffer}}createRequestInit(qe){const Ct={},Wt=qe.withCredentials?"include":void 0;if(qe.headers.forEach((Bt,Ht)=>Ct[Bt]=Ht.join(",")),Ct.Accept??="application/json, text/plain, */*",!Ct["Content-Type"]){const Bt=qe.detectContentTypeHeader();null!==Bt&&(Ct["Content-Type"]=Bt)}return{body:qe.serializeBody(),method:qe.method,headers:Ct,credentials:Wt}}concatChunks(qe,Ct){const Wt=new Uint8Array(Ct);let Bt=0;for(const Ht of qe)Wt.set(Ht,Bt),Bt+=Ht.length;return Wt}static#e=this.\u0275fac=function(Ct){return new(Ct||De)};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac})}class Pe{}function Le(){}function it(Ut,qe){return qe(Ut)}function ae(Ut,qe){return(Ct,Wt)=>qe.intercept(Ct,{handle:Bt=>Ut(Bt,Wt)})}const pe=new r.InjectionToken(""),Ge=new r.InjectionToken(""),ct=new r.InjectionToken("");function yt(){let Ut=null;return(qe,Ct)=>{null===Ut&&(Ut=((0,r.inject)(pe,{optional:!0})??[]).reduceRight(ae,it));const Wt=(0,r.inject)(r.\u0275InitialRenderPendingTasks),Bt=Wt.add();return Ut(qe,Ct).pipe((0,u.finalize)(()=>Wt.remove(Bt)))}}class ve extends _{constructor(qe,Ct){super(),this.backend=qe,this.injector=Ct,this.chain=null,this.pendingTasks=(0,r.inject)(r.\u0275InitialRenderPendingTasks)}handle(qe){if(null===this.chain){const Wt=Array.from(new Set([...this.injector.get(Ge),...this.injector.get(ct,[])]));this.chain=Wt.reduceRight((Bt,Ht)=>function je(Ut,qe,Ct){return(Wt,Bt)=>Ct.runInContext(()=>qe(Wt,Ht=>Ut(Ht,Bt)))}(Bt,Ht,this.injector),it)}const Ct=this.pendingTasks.add();return this.chain(qe,Wt=>this.backend.handle(Wt)).pipe((0,u.finalize)(()=>this.pendingTasks.remove(Ct)))}static#e=this.\u0275fac=function(Ct){return new(Ct||ve)(r.\u0275\u0275inject(O),r.\u0275\u0275inject(r.EnvironmentInjector))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:ve,factory:ve.\u0275fac})}let Y,Ae=0;class ye{}function se(){return"object"==typeof window?window:{}}class fe{constructor(qe,Ct){this.callbackMap=qe,this.document=Ct,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ae++}handle(qe){if("JSONP"!==qe.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==qe.responseType)throw new Error("JSONP requests must use Json response type.");if(qe.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new n.Observable(Ct=>{const Wt=this.nextCallback(),Bt=qe.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Wt}$1`),Ht=this.document.createElement("script");Ht.src=Bt;let an=null,xn=!1;this.callbackMap[Wt]=Jn=>{delete this.callbackMap[Wt],an=Jn,xn=!0};const Rn=()=>{Ht.parentNode&&Ht.parentNode.removeChild(Ht),delete this.callbackMap[Wt]};return Ht.addEventListener("load",Jn=>{this.resolvedPromise.then(()=>{Rn(),xn?(Ct.next(new G({body:an,status:200,statusText:"OK",url:Bt})),Ct.complete()):Ct.error(new X({url:Bt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Ht.addEventListener("error",Jn=>{Rn(),Ct.error(new X({error:Jn,status:0,statusText:"JSONP Error",url:Bt}))}),this.document.body.appendChild(Ht),Ct.next({type:we.Sent}),()=>{xn||this.removeListeners(Ht),Rn()}})}removeListeners(qe){Y||(Y=this.document.implementation.createHTMLDocument()),Y.adoptNode(qe)}static#e=this.\u0275fac=function(Ct){return new(Ct||fe)(r.\u0275\u0275inject(ye),r.\u0275\u0275inject(v.DOCUMENT))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac})}function Ie(Ut,qe){return"JSONP"===Ut.method?(0,r.inject)(fe).handle(Ut):qe(Ut)}class Ce{constructor(qe){this.injector=qe}intercept(qe,Ct){return this.injector.runInContext(()=>Ie(qe,Wt=>Ct.handle(Wt)))}static#e=this.\u0275fac=function(Ct){return new(Ct||Ce)(r.\u0275\u0275inject(r.EnvironmentInjector))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:Ce,factory:Ce.\u0275fac})}const Oe=/^\)\]\}',?\n/;class ht{constructor(qe){this.xhrFactory=qe}handle(qe){if("JSONP"===qe.method)throw new r.\u0275RuntimeError(-2800,!1);const Ct=this.xhrFactory;return(Ct.\u0275loadImpl?(0,l.from)(Ct.\u0275loadImpl()):(0,d.of)(null)).pipe((0,g.switchMap)(()=>new n.Observable(Bt=>{const Ht=Ct.build();if(Ht.open(qe.method,qe.urlWithParams),qe.withCredentials&&(Ht.withCredentials=!0),qe.headers.forEach((zt,un)=>Ht.setRequestHeader(zt,un.join(","))),qe.headers.has("Accept")||Ht.setRequestHeader("Accept","application/json, text/plain, */*"),!qe.headers.has("Content-Type")){const zt=qe.detectContentTypeHeader();null!==zt&&Ht.setRequestHeader("Content-Type",zt)}if(qe.responseType){const zt=qe.responseType.toLowerCase();Ht.responseType="json"!==zt?zt:"text"}const an=qe.serializeBody();let xn=null;const Rn=()=>{if(null!==xn)return xn;const zt=Ht.statusText||"OK",un=new D(Ht.getAllResponseHeaders()),mn=function Ye(Ut){return"responseURL"in Ut&&Ut.responseURL?Ut.responseURL:/^X-Request-URL:/m.test(Ut.getAllResponseHeaders())?Ut.getResponseHeader("X-Request-URL"):null}(Ht)||qe.url;return xn=new Ne({headers:un,status:Ht.status,statusText:zt,url:mn}),xn},er=()=>{let{headers:zt,status:un,statusText:mn,url:Ln}=Rn(),kn=null;204!==un&&(kn=typeof Ht.response>"u"?Ht.responseText:Ht.response),0===un&&(un=kn?200:0);let st=un>=200&&un<300;if("json"===qe.responseType&&"string"==typeof kn){const dt=kn;kn=kn.replace(Oe,"");try{kn=""!==kn?JSON.parse(kn):null}catch(wt){kn=dt,st&&(st=!1,kn={error:wt,text:kn})}}st?(Bt.next(new G({body:kn,headers:zt,status:un,statusText:mn,url:Ln||void 0})),Bt.complete()):Bt.error(new X({error:kn,headers:zt,status:un,statusText:mn,url:Ln||void 0}))},Zn=zt=>{const{url:un}=Rn(),mn=new X({error:zt,status:Ht.status||0,statusText:Ht.statusText||"Unknown Error",url:un||void 0});Bt.error(mn)};let Jn=!1;const sr=zt=>{Jn||(Bt.next(Rn()),Jn=!0);let un={type:we.DownloadProgress,loaded:zt.loaded};zt.lengthComputable&&(un.total=zt.total),"text"===qe.responseType&&Ht.responseText&&(un.partialText=Ht.responseText),Bt.next(un)},qn=zt=>{let un={type:we.UploadProgress,loaded:zt.loaded};zt.lengthComputable&&(un.total=zt.total),Bt.next(un)};return Ht.addEventListener("load",er),Ht.addEventListener("error",Zn),Ht.addEventListener("timeout",Zn),Ht.addEventListener("abort",Zn),qe.reportProgress&&(Ht.addEventListener("progress",sr),null!==an&&Ht.upload&&Ht.upload.addEventListener("progress",qn)),Ht.send(an),Bt.next({type:we.Sent}),()=>{Ht.removeEventListener("error",Zn),Ht.removeEventListener("abort",Zn),Ht.removeEventListener("load",er),Ht.removeEventListener("timeout",Zn),qe.reportProgress&&(Ht.removeEventListener("progress",sr),null!==an&&Ht.upload&&Ht.upload.removeEventListener("progress",qn)),Ht.readyState!==Ht.DONE&&Ht.abort()}})))}static#e=this.\u0275fac=function(Ct){return new(Ct||ht)(r.\u0275\u0275inject(v.XhrFactory))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:ht,factory:ht.\u0275fac})}const Mt=new r.InjectionToken("XSRF_ENABLED"),Ue="XSRF-TOKEN",$e=new r.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ue}),rt="X-XSRF-TOKEN",ne=new r.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>rt});class Ve{}class Ze{constructor(qe,Ct,Wt){this.doc=qe,this.platform=Ct,this.cookieName=Wt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const qe=this.doc.cookie||"";return qe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,v.\u0275parseCookieValue)(qe,this.cookieName),this.lastCookieString=qe),this.lastToken}static#e=this.\u0275fac=function(Ct){return new(Ct||Ze)(r.\u0275\u0275inject(v.DOCUMENT),r.\u0275\u0275inject(r.PLATFORM_ID),r.\u0275\u0275inject($e))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:Ze,factory:Ze.\u0275fac})}function nt(Ut,qe){const Ct=Ut.url.toLowerCase();if(!(0,r.inject)(Mt)||"GET"===Ut.method||"HEAD"===Ut.method||Ct.startsWith("http://")||Ct.startsWith("https://"))return qe(Ut);const Wt=(0,r.inject)(Ve).getToken(),Bt=(0,r.inject)(ne);return null!=Wt&&!Ut.headers.has(Bt)&&(Ut=Ut.clone({headers:Ut.headers.set(Bt,Wt)})),qe(Ut)}class Et{constructor(qe){this.injector=qe}intercept(qe,Ct){return this.injector.runInContext(()=>nt(qe,Wt=>Ct.handle(Wt)))}static#e=this.\u0275fac=function(Ct){return new(Ct||Et)(r.\u0275\u0275inject(r.EnvironmentInjector))};static#t=this.\u0275prov=r.\u0275\u0275defineInjectable({token:Et,factory:Et.\u0275fac})}var Xt;function qt(Ut,qe){return{\u0275kind:Ut,\u0275providers:qe}}function hn(...Ut){const qe=[J,ht,ve,{provide:_,useExisting:ve},{provide:O,useExisting:ht},{provide:Ge,useValue:nt,multi:!0},{provide:Mt,useValue:!0},{provide:Ve,useClass:Ze}];for(const Ct of Ut)qe.push(...Ct.\u0275providers);return(0,r.makeEnvironmentProviders)(qe)}function Cn(Ut){return qt(Xt.Interceptors,Ut.map(qe=>({provide:Ge,useValue:qe,multi:!0})))}!function(Ut){Ut[Ut.Interceptors=0]="Interceptors",Ut[Ut.LegacyInterceptors=1]="LegacyInterceptors",Ut[Ut.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ut[Ut.NoXsrfProtection=3]="NoXsrfProtection",Ut[Ut.JsonpSupport=4]="JsonpSupport",Ut[Ut.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ut[Ut.Fetch=6]="Fetch"}(Xt||(Xt={}));const fn=new r.InjectionToken("LEGACY_INTERCEPTOR_FN");function tn(){return qt(Xt.LegacyInterceptors,[{provide:fn,useFactory:yt},{provide:Ge,useExisting:fn,multi:!0}])}function yn({cookieName:Ut,headerName:qe}){const Ct=[];return void 0!==Ut&&Ct.push({provide:$e,useValue:Ut}),void 0!==qe&&Ct.push({provide:ne,useValue:qe}),qt(Xt.CustomXsrfConfiguration,Ct)}function on(){return qt(Xt.NoXsrfProtection,[{provide:Mt,useValue:!1}])}function ft(){return qt(Xt.JsonpSupport,[fe,{provide:ye,useFactory:se},{provide:Ge,useValue:Ie,multi:!0}])}function lt(){return qt(Xt.RequestsMadeViaParent,[{provide:O,useFactory:()=>(0,r.inject)(_,{skipSelf:!0,optional:!0})}])}function Gt(){return qt(Xt.Fetch,[De,{provide:O,useExisting:De}])}class gn{static disable(){return{ngModule:gn,providers:[on().\u0275providers]}}static withOptions(qe={}){return{ngModule:gn,providers:yn(qe).\u0275providers}}static#e=this.\u0275fac=function(Ct){return new(Ct||gn)};static#t=this.\u0275mod=r.\u0275\u0275defineNgModule({type:gn});static#n=this.\u0275inj=r.\u0275\u0275defineInjector({providers:[Et,{provide:pe,useExisting:Et,multi:!0},{provide:Ve,useClass:Ze},yn({cookieName:Ue,headerName:rt}).\u0275providers,{provide:Mt,useValue:!0}]})}class bn{static#e=this.\u0275fac=function(Ct){return new(Ct||bn)};static#t=this.\u0275mod=r.\u0275\u0275defineNgModule({type:bn});static#n=this.\u0275inj=r.\u0275\u0275defineInjector({providers:[hn(tn())]})}class Be{static#e=this.\u0275fac=function(Ct){return new(Ct||Be)};static#t=this.\u0275mod=r.\u0275\u0275defineNgModule({type:Be});static#n=this.\u0275inj=r.\u0275\u0275defineInjector({providers:[ft().\u0275providers]})}const ot=new r.InjectionToken(""),Tt=["GET","HEAD"];function Dt(Ut,qe){const{isCacheActive:Ct}=(0,r.inject)(ot);if(!Ct||!Tt.includes(Ut.method))return qe(Ut);const Wt=(0,r.inject)(r.TransferState),Bt=function Ot(Ut){const{params:qe,method:Ct,responseType:Wt,url:Bt}=Ut,xn=function _t(Ut){let qe=0;for(const Ct of Ut)qe=Math.imul(31,qe)+Ct.charCodeAt(0)<<0;return qe+=2147483648,qe.toString()}(Ct+"."+Wt+"."+Bt+"?"+qe.keys().sort().map(Rn=>`${Rn}=${qe.getAll(Rn)}`).join("&"));return(0,r.makeStateKey)(xn)}(Ut),Ht=Wt.get(Bt,null);if(Ht){let an=Ht.body;switch(Ht.responseType){case"arraybuffer":an=(new TextEncoder).encode(Ht.body).buffer;break;case"blob":an=new Blob([Ht.body])}return(0,d.of)(new G({body:an,headers:new D(Ht.headers),status:Ht.status,statusText:Ht.statusText,url:Ht.url}))}return qe(Ut).pipe((0,f.tap)(an=>{an instanceof G&&Wt.set(Bt,{body:an.body,headers:mt(an.headers),status:an.status,statusText:an.statusText,url:an.url||"",responseType:Ut.responseType})}))}function mt(Ut){const qe={};for(const Ct of Ut.keys()){const Wt=Ut.getAll(Ct);null!==Wt&&(qe[Ct]=Wt)}return qe}function cn(){return[{provide:ot,useFactory:()=>((0,r.inject)(r.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:ct,useValue:Dt,multi:!0,deps:[r.TransferState,ot]},{provide:r.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Ut=(0,r.inject)(r.ApplicationRef),qe=(0,r.inject)(ot);return()=>{Ut.isStable.pipe((0,y.first)(Ct=>Ct)).toPromise().then(()=>{qe.isCacheActive=!1})}}}]}},1699: +/*!******************************************************!*\ + !*** ./node_modules/@angular/core/fesm2022/core.mjs ***! + \******************************************************/(R,C,t)=>{"use strict";t.r(C),t.d(C,{ANIMATION_MODULE_TYPE:()=>q5,APP_BOOTSTRAP_LISTENER:()=>T1,APP_ID:()=>Nf,APP_INITIALIZER:()=>Kg,ApplicationInitStatus:()=>Qo,ApplicationModule:()=>gc,ApplicationRef:()=>wo,Attribute:()=>p0,COMPILER_OPTIONS:()=>Jg,CSP_NONCE:()=>$5,CUSTOM_ELEMENTS_SCHEMA:()=>S0,ChangeDetectionStrategy:()=>Wt,ChangeDetectorRef:()=>Cm,Compiler:()=>Qs,CompilerFactory:()=>x7,Component:()=>_7,ComponentFactory:()=>xl,ComponentFactoryResolver:()=>bs,ComponentRef:()=>Qf,ContentChild:()=>m3,ContentChildren:()=>g3,DEFAULT_CURRENCY_CODE:()=>O7,DebugElement:()=>Zs,DebugEventListener:()=>u9,DebugNode:()=>w1,DefaultIterableDiffer:()=>wm,DestroyRef:()=>Is,Directive:()=>Xg,ENVIRONMENT_INITIALIZER:()=>vs,ElementRef:()=>Es,EmbeddedViewRef:()=>c9,EnvironmentInjector:()=>bo,ErrorHandler:()=>Vo,EventEmitter:()=>Eo,Host:()=>I0,HostBinding:()=>I7,HostListener:()=>A7,INJECTOR:()=>ou,Inject:()=>b0,InjectFlags:()=>re,Injectable:()=>b4,InjectionToken:()=>Mt,Injector:()=>no,Input:()=>b7,IterableDiffers:()=>Lo,KeyValueDiffers:()=>Ro,LOCALE_ID:()=>dc,MissingTranslationStrategy:()=>_1,ModuleWithComponentFactories:()=>Yg,NO_ERRORS_SCHEMA:()=>P0,NgModule:()=>T7,NgModuleFactory:()=>x2,NgModuleRef:()=>ia,NgProbeToken:()=>q7,NgZone:()=>Ri,Optional:()=>ol,Output:()=>E7,PACKAGE_ROOT_URL:()=>J5,PLATFORM_ID:()=>hu,PLATFORM_INITIALIZER:()=>Uf,Pipe:()=>C7,PlatformRef:()=>aa,Query:()=>ss,QueryList:()=>ac,Renderer2:()=>p4,RendererFactory2:()=>zf,RendererStyleFlags2:()=>ds,Sanitizer:()=>Sl,SecurityContext:()=>jo,Self:()=>E0,SimpleChange:()=>Je,SkipSelf:()=>al,TRANSLATIONS:()=>M7,TRANSLATIONS_FORMAT:()=>D7,TemplateRef:()=>Vs,Testability:()=>zs,TestabilityRegistry:()=>Xa,TransferState:()=>Yo,Type:()=>y0,VERSION:()=>Zf,Version:()=>Hf,ViewChild:()=>v3,ViewChildren:()=>y3,ViewContainerRef:()=>cc,ViewEncapsulation:()=>Bt,ViewRef:()=>Em,afterNextRender:()=>lp,afterRender:()=>sp,asNativeElements:()=>d9,assertInInjectionContext:()=>Bl,assertPlatform:()=>um,booleanAttribute:()=>U9,computed:()=>ri,createComponent:()=>X9,createEnvironmentInjector:()=>B2,createNgModule:()=>S2,createNgModuleRef:()=>Ay,createPlatform:()=>sm,createPlatformFactory:()=>cm,defineInjectable:()=>je,destroyPlatform:()=>t9,effect:()=>Up,enableProdMode:()=>o9,forwardRef:()=>D,getDebugNode:()=>Ka,getModuleFactory:()=>a9,getNgModuleById:()=>s9,getPlatform:()=>pc,importProvidersFrom:()=>xf,inject:()=>Dt,isDevMode:()=>i9,isSignal:()=>ao,isStandalone:()=>Jr,makeEnvironmentProviders:()=>su,makeStateKey:()=>e4,mergeApplicationConfig:()=>Y9,numberAttribute:()=>F9,platformCore:()=>A9,provideZoneChangeDetection:()=>vm,reflectComponentType:()=>K9,resolveForwardRef:()=>M,runInInjectionContext:()=>g4,setTestabilityGetter:()=>rm,signal:()=>vo,untracked:()=>W,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>I1,\u0275AfterRenderEventManager:()=>qo,\u0275ComponentFactory:()=>xl,\u0275Console:()=>Ha,\u0275DEFAULT_LOCALE_ID:()=>ra,\u0275ENABLED_SSR_FEATURES:()=>Ff,\u0275INJECTOR_SCOPE:()=>uu,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>Ts,\u0275InitialRenderPendingTasks:()=>Za,\u0275LContext:()=>j0,\u0275LifecycleHooksFeature:()=>Zp,\u0275LocaleDataIndex:()=>na,\u0275NG_COMP_DEF:()=>xn,\u0275NG_DIR_DEF:()=>Rn,\u0275NG_ELEMENT_ID:()=>sr,\u0275NG_INJ_DEF:()=>F,\u0275NG_MOD_DEF:()=>Zn,\u0275NG_PIPE_DEF:()=>er,\u0275NG_PROV_DEF:()=>Y,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Pl,\u0275NO_CHANGE:()=>Rr,\u0275NgModuleFactory:()=>ic,\u0275NoopNgZone:()=>np,\u0275ReflectionCapabilities:()=>C0,\u0275Render3ComponentFactory:()=>Ba,\u0275Render3ComponentRef:()=>Hp,\u0275Render3NgModuleRef:()=>rc,\u0275RuntimeError:()=>E,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>kf,\u0275TESTABILITY:()=>tm,\u0275TESTABILITY_GETTER:()=>nm,\u0275ViewRef:()=>Pa,\u0275XSS_SECURITY_URL:()=>B,\u0275_sanitizeHtml:()=>Ef,\u0275_sanitizeUrl:()=>bl,\u0275allowSanitizationBypassAndThrow:()=>Ia,\u0275annotateForHydration:()=>M9,\u0275bypassSanitizationTrustHtml:()=>E5,\u0275bypassSanitizationTrustResourceUrl:()=>w5,\u0275bypassSanitizationTrustScript:()=>A5,\u0275bypassSanitizationTrustStyle:()=>I5,\u0275bypassSanitizationTrustUrl:()=>T5,\u0275clearResolutionOfComponentResourcesQueue:()=>M0,\u0275compileComponent:()=>Ng,\u0275compileDirective:()=>v1,\u0275compileNgModule:()=>Sg,\u0275compileNgModuleDefs:()=>Pg,\u0275compileNgModuleFactory:()=>im,\u0275compilePipe:()=>Hg,\u0275convertToBitFlags:()=>mt,\u0275createInjector:()=>Tu,\u0275defaultIterableDiffers:()=>E9,\u0275defaultKeyValueDiffers:()=>I9,\u0275detectChanges:()=>kp,\u0275devModeEqual:()=>th,\u0275findLocaleData:()=>Zd,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>Dg,\u0275formatRuntimeError:()=>h,\u0275getDebugNode:()=>Ka,\u0275getDirectives:()=>k2,\u0275getHostElement:()=>o1,\u0275getInjectableDef:()=>Ge,\u0275getLContext:()=>Xi,\u0275getLocaleCurrencyCode:()=>M8,\u0275getLocalePluralCase:()=>e2,\u0275getSanitizationBypassType:()=>gf,\u0275getUnknownElementStrictMode:()=>R3,\u0275getUnknownPropertyStrictMode:()=>U3,\u0275global:()=>Oe,\u0275injectChangeDetectorRef:()=>bm,\u0275internalCreateApplication:()=>e9,\u0275isBoundToModule:()=>am,\u0275isEnvironmentProviders:()=>S,\u0275isInjectable:()=>ct,\u0275isNgModule:()=>f1,\u0275isPromise:()=>cd,\u0275isSubscribable:()=>ph,\u0275noSideEffects:()=>Ct,\u0275patchComponentDefWithScope:()=>m1,\u0275publishDefaultGlobalUtils:()=>J7,\u0275publishGlobalUtil:()=>Ji,\u0275registerLocaleData:()=>O8,\u0275resetCompiledComponents:()=>s7,\u0275resetJitOptions:()=>r7,\u0275resolveComponentResources:()=>w0,\u0275setAllowDuplicateNgModuleIdsForTest:()=>B3,\u0275setAlternateWeakRefImpl:()=>xe,\u0275setClassMetadata:()=>V2,\u0275setCurrentInjector:()=>bn,\u0275setDocument:()=>m5,\u0275setInjectorProfilerContext:()=>rt,\u0275setLocaleId:()=>Xd,\u0275setUnknownElementStrictMode:()=>L3,\u0275setUnknownPropertyStrictMode:()=>N3,\u0275store:()=>lh,\u0275stringify:()=>v,\u0275transitiveScopesFor:()=>oa,\u0275unregisterLocaleData:()=>D8,\u0275unwrapSafeValue:()=>xo,\u0275withDomHydration:()=>R9,\u0275\u0275CopyDefinitionFeature:()=>Kp,\u0275\u0275FactoryTarget:()=>ko,\u0275\u0275HostDirectivesFeature:()=>Yp,\u0275\u0275InheritDefinitionFeature:()=>Wu,\u0275\u0275InputTransformsFeature:()=>eh,\u0275\u0275NgOnChangesFeature:()=>gt,\u0275\u0275ProvidersFeature:()=>D2,\u0275\u0275StandaloneFeature:()=>L2,\u0275\u0275advance:()=>Cp,\u0275\u0275attribute:()=>Gu,\u0275\u0275attributeInterpolate1:()=>zu,\u0275\u0275attributeInterpolate2:()=>Hu,\u0275\u0275attributeInterpolate3:()=>Zu,\u0275\u0275attributeInterpolate4:()=>Xu,\u0275\u0275attributeInterpolate5:()=>Ku,\u0275\u0275attributeInterpolate6:()=>Yu,\u0275\u0275attributeInterpolate7:()=>Ju,\u0275\u0275attributeInterpolate8:()=>qu,\u0275\u0275attributeInterpolateV:()=>$u,\u0275\u0275classMap:()=>Oh,\u0275\u0275classMapInterpolate1:()=>Nh,\u0275\u0275classMapInterpolate2:()=>Uh,\u0275\u0275classMapInterpolate3:()=>Fh,\u0275\u0275classMapInterpolate4:()=>kh,\u0275\u0275classMapInterpolate5:()=>jh,\u0275\u0275classMapInterpolate6:()=>Vh,\u0275\u0275classMapInterpolate7:()=>Wh,\u0275\u0275classMapInterpolate8:()=>Qh,\u0275\u0275classMapInterpolateV:()=>Gh,\u0275\u0275classProp:()=>Td,\u0275\u0275contentQuery:()=>Eg,\u0275\u0275defer:()=>O2,\u0275\u0275defineComponent:()=>Gr,\u0275\u0275defineDirective:()=>Di,\u0275\u0275defineInjectable:()=>ae,\u0275\u0275defineInjector:()=>pe,\u0275\u0275defineNgModule:()=>Ai,\u0275\u0275definePipe:()=>xi,\u0275\u0275directiveInject:()=>xa,\u0275\u0275disableBindings:()=>N1,\u0275\u0275element:()=>sd,\u0275\u0275elementContainer:()=>ld,\u0275\u0275elementContainerEnd:()=>Xl,\u0275\u0275elementContainerStart:()=>Zl,\u0275\u0275elementEnd:()=>Hl,\u0275\u0275elementStart:()=>zl,\u0275\u0275enableBindings:()=>R1,\u0275\u0275getCurrentView:()=>fh,\u0275\u0275getInheritedFactory:()=>d0,\u0275\u0275hostProperty:()=>zd,\u0275\u0275i18n:()=>I2,\u0275\u0275i18nApply:()=>T2,\u0275\u0275i18nAttributes:()=>A2,\u0275\u0275i18nEnd:()=>qd,\u0275\u0275i18nExp:()=>$d,\u0275\u0275i18nPostprocess:()=>w2,\u0275\u0275i18nStart:()=>Jd,\u0275\u0275inject:()=>ot,\u0275\u0275injectAttribute:()=>Sc,\u0275\u0275invalidFactory:()=>Ep,\u0275\u0275invalidFactoryDep:()=>Tt,\u0275\u0275listener:()=>ud,\u0275\u0275loadQuery:()=>Ig,\u0275\u0275namespaceHTML:()=>J1,\u0275\u0275namespaceMathML:()=>Y1,\u0275\u0275namespaceSVG:()=>K1,\u0275\u0275nextContext:()=>yh,\u0275\u0275ngDeclareClassMetadata:()=>j9,\u0275\u0275ngDeclareComponent:()=>V9,\u0275\u0275ngDeclareDirective:()=>k9,\u0275\u0275ngDeclareFactory:()=>W9,\u0275\u0275ngDeclareInjectable:()=>G9,\u0275\u0275ngDeclareInjector:()=>z9,\u0275\u0275ngDeclareNgModule:()=>H9,\u0275\u0275ngDeclarePipe:()=>Z9,\u0275\u0275pipe:()=>rg,\u0275\u0275pipeBind1:()=>ig,\u0275\u0275pipeBind2:()=>og,\u0275\u0275pipeBind3:()=>ag,\u0275\u0275pipeBind4:()=>sg,\u0275\u0275pipeBindV:()=>lg,\u0275\u0275projection:()=>_h,\u0275\u0275projectionDef:()=>vh,\u0275\u0275property:()=>od,\u0275\u0275propertyInterpolate:()=>fd,\u0275\u0275propertyInterpolate1:()=>Kl,\u0275\u0275propertyInterpolate2:()=>pd,\u0275\u0275propertyInterpolate3:()=>hd,\u0275\u0275propertyInterpolate4:()=>gd,\u0275\u0275propertyInterpolate5:()=>md,\u0275\u0275propertyInterpolate6:()=>yd,\u0275\u0275propertyInterpolate7:()=>vd,\u0275\u0275propertyInterpolate8:()=>_d,\u0275\u0275propertyInterpolateV:()=>Cd,\u0275\u0275pureFunction0:()=>W2,\u0275\u0275pureFunction1:()=>Q2,\u0275\u0275pureFunction2:()=>G2,\u0275\u0275pureFunction3:()=>z2,\u0275\u0275pureFunction4:()=>H2,\u0275\u0275pureFunction5:()=>Z2,\u0275\u0275pureFunction6:()=>X2,\u0275\u0275pureFunction7:()=>K2,\u0275\u0275pureFunction8:()=>Y2,\u0275\u0275pureFunctionV:()=>J2,\u0275\u0275queryRefresh:()=>Cg,\u0275\u0275reference:()=>ch,\u0275\u0275registerNgModuleType:()=>Nc,\u0275\u0275resetView:()=>F1,\u0275\u0275resolveBody:()=>xu,\u0275\u0275resolveDocument:()=>ap,\u0275\u0275resolveWindow:()=>op,\u0275\u0275restoreView:()=>U1,\u0275\u0275sanitizeHtml:()=>If,\u0275\u0275sanitizeResourceUrl:()=>iu,\u0275\u0275sanitizeScript:()=>Tf,\u0275\u0275sanitizeStyle:()=>Af,\u0275\u0275sanitizeUrl:()=>ru,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Mf,\u0275\u0275setComponentScope:()=>mi,\u0275\u0275setNgModuleScope:()=>si,\u0275\u0275styleMap:()=>ho,\u0275\u0275styleMapInterpolate1:()=>zh,\u0275\u0275styleMapInterpolate2:()=>Hh,\u0275\u0275styleMapInterpolate3:()=>Zh,\u0275\u0275styleMapInterpolate4:()=>Xh,\u0275\u0275styleMapInterpolate5:()=>Kh,\u0275\u0275styleMapInterpolate6:()=>Yh,\u0275\u0275styleMapInterpolate7:()=>Jh,\u0275\u0275styleMapInterpolate8:()=>qh,\u0275\u0275styleMapInterpolateV:()=>$h,\u0275\u0275styleProp:()=>Ad,\u0275\u0275stylePropInterpolate1:()=>Nd,\u0275\u0275stylePropInterpolate2:()=>Ud,\u0275\u0275stylePropInterpolate3:()=>Fd,\u0275\u0275stylePropInterpolate4:()=>kd,\u0275\u0275stylePropInterpolate5:()=>jd,\u0275\u0275stylePropInterpolate6:()=>Vd,\u0275\u0275stylePropInterpolate7:()=>Wd,\u0275\u0275stylePropInterpolate8:()=>Qd,\u0275\u0275stylePropInterpolateV:()=>Gd,\u0275\u0275syntheticHostListener:()=>dd,\u0275\u0275syntheticHostProperty:()=>Hd,\u0275\u0275template:()=>oh,\u0275\u0275templateRefExtractor:()=>Og,\u0275\u0275text:()=>Lh,\u0275\u0275textInterpolate:()=>Od,\u0275\u0275textInterpolate1:()=>ql,\u0275\u0275textInterpolate2:()=>Md,\u0275\u0275textInterpolate3:()=>Dd,\u0275\u0275textInterpolate4:()=>xd,\u0275\u0275textInterpolate5:()=>Sd,\u0275\u0275textInterpolate6:()=>Pd,\u0275\u0275textInterpolate7:()=>Bd,\u0275\u0275textInterpolate8:()=>Ld,\u0275\u0275textInterpolateV:()=>Rd,\u0275\u0275trustConstantHtml:()=>wf,\u0275\u0275trustConstantResourceUrl:()=>Of,\u0275\u0275validateIframeAttribute:()=>df,\u0275\u0275viewQuery:()=>bg});var e=t( +/*! rxjs */ +2484),r=t( +/*! rxjs */ +4614),d=t( +/*! rxjs */ +3064),n=t( +/*! rxjs */ +9718),l=t( +/*! rxjs */ +462),o=t( +/*! rxjs */ +9681),s=t( +/*! rxjs/operators */ +1272),p=t( +/*! rxjs/operators */ +6520),u=t( +/*! rxjs/operators */ +5083),g=t( +/*! rxjs/operators */ +7627);function f(i){for(let a in i)if(i[a]===f)return a;throw Error("Could not find renamed property on target object.")}function y(i,a){for(const m in a)a.hasOwnProperty(m)&&!i.hasOwnProperty(m)&&(i[m]=a[m])}function v(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(v).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const a=i.toString();if(null==a)return""+a;const m=a.indexOf("\n");return-1===m?a:a.substring(0,m)}function _(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const O=f({__forward_ref__:f});function D(i){return i.__forward_ref__=D,i.toString=function(){return v(this())},i}function M(i){return w(i)?i():i}function w(i){return"function"==typeof i&&i.hasOwnProperty(O)&&i.__forward_ref__===D}function S(i){return i&&!!i.\u0275providers}const B="https://g.co/ng/security#xss";class E extends Error{constructor(a,m){super(h(a,m)),this.code=a}}function h(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}function b(i){return"string"==typeof i?i:null==i?"":String(i)}function T(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():b(i)}function j(i,a){throw new E(-201,!1)}function Pe(i,a,m,P){throw new Error(`ASSERTION ERROR: ${i}`+(null==P?"":` [Expected=> ${m} ${P} ${a} <=Actual]`))}function ae(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}const je=ae;function pe(i){return{providers:i.providers||[],imports:i.imports||[]}}function Ge(i){return yt(i,Y)||yt(i,k)}function ct(i){return null!==Ge(i)}function yt(i,a){return i.hasOwnProperty(a)?i[a]:null}function Ae(i){return i&&(i.hasOwnProperty(F)||i.hasOwnProperty(le))?i[F]:null}const Y=f({\u0275prov:f}),F=f({\u0275inj:f}),k=f({ngInjectableDef:f}),le=f({ngInjectorDef:f});var re,i;let ye;function se(){return ye}function fe(i){const a=ye;return ye=i,a}function Ie(i,a,m){const P=Ge(i);return P&&"root"==P.providedIn?void 0===P.value?P.value=P.factory():P.value:m&re.Optional?null:void 0!==a?a:void j(v(i))}(i=re||(re={}))[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional";const Oe=globalThis;class Mt{constructor(a,m){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=ae({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Ue;function rt(i){Pe("setInjectorProfilerContext should never be called in production mode");const a=Ue;return Ue=i,a}let ne=null;const Ve=i=>{Pe("setInjectorProfiler should never be called in production mode"),ne=i},Cn={},fn="__NG_DI_FLAG__",tn="ngTempTokenPath",on=/\n/gm,lt="__source";let Gt;function bn(i){const a=Gt;return Gt=i,a}function Be(i,a=re.Default){if(void 0===Gt)throw new E(-203,!1);return null===Gt?Ie(i,void 0,a):Gt.get(i,a&re.Optional?null:void 0,a)}function ot(i,a=re.Default){return(se()||Be)(M(i),a)}function Tt(i){throw new E(202,!1)}function Dt(i,a=re.Default){return ot(i,mt(a))}function mt(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Ot(i){const a=[];for(let m=0;m a){oe=z-1;break}}}for(;z z?"":U[Qt+1].toLowerCase();const _n=8&P?ln:null;if(_n&&-1!==zt(_n,tt,0)||2&P&&tt!==ln){if(Fn(P))return!1;oe=!0}}}}else{if(!oe&&!Fn(P)&&!Fn(Se))return!1;if(oe&&Fn(Se))continue;oe=!1,P=Se|1&P}}return Fn(P)||oe}function Fn(i){return 0==(1&i)}function Bn(i,a,m,P){if(null===a)return-1;let U=0;if(P||!m){let z=!1;for(;U -1)for(m++;m 0?'="'+_e+'"':"")+"]"}else 8&P?U+="."+oe:4&P&&(U+=" "+oe);else""!==U&&!Fn(oe)&&(a+=di(z,U),U=""),P=oe,z=z||!Fn(P);m++}return""!==U&&(a+=di(z,U)),a}function Gr(i){return Ct(()=>{const a=$r(i),m={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===Wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||Bt.Emulated,styles:i.styles||an,_:null,schemas:i.schemas||null,tView:null,id:""};ki(m);const P=i.dependencies;return m.directiveDefs=ni(P,!1),m.pipeDefs=ni(P,!0),m.id=function _i(i){let a=0;const m=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(const U of m)a=Math.imul(31,a)+U.charCodeAt(0)<<0;return a+=2147483648,"c"+a}(m),m})}function mi(i,a,m){const P=i.\u0275cmp;P.directiveDefs=ni(a,!1),P.pipeDefs=ni(m,!0)}function yr(i){return Tr(i)||kr(i)}function ci(i){return null!==i}function Ai(i){return Ct(()=>({type:i.type,bootstrap:i.bootstrap||an,declarations:i.declarations||an,imports:i.imports||an,exports:i.exports||an,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function si(i,a){return Ct(()=>{const m=qr(i,!0);m.declarations=a.declarations||an,m.imports=a.imports||an,m.exports=a.exports||an})}function yi(i,a){if(null==i)return Ht;const m={};for(const P in i)if(i.hasOwnProperty(P)){let U=i[P],z=U;Array.isArray(U)&&(z=U[1],U=U[0]),m[U]=P,a&&(a[U]=z)}return m}function Di(i){return Ct(()=>{const a=$r(i);return ki(a),a})}function xi(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function Tr(i){return i[xn]||null}function kr(i){return i[Rn]||null}function Zr(i){return i[er]||null}function Jr(i){const a=Tr(i)||kr(i)||Zr(i);return null!==a&&a.standalone}function qr(i,a){const m=i[Zn]||null;if(!m&&!0===a)throw new Error(`Type ${v(i)} does not have '\u0275mod' property.`);return m}function $r(i){const a={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:i.inputs||Ht,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||an,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:yi(i.inputs,a),outputs:yi(i.outputs)}}function ki(i){i.features?.forEach(a=>a(i))}function ni(i,a){if(!i)return null;const m=a?Zr:yr;return()=>("function"==typeof i?i():i).map(P=>m(P)).filter(ci)}const Li=new Map,wr=0,Yn=1,or=2,Nr=3,Ur=4,ui=5,Xr=6,Ci=7,Wr=8,A=9,N=10,Z=11,ee=12,he=13,Ee=14,Re=15,ut=16,at=17,It=18,Ft=19,Zt=20,St=21,Kt=22,Pn=23,jn=24,Sn=25,vr=1,Fe=2,be=7,ze=9,Qe=10,ke=11;function Jt(i){return Array.isArray(i)&&"object"==typeof i[vr]}function pn(i){return Array.isArray(i)&&!0===i[vr]}function Nt(i){return 0!=(4&i.flags)}function An(i){return i.componentOffset>-1}function ar(i){return 1==(1&i.flags)}function ur(i){return!!i.template}function _r(i){return 0!=(512&i[or])}function dr(i){return 16==(16&i.type)}function Ti(i,a){return i.hasOwnProperty(Jn)?i[Jn]:null}const hi=Symbol("SIGNAL");function ao(i){return"function"==typeof i&&void 0!==i[hi]}function Ke(i,a){return(null===i||"object"!=typeof i)&&Object.is(i,a)}let vt=null,kt=!1;function Vt(i){const a=vt;return vt=i,a}const Yt={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Dn(i){if(kt)throw new Error("");if(null===vt)return;const a=vt.nextProducerIndex++;jr(vt),a i.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function rr(i){jr(i);for(let a=0;a 0}function jr(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function zr(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}function ri(i,a){const m=Object.create(Gi);m.computation=i,a?.equal&&(m.equal=a.equal);const P=()=>{if(On(m),Dn(m),m.value===Kr)throw m.error;return m.value};return P[hi]=m,P}const hr=Symbol("UNSET"),bi=Symbol("COMPUTING"),Kr=Symbol("ERRORED"),Gi=(()=>({...Yt,value:hr,dirty:!0,error:null,equal:Ke,producerMustRecompute:i=>i.value===hr||i.value===bi,producerRecomputeValue(i){if(i.value===bi)throw new Error("Detected cycle in computations.");const a=i.value;i.value=bi;const m=Gn(i);let P;try{P=i.computation()}catch(U){P=Kr,i.error=U}finally{Kn(i,m)}a!==hr&&a!==Kr&&P!==Kr&&i.equal(a,P)?i.value=a:(i.value=P,i.version++)}}))();let so=function po(){throw new Error};function yo(){so()}let Oo=null;function vo(i,a){const m=Object.create(Xe);function P(){return Dn(m),m.value}return m.value=i,a?.equal&&(m.equal=a.equal),P.set=et,P.update=Pt,P.mutate=dn,P.asReadonly=wn,P[hi]=m,P}const Xe=(()=>({...Yt,equal:Ke,readonlyFn:void 0}))();function Te(i){i.version++,Nn(i),Oo?.()}function et(i){const a=this[hi];Tn()||yo(),a.equal(a.value,i)||(a.value=i,Te(a))}function Pt(i){Tn()||yo(),et.call(this,i(this[hi].value))}function dn(i){const a=this[hi];Tn()||yo(),i(a.value),Te(a)}function wn(){const i=this[hi];if(void 0===i.readonlyFn){const a=()=>this();a[hi]=i,i.readonlyFn=a}return i.readonlyFn}function W(i){const a=Vt(null);try{return i()}finally{Vt(a)}}const K=()=>{},ce=(()=>({...Yt,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:i=>{i.schedule(i.ref)},hasRun:!1,cleanupFn:K}))();function xe(i){}class Je{constructor(a,m,P){this.previousValue=a,this.currentValue=m,this.firstChange=P}isFirstChange(){return this.firstChange}}function gt(){return At}function At(i){return i.type.prototype.ngOnChanges&&(i.setInput=en),Rt}function Rt(){const i=rn(this),a=i?.current;if(a){const m=i.previous;if(m===Ht)i.previous=a;else for(let P in a)m[P]=a[P];i.current=null,this.ngOnChanges(a)}}function en(i,a,m,P){const U=this.declaredInputs[m],z=rn(i)||function nn(i,a){return i[sn]=a}(i,{previous:Ht,current:null}),oe=z.current||(z.current={}),_e=z.previous,Se=_e[U];oe[U]=new Je(Se&&Se.currentValue,a,_e===Ht),i[P]=a}gt.ngInherit=!0;const sn="__ngSimpleChanges__";function rn(i){return i[sn]||null}let Mn=null;const zn=i=>{Mn=i},$n=function(i,a,m){Mn?.(i,a,m)},Cr="svg",Sr="math";function fr(i){for(;Array.isArray(i);)i=i[wr];return i}function Mr(i){for(;Array.isArray(i);){if("object"==typeof i[vr])return i;i=i[wr]}return null}function Qr(i,a){return fr(a[i])}function Pr(i,a){return fr(a[i.index])}function lo(i,a){return i.data[a]}function co(i,a){return i[a]}function Er(i,a){const m=a[i];return Jt(m)?m:m[wr]}function gi(i,a){return null==a?null:i[a]}function vi(i){i[at]=0}function $i(i){1024&i[or]||(i[or]|=1024,es(i,1))}function $a(i){1024&i[or]&&(i[or]&=-1025,es(i,-1))}function es(i,a){let m=i[Nr];if(null===m)return;m[ui]+=a;let P=m;for(m=m[Nr];null!==m&&(1===a&&1===P[ui]||-1===a&&0===P[ui]);)m[ui]+=a,P=m,m=m[Nr]}function Xs(i,a){if(256==(256&i[or]))throw new E(911,!1);null===i[St]&&(i[St]=[]),i[St].push(a)}const Ar={lFrame:H1(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function L1(){return Ar.bindingsEnabled}function ca(){return null!==Ar.skipHydrationRootTNode}function R1(){Ar.bindingsEnabled=!0}function N1(){Ar.bindingsEnabled=!1}function Wn(){return Ar.lFrame.lView}function Hr(){return Ar.lFrame.tView}function U1(i){return Ar.lFrame.contextLView=i,i[Wr]}function F1(i){return Ar.lFrame.contextLView=null,i}function Fi(){let i=k1();for(;null!==i&&64===i.type;)i=i.parent;return i}function k1(){return Ar.lFrame.currentTNode}function ts(){const i=Ar.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}function _o(i,a){const m=Ar.lFrame;m.currentTNode=i,m.isParent=a}function yc(){return Ar.lFrame.isParent}function vc(){Ar.lFrame.isParent=!1}function zi(){const i=Ar.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function Mo(){return Ar.lFrame.bindingIndex}function V1(i){return Ar.lFrame.bindingIndex=i}function ua(){return Ar.lFrame.bindingIndex++}function Do(i){const a=Ar.lFrame,m=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,m}function W1(i){Ar.lFrame.inI18n=i}function Km(i,a){const m=Ar.lFrame;m.bindingIndex=m.bindingRootIndex=i,_c(a)}function _c(i){Ar.lFrame.currentDirectiveIndex=i}function Cc(i){const a=Ar.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Q1(){return Ar.lFrame.currentQueryIndex}function bc(i){Ar.lFrame.currentQueryIndex=i}function Jm(i){const a=i[Yn];return 2===a.type?a.declTNode:1===a.type?i[Xr]:null}function G1(i,a,m){if(m&re.SkipSelf){let U=a,z=i;for(;!(U=U.parent,null!==U||m&re.Host||(U=Jm(z),null===U||(z=z[Ee],10&U.type))););if(null===U)return!1;a=U,i=z}const P=Ar.lFrame=z1();return P.currentTNode=a,P.lView=i,!0}function Ec(i){const a=z1(),m=i[Yn];Ar.lFrame=a,a.currentTNode=m.firstChild,a.lView=i,a.tView=m,a.contextLView=i,a.bindingIndex=m.bindingStartIndex,a.inI18n=!1}function z1(){const i=Ar.lFrame,a=null===i?null:i.child;return null===a?H1(i):a}function H1(i){const a={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:i,child:null,inI18n:!1};return null!==i&&(i.child=a),a}function Z1(){const i=Ar.lFrame;return Ar.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const X1=Z1;function Ic(){const i=Z1();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Hi(){return Ar.lFrame.selectedIndex}function zo(i){Ar.lFrame.selectedIndex=i}function Ei(){const i=Ar.lFrame;return lo(i.tView,i.selectedIndex)}function K1(){Ar.lFrame.currentNamespace=Cr}function Y1(){Ar.lFrame.currentNamespace=Sr}function J1(){!function e3(){Ar.lFrame.currentNamespace=null}()}function q1(){return Ar.lFrame.currentNamespace}let $1=!0;function Ks(){return $1}function Uo(i){$1=i}function Ys(i,a){for(let m=a.directiveStart,P=a.directiveEnd;m =P)break}else a[Se]<0&&(i[at]+=65536),(_e
>13>16&&(3&i[or])===a&&(i[or]+=8192,t0(_e,z)):t0(_e,z)}const da=-1;class ns{constructor(a,m,P){this.factory=a,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=P}}function wc(i){return i!==da}function rs(i){return 32767&i}function is(i,a){let m=function a3(i){return i>>16}(i),P=a;for(;m>0;)P=P[Ee],m--;return P}let Oc=!0;function $s(i){const a=Oc;return Oc=i,a}const n0=255,r0=5;let s3=0;const Co={};function el(i,a){const m=i0(i,a);if(-1!==m)return m;const P=a[Yn];P.firstCreatePass&&(i.injectorIndex=a.length,Mc(P.data,i),Mc(a,null),Mc(P.blueprint,null));const U=tl(i,a),z=i.injectorIndex;if(wc(U)){const oe=rs(U),_e=is(U,a),Se=_e[Yn].data;for(let tt=0;tt<8;tt++)a[z+tt]=_e[oe+tt]|Se[oe+tt]}return a[z+8]=U,z}function Mc(i,a){i.push(0,0,0,0,0,0,0,0,a)}function i0(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function tl(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let m=0,P=null,U=a;for(;null!==U;){if(P=f0(U),null===P)return da;if(m++,U=U[Ee],-1!==P.injectorIndex)return P.injectorIndex|m<<16}return da}function Dc(i,a,m){!function l3(i,a,m){let P;"string"==typeof m?P=m.charCodeAt(0)||0:m.hasOwnProperty(sr)&&(P=m[sr]),null==P&&(P=m[sr]=s3++);const U=P&n0;a.data[i+(U>>r0)]|=1<=0?a&n0:p3:a}(m);if("function"==typeof z){if(!G1(a,i,P))return P&re.Host?o0(U,0,P):a0(a,m,P,U);try{let oe;if(oe=z(P),null!=oe||P&re.Optional)return oe;j()}finally{X1()}}else if("number"==typeof z){let oe=null,_e=i0(i,a),Se=da,tt=P&re.Host?a[Re][Xr]:null;for((-1===_e||P&re.SkipSelf)&&(Se=-1===_e?tl(i,a):a[_e+8],Se!==da&&u0(P,!1)?(oe=a[Yn],_e=rs(Se),a=is(Se,a)):_e=-1);-1!==_e;){const bt=a[Yn];if(c0(z,_e,bt.data)){const Qt=u3(_e,a,m,oe,P,tt);if(Qt!==Co)return Qt}Se=a[_e+8],Se!==da&&u0(P,a[Yn].data[_e+8]===tt)&&c0(z,_e,a)?(oe=bt,_e=rs(Se),a=is(Se,a)):_e=-1}}return U}function u3(i,a,m,P,U,z){const oe=a[Yn],_e=oe.data[i+8],bt=nl(_e,oe,m,null==P?An(_e)&&Oc:P!=oe&&0!=(3&_e.type),U&re.Host&&z===_e);return null!==bt?Ho(a,oe,bt,_e):Co}function nl(i,a,m,P,U){const z=i.providerIndexes,oe=a.data,_e=1048575&z,Se=i.directiveStart,bt=z>>20,ln=U?_e+bt:i.directiveEnd;for(let _n=P?_e:_e+bt;_n =Se&&Un.type===m)return _n}if(U){const _n=oe[Se];if(_n&&ur(_n)&&_n.type===m)return Se}return null}function Ho(i,a,m,P){let U=i[m];const z=a.data;if(function r3(i){return i instanceof ns}(U)){const oe=U;oe.resolving&&function I(i,a){const m=a?`. Dependency path: ${a.join(" > ")} > ${i}`:"";throw new E(-200,`Circular dependency in DI detected for ${i}${m}`)}(T(z[m]));const _e=$s(oe.canSeeViewProviders);oe.resolving=!0;const tt=oe.injectImpl?fe(oe.injectImpl):null;G1(i,P,re.Default);try{U=i[m]=oe.factory(void 0,z,i,P),a.firstCreatePass&&m>=P.directiveStart&&function t3(i,a,m){const{ngOnChanges:P,ngOnInit:U,ngDoCheck:z}=a.type.prototype;if(P){const oe=At(a);(m.preOrderHooks??=[]).push(i,oe),(m.preOrderCheckHooks??=[]).push(i,oe)}U&&(m.preOrderHooks??=[]).push(0-i,U),z&&((m.preOrderHooks??=[]).push(i,z),(m.preOrderCheckHooks??=[]).push(i,z))}(m,z[m],a)}finally{null!==tt&&fe(tt),$s(_e),oe.resolving=!1,X1()}}return U}function c0(i,a,m){return!!(m[a+(i>>r0)]&1<{const a=i.prototype.constructor,m=a[Jn]||xc(a),P=Object.prototype;let U=Object.getPrototypeOf(i.prototype).constructor;for(;U&&U!==P;){const z=U[Jn]||xc(U);if(z&&z!==m)return z;U=Object.getPrototypeOf(U)}return z=>new z})}function xc(i){return w(i)?()=>{const a=xc(M(i));return a&&a()}:Ti(i)}function f0(i){const a=i[Yn],m=a.type;return 2===m?a.declTNode:1===m?i[Xr]:null}function Sc(i){return function c3(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const m=i.attrs;if(m){const P=m.length;let U=0;for(;U {const z=Pc(a);function oe(..._e){if(this instanceof oe)return z.call(this,..._e),this;const Se=new oe(..._e);return function(bt){return U&&U(bt,..._e),(bt.hasOwnProperty(fa)?bt[fa]:Object.defineProperty(bt,fa,{value:[]})[fa]).push(Se),P&&P(bt),bt}}return m&&(oe.prototype=Object.create(m.prototype)),oe.prototype.ngMetadataName=i,oe.annotationCls=oe,oe})}function Pc(i){return function(...m){if(i){const P=i(...m);for(const U in P)this[U]=P[U]}}}function ga(i,a,m){return Ct(()=>{const P=Pc(a);function U(...z){if(this instanceof U)return P.apply(this,z),this;const oe=new U(...z);return _e.annotation=oe,_e;function _e(Se,tt,bt){const Qt=Se.hasOwnProperty(pa)?Se[pa]:Object.defineProperty(Se,pa,{value:[]})[pa];for(;Qt.length<=bt;)Qt.push(null);return(Qt[bt]=Qt[bt]||[]).push(oe),Se}}return m&&(U.prototype=Object.create(m.prototype)),U.prototype.ngMetadataName=i,U.annotationCls=U,U})}function Fo(i,a,m,P){return Ct(()=>{const U=Pc(a);function z(...oe){if(this instanceof z)return U.apply(this,oe),this;const _e=new z(...oe);return function Se(tt,bt){if(void 0===tt)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const Qt=tt.constructor,ln=Qt.hasOwnProperty(ha)?Qt[ha]:Object.defineProperty(Qt,ha,{value:{}})[ha];ln[bt]=ln.hasOwnProperty(bt)&&ln[bt]||[],ln[bt].unshift(_e),P&&P(tt,bt,...oe)}}return m&&(z.prototype=Object.create(m.prototype)),z.prototype.ngMetadataName=i,z.annotationCls=z,z})}const p0=ga("Attribute",i=>({attributeName:i,__NG_ELEMENT_ID__:()=>Sc(i)}));class ss{}const g3=Fo("ContentChildren",(i,a={})=>({selector:i,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...a}),ss),m3=Fo("ContentChild",(i,a={})=>({selector:i,first:!0,isViewQuery:!1,descendants:!0,...a}),ss),y3=Fo("ViewChildren",(i,a={})=>({selector:i,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...a}),ss),v3=Fo("ViewChild",(i,a)=>({selector:i,first:!0,isViewQuery:!0,descendants:!0,...a}),ss);var ko,g0,m0;function Pi(i){const a=Oe.ng;if(a&&a.\u0275compilerFacade)return a.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(i){i[i.Directive=0]="Directive",i[i.Component=1]="Component",i[i.Injectable=2]="Injectable",i[i.Pipe=3]="Pipe",i[i.NgModule=4]="NgModule"}(ko||(ko={})),function(i){i[i.Directive=0]="Directive",i[i.Pipe=1]="Pipe",i[i.NgModule=2]="NgModule"}(g0||(g0={})),function(i){i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom"}(m0||(m0={}));const y0=Function;function ls(i){return"function"==typeof i}function uo(i){return i.flat(Number.POSITIVE_INFINITY)}function ma(i,a){i.forEach(m=>Array.isArray(m)?ma(m,a):a(m))}function v0(i,a,m){a>=i.length?i.push(m):i.splice(a,0,m)}function rl(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function cs(i,a){const m=[];for(let P=0;P=0?i[1|P]=m:(P=~P,function b3(i,a,m,P){let U=i.length;if(U==a)i.push(m,P);else if(1===U)i.push(P,i[0]),i[0]=m;else{for(U--,i.push(i[U-1],i[U]);U>a;)i[U]=i[U-2],U--;i[a]=m,i[a+1]=P}}(i,P,a,m)),P}function Bc(i,a){const m=ya(i,a);if(m>=0)return i[1|m]}function ya(i,a){return function _0(i,a,m){let P=0,U=i.length>>m;for(;U!==P;){const z=P+(U-P>>1),oe=i[z<
a?U=z:P=z+1}return~(U< new a(...m)}_zipTypesAndAnnotations(a,m){let P;P=cs(typeof a>"u"?m.length:a.length);for(let U=0;U "u"?[]:a[U]&&a[U]!=Object?[a[U]]:[],m&&null!=m[U]&&(P[U]=P[U].concat(m[U]));return P}_ownParameters(a,m){if(function w3(i){return E3.test(i)||T3.test(i)||I3.test(i)&&!A3.test(i)}(a.toString()))return null;if(a.parameters&&a.parameters!==m.parameters)return a.parameters;const U=a.ctorParameters;if(U&&U!==m.ctorParameters){const _e="function"==typeof U?U():U,Se=_e.map(bt=>bt&&bt.type),tt=_e.map(bt=>bt&&Lc(bt.decorators));return this._zipTypesAndAnnotations(Se,tt)}const z=a.hasOwnProperty(pa)&&a[pa],oe=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",a);return oe||z?this._zipTypesAndAnnotations(oe,z):cs(a.length)}parameters(a){if(!ls(a))return[];const m=il(a);let P=this._ownParameters(a,m);return!P&&m!==Object&&(P=this.parameters(m)),P||[]}_ownAnnotations(a,m){if(a.annotations&&a.annotations!==m.annotations){let P=a.annotations;return"function"==typeof P&&P.annotations&&(P=P.annotations),P}return a.decorators&&a.decorators!==m.decorators?Lc(a.decorators):a.hasOwnProperty(fa)?a[fa]:null}annotations(a){if(!ls(a))return[];const m=il(a),P=this._ownAnnotations(a,m)||[];return(m!==Object?this.annotations(m):[]).concat(P)}_ownPropMetadata(a,m){if(a.propMetadata&&a.propMetadata!==m.propMetadata){let P=a.propMetadata;return"function"==typeof P&&P.propMetadata&&(P=P.propMetadata),P}if(a.propDecorators&&a.propDecorators!==m.propDecorators){const P=a.propDecorators,U={};return Object.keys(P).forEach(z=>{U[z]=Lc(P[z])}),U}return a.hasOwnProperty(ha)?a[ha]:null}propMetadata(a){if(!ls(a))return{};const m=il(a),P={};if(m!==Object){const z=this.propMetadata(m);Object.keys(z).forEach(oe=>{P[oe]=z[oe]})}const U=this._ownPropMetadata(a,m);return U&&Object.keys(U).forEach(z=>{const oe=[];P.hasOwnProperty(z)&&oe.push(...P[z]),oe.push(...U[z]),P[z]=oe}),P}ownPropMetadata(a){return ls(a)&&this._ownPropMetadata(a,il(a))||{}}hasLifecycleHook(a,m){return a instanceof y0&&m in a.prototype}}function Lc(i){return i?i.map(a=>new(0,a.type.annotationCls)(...a.args?a.args:[])):[]}function il(i){const a=i.prototype?Object.getPrototypeOf(i.prototype):null;return(a?a.constructor:null)||Object}const b0=_t(ga("Inject",i=>({token:i})),-1),ol=_t(ga("Optional"),8),E0=_t(ga("Self"),2),al=_t(ga("SkipSelf"),4),I0=_t(ga("Host"),1);let A0=null;function Rc(){return A0=A0||new C0}function sl(i){return T0(Rc().parameters(i))}function T0(i){return i.map(a=>function O3(i){const a={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(i)&&i.length>0)for(let m=0;m {const oe=[];U.templateUrl&&oe.push(P(U.templateUrl).then(Qt=>{U.template=Qt}));const _e=U.styleUrls,Se=U.styles||(U.styles=[]),tt=U.styles.length;_e&&_e.forEach((Qt,ln)=>{Se.push(""),oe.push(P(Qt).then(_n=>{Se[tt+ln]=_n,_e.splice(_e.indexOf(Qt),1),0==_e.length&&(U.styleUrls=void 0)}))});const bt=Promise.all(oe).then(()=>function S3(i){us.delete(i)}(z));a.push(bt)}),M0(),Promise.all(a).then(()=>{})}let va=new Map;const us=new Set;function O0(i){return!!(i.templateUrl&&!i.hasOwnProperty("template")||i.styleUrls&&i.styleUrls.length)}function M0(){const i=va;return va=new Map,i}function x3(i){return"string"==typeof i?i:i.text()}const ll=new Map;let D0=!0;function Nc(i,a){(function P3(i,a,m){if(a&&a!==m&&D0)throw new Error(`Duplicate module registered for ${i} - ${v(a)} vs ${v(a.name)}`)})(a,ll.get(a)||null,i),ll.set(a,i)}function x0(i){return ll.get(i)}function B3(i){D0=!i}const S0={name:"custom-elements"},P0={name:"no-errors-schema"};let Uc=!1;function L3(i){Uc=i}function R3(){return Uc}let Fc=!1;function N3(i){Fc=i}function U3(){return Fc}const _a="ngSkipHydration";function N0(i){const a=_a.toLowerCase(),m=i.mergedAttrs;if(null===m)return!1;for(let P=0;P |^->||--!>|)/g,V3="\u200b$1\u200b";const kc=new Map;let W3=0;function k0(i){return kc.get(i)||null}class j0{get lView(){return k0(this.lViewId)}constructor(a,m,P){this.lViewId=a,this.nodeIndex=m,this.native=P}}function Xi(i){let a=fs(i);if(a){if(Jt(a)){const m=a;let P,U,z;if(Q0(i)){if(P=z0(m,i),-1==P)throw new Error("The provided component was not found in the application");U=i}else if(function H3(i){return i&&i.constructor&&i.constructor.\u0275dir}(i)){if(P=function X3(i,a){let m=i[Yn].firstChild;for(;m;){const U=m.directiveEnd;for(let z=m.directiveStart;z=0){const _e=fr(z[oe]),Se=jc(z,oe,_e);Vi(_e,Se),a=Se;break}}}}return a||null}function jc(i,a,m){return new j0(i[Ft],a,m)}function V0(i){let m,a=fs(i);if(Jt(a)){const P=a,U=z0(P,i);m=Er(U,P);const z=jc(P,U,m[wr]);z.component=i,Vi(i,z),Vi(z.native,z)}else m=Er(a.nodeIndex,a.lView);return m}const Vc="__ngContext__";function Vi(i,a){Jt(a)?(i[Vc]=a[Ft],function G3(i){kc.set(i[Ft],i)}(a)):i[Vc]=a}function fs(i){const a=i[Vc];return"number"==typeof a?k0(a):a||null}function W0(i){const a=fs(i);return a?Jt(a)?a:a.lView:null}function Q0(i){return i&&i.constructor&&i.constructor.\u0275cmp}function G0(i,a){const m=i[Yn];for(let P=Sn;P a.replace(j3,V3))}(a))}function hl(i,a,m){return i.createElement(a,m)}function J0(i,a){const m=i[ze],P=m.indexOf(a);$a(a),m.splice(P,1)}function gl(i,a){if(i.length<=ke)return;const m=ke+a,P=i[m];if(P){const U=P[ut];null!==U&&U!==i&&J0(U,P),a>0&&(i[m-1][Ur]=P[Ur]);const z=rl(i,ke+a);!function e5(i,a){gs(i,a,a[Z],2,null,null),a[wr]=null,a[Xr]=null}(P[Yn],P);const oe=z[It];null!==oe&&oe.detachView(z[Yn]),P[Nr]=null,P[Ur]=null,P[or]&=-129}return P}function zc(i,a){if(!(256&a[or])){const m=a[Z];a[Pn]&&Hn(a[Pn]),a[jn]&&Hn(a[jn]),m.destroyNode&&gs(i,a,m,3,null,null),function r5(i){let a=i[ee];if(!a)return Hc(i[Yn],i);for(;a;){let m=null;if(Jt(a))m=a[ee];else{const P=a[ke];P&&(m=P)}if(!m){for(;a&&!a[Ur]&&a!==i;)Jt(a)&&Hc(a[Yn],a),a=a[Nr];null===a&&(a=i),Jt(a)&&Hc(a[Yn],a),m=a&&a[Ur]}a=m}}(a)}}function Hc(i,a){if(!(256&a[or])){a[or]&=-129,a[or]|=256,function s5(i,a){let m;if(null!=i&&null!=(m=i.destroyHooks))for(let P=0;P =0?P[oe]():P[-oe].unsubscribe(),z+=2}else m[z].call(P[m[z+1]]);null!==P&&(a[Ci]=null);const U=a[St];if(null!==U){a[St]=null;for(let z=0;z -1){const{encapsulation:z}=i.data[P.directiveStart+U];if(z===Bt.None||z===Bt.Emulated)return null}return Pr(P,m)}}function Zo(i,a,m,P,U){i.insertBefore(a,m,P,U)}function $0(i,a,m){i.appendChild(a,m)}function ef(i,a,m,P,U){null!==P?Zo(i,a,m,P,U):$0(i,a,m)}function ml(i,a){return i.parentNode(a)}function tf(i,a,m){return rf(i,a,m)}function nf(i,a,m){return 40&i.type?Pr(i,m):null}let Xc,_l,qc,Cl,rf=nf;function of(i,a){rf=i,Xc=a}function yl(i,a,m,P){const U=Zc(i,P,a),z=a[Z],_e=tf(P.parent||a[Xr],P,a);if(null!=U)if(Array.isArray(m))for(let Se=0;Se i,createScript:i=>i,createScriptURL:i=>i})}catch{}return _l}function ba(i){return Jc()?.createHTML(i)||i}function df(i,a,m){const P=Wn(),U=Ei(),z=Pr(U,P);if(2===U.type&&"iframe"===a.toLowerCase()){const oe=z;throw oe.src="",oe.srcdoc=ba(""),vl(P[Z],oe),new E(-910,!1)}return i}function m5(i){qc=i}function Ea(){if(void 0!==qc)return qc;if(typeof document<"u")return document;throw new E(210,!1)}function $c(){if(void 0===Cl&&(Cl=null,Oe.trustedTypes))try{Cl=Oe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return Cl}function ff(i){return $c()?.createHTML(i)||i}function pf(i){return $c()?.createScript(i)||i}function hf(i){return $c()?.createScriptURL(i)||i}class Xo{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${B})`}}class y5 extends Xo{getTypeName(){return"HTML"}}class v5 extends Xo{getTypeName(){return"Style"}}class _5 extends Xo{getTypeName(){return"Script"}}class C5 extends Xo{getTypeName(){return"URL"}}class b5 extends Xo{getTypeName(){return"ResourceURL"}}function xo(i){return i instanceof Xo?i.changingThisBreaksApplicationSecurity:i}function Ia(i,a){const m=gf(i);if(null!=m&&m!==a){if("ResourceURL"===m&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${m} (see ${B})`)}return m===a}function gf(i){return i instanceof Xo&&i.getTypeName()||null}function E5(i){return new y5(i)}function I5(i){return new v5(i)}function A5(i){return new _5(i)}function T5(i){return new C5(i)}function w5(i){return new b5(i)}function mf(i){const a=new M5(i);return function D5(){try{return!!(new window.DOMParser).parseFromString(ba(""),"text/html")}catch{return!1}}()?new O5(a):a}class O5{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a=" "+a;try{const m=(new window.DOMParser).parseFromString(ba(a),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(a):(m.removeChild(m.firstChild),m)}catch{return null}}}class M5{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const m=this.inertDocument.createElement("template");return m.innerHTML=ba(a),m}}const x5=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bl(i){return(i=String(i)).match(x5)?i:"unsafe:"+i}function So(i){const a={};for(const m of i.split(","))a[m]=!0;return a}function ms(...i){const a={};for(const m of i)for(const P in m)m.hasOwnProperty(P)&&(a[P]=!0);return a}const yf=So("area,br,col,hr,img,wbr"),vf=So("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_f=So("rp,rt"),S5=ms(_f,vf),P5=ms(vf,So("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")),B5=ms(_f,So("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")),eu=ms(yf,P5,B5,S5),tu=So("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),L5=So("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"),R5=So("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"),Cf=ms(tu,L5,R5),N5=So("script,style,template");class U5{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let m=a.firstChild,P=!0;for(;m;)if(m.nodeType===Node.ELEMENT_NODE?P=this.startElement(m):m.nodeType===Node.TEXT_NODE?this.chars(m.nodeValue):this.sanitizedSomething=!0,P&&m.firstChild)m=m.firstChild;else for(;m;){m.nodeType===Node.ELEMENT_NODE&&this.endElement(m);let U=this.checkClobberedElement(m,m.nextSibling);if(U){m=U;break}m=this.checkClobberedElement(m,m.parentNode)}return this.buf.join("")}startElement(a){const m=a.nodeName.toLowerCase();if(!eu.hasOwnProperty(m))return this.sanitizedSomething=!0,!N5.hasOwnProperty(m);this.buf.push("<"),this.buf.push(m);const P=a.attributes;for(let U=0;U "),!0}endElement(a){const m=a.nodeName.toLowerCase();eu.hasOwnProperty(m)&&!yf.hasOwnProperty(m)&&(this.buf.push(""),this.buf.push(m),this.buf.push(">"))}chars(a){this.buf.push(bf(a))}checkClobberedElement(a,m){if(m&&(a.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return m}}const F5=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,k5=/([^\#-~ |!])/g;function bf(i){return i.replace(/&/g,"&").replace(F5,function(a){return""+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(k5,function(a){return""+a.charCodeAt(0)+";"}).replace(//g,">")}let El;function Ef(i,a){let m=null;try{El=El||mf(i);let P=a?String(a):"";m=El.getInertBodyElement(P);let U=5,z=P;do{if(0===U)throw new Error("Failed to sanitize html because the input is unstable");U--,P=z,z=m.innerHTML,m=El.getInertBodyElement(P)}while(P!==z);return ba((new U5).sanitizeChildren(nu(m)||m))}finally{if(m){const P=nu(m)||m;for(;P.firstChild;)P.removeChild(P.firstChild)}}}function nu(i){return"content"in i&&function j5(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var jo;function If(i){const a=ys();return a?ff(a.sanitize(jo.HTML,i)||""):Ia(i,"HTML")?ff(xo(i)):Ef(Ea(),b(i))}function Af(i){const a=ys();return a?a.sanitize(jo.STYLE,i)||"":Ia(i,"Style")?xo(i):b(i)}function ru(i){const a=ys();return a?a.sanitize(jo.URL,i)||"":Ia(i,"URL")?xo(i):bl(b(i))}function iu(i){const a=ys();if(a)return hf(a.sanitize(jo.RESOURCE_URL,i)||"");if(Ia(i,"ResourceURL"))return hf(xo(i));throw new E(904,!1)}function Tf(i){const a=ys();if(a)return pf(a.sanitize(jo.SCRIPT,i)||"");if(Ia(i,"Script"))return pf(xo(i));throw new E(905,!1)}function wf(i){return ba(i[0])}function Of(i){return function g5(i){return Jc()?.createScriptURL(i)||i}(i[0])}function Mf(i,a,m){return function V5(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?iu:ru}(a,m)(i)}function ys(){const i=Wn();return i&&i[N].sanitizer}!function(i){i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL"}(jo||(jo={}));const vs=new Mt("ENVIRONMENT_INITIALIZER"),ou=new Mt("INJECTOR",-1),Df=new Mt("INJECTOR_DEF_TYPES");class au{get(a,m=Cn){if(m===Cn){const P=new Error(`NullInjectorError: No provider for ${v(a)}!`);throw P.name="NullInjectorError",P}return m}}function su(i){return{\u0275providers:i}}function xf(...i){return{\u0275providers:Sf(0,i),\u0275fromNgModule:!0}}function Sf(i,...a){const m=[],P=new Set;let U;const z=oe=>{m.push(oe)};return ma(a,oe=>{const _e=oe;Il(_e,z,[],P)&&(U||=[],U.push(_e))}),void 0!==U&&Pf(U,z),m}function Pf(i,a){for(let m=0;m {a(z,P)})}}function Il(i,a,m,P){if(!(i=M(i)))return!1;let U=null,z=Ae(i);const oe=!z&&Tr(i);if(z||oe){if(oe&&!oe.standalone)return!1;U=i}else{const Se=i.ngModule;if(z=Ae(Se),!z)return!1;U=Se}const _e=P.has(U);if(oe){if(_e)return!1;if(P.add(U),oe.dependencies){const Se="function"==typeof oe.dependencies?oe.dependencies():oe.dependencies;for(const tt of Se)Il(tt,a,m,P)}}else{if(!z)return!1;{if(null!=z.imports&&!_e){let tt;P.add(U);try{ma(z.imports,bt=>{Il(bt,a,m,P)&&(tt||=[],tt.push(bt))})}finally{}void 0!==tt&&Pf(tt,a)}if(!_e){const tt=Ti(U)||(()=>new U);a({provide:U,useFactory:tt,deps:an},U),a({provide:Df,useValue:U,multi:!0},U),a({provide:vs,useValue:()=>ot(U),multi:!0},U)}const Se=z.providers;if(null!=Se&&!_e){const tt=i;lu(Se,bt=>{a(bt,tt)})}}}return U!==i&&void 0!==i.providers}function lu(i,a){for(let m of i)S(m)&&(m=m.\u0275providers),Array.isArray(m)?lu(m,a):a(m)}const W5=f({provide:String,useValue:f});function cu(i){return null!==i&&"object"==typeof i&&W5 in i}function Ko(i){return"function"==typeof i}const uu=new Mt("Set Injector scope."),Al={},G5={};let du;function Tl(){return void 0===du&&(du=new au),du}class bo{}class Aa extends bo{get destroyed(){return this._destroyed}constructor(a,m,P,U){super(),this.parent=m,this.source=P,this.scopes=U,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pu(a,oe=>this.processProvider(oe)),this.records.set(ou,Ta(void 0,this)),U.has("environment")&&this.records.set(bo,Ta(void 0,this));const z=this.records.get(uu);null!=z&&"string"==typeof z.value&&this.scopes.add(z.value),this.injectorDefTypes=new Set(this.get(Df.multi,an,re.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const m of this._ngOnDestroyHooks)m.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const m of a)m()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const m=bn(this),P=fe(void 0);try{return a()}finally{bn(m),fe(P)}}get(a,m=Cn,P=re.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(qn))return a[qn](this);P=mt(P);const z=bn(this),oe=fe(void 0);try{if(!(P&re.SkipSelf)){let Se=this.records.get(a);if(void 0===Se){const tt=function K5(i){return"function"==typeof i||"object"==typeof i&&i instanceof Mt}(a)&&Ge(a);Se=tt&&this.injectableDefInScope(tt)?Ta(fu(a),Al):null,this.records.set(a,Se)}if(null!=Se)return this.hydrate(a,Se)}return(P&re.Self?Tl():this.parent).get(a,m=P&re.Optional&&m===Cn?null:m)}catch(_e){if("NullInjectorError"===_e.name){if((_e[tn]=_e[tn]||[]).unshift(v(a)),z)throw _e;return function Ut(i,a,m,P){const U=i[tn];throw a[lt]&&U.unshift(a[lt]),i.message=function qe(i,a,m,P=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let U=v(a);if(Array.isArray(a))U=a.map(v).join(" -> ");else if("object"==typeof a){let z=[];for(let oe in a)if(a.hasOwnProperty(oe)){let _e=a[oe];z.push(oe+":"+("string"==typeof _e?JSON.stringify(_e):v(_e)))}U=`{${z.join(", ")}}`}return`${m}${P?"("+P+")":""}[${U}]: ${i.replace(on,"\n ")}`}("\n"+i.message,U,m,P),i.ngTokenPath=U,i[tn]=null,i}(_e,a,"R3InjectorError",this.source)}throw _e}finally{fe(oe),bn(z)}}resolveInjectorInitializers(){const a=bn(this),m=fe(void 0);try{const U=this.get(vs.multi,an,re.Self);for(const z of U)z()}finally{bn(a),fe(m)}}toString(){const a=[],m=this.records;for(const P of m.keys())a.push(v(P));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(a){let m=Ko(a=M(a))?a:M(a&&a.provide);const P=function H5(i){return cu(i)?Ta(void 0,i.useValue):Ta(Rf(i),Al)}(a);if(Ko(a)||!0!==a.multi)this.records.get(m);else{let U=this.records.get(m);U||(U=Ta(void 0,Al,!0),U.factory=()=>Ot(U.multi),this.records.set(m,U)),m=a,U.multi.push(a)}this.records.set(m,P)}hydrate(a,m){return m.value===Al&&(m.value=G5,m.value=m.factory()),"object"==typeof m.value&&m.value&&function X5(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(m.value)&&this._ngOnDestroyHooks.add(m.value),m.value}injectableDefInScope(a){if(!a.providedIn)return!1;const m=M(a.providedIn);return"string"==typeof m?"any"===m||this.scopes.has(m):this.injectorDefTypes.has(m)}removeOnDestroy(a){const m=this._onDestroyHooks.indexOf(a);-1!==m&&this._onDestroyHooks.splice(m,1)}}function fu(i){const a=Ge(i),m=null!==a?a.factory:Ti(i);if(null!==m)return m;if(i instanceof Mt)throw new E(204,!1);if(i instanceof Function)return function z5(i){const a=i.length;if(a>0)throw cs(a,"?"),new E(204,!1);const m=function ve(i){return i&&(i[Y]||i[k])||null}(i);return null!==m?()=>m.factory(i):()=>new i}(i);throw new E(204,!1)}function Rf(i,a,m){let P;if(Ko(i)){const U=M(i);return Ti(U)||fu(U)}if(cu(i))P=()=>M(i.useValue);else if(function Lf(i){return!(!i||!i.useFactory)}(i))P=()=>i.useFactory(...Ot(i.deps||[]));else if(function Bf(i){return!(!i||!i.useExisting)}(i))P=()=>ot(M(i.useExisting));else{const U=M(i&&(i.useClass||i.provide));if(!function Z5(i){return!!i.deps}(i))return Ti(U)||fu(U);P=()=>new U(...Ot(i.deps))}return P}function Ta(i,a,m=!1){return{factory:i,value:a,multi:m?[]:void 0}}function pu(i,a){for(const m of i)Array.isArray(m)?pu(m,a):m&&S(m)?pu(m.\u0275providers,a):a(m)}const Nf=new Mt("AppId",{providedIn:"root",factory:()=>Y5}),Y5="ng",Uf=new Mt("Platform Initializer"),hu=new Mt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),J5=new Mt("Application Packages Root URL"),q5=new Mt("AnimationModuleType"),$5=new Mt("CSP nonce",{providedIn:"root",factory:()=>Ea().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ff=new Mt("",{providedIn:"root",factory:()=>new Set});function e4(i){return i}function t4(){const i=new Yo;return"browser"===Dt(hu)&&(i.store=function n4(i,a){const m=i.getElementById(a+"-state");if(m?.textContent)try{return JSON.parse(m.textContent)}catch(P){console.warn("Exception while restoring TransferState for app "+a,P)}return{}}(Ea(),Dt(Nf))),i}class Yo{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=ae({token:Yo,providedIn:"root",factory:t4});get(a,m){return void 0!==this.store[a]?this.store[a]:m}set(a,m){this.store[a]=m}remove(a){delete this.store[a]}hasKey(a){return this.store.hasOwnProperty(a)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(a,m){this.onSerializeCallbacks[a]=m}toJson(){for(const a in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(a))try{this.store[a]=this.onSerializeCallbacks[a]()}catch(m){console.warn("Exception in onSerialize callback: ",m)}return JSON.stringify(this.store).replace(/null;function r4(i,a,m=!1){let P=i.getAttribute(Cs);if(null==P)return null;const[U,z]=P.split("|");if(P=m?z:U,!P)return null;const oe=m?U:z?`|${z}`:"";let _e={};if(""!==P){const tt=a.get(Yo,null,{optional:!0});null!==tt&&(_e=tt.get(bu,[])[Number(P)])}const Se={data:_e,firstChild:i.firstChild??null};return m&&(Se.firstChild=i,Ml(Se,0,i.nextSibling)),oe?i.setAttribute(Cs,oe):i.removeAttribute(Cs),Se}function Eu(i,a,m=!1){return jf(i,a,m)}function Vf(i){let a=i._lView;return 2===a[Yn].type?null:(_r(a)&&(a=a[Sn]),a)}function Ml(i,a,m){i.segmentHeads??={},i.segmentHeads[a]=m}function Iu(i,a){return i.segmentHeads?.[a]??null}function Wf(i,a){return i.data[_s]?.[a]??null}function Au(i,a){const m=Wf(i,a)??[];let P=0;for(let U of m)P+=U[wa]*(U[wl]??1);return P}function Dl(i,a){if(typeof i.disconnectedNodes>"u"){const m=i.data[Ol];i.disconnectedNodes=m?new Set(m):null}return!!i.disconnectedNodes?.has(a)}class Qf{}class xl{}class u4{resolveComponentFactory(a){throw function c4(i){const a=Error(`No component factory found for ${v(i)}.`);return a.ngComponent=i,a}(a)}}class bs{static#e=this.NULL=new u4}function d4(){return Oa(Fi(),Wn())}function Oa(i,a){return new Es(Pr(i,a))}class Es{constructor(a){this.nativeElement=a}static#e=this.__NG_ELEMENT_ID__=d4}function f4(i){return i instanceof Es?i.nativeElement:i}class zf{}class p4{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function h4(){const i=Wn(),m=Er(Fi().index,i);return(Jt(m)?m:i)[Z]}()}class Sl{static#e=this.\u0275prov=ae({token:Sl,providedIn:"root",factory:()=>null})}class Hf{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const Zf=new Hf("16.2.12"),Pl={};function g4(i,a){i instanceof Aa&&i.assertNotDestroyed();const P=bn(i),U=fe(void 0);try{return a()}finally{bn(P),fe(U)}}function Bl(i){if(!se()&&!function gn(){return Gt}())throw new E(-203,!1)}const Xf={\u0275\u0275defineInjectable:ae,\u0275\u0275defineInjector:pe,\u0275\u0275inject:ot,\u0275\u0275invalidFactoryDep:Tt,resolveForwardRef:M};const y4=f({provide:String,useValue:f});function Kf(i){return void 0!==i.useClass}function Yf(i){return void 0!==i.useFactory}const b4=as("Injectable",void 0,void 0,void 0,(i,a)=>function m4(i,a){let m=null,P=null;i.hasOwnProperty(Y)||Object.defineProperty(i,Y,{get:()=>(null===m&&(m=Pi().compileInjectable(Xf,`ng:///${i.name}/\u0275prov.js`,function C4(i,a){const m=a||{providedIn:null},P={name:i.name,type:i,typeArgumentCount:0,providedIn:m.providedIn};return(Kf(m)||Yf(m))&&void 0!==m.deps&&(P.deps=T0(m.deps)),Kf(m)?P.useClass=m.useClass:function v4(i){return y4 in i}(m)?P.useValue=m.useValue:Yf(m)?P.useFactory=m.useFactory:function _4(i){return void 0!==i.useExisting}(m)&&(P.useExisting=m.useExisting),P}(i,a))),m)}),i.hasOwnProperty(Jn)||Object.defineProperty(i,Jn,{get:()=>{if(null===P){const U=Pi();P=U.compileFactory(Xf,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i,typeArgumentCount:0,deps:sl(i),target:U.FactoryTarget.Injectable})}return P},configurable:!0})}(i,a));function Tu(i,a=null,m=null,P){const U=Jf(i,a,m,P);return U.resolveInjectorInitializers(),U}function Jf(i,a=null,m=null,P,U=new Set){const z=[m||an,xf(i)];return P=P||("object"==typeof i?void 0:v(i)),new Aa(z,a||Tl(),P||null,U)}class no{static#e=this.THROW_IF_NOT_FOUND=Cn;static#t=this.NULL=new au;static create(a,m){if(Array.isArray(a))return Tu({name:""},m,a,"");{const P=a.name??"";return Tu({name:P},a.parent,a.providers,P)}}static#n=this.\u0275prov=ae({token:no,providedIn:"any",factory:()=>ot(ou)});static#r=this.__NG_ELEMENT_ID__=-1}function wu(i){return i.ngOriginalError}class Vo{constructor(){this._console=console}handleError(a){const m=this._findOriginalError(a);this._console.error("ERROR",a),m&&this._console.error("ORIGINAL ERROR",m)}_findOriginalError(a){let m=a&&wu(a);for(;m&&wu(m);)m=wu(m);return m||null}}class Is{static#e=this.__NG_ELEMENT_ID__=I4;static#t=this.__NG_ENV_ID__=a=>a}class E4 extends Is{constructor(a){super(),this._lView=a}onDestroy(a){return Xs(this._lView,a),()=>function la(i,a){if(null===i[St])return;const m=i[St].indexOf(a);-1!==m&&i[St].splice(m,1)}(this._lView,a)}}function I4(){return new E4(Wn())}function Ou(i){return a=>{setTimeout(i,void 0,a)}}const Eo=class A4 extends e.Subject{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,m,P){let U=a,z=m||(()=>null),oe=P;if(a&&"object"==typeof a){const Se=a;U=Se.next?.bind(Se),z=Se.error?.bind(Se),oe=Se.complete?.bind(Se)}this.__isAsync&&(z=Ou(z),U&&(U=Ou(U)),oe&&(oe=Ou(oe)));const _e=super.subscribe({next:U,error:z,complete:oe});return a instanceof r.Subscription&&a.add(_e),_e}};function $f(...i){}class Ri{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:P=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Eo(!1),this.onMicrotaskEmpty=new Eo(!1),this.onStable=new Eo(!1),this.onError=new Eo(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const U=this;U._nesting=0,U._outer=U._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(U._inner=U._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(U._inner=U._inner.fork(Zone.longStackTraceZoneSpec)),U.shouldCoalesceEventChangeDetection=!P&&m,U.shouldCoalesceRunChangeDetection=P,U.lastRequestAnimationFrameId=-1,U.nativeRequestAnimationFrame=function T4(){const i="function"==typeof Oe.requestAnimationFrame;let a=Oe[i?"requestAnimationFrame":"setTimeout"],m=Oe[i?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&m){const P=a[Zone.__symbol__("OriginalDelegate")];P&&(a=P);const U=m[Zone.__symbol__("OriginalDelegate")];U&&(m=U)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:m}}().nativeRequestAnimationFrame,function M4(i){const a=()=>{!function O4(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Oe,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,Du(i),i.isCheckStableRunning=!0,Mu(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),Du(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,P,U,z,oe,_e)=>{if(function D4(i){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0].data?.__ignore_ng_zone__}(_e))return m.invokeTask(U,z,oe,_e);try{return ep(i),m.invokeTask(U,z,oe,_e)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===z.type||i.shouldCoalesceRunChangeDetection)&&a(),tp(i)}},onInvoke:(m,P,U,z,oe,_e,Se)=>{try{return ep(i),m.invoke(U,z,oe,_e,Se)}finally{i.shouldCoalesceRunChangeDetection&&a(),tp(i)}},onHasTask:(m,P,U,z)=>{m.hasTask(U,z),P===U&&("microTask"==z.change?(i._hasPendingMicrotasks=z.microTask,Du(i),Mu(i)):"macroTask"==z.change&&(i.hasPendingMacrotasks=z.macroTask))},onHandleError:(m,P,U,z)=>(m.handleError(U,z),i.runOutsideAngular(()=>i.onError.emit(z)),!1)})}(U)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ri.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(Ri.isInAngularZone())throw new E(909,!1)}run(a,m,P){return this._inner.run(a,m,P)}runTask(a,m,P,U){const z=this._inner,oe=z.scheduleEventTask("NgZoneEvent: "+U,a,w4,$f,$f);try{return z.runTask(oe,m,P)}finally{z.cancelTask(oe)}}runGuarded(a,m,P){return this._inner.runGuarded(a,m,P)}runOutsideAngular(a){return this._outer.run(a)}}const w4={};function Mu(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function Du(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function ep(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function tp(i){i._nesting--,Mu(i)}class np{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Eo,this.onMicrotaskEmpty=new Eo,this.onStable=new Eo,this.onError=new Eo}run(a,m,P){return a.apply(m,P)}runGuarded(a,m,P){return a.apply(m,P)}runOutsideAngular(a){return a()}runTask(a,m,P,U){return a.apply(m,P)}}const rp=new Mt("",{providedIn:"root",factory:ip});function ip(){const i=Dt(Ri);let a=!0;const m=new d.Observable(U=>{a=i.isStable&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks,i.runOutsideAngular(()=>{U.next(a),U.complete()})}),P=new d.Observable(U=>{let z;i.runOutsideAngular(()=>{z=i.onStable.subscribe(()=>{Ri.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks&&(a=!0,U.next(!0))})})});const oe=i.onUnstable.subscribe(()=>{Ri.assertInAngularZone(),a&&(a=!1,i.runOutsideAngular(()=>{U.next(!1)}))});return()=>{z.unsubscribe(),oe.unsubscribe()}});return(0,n.merge)(m,P.pipe((0,s.share)()))}function op(i){return i.ownerDocument.defaultView}function ap(i){return i.ownerDocument}function xu(i){return i.ownerDocument.body}function Po(i){return i instanceof Function?i():i}function Da(i){return"browser"===(i??Dt(no)).get(hu)}function sp(i,a){!a&&Bl();const m=a?.injector??Dt(no);if(!Da(m))return{destroy(){}};let P;const U=m.get(Is).onDestroy(()=>P?.()),z=m.get(qo),oe=z.handler??=new up,_e=m.get(Ri),Se=m.get(Vo,null,{optional:!0}),tt=new cp(_e,Se,i);return P=()=>{oe.unregister(tt),U()},oe.register(tt),{destroy:P}}function lp(i,a){!a&&Bl();const m=a?.injector??Dt(no);if(!Da(m))return{destroy(){}};let P;const U=m.get(Is).onDestroy(()=>P?.()),z=m.get(qo),oe=z.handler??=new up,_e=m.get(Ri),Se=m.get(Vo,null,{optional:!0}),tt=new cp(_e,Se,()=>{P?.(),i()});return P=()=>{oe.unregister(tt),U()},oe.register(tt),{destroy:P}}class cp{constructor(a,m,P){this.zone=a,this.errorHandler=m,this.callbackFn=P}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class up{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new E(102,!1)}register(a){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(a)}unregister(a){this.callbacks.delete(a),this.deferredCallbacks.delete(a)}execute(){this.executingCallbacks=!0;for(const a of this.callbacks)a.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.callbacks.add(a);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}class qo{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=ae({token:qo,providedIn:"root",factory:()=>new qo})}function As(i){for(;i;){i[or]|=64;const a=ps(i);if(_r(i)&&!a)return i;i=a}return null}const Ts=new Mt(""),fp=new Mt("",{providedIn:"root",factory:()=>!1});let Ll=null;function mp(i,a){return i[a]??_p()}function yp(i,a){const m=_p();m.producerNode?.length&&(i[a]=Ll,m.lView=i,Ll=vp())}const R4={...Yt,consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{As(i.lView)},lView:null};function vp(){return Object.create(R4)}function _p(){return Ll??=vp(),Ll}const Rr={};function Cp(i){bp(Hr(),Wn(),Hi()+i,!1)}function bp(i,a,m,P){if(!P)if(3==(3&a[or])){const z=i.preOrderCheckHooks;null!==z&&Js(a,z,m)}else{const z=i.preOrderHooks;null!==z&&qs(a,z,0,m)}zo(m)}function xa(i,a=re.Default){const m=Wn();return null===m?ot(i,a):s0(Fi(),m,M(i),a)}function Ep(){throw new Error("invalid")}function Rl(i,a,m,P,U,z,oe,_e,Se,tt,bt){const Qt=a.blueprint.slice();return Qt[wr]=U,Qt[or]=140|P,(null!==tt||i&&2048&i[or])&&(Qt[or]|=2048),vi(Qt),Qt[Nr]=Qt[Ee]=i,Qt[Wr]=m,Qt[N]=oe||i&&i[N],Qt[Z]=_e||i&&i[Z],Qt[A]=Se||i&&i[A]||null,Qt[Xr]=z,Qt[Ft]=function Q3(){return W3++}(),Qt[Kt]=bt,Qt[Zt]=tt,Qt[Re]=2==a.type?i[Re]:Qt,Qt}function Sa(i,a,m,P,U){let z=i.data[a];if(null===z)z=Su(i,a,m,P,U),function Xm(){return Ar.lFrame.inI18n}()&&(z.flags|=32);else if(64&z.type){z.type=m,z.value=P,z.attrs=U;const oe=ts();z.injectorIndex=null===oe?-1:oe.injectorIndex}return _o(z,!0),z}function Su(i,a,m,P,U){const z=k1(),oe=yc(),Se=i.data[a]=function Q4(i,a,m,P,U,z){let oe=a?a.injectorIndex:-1,_e=0;return ca()&&(_e|=128),{type:m,index:P,insertBeforeIndex:null,injectorIndex:oe,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:_e,providerIndexes:0,value:U,attrs:z,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,oe?z:z&&z.parent,m,a,P,U);return null===i.firstChild&&(i.firstChild=Se),null!==z&&(oe?null==z.child&&null!==Se.parent&&(z.child=Se):null===z.next&&(z.next=Se,Se.prev=z)),Se}function ws(i,a,m,P){if(0===m)return-1;const U=a.length;for(let z=0;z Sn&&bp(i,a,Sn,!1),$n(_e?2:0,U);const tt=_e?z:null,bt=Gn(tt);try{null!==tt&&(tt.dirty=!1),m(P,U)}finally{Kn(tt,bt)}}finally{_e&&null===a[Pn]&&yp(a,Pn),zo(oe),$n(_e?3:1,U)}}function Pu(i,a,m){if(Nt(a)){const P=Vt(null);try{const z=a.directiveEnd;for(let oe=a.directiveStart;oe null;function j4(i){U0(i)?sf(i):function a4(i){const a=Ea(),m=a.createNodeIterator(i,NodeFilter.SHOW_COMMENT,{acceptNode(z){const oe=function o4(i){return i.textContent?.replace(/\s/gm,"")}(z);return"ngetn"===oe||"ngtns"===oe?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let P;const U=[];for(;P=m.nextNode();)U.push(P);for(const z of U)"ngetn"===z.textContent?z.replaceWith(a.createTextNode("")):z.remove()}(i)}function wp(i,a,m,P){for(let U in i)if(i.hasOwnProperty(U)){m=null===m?{}:m;const z=i[U];null===P?Op(m,a,U,z):P.hasOwnProperty(U)&&Op(m,a,P[U],z)}return m}function Op(i,a,m,P){i.hasOwnProperty(m)?i[m].push(a,P):i[m]=[a,P]}function ro(i,a,m,P,U,z,oe,_e){const Se=Pr(a,m);let bt,tt=a.inputs;!_e&&null!=tt&&(bt=tt[P])?(ju(i,m,bt,P,U),An(a)&&function H4(i,a){const m=Er(a,i);16&m[or]||(m[or]|=64)}(m,a.index)):3&a.type&&(P=function z4(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(P),U=null!=oe?oe(U,a.value||"",P):U,z.setProperty(Se,P,U))}function Nu(i,a,m,P){if(L1()){const U=null===P?null:{"":-1},z=function q4(i,a){const m=i.directiveRegistry;let P=null,U=null;if(m)for(let z=0;z 0;){const m=i[--a];if("number"==typeof m&&m<0)return m}return 0})(oe)!=_e&&oe.push(_e),oe.push(m,P,z)}}(i,a,P,ws(i,m,U.hostVars,Rr),U)}function Io(i,a,m,P,U,z){const oe=Pr(i,a);Fu(a[Z],oe,z,i.value,m,P,U)}function Fu(i,a,m,P,U,z,oe){if(null==z)i.removeAttribute(a,U,m);else{const _e=null==oe?b(z):oe(z,P||"",U);i.setAttribute(a,U,_e,m)}}function i6(i,a,m,P,U,z){const oe=z[a];if(null!==oe)for(let _e=0;_e "u"?null:Zone.current,z=function V(i,a,m){const P=Object.create(ce);m&&(P.consumerAllowSignalWrites=!0),P.fn=i,P.schedule=a;const U=oe=>{P.cleanupFn=oe};return P.ref={notify:()=>ir(P),run:()=>{if(P.dirty=!1,P.hasRun&&!rr(P))return;P.hasRun=!0;const oe=Gn(P);try{P.cleanupFn(),P.cleanupFn=K,P.fn(U)}finally{Kn(P,oe)}},cleanup:()=>P.cleanupFn()},P.ref}(a,Se=>{this.all.has(Se)&&this.queue.set(Se,U)},P);let oe;this.all.add(z),z.notify();const _e=()=>{z.cleanup(),oe?.(),this.all.delete(z),this.queue.delete(z)};return oe=m?.onDestroy(_e),{destroy:_e}}flush(){if(0!==this.queue.size)for(const[a,m]of this.queue)this.queue.delete(a),m?m.run(()=>a.run()):a.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=ae({token:Os,providedIn:"root",factory:()=>new Os})}function Up(i,a){!a?.injector&&Bl();const m=a?.injector??Dt(no),P=m.get(Os),U=!0!==a?.manualCleanup?m.get(Is):null;return P.create(i,U,!!a?.allowSignalWrites)}function Ul(i,a,m){let P=m?i.styles:null,U=m?i.classes:null,z=0;if(null!==a)for(let oe=0;oe 0){Vp(i,1);const U=m.components;null!==U&&Qp(i,U,1)}}function Qp(i,a,m){for(let P=0;P -1&&(gl(a,P),rl(m,P))}this._attachedToViewContainer=!1}zc(this._lView[Yn],this._lView)}onDestroy(a){Xs(this._lView,a)}markForCheck(){As(this._cdRefInjectingView||this._lView)}detach(){this._lView[or]&=-129}reattach(){this._lView[or]|=128}detectChanges(){Fl(this._lView[Yn],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function n5(i,a){gs(i,a,a[Z],2,null,null)}(this._lView[Yn],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=a}}class d6 extends Pa{constructor(a){super(a),this._view=a}detectChanges(){const a=this._view;Fl(a[Yn],a,a[Wr],!1)}checkNoChanges(){}get context(){return null}}class Gp extends bs{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const m=Tr(a);return new Ba(m,this.ngModule)}}function zp(i){const a=[];for(let m in i)i.hasOwnProperty(m)&&a.push({propName:i[m],templateName:m});return a}class p6{constructor(a,m){this.injector=a,this.parentInjector=m}get(a,m,P){P=mt(P);const U=this.injector.get(a,Pl,P);return U!==Pl||m===Pl?U:this.parentInjector.get(a,m,P)}}class Ba extends xl{get inputs(){const a=this.componentDef,m=a.inputTransforms,P=zp(a.inputs);if(null!==m)for(const U of P)m.hasOwnProperty(U.propName)&&(U.transform=m[U.propName]);return P}get outputs(){return zp(this.componentDef.outputs)}constructor(a,m){super(),this.componentDef=a,this.ngModule=m,this.componentType=a.type,this.selector=function ti(i){return i.map(Or).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!m}create(a,m,P,U){let z=(U=U||this.ngModule)instanceof bo?U:U?.injector;z&&null!==this.componentDef.getStandaloneInjector&&(z=this.componentDef.getStandaloneInjector(z)||z);const oe=z?new p6(a,z):a,_e=oe.get(zf,null);if(null===_e)throw new E(407,!1);const Qt={rendererFactory:_e,sanitizer:oe.get(Sl,null),effectManager:oe.get(Os,null),afterRenderEventManager:oe.get(qo,null)},ln=_e.createRenderer(null,this.componentDef),_n=this.componentDef.selectors[0][0]||"div",Un=P?function F4(i,a,m,P){const z=P.get(fp,!1)||m===Bt.ShadowDom,oe=i.selectRootElement(a,z);return function k4(i){Tp(i)}(oe),oe}(ln,P,this.componentDef.encapsulation,oe):hl(ln,_n,function f6(i){const a=i.toLowerCase();return"svg"===a?Cr:"math"===a?Sr:null}(_n)),gr=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Vn=null;null!==Un&&(Vn=Eu(Un,oe,!0));const xr=Ru(0,null,null,1,0,null,null,null,null,null,null),Vr=Rl(null,xr,null,gr,null,null,Qt,ln,oe,null,Vn);let ii,eo;Ec(Vr);try{const No=this.componentDef;let Ya,P1=null;No.findHostDirectiveDefs?(Ya=[],P1=new Map,No.findHostDirectiveDefs(No,Ya,P1),Ya.push(No)):Ya=[No];const J9=function h6(i,a){const m=i[Yn],P=Sn;return i[P]=a,Sa(m,P,2,"#host",null)}(Vr,Un),q9=function g6(i,a,m,P,U,z,oe){const _e=U[Yn];!function m6(i,a,m,P){for(const U of i)a.mergedAttrs=kn(a.mergedAttrs,U.hostAttrs);null!==a.mergedAttrs&&(Ul(a,a.mergedAttrs,!0),null!==m&&uf(P,m,a))}(P,i,a,oe);let Se=null;null!==a&&(Se=Eu(a,U[A]));const tt=z.rendererFactory.createRenderer(a,m);let bt=16;m.signals?bt=4096:m.onPush&&(bt=64);const Qt=Rl(U,Ap(m),null,bt,U[i.index],i,z,tt,null,null,Se);return _e.firstCreatePass&&Uu(_e,i,P.length-1),Nl(U,Qt),U[i.index]=Qt}(J9,Un,No,Ya,Vr,Qt,ln);eo=lo(xr,Sn),Un&&function v6(i,a,m,P){if(P)un(i,m,["ng-version",Zf.full]);else{const{attrs:U,classes:z}=function Ii(i){const a=[],m=[];let P=1,U=2;for(;P 0&&cf(i,m,z.join(" "))}}(ln,No,Un,P),void 0!==m&&function _6(i,a,m){const P=i.projection=[];for(let U=0;U =0;P--){const U=i[P];U.hostVars=a+=U.hostVars,U.hostAttrs=kn(U.hostAttrs,m=kn(m,U.hostAttrs))}}(P)}function kl(i){return i===Ht?{}:i===an?[]:i}function b6(i,a){const m=i.viewQuery;i.viewQuery=m?(P,U)=>{a(P,U),m(P,U)}:a}function E6(i,a){const m=i.contentQueries;i.contentQueries=m?(P,U,z)=>{a(P,U,z),m(P,U,z)}:a}function I6(i,a){const m=i.hostBindings;i.hostBindings=m?(P,U)=>{a(P,U),m(P,U)}:a}const A6=["providersResolver"],T6=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Kp(i){let m,a=Xp(i.type);m=ur(i)?a.\u0275cmp:a.\u0275dir;const P=i;for(const U of A6)P[U]=m[U];if(ur(m))for(const U of T6)P[U]=m[U]}function Yp(i){return a=>{a.findHostDirectiveDefs=Jp,a.hostDirectives=(Array.isArray(i)?i:i()).map(m=>"function"==typeof m?{directive:M(m),inputs:Ht,outputs:Ht}:{directive:M(m.directive),inputs:qp(m.inputs),outputs:qp(m.outputs)})}}function Jp(i,a,m){if(null!==i.hostDirectives)for(const P of i.hostDirectives){const U=kr(P.directive);w6(U.declaredInputs,P.inputs),Jp(U,a,m),m.set(U,P),a.push(U)}}function qp(i){if(void 0===i||0===i.length)return Ht;const a={};for(let m=0;m ${a}${U}>`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function D6(i){switch(i){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return" "}}(i.type)})`}}function xs(i,a="\u2026"){const m=i;switch(m.nodeType){case Node.ELEMENT_NODE:const P=m.tagName.toLowerCase(),U=function R6(i){const a=[];for(let m=0;m ${a}${P}>`;case Node.TEXT_NODE:const z=m.textContent?Ps(m.textContent):"";return"#text"+(z?`(${z})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Ps(m.textContent??"")} --\x3e`;default:return`#node(${m.nodeType})`}}function Ps(i,a=50){return i?(i=function N6(i){return i.replace(/\s+/gm,"")}(i)).length>a?`${i.substring(0,a-1)}\u2026`:i:""}const U6=new RegExp(`^(\\d+)*(${mu}|${gu})*(.*)`);function rd(i){return i.index-Sn}function Ql(i,a,m,P){let U=null;const z=rd(P),oe=i.data[Cu];if(oe?.[z])U=function W6(i,a){const[m,...P]=function k6(i){const a=i.match(U6),[m,P,U,z]=a,oe=P?parseInt(P,10):U,_e=[];for(const[Se,tt,bt]of z.matchAll(/(f|n)(\d*)/g)){const Qt=parseInt(bt,10)||1;_e.push(tt,Qt)}return[oe,..._e]}(i);let U;return U=m===gu?a[Re][wr]:m===mu?xu(a[Re][wr]):fr(a[Number(m)+Sn]),function V6(i,a){let m=i;for(let P=0;P 0&&m[U-1]===P?m[U]=(m[U]||1)+1:m.push(P,"")}return m.join("")}(m,P)}function G6(i,a){const m=i.parent;let P,U,z;null!==m&&3&m.type?(P=m.index,U=fr(a[P]),z=b(P-Sn)):(P=z=gu,U=a[Re][wr]);let oe=fr(a[i.index]);if(12&i.type){const Se=hs(a,i);Se&&(oe=Se)}let _e=ih(U,oe,z);if(null===_e&&U!==oe&&(_e=ih(U.ownerDocument.body,oe,mu),null===_e))throw function S6(i,a){const P=`${function nd(i,a,m){const P=" ";let U="";a.prev?(U+=" \u2026\n",U+=P+td(a.prev)+"\n"):a.type&&12&a.type&&(U+=" \u2026\n"),m?(U+=P+td(a)+"\n",U+=P+`\x3c!-- container --\x3e ${ed}\n`):U+=P+td(a)+` ${ed}\n`,U+=" \u2026\n";const z=a.type?Zc(i[Yn],a,i):null;return z&&(U=xs(z,"\n"+U)),U}(i,a,!1)}\n\n`,U=function Ss(i){return`To fix this problem:\n * check ${i?`the "${i}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new E(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+P+U)}(a,i);return _e}function oh(i,a,m,P,U,z,oe,_e){const Se=Wn(),tt=Hr(),bt=i+Sn,Qt=tt.firstCreatePass?function z6(i,a,m,P,U,z,oe,_e,Se){const tt=a.consts,bt=Sa(a,i,4,oe||null,gi(tt,_e));Nu(a,m,bt,gi(tt,Se)),Ys(a,bt);const Qt=bt.tView=Ru(2,bt,P,U,z,a.directiveRegistry,a.pipeRegistry,null,a.schemas,tt,null);return null!==a.queries&&(a.queries.template(a,bt),Qt.queries=a.queries.embeddedTView(bt)),bt}(bt,tt,Se,a,m,P,U,z,oe):tt.data[bt];_o(Qt,!1);const ln=ah(tt,Se,Qt,i);Ks()&&yl(tt,Se,ln,Qt),Vi(ln,Se),Nl(Se,Se[bt]=Sp(ln,Se,ln,Qt)),ar(Qt)&&Bu(tt,Se,Qt),null!=oe&&Lu(Se,Qt,_e)}let ah=sh;function sh(i,a,m,P){return Uo(!0),a[Z].createComment("")}function H6(i,a,m,P){const U=a[Kt],z=!U||ca()||Dl(U,P);if(Uo(z),z)return sh(0,a);const oe=U.data[vu]?.[P]??null;null!==oe&&null!==m.tView&&null===m.tView.ssrId&&(m.tView.ssrId=oe);const _e=Ql(U,i,a,m);return Ml(U,P,_e),Gl(Au(U,P),_e)}function lh(i,a,m,P){m>=i.data.length&&(i.data[m]=null,i.blueprint[m]=null),a[m]=P}function ch(i){return co(function Zm(){return Ar.lFrame.contextLView}(),Sn+i)}function od(i,a,m){const P=Wn();return Wi(P,ua(),a)&&ro(Hr(),Ei(),P,i,a,P[Z],m,!1),od}function ad(i,a,m,P,U){const oe=U?"class":"style";ju(i,m,a.inputs[oe],oe,P)}function zl(i,a,m,P){const U=Wn(),z=Hr(),oe=Sn+i,_e=U[Z],Se=z.firstCreatePass?function X6(i,a,m,P,U,z){const oe=a.consts,Se=Sa(a,i,2,P,gi(oe,U));return Nu(a,m,Se,gi(oe,z)),null!==Se.attrs&&Ul(Se,Se.attrs,!1),null!==Se.mergedAttrs&&Ul(Se,Se.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,Se),Se}(oe,z,U,a,m,P):z.data[oe],tt=uh(z,U,Se,_e,a,i);U[oe]=tt;const bt=ar(Se);return _o(Se,!0),uf(_e,tt,Se),32!=(32&Se.flags)&&Ks()&&yl(z,U,tt,Se),0===function Vm(){return Ar.lFrame.elementDepthCount}()&&Vi(tt,U),function Wm(){Ar.lFrame.elementDepthCount++}(),bt&&(Bu(z,U,Se),Pu(z,Se,U)),null!==P&&Lu(U,Se),zl}function Hl(){let i=Fi();yc()?vc():(i=i.parent,_o(i,!1));const a=i;(function Gm(i){return Ar.skipHydrationRootTNode===i})(a)&&function Hm(){Ar.skipHydrationRootTNode=null}(),function Qm(){Ar.lFrame.elementDepthCount--}();const m=Hr();return m.firstCreatePass&&(Ys(m,i),Nt(i)&&m.queries.elementEnd(i)),null!=a.classesWithoutHost&&function i3(i){return 0!=(8&i.flags)}(a)&&ad(m,a,Wn(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function o3(i){return 0!=(16&i.flags)}(a)&&ad(m,a,Wn(),a.stylesWithoutHost,!1),Hl}function sd(i,a,m,P){return zl(i,a,m,P),Hl(),sd}let uh=(i,a,m,P,U,z)=>(Uo(!0),hl(P,U,q1()));function K6(i,a,m,P,U,z){const oe=a[Kt],_e=!oe||ca()||Dl(oe,z);if(Uo(_e),_e)return hl(P,U,q1());const Se=Ql(oe,i,a,m);return Wf(oe,z)&&Ml(oe,z,Se.nextSibling),oe&&(N0(m)||U0(Se))&&An(m)&&(function zm(i){Ar.skipHydrationRootTNode=i}(m),sf(Se)),Se}function Zl(i,a,m){const P=Wn(),U=Hr(),z=i+Sn,oe=U.firstCreatePass?function J6(i,a,m,P,U){const z=a.consts,oe=gi(z,P),_e=Sa(a,i,8,"ng-container",oe);return null!==oe&&Ul(_e,oe,!0),Nu(a,m,_e,gi(z,U)),null!==a.queries&&a.queries.elementStart(a,_e),_e}(z,U,P,a,m):U.data[z];_o(oe,!0);const _e=dh(U,P,oe,i);return P[z]=_e,Ks()&&yl(U,P,_e,oe),Vi(_e,P),ar(oe)&&(Bu(U,P,oe),Pu(U,oe,P)),null!=m&&Lu(P,oe),Zl}function Xl(){let i=Fi();const a=Hr();return yc()?vc():(i=i.parent,_o(i,!1)),a.firstCreatePass&&(Ys(a,i),Nt(i)&&a.queries.elementEnd(i)),Xl}function ld(i,a,m){return Zl(i,a,m),Xl(),ld}let dh=(i,a,m,P)=>(Uo(!0),Gc(a[Z],""));function q6(i,a,m,P){let U;const z=a[Kt],oe=!z||ca();if(Uo(oe),oe)return Gc(a[Z],"");const _e=Ql(z,i,a,m),Se=function l4(i,a){const m=i.data;let P=m[yu]?.[a]??null;return null===P&&m[_s]?.[a]&&(P=Au(i,a)),P}(z,P);return Ml(z,P,_e),U=Gl(Se,_e),U}function fh(){return Wn()}function cd(i){return!!i&&"function"==typeof i.then}function ph(i){return!!i&&"function"==typeof i.subscribe}function ud(i,a,m,P){const U=Wn(),z=Hr(),oe=Fi();return hh(z,U,U[Z],oe,i,a,P),ud}function dd(i,a){const m=Fi(),P=Wn(),U=Hr();return hh(U,P,Rp(Cc(U.data),m,P),m,i,a),dd}function hh(i,a,m,P,U,z,oe){const _e=ar(P),tt=i.firstCreatePass&&Lp(i),bt=a[Wr],Qt=Bp(a);let ln=!0;if(3&P.type||oe){const Xn=Pr(P,a),tr=oe?oe(Xn):Xn,gr=Qt.length,Vn=oe?Vr=>oe(fr(Vr[P.index])):P.index;let xr=null;if(!oe&&_e&&(xr=function e8(i,a,m,P){const U=i.cleanup;if(null!=U)for(let z=0;z Se?_e[Se]:null}"string"==typeof oe&&(z+=2)}return null}(i,a,U,P.index)),null!==xr)(xr.__ngLastListenerFn__||xr).__ngNextListenerFn__=z,xr.__ngLastListenerFn__=z,ln=!1;else{z=mh(P,a,bt,z,!1);const Vr=m.listen(tr,U,z);Qt.push(z,Vr),tt&&tt.push(U,Vn,gr,gr+1)}}else z=mh(P,a,bt,z,!1);const _n=P.outputs;let Un;if(ln&&null!==_n&&(Un=_n[U])){const Xn=Un.length;if(Xn)for(let tr=0;tr -1?Er(i.index,a):a);let Se=gh(a,m,P,oe),tt=z.__ngNextListenerFn__;for(;tt;)Se=gh(a,m,tt,oe)&&Se,tt=tt.__ngNextListenerFn__;return U&&!1===Se&&oe.preventDefault(),Se}}function yh(i=1){return function qm(i){return(Ar.lFrame.contextLView=function $m(i,a){for(;i>0;)a=a[Ee],i--;return a}(i,Ar.lFrame.contextLView))[Wr]}(i)}function t8(i,a){let m=null;const P=function nr(i){const a=i.attrs;if(null!=a){const m=a.indexOf(5);if(!(1&m))return a[m+1]}return null}(i);for(let U=0;U >17&32767}function bd(i){return 2|i}function ea(i){return(131068&i)>>2}function Ed(i,a){return-131069&i|a<<2}function Id(i){return 1|i}function Ch(i,a,m,P,U){const z=i[m+1],oe=null===a;let _e=P?Wo(z):ea(z),Se=!1;for(;0!==_e&&(!1===Se||oe);){const bt=i[_e+1];s8(i[_e],a)&&(Se=!0,i[_e+1]=P?Id(bt):bd(bt)),_e=P?Wo(bt):ea(bt)}Se&&(i[m+1]=P?bd(z):Id(z))}function s8(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&ya(i,a)>=0}const Bi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function bh(i){return i.substring(Bi.key,Bi.keyEnd)}function l8(i){return i.substring(Bi.value,Bi.valueEnd)}function Eh(i,a){const m=Bi.textEnd;return m===a?-1:(a=Bi.keyEnd=function d8(i,a,m){for(;a 32;)a++;return a}(i,Bi.key=a,m),Qa(i,a,m))}function Ih(i,a){const m=Bi.textEnd;let P=Bi.key=Qa(i,a,m);return m===P?-1:(P=Bi.keyEnd=function f8(i,a,m){let P;for(;a =65&&(-33&P)<=90||P>=48&&P<=57);)a++;return a}(i,P,m),P=Th(i,P,m),P=Bi.value=Qa(i,P,m),P=Bi.valueEnd=function p8(i,a,m){let P=-1,U=-1,z=-1,oe=a,_e=oe;for(;oe 32&&(_e=oe),z=U,U=P,P=-33&Se}return _e}(i,P,m),Th(i,P,m))}function Ah(i){Bi.key=0,Bi.keyEnd=0,Bi.value=0,Bi.valueEnd=0,Bi.textEnd=i.length}function Qa(i,a,m){for(;a =0;m=Ih(a,m))xh(i,bh(a),l8(a))}function Oh(i){mo(C8,To,i,!0)}function To(i,a){for(let m=function c8(i){return Ah(i),Eh(i,Qa(i,0,Bi.textEnd))}(a);m>=0;m=Eh(a,m))to(i,bh(a),!0)}function go(i,a,m,P){const U=Wn(),z=Hr(),oe=Do(2);z.firstUpdatePass&&Dh(z,i,oe,P),a!==Rr&&Wi(U,oe,a)&&Sh(z,z.data[Hi()],U,U[Z],i,U[oe+1]=function E8(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=v(xo(i)))),i}(a,m),P,oe)}function mo(i,a,m,P){const U=Hr(),z=Do(2);U.firstUpdatePass&&Dh(U,null,z,P);const oe=Wn();if(m!==Rr&&Wi(oe,z,m)){const _e=U.data[Hi()];if(Bh(_e,P)&&!Mh(U,z)){let Se=P?_e.classesWithoutHost:_e.stylesWithoutHost;null!==Se&&(m=_(Se,m||"")),ad(U,_e,oe,m,P)}else!function b8(i,a,m,P,U,z,oe,_e){U===Rr&&(U=an);let Se=0,tt=0,bt=0 =i.expandoStartIndex}function Dh(i,a,m,P){const U=i.data;if(null===U[m+1]){const z=U[Hi()],oe=Mh(i,m);Bh(z,P)&&null===a&&!oe&&(a=!1),a=function g8(i,a,m,P){const U=Cc(i);let z=P?a.residualClasses:a.residualStyles;if(null===U)0===(P?a.classBindings:a.styleBindings)&&(m=Bs(m=wd(null,i,a,m,P),a.attrs,P),z=null);else{const oe=a.directiveStylingLast;if(-1===oe||i[oe]!==U)if(m=wd(U,i,a,m,P),null===z){let Se=function m8(i,a,m){const P=m?a.classBindings:a.styleBindings;if(0!==ea(P))return i[Wo(P)]}(i,a,P);void 0!==Se&&Array.isArray(Se)&&(Se=wd(null,i,a,Se[1],P),Se=Bs(Se,a.attrs,P),function y8(i,a,m,P){i[Wo(m?a.classBindings:a.styleBindings)]=P}(i,a,P,Se))}else z=function v8(i,a,m){let P;const U=a.directiveEnd;for(let z=1+a.directiveStylingLast;z0)&&(tt=!0)):bt=m,U)if(0!==Se){const ln=Wo(i[_e+1]);i[P+1]=Yl(ln,_e),0!==ln&&(i[ln+1]=Ed(i[ln+1],P)),i[_e+1]=function r8(i,a){return 131071&i|a<<17}(i[_e+1],P)}else i[P+1]=Yl(_e,0),0!==_e&&(i[_e+1]=Ed(i[_e+1],P)),_e=P;else i[P+1]=Yl(Se,0),0===_e?_e=P:i[Se+1]=Ed(i[Se+1],P),Se=P;tt&&(i[P+1]=bd(i[P+1])),Ch(i,bt,P,!0),Ch(i,bt,P,!1),function a8(i,a,m,P,U){const z=U?i.residualClasses:i.residualStyles;null!=z&&"string"==typeof a&&ya(z,a)>=0&&(m[P+1]=Id(m[P+1]))}(a,bt,i,P,z),oe=Yl(_e,Se),z?a.classBindings=oe:a.styleBindings=oe}(U,z,a,m,oe,P)}}function wd(i,a,m,P,U){let z=null;const oe=m.directiveEnd;let _e=m.directiveStylingLast;for(-1===_e?_e=m.directiveStart:_e++;_e 0;){const Se=i[U],tt=Array.isArray(Se),bt=tt?Se[1]:Se,Qt=null===bt;let ln=m[U+1];ln===Rr&&(ln=Qt?an:void 0);let _n=Qt?Bc(ln,P):bt===P?ln:void 0;if(tt&&!Jl(_n)&&(_n=Bc(Se,P)),Jl(_n)&&(_e=_n,oe))return _e;const Un=i[U+1];U=oe?Wo(Un):ea(Un)}if(null!==a){let Se=z?a.residualClasses:a.residualStyles;null!=Se&&(_e=Bc(Se,P))}return _e}function Jl(i){return void 0!==i}function Bh(i,a){return 0!=(i.flags&(a?8:16))}function Lh(i,a=""){const m=Wn(),P=Hr(),U=i+Sn,z=P.firstCreatePass?Sa(P,U,1,a,null):P.data[U],oe=Rh(P,m,z,a,i);m[U]=oe,Ks()&&yl(P,m,oe,z),_o(z,!1)}let Rh=(i,a,m,P,U)=>(Uo(!0),pl(a[Z],P));function I8(i,a,m,P,U){const z=a[Kt],oe=!z||ca()||Dl(z,U);return Uo(oe),oe?pl(a[Z],P):Ql(z,i,a,m)}function Od(i){return ql("",i,""),Od}function ql(i,a,m){const P=Wn(),U=Ra(P,i,a,m);return U!==Rr&&Bo(P,Hi(),U),ql}function Md(i,a,m,P,U){const z=Wn(),oe=Na(z,i,a,m,P,U);return oe!==Rr&&Bo(z,Hi(),oe),Md}function Dd(i,a,m,P,U,z,oe){const _e=Wn(),Se=Ua(_e,i,a,m,P,U,z,oe);return Se!==Rr&&Bo(_e,Hi(),Se),Dd}function xd(i,a,m,P,U,z,oe,_e,Se){const tt=Wn(),bt=Fa(tt,i,a,m,P,U,z,oe,_e,Se);return bt!==Rr&&Bo(tt,Hi(),bt),xd}function Sd(i,a,m,P,U,z,oe,_e,Se,tt,bt){const Qt=Wn(),ln=ka(Qt,i,a,m,P,U,z,oe,_e,Se,tt,bt);return ln!==Rr&&Bo(Qt,Hi(),ln),Sd}function Pd(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln){const _n=Wn(),Un=ja(_n,i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln);return Un!==Rr&&Bo(_n,Hi(),Un),Pd}function Bd(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un){const Xn=Wn(),tr=Va(Xn,i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un);return tr!==Rr&&Bo(Xn,Hi(),tr),Bd}function Ld(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr){const gr=Wn(),Vn=Wa(gr,i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr);return Vn!==Rr&&Bo(gr,Hi(),Vn),Ld}function Rd(i){const a=Wn(),m=La(a,i);return m!==Rr&&Bo(a,Hi(),m),Rd}function Nh(i,a,m){mo(to,To,Ra(Wn(),i,a,m),!0)}function Uh(i,a,m,P,U){mo(to,To,Na(Wn(),i,a,m,P,U),!0)}function Fh(i,a,m,P,U,z,oe){mo(to,To,Ua(Wn(),i,a,m,P,U,z,oe),!0)}function kh(i,a,m,P,U,z,oe,_e,Se){mo(to,To,Fa(Wn(),i,a,m,P,U,z,oe,_e,Se),!0)}function jh(i,a,m,P,U,z,oe,_e,Se,tt,bt){mo(to,To,ka(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt),!0)}function Vh(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln){mo(to,To,ja(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln),!0)}function Wh(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un){mo(to,To,Va(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un),!0)}function Qh(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr){mo(to,To,Wa(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr),!0)}function Gh(i){mo(to,To,La(Wn(),i),!0)}function zh(i,a,m){ho(Ra(Wn(),i,a,m))}function Hh(i,a,m,P,U){ho(Na(Wn(),i,a,m,P,U))}function Zh(i,a,m,P,U,z,oe){ho(Ua(Wn(),i,a,m,P,U,z,oe))}function Xh(i,a,m,P,U,z,oe,_e,Se){ho(Fa(Wn(),i,a,m,P,U,z,oe,_e,Se))}function Kh(i,a,m,P,U,z,oe,_e,Se,tt,bt){ho(ka(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt))}function Yh(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln){ho(ja(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln))}function Jh(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un){ho(Va(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un))}function qh(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr){ho(Wa(Wn(),i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr))}function $h(i){ho(La(Wn(),i))}function Nd(i,a,m,P,U){return go(i,Ra(Wn(),a,m,P),U,!1),Nd}function Ud(i,a,m,P,U,z,oe){return go(i,Na(Wn(),a,m,P,U,z),oe,!1),Ud}function Fd(i,a,m,P,U,z,oe,_e,Se){return go(i,Ua(Wn(),a,m,P,U,z,oe,_e),Se,!1),Fd}function kd(i,a,m,P,U,z,oe,_e,Se,tt,bt){return go(i,Fa(Wn(),a,m,P,U,z,oe,_e,Se,tt),bt,!1),kd}function jd(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln){return go(i,ka(Wn(),a,m,P,U,z,oe,_e,Se,tt,bt,Qt),ln,!1),jd}function Vd(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un){return go(i,ja(Wn(),a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n),Un,!1),Vd}function Wd(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr){return go(i,Va(Wn(),a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn),tr,!1),Wd}function Qd(i,a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr,gr,Vn){return go(i,Wa(Wn(),a,m,P,U,z,oe,_e,Se,tt,bt,Qt,ln,_n,Un,Xn,tr,gr),Vn,!1),Qd}function Gd(i,a,m){return go(i,La(Wn(),a),m,!1),Gd}function zd(i,a,m){const P=Wn();return Wi(P,ua(),a)&&ro(Hr(),Ei(),P,i,a,P[Z],m,!0),zd}function Hd(i,a,m){const P=Wn();if(Wi(P,ua(),a)){const z=Hr(),oe=Ei();ro(z,oe,P,i,a,Rp(Cc(z.data),oe,P),m,!0)}return Hd}const ta=void 0;var w8=["en",[["a","p"],["AM","PM"],ta],[["AM","PM"],ta,ta],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ta,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ta,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ta,"{1} 'at' {0}",ta],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function T8(i){const m=Math.floor(Math.abs(i)),P=i.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===P?1:5}];let Ga={};function O8(i,a,m){"string"!=typeof a&&(m=a,a=i[na.LocaleId]),a=a.toLowerCase().replace(/_/g,"-"),Ga[a]=i,m&&(Ga[a][na.ExtraData]=m)}function Zd(i){const a=function x8(i){return i.toLowerCase().replace(/_/g,"-")}(i);let m=t2(a);if(m)return m;const P=a.split("-")[0];if(m=t2(P),m)return m;if("en"===P)return w8;throw new E(701,!1)}function M8(i){return Zd(i)[na.CurrencyCode]||null}function e2(i){return Zd(i)[na.PluralCase]}function t2(i){return i in Ga||(Ga[i]=Oe.ng&&Oe.ng.common&&Oe.ng.common.locales&&Oe.ng.common.locales[i]),Ga[i]}function D8(){Ga={}}var na;!function(i){i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData"}(na||(na={}));const S8=["zero","one","two","few","many"],ra="en-US",$l={marker:"element"},ec={marker:"ICU"};var Ki;!function(i){i[i.SHIFT=2]="SHIFT",i[i.APPEND_EAGERLY=1]="APPEND_EAGERLY",i[i.COMMENT=2]="COMMENT"}(Ki||(Ki={}));let n2=ra;function Xd(i){(function De(i,a){null==i&&Pe(a,i,null,"!=")})(i,"Expected localeId to be defined"),"string"==typeof i&&(n2=i.toLowerCase().replace(/_/g,"-"))}function r2(i,a,m){const P=a.insertBeforeIndex,U=Array.isArray(P)?P[0]:P;return null===U?nf(i,0,m):fr(m[U])}function i2(i,a,m,P,U){const z=a.insertBeforeIndex;if(Array.isArray(z)){let oe=P,_e=null;if(3&a.type||(_e=oe,oe=U),null!==oe&&-1===a.componentOffset)for(let Se=1;Se 1)for(let m=i.length-2;m>=0;m--){const P=i[m];a2(P)||R8(P,a)&&null===N8(P)&&U8(P,a.index)}}function a2(i){return!(64&i.type)}function R8(i,a){return a2(a)||i.index>a.index}function N8(i){const a=i.insertBeforeIndex;return Array.isArray(a)?a[0]:a}function U8(i,a){const m=i.insertBeforeIndex;Array.isArray(m)?m[0]=a:(of(r2,i2),i.insertBeforeIndex=a)}function Ls(i,a){const m=i.data[a];return null===m||"string"==typeof m?null:m.hasOwnProperty("currentCaseLViewIndex")?m:m.value}function j8(i,a,m){const P=Su(i,m,64,null,null);return o2(a,P),P}function tc(i,a){const m=a[i.currentCaseLViewIndex];return null===m?m:m<0?~m:m}function s2(i){return i>>>17}function l2(i){return(131070&i)>>>1}let Rs=0,Ns=0;function u2(i,a,m,P){const U=m[Z];let oe,z=null;for(let _e=0;_e >>1,m),null,null,_n,Un,null)}else switch(Se){case ec:const tt=a[++_e],bt=a[++_e];null===m[bt]&&Vi(m[bt]=Gc(U,tt),m);break;case $l:const Qt=a[++_e],ln=a[++_e];null===m[ln]&&Vi(m[ln]=hl(U,Qt,null),m)}}}function d2(i,a,m,P,U){for(let z=0;z >>2;switch(3&bt){case 1:const ln=m[++tt],_n=m[++tt],Un=i.data[Qt];"string"==typeof Un?Fu(a[Z],a[Qt],null,Un,ln,Se,_n):ro(i,Un,a,ln,Se,a[Z],_n,!1);break;case 0:const Xn=a[Qt];null!==Xn&&Y0(a[Z],Xn,Se);break;case 2:z8(i,Ls(i,Qt),a,Se);break;case 3:f2(i,Ls(i,Qt),P,a)}}}}else{const Se=m[z+1];if(Se>0&&3==(3&Se)){const bt=Ls(i,Se>>>2);a[bt.currentCaseLViewIndex]<0&&f2(i,bt,P,a)}}z+=_e}}function f2(i,a,m,P){let U=P[a.currentCaseLViewIndex];if(null!==U){let z=Rs;U<0&&(U=P[a.currentCaseLViewIndex]=~U,z=-1),d2(i,P,a.update[U],m,z)}}function z8(i,a,m,P){const U=function H8(i,a){let m=i.cases.indexOf(a);if(-1===m)switch(i.type){case 1:{const P=function P8(i,a){const m=e2(a)(parseInt(i,10)),P=S8[m];return void 0!==P?P:"other"}(a,function L8(){return n2}());m=i.cases.indexOf(P),-1===m&&"other"!==P&&(m=i.cases.indexOf("other"));break}case 0:m=i.cases.indexOf("other")}return-1===m?null:m}(a,P);if(tc(a,m)!==U&&(p2(i,a,m),m[a.currentCaseLViewIndex]=null===U?null:~U,null!==U)){const oe=m[a.anchorIdx];oe&&u2(i,a.create[U],m,oe)}}function p2(i,a,m){let P=tc(a,m);if(null!==P){const U=a.remove[P];for(let z=0;z 0){const _e=Qr(oe,m);null!==_e&&vl(m[Z],_e)}else p2(i,Ls(i,~oe),m)}}}function Z8(){const i=[];let m,P,a=-1;function z(_e,Se){a=0;const tt=tc(_e,Se);P=null!==tt?_e.remove[tt]:an}function oe(){if(a 0?m[_e]:(i.push(a,P),z(m[Yn].data[~_e],m),oe())}return 0===i.length?null:(P=i.pop(),a=i.pop(),oe())}return function U(_e,Se){for(m=Se;i.length;)i.pop();return z(_e.value,Se),oe}}const nc=/\ufffd(\d+):?\d*\ufffd/gi,X8=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,K8=/\ufffd(\d+)\ufffd/,g2=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Us="\ufffd",Y8=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,J8=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,q8=/\uE500/g;function m2(i,a,m,P,U,z,oe){const _e=ws(i,P,1,null);let Se=_e< m.length&&m.push(Se)}return{type:P,mainBinding:U,cases:a,values:m}}function Kd(i){if(!i)return[];let a=0;const m=[],P=[],U=/[{}]/g;let z;for(U.lastIndex=0;z=U.exec(i);){const _e=z.index;if("}"==z[0]){if(m.pop(),0==m.length){const Se=i.substring(a,_e);g2.test(Se)?P.push(ay(Se)):P.push(Se),a=_e+1}}else{if(0==m.length){const Se=i.substring(a,_e);P.push(Se),a=_e+1}m.push("{")}}const oe=i.substring(a);return P.push(oe),P}function sy(i,a,m,P,U,z,oe,_e){const Se=[],tt=[],bt=[];a.cases.push(z),a.create.push(Se),a.remove.push(tt),a.update.push(bt);const ln=mf(Ea()).getInertBodyElement(oe),_n=nu(ln)||ln;return _n?C2(i,a,m,P,Se,tt,bt,_n,U,_e,0):0}function C2(i,a,m,P,U,z,oe,_e,Se,tt,bt){let Qt=0,ln=_e.firstChild;for(;ln;){const _n=ws(i,m,1,null);switch(ln.nodeType){case Node.ELEMENT_NODE:const Un=ln,Xn=Un.tagName.toLowerCase();if(eu.hasOwnProperty(Xn)){Yd(U,$l,Xn,Se,_n),i.data[_n]=Xn;const xr=Un.attributes;for(let Vr=0;Vr >>Ki.SHIFT;let Qt=i[bt];null===Qt&&(Qt=i[bt]=(oe&Ki.COMMENT)===Ki.COMMENT?U.createComment(_e):pl(U,_e)),tt&&null!==m&&Zo(U,m,Qt,P,!1)}})(U,Se.create,bt,_e&&8&_e.type?U[_e.index]:null),W1(!0)}function qd(){W1(!1)}function I2(i,a,m){Jd(i,a,m),qd()}function A2(i,a){const m=Hr(),P=gi(m.consts,a);!function ny(i,a,m){const U=Fi().index,z=[];if(i.firstCreatePass&&null===i.data[a]){for(let oe=0;oe 0){const P=i.data[m];d2(i,a,Array.isArray(P)?P:P.update,Mo()-Ns-1,Rs)}Rs=0,Ns=0}(Hr(),Wn(),i+Sn)}function w2(i,a={}){return function _y(i,a={}){let m=i;if(fy.test(i)){const P={},U=[E2];m=m.replace(py,(z,oe,_e)=>{const Se=oe||_e,tt=P[Se]||[];if(tt.length||(Se.split("|").forEach(Xn=>{const tr=Xn.match(vy),gr=tr?parseInt(tr[1],10):E2,Vn=yy.test(Xn);tt.push([gr,Vn,Xn])}),P[Se]=tt),!tt.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Se}`);const bt=U[U.length-1];let Qt=0;for(let Xn=0;Xn a.hasOwnProperty(z)?`${U}${a[z]}${Se}`:P),m=m.replace(gy,(P,U)=>a.hasOwnProperty(U)?a[U]:P),m=m.replace(my,(P,U)=>{if(a.hasOwnProperty(U)){const z=a[U];if(!z.length)throw new Error(`i18n postprocess: unmatched ICU - ${P} with key: ${U}`);return z.shift()}return P})),m}(i,a)}function O2(i,a){}function e1(i,a,m,P,U){if(i=M(i),Array.isArray(i))for(let z=0;z >20;if(Ko(i)||!i.multi){const _n=new ns(tt,U,xa),Un=n1(Se,a,U?bt:bt+ln,Qt);-1===Un?(Dc(el(_e,oe),z,Se),t1(z,i,a.length),a.push(Se),_e.directiveStart++,_e.directiveEnd++,U&&(_e.providerIndexes+=1048576),m.push(_n),oe.push(_n)):(m[Un]=_n,oe[Un]=_n)}else{const _n=n1(Se,a,bt+ln,Qt),Un=n1(Se,a,bt,bt+ln),tr=Un>=0&&m[Un];if(U&&!tr||!U&&!(_n>=0&&m[_n])){Dc(el(_e,oe),z,Se);const gr=function Iy(i,a,m,P,U){const z=new ns(i,m,xa);return z.multi=[],z.index=a,z.componentProviders=0,M2(z,U,P&&!m),z}(U?Ey:by,m.length,U,P,tt);!U&&tr&&(m[Un].providerFactory=gr),t1(z,i,a.length,0),a.push(Se),_e.directiveStart++,_e.directiveEnd++,U&&(_e.providerIndexes+=1048576),m.push(gr),oe.push(gr)}else t1(z,i,_n>-1?_n:Un,M2(m[U?Un:_n],tt,!U&&P));!U&&P&&tr&&m[Un].componentProviders++}}}function t1(i,a,m,P){const U=Ko(a),z=function Q5(i){return!!i.useClass}(a);if(U||z){const Se=(z?M(a.useClass):a).prototype.ngOnDestroy;if(Se){const tt=i.destroyHooks||(i.destroyHooks=[]);if(!U&&a.multi){const bt=tt.indexOf(m);-1===bt?tt.push(m,[P,Se]):tt[bt+1].push(P,Se)}else tt.push(m,Se)}}}function M2(i,a,m){return m&&i.componentProviders++,i.multi.push(a)-1}function n1(i,a,m,P){for(let U=m;U {m.providersResolver=(P,U)=>function Cy(i,a,m){const P=Hr();if(P.firstCreatePass){const U=ur(i);e1(m,P.data,P.blueprint,U,!0),e1(a,P.data,P.blueprint,U,!1)}}(P,U?U(i):i,a)}}class ia{}class x2{}function S2(i,a){return new rc(i,a??null,[])}const Ay=S2;class rc extends ia{constructor(a,m,P){super(),this._parent=m,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Gp(this);const U=qr(a);this._bootstrapComponents=Po(U.bootstrap),this._r3Injector=Jf(a,m,[{provide:ia,useValue:this},{provide:bs,useValue:this.componentFactoryResolver},...P],v(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class ic extends x2{constructor(a){super(),this.moduleType=a}create(a){return new rc(this.moduleType,a,[])}}class P2 extends ia{constructor(a){super(),this.componentFactoryResolver=new Gp(this),this.instance=null;const m=new Aa([...a.providers,{provide:ia,useValue:this},{provide:bs,useValue:this.componentFactoryResolver}],a.parent||Tl(),a.debugName,new Set(["environment"]));this.injector=m,a.runEnvironmentInitializers&&m.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function B2(i,a,m=null){return new P2({providers:i,parent:a,debugName:m,runEnvironmentInitializers:!0}).injector}class oc{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const m=Sf(0,a.type),P=m.length>0?B2([m],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,P)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ae({token:oc,providedIn:"environment",factory:()=>new oc(ot(bo))})}function L2(i){i.getStandaloneInjector=a=>a.get(oc).getOrCreateStandaloneInjector(i)}function i1(i){const a=Xi(i);if(null===a)return null;if(void 0===a.component){const m=a.lView;if(null===m)return null;a.component=function K3(i,a){const m=a[Yn].data[i],{directiveStart:P,componentOffset:U}=m;return U>-1?a[P+U]:null}(a.nodeIndex,m)}return a.component}function R2(i){!function Sy(i){if(typeof Element<"u"&&!(i instanceof Element))throw new Error("Expecting instance of DOM Element")}(i);const a=Xi(i),m=a?a.lView:null;return null===m?null:m[Wr]}function N2(i){const a=Xi(i);let P,m=a?a.lView:null;if(null===m)return null;for(;2===m[Yn].type&&(P=ps(m));)m=P;return 512&m[or]?null:m[Wr]}function U2(i){const a=W0(i);return null!==a?[$3(a)]:[]}function F2(i){const a=Xi(i),m=a?a.lView:null;return null===m?no.NULL:new Zi(m[Yn].data[a.nodeIndex],m)}function k2(i){if(i instanceof Text)return[];const a=Xi(i),m=a?a.lView:null;if(null===m)return[];const P=m[Yn],U=a.nodeIndex;return P?.data[U]?(void 0===a.directives&&(a.directives=H0(U,m)),null===a.directives?[]:[...a.directives]):[]}function Oy(i){const{constructor:a}=i;if(!a)throw new Error("Unable to find the instance constructor");const m=Tr(a);if(m)return{inputs:m.inputs,outputs:m.outputs,encapsulation:m.encapsulation,changeDetection:m.onPush?Wt.OnPush:Wt.Default};const P=kr(a);return P?{inputs:P.inputs,outputs:P.outputs}:null}function o1(i){return Xi(i).native}function j2(i){const a=Xi(i),m=null===a?null:a.lView;if(null===m)return[];const U=m[Ci],z=m[Yn].cleanup,oe=[];if(z&&U)for(let _e=0;_e
=0?"dom":"output"})}}return oe.sort(Dy),oe}function Dy(i,a){return i.name==a.name?0:i.name {const U=i;null!==a&&(U.hasOwnProperty("decorators")&&void 0!==U.decorators?U.decorators.push(...a):U.decorators=a),null!==m&&(U.ctorParameters=m),null!==P&&(U.propDecorators=U.hasOwnProperty("propDecorators")&&void 0!==U.propDecorators?{...U.propDecorators,...P}:P)})}function W2(i,a,m){const P=zi()+i,U=Wn();return U[P]===Rr?Ao(U,P,m?a.call(m):a()):Ds(U,P)}function Q2(i,a,m,P){return q2(Wn(),zi(),i,a,m,P)}function G2(i,a,m,P,U){return $2(Wn(),zi(),i,a,m,P,U)}function z2(i,a,m,P,U,z){return eg(Wn(),zi(),i,a,m,P,U,z)}function H2(i,a,m,P,U,z,oe){return tg(Wn(),zi(),i,a,m,P,U,z,oe)}function Z2(i,a,m,P,U,z,oe,_e){const Se=zi()+i,tt=Wn(),bt=fo(tt,Se,m,P,U,z);return Wi(tt,Se+4,oe)||bt?Ao(tt,Se+5,_e?a.call(_e,m,P,U,z,oe):a(m,P,U,z,oe)):Ds(tt,Se+5)}function X2(i,a,m,P,U,z,oe,_e,Se){const tt=zi()+i,bt=Wn(),Qt=fo(bt,tt,m,P,U,z);return $o(bt,tt+4,oe,_e)||Qt?Ao(bt,tt+6,Se?a.call(Se,m,P,U,z,oe,_e):a(m,P,U,z,oe,_e)):Ds(bt,tt+6)}function K2(i,a,m,P,U,z,oe,_e,Se,tt){const bt=zi()+i,Qt=Wn();let ln=fo(Qt,bt,m,P,U,z);return Vl(Qt,bt+4,oe,_e,Se)||ln?Ao(Qt,bt+7,tt?a.call(tt,m,P,U,z,oe,_e,Se):a(m,P,U,z,oe,_e,Se)):Ds(Qt,bt+7)}function Y2(i,a,m,P,U,z,oe,_e,Se,tt,bt){const Qt=zi()+i,ln=Wn(),_n=fo(ln,Qt,m,P,U,z);return fo(ln,Qt+4,oe,_e,Se,tt)||_n?Ao(ln,Qt+8,bt?a.call(bt,m,P,U,z,oe,_e,Se,tt):a(m,P,U,z,oe,_e,Se,tt)):Ds(ln,Qt+8)}function J2(i,a,m,P){return ng(Wn(),zi(),i,a,m,P)}function ks(i,a){const m=i[a];return m===Rr?void 0:m}function q2(i,a,m,P,U,z){const oe=a+m;return Wi(i,oe,U)?Ao(i,oe+1,z?P.call(z,U):P(U)):ks(i,oe+1)}function $2(i,a,m,P,U,z,oe){const _e=a+m;return $o(i,_e,U,z)?Ao(i,_e+2,oe?P.call(oe,U,z):P(U,z)):ks(i,_e+2)}function eg(i,a,m,P,U,z,oe,_e){const Se=a+m;return Vl(i,Se,U,z,oe)?Ao(i,Se+3,_e?P.call(_e,U,z,oe):P(U,z,oe)):ks(i,Se+3)}function tg(i,a,m,P,U,z,oe,_e,Se){const tt=a+m;return fo(i,tt,U,z,oe,_e)?Ao(i,tt+4,Se?P.call(Se,U,z,oe,_e):P(U,z,oe,_e)):ks(i,tt+4)}function ng(i,a,m,P,U,z){let oe=a+m,_e=!1;for(let Se=0;Se =0;m--){const P=a[m];if(i===P.name)return P}}(a,m.pipeRegistry),m.data[U]=P,P.onDestroy&&(m.destroyHooks??=[]).push(U,P.onDestroy)):P=m.data[U];const z=P.factory||(P.factory=Ti(P.type)),_e=fe(xa);try{const Se=$s(!1),tt=z();return $s(Se),lh(m,Wn(),U,tt),tt}finally{fe(_e)}}function ig(i,a,m){const P=i+Sn,U=Wn(),z=co(U,P);return js(U,P)?q2(U,zi(),a,z.transform,m,z):z.transform(m)}function og(i,a,m,P){const U=i+Sn,z=Wn(),oe=co(z,U);return js(z,U)?$2(z,zi(),a,oe.transform,m,P,oe):oe.transform(m,P)}function ag(i,a,m,P,U){const z=i+Sn,oe=Wn(),_e=co(oe,z);return js(oe,z)?eg(oe,zi(),a,_e.transform,m,P,U,_e):_e.transform(m,P,U)}function sg(i,a,m,P,U,z){const oe=i+Sn,_e=Wn(),Se=co(_e,oe);return js(_e,oe)?tg(_e,zi(),a,Se.transform,m,P,U,z,Se):Se.transform(m,P,U,z)}function lg(i,a,m){const P=i+Sn,U=Wn(),z=co(U,P);return js(U,P)?ng(U,zi(),a,z.transform,m,z):z.transform.apply(z,m)}function js(i,a){return i[Yn].data[a].pure}function By(){return this._results[Symbol.iterator]()}class ac{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Eo)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=ac.prototype;m[Symbol.iterator]||(m[Symbol.iterator]=By)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,m){return this._results.reduce(a,m)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,m){const P=this;P.dirty=!1;const U=uo(a);(this._changesDetected=!function _3(i,a,m){if(i.length!==a.length)return!1;for(let P=0;P 0&&(m[U-1][Ur]=a),P null;function Wy(i,a){const m=i[Qe];return a&&null!==m&&0!==m.length?m[0].data[_u]===a?m.shift():(cg(i),null):null}function fg(i,a){return dg(i,a)}class cc{static#e=this.__NG_ELEMENT_ID__=Gy}function Gy(){return gg(Fi(),Wn())}const zy=cc,pg=class extends zy{constructor(a,m,P){super(),this._lContainer=a,this._hostTNode=m,this._hostLView=P}get element(){return Oa(this._hostTNode,this._hostLView)}get injector(){return new Zi(this._hostTNode,this._hostLView)}get parentInjector(){const a=tl(this._hostTNode,this._hostLView);if(wc(a)){const m=is(a,this._hostLView),P=rs(a);return new Zi(m[Yn].data[P+8],m)}return new Zi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const m=hg(this._lContainer);return null!==m&&m[a]||null}get length(){return this._lContainer.length-ke}createEmbeddedView(a,m,P){let U,z;"number"==typeof P?U=P:null!=P&&(U=P.index,z=P.injector);const oe=fg(this._lContainer,a.ssrId),_e=a.createEmbeddedViewImpl(m||{},z,oe),Se=!!oe&&!dl(this._hostTNode);return this.insertImpl(_e,U,Se),_e}createComponent(a,m,P,U,z){const oe=a&&!ls(a);let _e;if(oe)_e=m;else{const Xn=m||{};_e=Xn.index,P=Xn.injector,U=Xn.projectableNodes,z=Xn.environmentInjector||Xn.ngModuleRef}const Se=oe?a:new Ba(Tr(a)),tt=P||this.parentInjector;if(!z&&null==Se.ngModule){const tr=(oe?tt:this.parentInjector).get(bo,null);tr&&(z=tr)}const bt=Tr(Se.componentType??{}),Qt=fg(this._lContainer,bt?.id??null),_n=Se.create(tt,U,Qt?.firstChild??null,z),Un=!!Qt&&!dl(this._hostTNode);return this.insertImpl(_n.hostView,_e,Un),_n}insert(a,m){return this.insertImpl(a,m,!1)}insertImpl(a,m,P){const U=a._lView;if(function ei(i){return pn(i[Nr])}(U)){const Se=this.indexOf(a);if(-1!==Se)this.detach(Se);else{const tt=U[Nr],bt=new pg(tt,tt[Xr],tt[Nr]);bt.detach(bt.indexOf(a))}}const oe=this._adjustIndex(m),_e=this._lContainer;return Ry(_e,U,oe,!P),a.attachToViewContainerRef(),v0(a1(_e),oe,a),a}move(a,m){return this.insert(a,m)}indexOf(a){const m=hg(this._lContainer);return null!==m?m.indexOf(a):-1}remove(a){const m=this._adjustIndex(a,-1),P=gl(this._lContainer,m);P&&(rl(a1(this._lContainer),m),zc(P[Yn],P))}detach(a){const m=this._adjustIndex(a,-1),P=gl(this._lContainer,m);return P&&null!=rl(a1(this._lContainer),m)?new Pa(P):null}_adjustIndex(a,m=0){return a??this.length+m}};function hg(i){return i[8]}function a1(i){return i[8]||(i[8]=[])}function gg(i,a){let m;const P=a[i.index];return pn(P)?m=P:(m=Sp(P,a,null,i),a[i.index]=m,Nl(a,m)),mg(m,a,i,P),new pg(m,i,a)}let mg=yg;function yg(i,a,m,P){if(i[be])return;let U;U=8&m.type?fr(P):function Hy(i,a){const m=i[Z],P=m.createComment(""),U=Pr(a,i);return Zo(m,ml(m,U),P,function c5(i,a){return i.nextSibling(a)}(m,U),!1),P}(a,m),i[be]=U}function Zy(i,a,m,P){if(i[be]&&i[Qe])return;const U=a[Kt],z=m.index-Sn,oe=fl(m)||dl(m);if(!U||oe||Dl(U,z))return yg(i,a,m,P);const Se=Iu(U,z),tt=U.data[_s]?.[z],[bt,Qt]=function Vy(i,a){const m=[];for(const P of a)for(let U=0;U<(P[wl]??1);U++){const z={data:P,firstChild:null};P[wa]>0&&(z.firstChild=i,i=Gl(P[wa],i)),m.push(z)}return[i,m]}(Se,tt);i[be]=bt,i[Qe]=Qt}class s1{constructor(a){this.queryList=a,this.matches=null}clone(){return new s1(this.queryList)}setDirty(){this.queryList.setDirty()}}class l1{constructor(a=[]){this.queries=a}createEmbeddedView(a){const m=a.queries;if(null!==m){const P=null!==a.contentQueries?a.contentQueries[0]:m.length,U=[];for(let z=0;z 0)P.push(oe[_e/2]);else{const tt=z[_e+1],bt=a[-Se];for(let Qt=ke;Qt
=0;i--){const{moduleType:a,ngModule:m}=Ws[i];m.declarations&&m.declarations.every(xg)&&(Ws.splice(i,1),l7(a,m))}}finally{p1=!1}}}function xg(i){return Array.isArray(i)?i.every(xg):!!M(i)}function Sg(i,a={}){Pg(i,a),void 0!==a.id&&Nc(i,a.id),function i7(i,a){Ws.push({moduleType:i,ngModule:a})}(i,a)}function Pg(i,a,m=!1){const P=uo(a.declarations||an);let U=null;Object.defineProperty(i,Zn,{configurable:!0,get:()=>(null===U&&(U=Pi().compileNgModule(Yi,`ng:///${i.name}/\u0275mod.js`,{type:i,bootstrap:uo(a.bootstrap||an).map(M),declarations:P.map(M),imports:uo(a.imports||an).map(M).map(Rg),exports:uo(a.exports||an).map(M).map(Rg),schemas:a.schemas?uo(a.schemas):null,id:a.id||null}),U.schemas||(U.schemas=[])),U)});let z=null;Object.defineProperty(i,Jn,{get:()=>{if(null===z){const _e=Pi();z=_e.compileFactory(Yi,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i,deps:sl(i),target:_e.FactoryTarget.NgModule,typeArgumentCount:0})}return z},configurable:!1});let oe=null;Object.defineProperty(i,F,{get:()=>{if(null===oe){const _e={name:i.name,type:i,providers:a.providers||an,imports:[(a.imports||an).map(M),(a.exports||an).map(M)]};oe=Pi().compileInjector(Yi,`ng:///${i.name}/\u0275inj.js`,_e)}return oe},configurable:!1})}let uc=new WeakMap,g1=new WeakMap;function s7(){uc=new WeakMap,g1=new WeakMap,Ws.length=0,Li.clear()}function l7(i,a){const m=uo(a.declarations||an),P=oa(i);m.forEach(U=>{(U=M(U)).hasOwnProperty(xn)?m1(Tr(U),P):!U.hasOwnProperty(Rn)&&!U.hasOwnProperty(er)&&(U.ngSelectorScope=i)})}function m1(i,a){i.directiveDefs=()=>Array.from(a.compilation.directives).map(m=>m.hasOwnProperty(xn)?Tr(m):kr(m)).filter(m=>!!m),i.pipeDefs=()=>Array.from(a.compilation.pipes).map(m=>Zr(m)),i.schemas=a.schemas,i.tView=null}function oa(i){if(f1(i))return function c7(i){const a=qr(i,!0);if(null!==a.transitiveCompileScopes)return a.transitiveCompileScopes;const m={schemas:a.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Po(a.imports).forEach(P=>{const U=oa(P);U.exported.directives.forEach(z=>m.compilation.directives.add(z)),U.exported.pipes.forEach(z=>m.compilation.pipes.add(z))}),Po(a.declarations).forEach(P=>{Zr(P)?m.compilation.pipes.add(P):m.compilation.directives.add(P)}),Po(a.exports).forEach(P=>{const U=P;if(f1(U)){const z=oa(U);z.exported.directives.forEach(oe=>{m.compilation.directives.add(oe),m.exported.directives.add(oe)}),z.exported.pipes.forEach(oe=>{m.compilation.pipes.add(oe),m.exported.pipes.add(oe)})}else Zr(U)?m.exported.pipes.add(U):m.exported.directives.add(U)}),a.transitiveCompileScopes=m,m}(i);if(Jr(i)){if(null!==(Tr(i)||kr(i)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([i]),pipes:new Set}};if(null!==Zr(i))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([i])}}}throw new Error(`${i.name} does not have a module def (\u0275mod property)`)}function Rg(i){return function Mg(i){return void 0!==i.ngModule}(i)?i.ngModule:i}let y1=0;function Ng(i,a){let m=null;(function M3(i,a){O0(a)&&(va.set(i,a),us.add(i))})(i,a),Fg(i,a),Object.defineProperty(i,xn,{get:()=>{if(null===m){const P=Pi();if(O0(a)){const tt=[`Component '${i.name}' is not resolved:`];throw a.templateUrl&&tt.push(` - templateUrl: ${a.templateUrl}`),a.styleUrls&&a.styleUrls.length&&tt.push(` - styleUrls: ${JSON.stringify(a.styleUrls)}`),tt.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(tt.join("\n"))}const U=function n7(){return za}();let z=a.preserveWhitespaces;void 0===z&&(z=null!==U&&void 0!==U.preserveWhitespaces&&U.preserveWhitespaces);let oe=a.encapsulation;void 0===oe&&(oe=null!==U&&void 0!==U.defaultEncapsulation?U.defaultEncapsulation:Bt.Emulated);const _e=a.templateUrl||`ng:///${i.name}/template.html`,Se={...kg(i,a),typeSourceSpan:P.createParseSourceSpan("Component",i.name,_e),template:a.template||"",preserveWhitespaces:z,styles:a.styles||an,animations:a.animations,declarations:[],changeDetection:a.changeDetection,encapsulation:oe,interpolation:a.interpolation,viewProviders:a.viewProviders||null};y1++;try{if(Se.usesInheritance&&jg(i),m=P.compileComponent(Yi,_e,Se),a.standalone){const tt=uo(a.imports||an),{directiveDefs:bt,pipeDefs:Qt}=function d7(i,a){let m=null,P=null;return{directiveDefs:()=>{if(null===m){m=[Tr(i)];const oe=new Set([i]);for(const _e of a){const Se=M(_e);if(!oe.has(Se))if(oe.add(Se),qr(Se)){const tt=oa(Se);for(const bt of tt.exported.directives){const Qt=Tr(bt)||kr(bt);Qt&&!oe.has(bt)&&(oe.add(bt),m.push(Qt))}}else{const tt=Tr(Se)||kr(Se);tt&&m.push(tt)}}}return m},pipeDefs:()=>{if(null===P){P=[];const oe=new Set;for(const _e of a){const Se=M(_e);if(!oe.has(Se))if(oe.add(Se),qr(Se)){const tt=oa(Se);for(const bt of tt.exported.pipes){const Qt=Zr(bt);Qt&&!oe.has(bt)&&(oe.add(bt),P.push(Qt))}}else{const tt=Zr(Se);tt&&P.push(tt)}}}return P}}}(i,tt);m.directiveDefs=bt,m.pipeDefs=Qt,m.dependencies=()=>tt.map(M)}}finally{y1--}if(0===y1&&Dg(),function f7(i){return void 0!==i.ngSelectorScope}(i)){const tt=oa(i.ngSelectorScope);m1(m,tt)}if(a.schemas){if(!a.standalone)throw new Error(`The 'schemas' was specified for the ${T(i)} but is only valid on a component that is standalone.`);m.schemas=a.schemas}else a.standalone&&(m.schemas=[])}return m},configurable:!1})}function v1(i,a){let m=null;Fg(i,a||{}),Object.defineProperty(i,Rn,{get:()=>{if(null===m){const P=Ug(i,a||{});m=Pi().compileDirective(Yi,P.sourceMapUrl,P.metadata)}return m},configurable:!1})}function Ug(i,a){const m=i&&i.name,P=`ng:///${m}/\u0275dir.js`,U=Pi(),z=kg(i,a);return z.typeSourceSpan=U.createParseSourceSpan("Directive",m,P),z.usesInheritance&&jg(i),{metadata:z,sourceMapUrl:P}}function Fg(i,a){let m=null;Object.defineProperty(i,Jn,{get:()=>{if(null===m){const P=Ug(i,a),U=Pi();m=U.compileFactory(Yi,`ng:///${i.name}/\u0275fac.js`,{name:P.metadata.name,type:P.metadata.type,typeArgumentCount:0,deps:sl(i),target:U.FactoryTarget.Directive})}return m},configurable:!1})}function p7(i){return Object.getPrototypeOf(i.prototype)===Object.prototype}function kg(i,a){const m=Rc(),P=m.ownPropMetadata(i);return{name:i.name,type:i,selector:void 0!==a.selector?a.selector:null,host:a.host||Ht,propMetadata:P,inputs:a.inputs||an,outputs:a.outputs||an,queries:Vg(i,P,Wg),lifecycle:{usesOnChanges:m.hasLifecycleHook(i,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!p7(i),exportAs:m7(a.exportAs),providers:a.providers||null,viewQueries:Vg(i,P,Qg),isStandalone:!!a.standalone,isSignal:!!a.signals,hostDirectives:a.hostDirectives?.map(U=>"function"==typeof U?{directive:U}:U)||null}}function jg(i){const a=Object.prototype;let m=Object.getPrototypeOf(i.prototype).constructor;for(;m&&m!==a;)!kr(m)&&!Tr(m)&&v7(m)&&v1(m,null),m=Object.getPrototypeOf(m)}function h7(i){return"string"==typeof i?zg(i):M(i)}function g7(i,a){return{propertyName:i,predicate:h7(a.selector),descendants:a.descendants,first:a.first,read:a.read?a.read:null,static:!!a.static,emitDistinctChangesOnly:!!a.emitDistinctChangesOnly}}function Vg(i,a,m){const P=[];for(const U in a)if(a.hasOwnProperty(U)){const z=a[U];z.forEach(oe=>{if(m(oe)){if(!oe.selector)throw new Error(`Can't construct a query for the property "${U}" of "${T(i)}" since the query selector wasn't defined.`);if(z.some(Gg))throw new Error("Cannot combine @Input decorators with query decorators");P.push(g7(U,oe))}})}return P}function m7(i){return void 0===i?null:zg(i)}function Wg(i){const a=i.ngMetadataName;return"ContentChild"===a||"ContentChildren"===a}function Qg(i){const a=i.ngMetadataName;return"ViewChild"===a||"ViewChildren"===a}function Gg(i){return"Input"===i.ngMetadataName}function zg(i){return i.split(",").map(a=>a.trim())}const y7=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function v7(i){const a=Rc();if(y7.some(P=>a.hasLifecycleHook(i,P)))return!0;const m=a.propMetadata(i);for(const P in m){const U=m[P];for(let z=0;z {if(null===P){const U=Zg(i,a),z=Pi();P=z.compileFactory(Yi,`ng:///${U.name}/\u0275fac.js`,{name:U.name,type:U.type,typeArgumentCount:0,deps:sl(i),target:z.FactoryTarget.Pipe})}return P},configurable:!1}),Object.defineProperty(i,er,{get:()=>{if(null===m){const U=Zg(i,a);m=Pi().compilePipe(Yi,`ng:///${U.name}/\u0275pipe.js`,U)}return m},configurable:!1})}function Zg(i,a){return{type:i,name:i.name,pipeName:a.name,pure:void 0===a.pure||a.pure,isStandalone:!!a.standalone}}const Xg=as("Directive",(i={})=>i,void 0,void 0,(i,a)=>v1(i,a)),_7=as("Component",(i={})=>({changeDetection:Wt.Default,...i}),Xg,void 0,(i,a)=>Ng(i,a)),C7=as("Pipe",i=>({pure:!0,...i}),void 0,void 0,(i,a)=>Hg(i,a)),b7=Fo("Input",i=>i?"string"==typeof i?{alias:i}:i:{}),E7=Fo("Output",i=>({alias:i})),I7=Fo("HostBinding",i=>({hostPropertyName:i})),A7=Fo("HostListener",(i,a)=>({eventName:i,args:a})),T7=as("NgModule",i=>i,void 0,void 0,(i,a)=>Sg(i,a)),Kg=new Mt("Application Initializer");class Qo{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,m)=>{this.resolve=a,this.reject=m}),this.appInits=Dt(Kg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const P of this.appInits){const U=P();if(cd(U))a.push(U);else if(ph(U)){const z=new Promise((oe,_e)=>{U.subscribe({complete:oe,error:_e})});a.push(z)}}const m=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{m()}).catch(P=>{this.reject(P)}),0===a.length&&m(),this.initialized=!0}static#e=this.\u0275fac=function(m){return new(m||Qo)};static#t=this.\u0275prov=ae({token:Qo,factory:Qo.\u0275fac,providedIn:"root"})}class Ha{log(a){console.log(a)}warn(a){console.warn(a)}static#e=this.\u0275fac=function(m){return new(m||Ha)};static#t=this.\u0275prov=ae({token:Ha,factory:Ha.\u0275fac,providedIn:"platform"})}const dc=new Mt("LocaleId",{providedIn:"root",factory:()=>Dt(dc,re.Optional|re.SkipSelf)||function w7(){return typeof $localize<"u"&&$localize.locale||ra}()}),O7=new Mt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),M7=new Mt("Translations"),D7=new Mt("TranslationsFormat");var _1;!function(i){i[i.Error=0]="Error",i[i.Warning=1]="Warning",i[i.Ignore=2]="Ignore"}(_1||(_1={}));class Za{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new l.BehaviorSubject(!1)}add(){this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(m){return new(m||Za)};static#t=this.\u0275prov=ae({token:Za,factory:Za.\u0275fac,providedIn:"root"})}class Yg{constructor(a,m){this.ngModuleFactory=a,this.componentFactories=m}}class Qs{compileModuleSync(a){return new ic(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const m=this.compileModuleSync(a),U=Po(qr(a).declarations).reduce((z,oe)=>{const _e=Tr(oe);return _e&&z.push(new Ba(_e)),z},[]);return new Yg(m,U)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static#e=this.\u0275fac=function(m){return new(m||Qs)};static#t=this.\u0275prov=ae({token:Qs,factory:Qs.\u0275fac,providedIn:"root"})}const Jg=new Mt("compilerOptions");class x7{}let Gs=new class S7{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};function fc(){return Gs}function C1(i){let a=null;return void 0===i||(a=i instanceof Zi?os(i):i),a}function k7(i){As(V0(i)),U2(i).forEach(a=>kp(a))}function j7(i,a){const m=i.get(a,null,{self:!0,optional:!0});if(null===m)throw new Error(`Unable to determine instance of ${a} in given injector`);let P=i;i instanceof Zi&&(P=os(i));const{resolverToTokenToDependencies:U}=fc();let z=U.get(P)?.get?.(a)??[];const oe=qg(i);return z=z.map(_e=>{const Se=_e.flags;_e.flags={optional:8==(8&Se),host:1==(1&Se),self:2==(2&Se),skipSelf:4==(4&Se)};for(let tt=0;tt {if(i.has(m)||i.set(m,[P]),!a.has(P))for(const U of i.keys()){const z=i.get(U);let oe=Ae(P);if(oe||(oe=Ae(P.ngModule)),!oe)return;const _e=z[0];let Se=!1;ma(oe.imports,tt=>{Se||(Se=tt.ngModule===_e||tt===_e,Se&&i.get(U)?.unshift(P))})}a.add(P)}}(a,new Set);return Il(i,P,[],new Set),a}(m);return a.map(U=>{let z=P.get(U.provider)??[m];return!!Tr(m)?.standalone&&(z=[m,...P.get(U.provider)??[]]),{...U,importPath:z}})}function X7(i){return i instanceof Zi?function W7(i){const a=os(i),{resolverToProviders:m}=fc();return m.get(a)??[]}(i):i instanceof bo?z7(i):void Pe("getInjectorProviders only supports NodeInjector and EnvironmentInjector")}function qg(i){const a=[i];return b1(i,a),a}function b1(i,a){const m=function K7(i){if(i instanceof Aa)return i.parent;let a,m;if(i instanceof Zi)a=function f3(i){return i._tNode}(i),m=os(i);else{if(i instanceof au)return null;Pe("getInjectorParent only support injectors of type R3Injector, NodeInjector, NullInjector")}const P=tl(a,m);if(wc(P)){const U=rs(P),z=is(P,m);return new Zi(z[Yn].data[U+8],z)}{const z=m[A].injector?.parent;if(z instanceof Zi)return z}return null}(i);if(null===m){if(i instanceof Zi){const P=a[0];if(P instanceof Zi){const U=function Y7(i){let a;i instanceof Zi?a=os(i):Pe("getModuleInjectorOfNodeInjector must be called with a NodeInjector");const P=a[A].parentInjector;return P||Pe("NodeInjector must have some connection to the module injector tree"),P}(P);null===U&&Pe("NodeInjector must have some connection to the module injector tree"),a.push(U),b1(U,a)}return a}}else a.push(m),b1(m,a);return a}const $g="ng";let em=!1;function J7(){em||(em=!0,function P7(){Gs.reset(),Ve(i=>function B7(i){const{context:a,type:m}=i;0===m?function L7(i,a){const m=C1(i.injector);null===m&&Pe("An Inject event must be run within an injection context.");const P=Gs.resolverToTokenToDependencies;if(P.has(m)||P.set(m,new WeakMap),!function F7(i){return null!==i&&("object"==typeof i||"function"==typeof i||"symbol"==typeof i)}(i.token))return;const U=P.get(m);U.has(i.token)||U.set(i.token,[]);const{token:z,value:oe,flags:_e}=a;U.get(i.token).push({token:z,value:oe,flags:_e})}(a,i.service):1===m?function R7(i,a){const{value:m}=a;let P;if(null===C1(i.injector)&&Pe("An InjectorCreatedInstance event must be run within an injection context."),"object"==typeof m&&(P=m?.constructor),void 0===P||!function N7(i){return!!Tr(i)?.standalone}(P))return;const U=i.injector.get(bo,null,{optional:!0});if(null===U)return;const{standaloneInjectorToComponent:z}=Gs;z.has(U)||z.set(U,P)}(a,i.instance):2===m&&function U7(i,a){const{resolverToProviders:m}=Gs,P=C1(i?.injector);null===P&&Pe("A ProviderConfigured event must be run within an injection context."),m.has(P)||m.set(P,[]),m.get(P).push(a)}(a,i.providerRecord)}(i))}(),Ji("\u0275getDependenciesFromInjectable",j7),Ji("\u0275getInjectorProviders",X7),Ji("\u0275getInjectorResolutionPath",qg),Ji("\u0275setProfiler",zn),Ji("getDirectiveMetadata",Oy),Ji("getComponent",i1),Ji("getContext",R2),Ji("getListeners",j2),Ji("getOwningComponent",N2),Ji("getHostElement",o1),Ji("getInjector",F2),Ji("getRootComponents",U2),Ji("getDirectives",k2),Ji("applyChanges",k7))}function Ji(i,a){if((typeof COMPILED>"u"||!COMPILED)&&Oe){let P=Oe[$g];P||(P=Oe[$g]={}),P[i]=a}}const tm=new Mt(""),nm=new Mt("");class zs{constructor(a,m,P){this._ngZone=a,this.registry=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,E1||(rm(P),P.addToWindow(m)),this._watchAngularEvents(),a.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ri.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb(this._didWork)}this._didWork=!1});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(a)||(clearTimeout(m.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,m,P){let U=-1;m&&m>0&&(U=setTimeout(()=>{this._callbacks=this._callbacks.filter(z=>z.timeoutId!==U),a(this._didWork,this.getPendingTasks())},m)),this._callbacks.push({doneCb:a,timeoutId:U,updateCb:P})}whenStable(a,m,P){if(P&&!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(a,m,P),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,m,P){return[]}static#e=this.\u0275fac=function(m){return new(m||zs)(ot(Ri),ot(Xa),ot(nm))};static#t=this.\u0275prov=ae({token:zs,factory:zs.\u0275fac})}class Xa{constructor(){this._applications=new Map}registerApplication(a,m){this._applications.set(a,m)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,m=!0){return E1?.findTestabilityInTree(this,a,m)??null}static#e=this.\u0275fac=function(m){return new(m||Xa)};static#t=this.\u0275prov=ae({token:Xa,factory:Xa.\u0275fac,providedIn:"platform"})}function rm(i){E1=i}let E1,Go=null;const I1=new Mt("AllowMultipleToken"),A1=new Mt("PlatformDestroyListeners"),T1=new Mt("appBootstrapListener");function im(i,a,m){const P=new ic(m);return Promise.resolve(P)}function om(){!function Ja(i){so=i}(()=>{throw new E(600,!1)})}function am(i){return i.isBoundToModule}class q7{constructor(a,m){this.name=a,this.token=m}}function sm(i){if(Go&&!Go.get(I1,!1))throw new E(400,!1);om(),Go=i;const a=i.get(aa);return lm(i),a}function lm(i){i.get(Uf,null)?.forEach(m=>m())}function e9(i){try{const{rootComponent:a,appProviders:m,platformProviders:P}=i,U=function $7(i=[]){if(Go)return Go;const a=dm(i);return Go=a,om(),lm(a),a}(P),z=[vm(),...m||[]],_e=new P2({providers:z,parent:U,debugName:"",runEnvironmentInitializers:!1}).injector,Se=_e.get(Ri);return Se.run(()=>{_e.resolveInjectorInitializers();const tt=_e.get(Vo,null);let bt;Se.runOutsideAngular(()=>{bt=Se.onError.subscribe({next:_n=>{tt.handleError(_n)}})});const Qt=()=>_e.destroy(),ln=U.get(A1);return ln.add(Qt),_e.onDestroy(()=>{bt.unsubscribe(),ln.delete(Qt)}),pm(tt,Se,()=>{const _n=_e.get(Qo);return _n.runInitializers(),_n.donePromise.then(()=>{Xd(_e.get(dc,ra)||ra);const Xn=_e.get(wo);return void 0!==a&&Xn.bootstrap(a),Xn})})})}catch(a){return Promise.reject(a)}}function cm(i,a,m=[]){const P=`Platform: ${a}`,U=new Mt(P);return(z=[])=>{let oe=pc();if(!oe||oe.injector.get(I1,!1)){const _e=[...m,...z,{provide:U,useValue:!0}];i?i(_e):sm(dm(_e,P))}return um()}}function um(i){const a=pc();if(!a)throw new E(401,!1);return a}function dm(i=[],a){return no.create({name:a,providers:[{provide:uu,useValue:"platform"},{provide:A1,useValue:new Set([()=>Go=null])},...i]})}function t9(){pc()?.destroy()}function pc(){return Go?.get(aa)??null}class aa{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,m){const P=function n9(i="zone.js",a){return"noop"===i?new np:"zone.js"===i?new Ri(a):i}(m?.ngZone,fm({eventCoalescing:m?.ngZoneEventCoalescing,runCoalescing:m?.ngZoneRunCoalescing}));return P.run(()=>{const U=function Ty(i,a,m){return new rc(i,a,m)}(a.moduleType,this.injector,ym(()=>P)),z=U.injector.get(Vo,null);return P.runOutsideAngular(()=>{const oe=P.onError.subscribe({next:_e=>{z.handleError(_e)}});U.onDestroy(()=>{hc(this._modules,U),oe.unsubscribe()})}),pm(z,P,()=>{const oe=U.injector.get(Qo);return oe.runInitializers(),oe.donePromise.then(()=>(Xd(U.injector.get(dc,ra)||ra),this._moduleDoBootstrap(U),U))})})}bootstrapModule(a,m=[]){const P=hm({},m);return im(0,0,a).then(U=>this.bootstrapModuleFactory(U,P))}_moduleDoBootstrap(a){const m=a.injector.get(wo);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(P=>m.bootstrap(P));else{if(!a.instance.ngDoBootstrap)throw new E(-403,!1);a.instance.ngDoBootstrap(m)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const a=this._injector.get(A1,null);a&&(a.forEach(m=>m()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(m){return new(m||aa)(ot(no))};static#t=this.\u0275prov=ae({token:aa,factory:aa.\u0275fac,providedIn:"platform"})}function fm(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}function pm(i,a,m){try{const P=m();return cd(P)?P.catch(U=>{throw a.runOutsideAngular(()=>i.handleError(U)),U}):P}catch(P){throw a.runOutsideAngular(()=>i.handleError(P)),P}}function hm(i,a){return Array.isArray(a)?a.reduce(hm,i):{...i,...a}}class wo{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Dt(mm),this.zoneIsStable=Dt(rp),this.componentTypes=[],this.components=[],this.isStable=Dt(Za).hasPendingTasks.pipe((0,p.switchMap)(a=>a?(0,o.of)(!1):this.zoneIsStable),(0,u.distinctUntilChanged)(),(0,s.share)()),this._injector=Dt(bo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,m){const P=a instanceof xl;if(!this._injector.get(Qo).done)throw!P&&Jr(a),new E(405,!1);let z;z=P?a:this._injector.get(bs).resolveComponentFactory(a),this.componentTypes.push(z.componentType);const oe=am(z)?void 0:this._injector.get(ia),Se=z.create(no.NULL,[],m||z.selector,oe),tt=Se.location.nativeElement,bt=Se.injector.get(tm,null);return bt?.registerApplication(tt),Se.onDestroy(()=>{this.detachView(Se.hostView),hc(this.components,Se),bt?.unregisterApplication(tt)}),this._loadComponent(Se),Se}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let a of this._views)a.detectChanges()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1}}attachView(a){const m=a;this._views.push(m),m.attachToAppRef(this)}detachView(a){const m=a;hc(this._views,m),m.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const m=this._injector.get(T1,[]);m.push(...this._bootstrapListeners),m.forEach(P=>P(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>hc(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new E(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(m){return new(m||wo)};static#t=this.\u0275prov=ae({token:wo,factory:wo.\u0275fac,providedIn:"root"})}function hc(i,a){const m=i.indexOf(a);m>-1&&i.splice(m,1)}const mm=new Mt("",{providedIn:"root",factory:()=>Dt(Vo).handleError.bind(void 0)});function r9(){const i=Dt(Ri),a=Dt(Vo);return m=>i.runOutsideAngular(()=>a.handleError(m))}class Hs{constructor(){this.zone=Dt(Ri),this.applicationRef=Dt(wo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||Hs)};static#t=this.\u0275prov=ae({token:Hs,factory:Hs.\u0275fac,providedIn:"root"})}function ym(i){return[{provide:Ri,useFactory:i},{provide:vs,multi:!0,useFactory:()=>{const a=Dt(Hs,{optional:!0});return()=>a.initialize()}},{provide:mm,useFactory:r9},{provide:rp,useFactory:ip}]}function vm(i){return su([[],ym(()=>new Ri(fm(i)))])}function i9(){return!1}function o9(){}function a9(i){const a=x0(i);if(!a)throw _m(i);return new ic(a)}function s9(i){const a=x0(i);if(!a)throw _m(i);return a}function _m(i){return new Error(`No module with ID ${i} loaded`)}new Mt("");class Cm{static#e=this.__NG_ELEMENT_ID__=bm}function bm(i){return function l9(i,a,m){if(An(i)&&!m){const P=Er(i.index,a);return new Pa(P,P)}return 47&i.type?new Pa(a[Re],a):null}(Fi(),Wn(),16==(16&i))}class Em extends Cm{}class c9 extends Em{}class u9{constructor(a,m){this.name=a,this.callback=m}}function d9(i){return i.map(a=>a.nativeElement)}class w1{constructor(a){this.nativeNode=a}get parent(){const a=this.nativeNode.parentNode;return a?new Zs(a):null}get injector(){return F2(this.nativeNode)}get componentInstance(){const a=this.nativeNode;return a&&(i1(a)||N2(a))}get context(){return i1(this.nativeNode)||R2(this.nativeNode)}get listeners(){return j2(this.nativeNode).filter(a=>"dom"===a.type)}get references(){return function My(i){const a=Xi(i);if(null===a)return{};if(void 0===a.localRefs){const m=a.lView;if(null===m)return{};a.localRefs=function Y3(i,a){const m=i[Yn].data[a];if(m&&m.localNames){const P={};let U=m.index+1;for(let z=0;z 1){let bt=Se[1];for(let Qt=1;Qt a[z]=!0),a}get childNodes(){const a=this.nativeNode.childNodes,m=[];for(let P=0;P {if(z.name===a){const oe=z.callback;oe.call(P,m),U.push(oe)}}),"function"==typeof P.eventListeners&&P.eventListeners(a).forEach(z=>{if(-1!==z.toString().indexOf("__ngUnwrap__")){const oe=z("__ngUnwrap__");return-1===U.indexOf(oe)&&oe.call(P,m)}})}}function p9(i){return"string"==typeof i||"boolean"==typeof i||"number"==typeof i||null===i}function Im(i,a,m,P){const U=Xi(i.nativeNode),z=U?U.lView:null;null!==z?sa(z[Yn].data[U.nodeIndex],z,a,m,P,i.nativeNode):M1(i.nativeNode,a,m,P)}function sa(i,a,m,P,U,z){const oe=function Mi(i,a){const m=null===i?-1:i.index;return-1!==m?fr(a[m]):null}(i,a);if(11&i.type){if(O1(oe,m,P,U,z),An(i)){const Se=Er(i.index,a);Se&&Se[Yn].firstChild&&sa(Se[Yn].firstChild,Se,m,P,U,z)}else i.child&&sa(i.child,a,m,P,U,z),oe&&M1(oe,m,P,U);const _e=a[i.index];pn(_e)&&Am(_e,m,P,U,z)}else if(4&i.type){const _e=a[i.index];O1(_e[be],m,P,U,z),Am(_e,m,P,U,z)}else if(16&i.type){const _e=a[Re],tt=_e[Xr].projection[i.projection];if(Array.isArray(tt))for(let bt of tt)O1(bt,m,P,U,z);else if(tt){const bt=_e[Nr];sa(bt[Yn].data[tt.index],bt,m,P,U,z)}}else i.child&&sa(i.child,a,m,P,U,z);if(z!==oe){const _e=2&i.flags?i.projectionNext:i.next;_e&&sa(_e,a,m,P,U,z)}}function Am(i,a,m,P,U){for(let z=ke;z a;class wm{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||g9}forEachItem(a){let m;for(m=this._itHead;null!==m;m=m._next)a(m)}forEachOperation(a){let m=this._itHead,P=this._removalsHead,U=0,z=null;for(;m||P;){const oe=!P||m&&m.currentIndex